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 int wxCaret_GetBlinkTime() {
105 return wxCaret::GetBlinkTime();
108 void wxCaret_SetBlinkTime(int milliseconds
) {
109 wxCaret::SetBlinkTime(milliseconds
);
112 class wxPyFontEnumerator
: public wxFontEnumerator
{
114 wxPyFontEnumerator() {}
115 ~wxPyFontEnumerator() {}
117 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
118 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
123 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
124 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
127 bool wxThread_IsMain() {
128 #ifdef WXP_WITH_THREAD
129 return wxThread::IsMain();
135 class wxPyTipProvider
: public wxTipProvider
{
137 wxPyTipProvider(size_t currentTip
)
138 : wxTipProvider(currentTip
) {}
140 DEC_PYCALLBACK_STRING__pure(GetTip
);
145 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
148 #include <wx/generic/dragimgg.h>
150 // A Log class that can be derived from in wxPython
151 class wxPyLog
: public wxLog
{
153 wxPyLog() : wxLog() {}
155 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
157 wxPyBeginBlockThreads();
158 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
159 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
)); // TODO: unicode fix
160 wxPyEndBlockThreads();
162 wxLog::DoLog(level
, szString
, t
);
165 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
167 wxPyBeginBlockThreads();
168 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
169 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
)); // TODO: unicode fix
170 wxPyEndBlockThreads();
172 wxLog::DoLogString(szString
, t
);
177 // C++ version of wxProcess derived class
179 class wxPyProcess
: public wxProcess
{
181 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
182 : wxProcess(parent
, id
)
185 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
190 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
193 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
194 // A C++ stub class for wxJoystick for platforms that don't have it.
195 class wxJoystick
: public wxObject
{
197 wxJoystick(int joystick
= wxJOYSTICK1
) {
198 wxPyBeginBlockThreads();
199 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
200 wxPyEndBlockThreads();
202 wxPoint
GetPosition() { return wxPoint(-1,-1); }
203 int GetZPosition() { return -1; }
204 int GetButtonState() { return -1; }
205 int GetPOVPosition() { return -1; }
206 int GetPOVCTSPosition() { return -1; }
207 int GetRudderPosition() { return -1; }
208 int GetUPosition() { return -1; }
209 int GetVPosition() { return -1; }
210 int GetMovementThreshold() { return -1; }
211 void SetMovementThreshold(int threshold
) {}
213 bool IsOk(void) { return FALSE
; }
214 int GetNumberJoysticks() { return -1; }
215 int GetManufacturerId() { return -1; }
216 int GetProductId() { return -1; }
217 wxString
GetProductName() { return ""; }
218 int GetXMin() { return -1; }
219 int GetYMin() { return -1; }
220 int GetZMin() { return -1; }
221 int GetXMax() { return -1; }
222 int GetYMax() { return -1; }
223 int GetZMax() { return -1; }
224 int GetNumberButtons() { return -1; }
225 int GetNumberAxes() { return -1; }
226 int GetMaxButtons() { return -1; }
227 int GetMaxAxes() { return -1; }
228 int GetPollingMin() { return -1; }
229 int GetPollingMax() { return -1; }
230 int GetRudderMin() { return -1; }
231 int GetRudderMax() { return -1; }
232 int GetUMin() { return -1; }
233 int GetUMax() { return -1; }
234 int GetVMin() { return -1; }
235 int GetVMax() { return -1; }
237 bool HasRudder() { return FALSE
; }
238 bool HasZ() { return FALSE
; }
239 bool HasU() { return FALSE
; }
240 bool HasV() { return FALSE
; }
241 bool HasPOV() { return FALSE
; }
242 bool HasPOV4Dir() { return FALSE
; }
243 bool HasPOVCTS() { return FALSE
; }
245 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
246 bool ReleaseCapture() { return FALSE
; }
251 // A C++ stub class for wxWave for platforms that don't have it.
252 class wxWave
: public wxObject
255 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
256 wxPyBeginBlockThreads();
257 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
258 wxPyEndBlockThreads();
260 wxWave(int size
, const wxByte
* data
) {
261 wxPyBeginBlockThreads();
262 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
263 wxPyEndBlockThreads();
268 bool IsOk() const { return FALSE
; }
269 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
273 // Implementations of some alternate "constructors"
274 wxWave
* wxWaveData(const wxString
& data
) {
275 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
279 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
283 #include <wx/docview.h>
287 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
288 PyObject
* _resultobj
;
290 char * _arg0
= (char *) wxFileSelectorPromptStr
;
291 char * _arg1
= (char *) NULL
;
292 char * _arg2
= (char *) NULL
;
293 char * _arg3
= (char *) NULL
;
294 char * _arg4
= (char *) wxFileSelectorDefaultWildcardStr
;
295 int _arg5
= (int ) 0;
296 wxWindow
* _arg6
= (wxWindow
*) NULL
;
297 int _arg7
= (int ) -1;
298 int _arg8
= (int ) -1;
299 PyObject
* _argo6
= 0;
300 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
306 if (_argo6
== Py_None
) { _arg6
= NULL
; }
307 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
314 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
316 wxPyEndAllowThreads(__tstate
);
317 if (PyErr_Occurred()) return NULL
;
320 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
322 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
331 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
335 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
336 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
337 wxWindow
* _arg3
= (wxWindow
*) NULL
;
338 int _arg4
= (int ) -1;
339 int _arg5
= (int ) -1;
340 bool _arg6
= (bool ) TRUE
;
341 PyObject
* _obj0
= 0;
342 PyObject
* _obj1
= 0;
343 PyObject
* _obj2
= 0;
344 PyObject
* _argo3
= 0;
345 int tempbool6
= (int) TRUE
;
346 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
352 _arg0
= wxString_in_helper(_obj0
);
358 _arg1
= wxString_in_helper(_obj1
);
364 _arg2
= wxString_in_helper(_obj2
);
369 if (_argo3
== Py_None
) { _arg3
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
375 _arg6
= (bool ) tempbool6
;
377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
378 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
380 wxPyEndAllowThreads(__tstate
);
381 if (PyErr_Occurred()) return NULL
;
384 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
386 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
407 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
411 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
412 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
413 wxWindow
* _arg3
= (wxWindow
*) NULL
;
414 PyObject
* _obj0
= 0;
415 PyObject
* _obj1
= 0;
416 PyObject
* _obj2
= 0;
417 PyObject
* _argo3
= 0;
418 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
424 _arg0
= wxString_in_helper(_obj0
);
430 _arg1
= wxString_in_helper(_obj1
);
436 _arg2
= wxString_in_helper(_obj2
);
441 if (_argo3
== Py_None
) { _arg3
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
455 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
457 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
478 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
485 wxWindow
* _arg4
= (wxWindow
*) NULL
;
486 int _arg5
= (int ) -1;
487 int _arg6
= (int ) -1;
488 bool _arg7
= (bool ) TRUE
;
489 int _arg8
= (int ) 150;
490 int _arg9
= (int ) 200;
491 PyObject
* _obj0
= 0;
492 PyObject
* _obj1
= 0;
493 PyObject
* _obj3
= 0;
494 PyObject
* _argo4
= 0;
495 int tempbool7
= (int) TRUE
;
496 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
502 _arg0
= wxString_in_helper(_obj0
);
507 _arg1
= wxString_in_helper(_obj1
);
513 _arg3
= wxString_LIST_helper(_obj3
);
519 if (_argo4
== Py_None
) { _arg4
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
525 _arg7
= (bool ) tempbool7
;
528 _arg2
= PyList_Size(_obj3
);
535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
538 wxPyEndAllowThreads(__tstate
);
539 if (PyErr_Occurred()) return NULL
;
542 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
544 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
564 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
571 wxWindow
* _arg4
= (wxWindow
*) NULL
;
572 int _arg5
= (int ) -1;
573 int _arg6
= (int ) -1;
574 bool _arg7
= (bool ) TRUE
;
575 int _arg8
= (int ) 150;
576 int _arg9
= (int ) 200;
577 PyObject
* _obj0
= 0;
578 PyObject
* _obj1
= 0;
579 PyObject
* _obj3
= 0;
580 PyObject
* _argo4
= 0;
581 int tempbool7
= (int) TRUE
;
582 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
588 _arg0
= wxString_in_helper(_obj0
);
593 _arg1
= wxString_in_helper(_obj1
);
599 _arg3
= wxString_LIST_helper(_obj3
);
605 if (_argo4
== Py_None
) { _arg4
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
611 _arg7
= (bool ) tempbool7
;
614 _arg2
= PyList_Size(_obj3
);
621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
622 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
624 wxPyEndAllowThreads(__tstate
);
625 if (PyErr_Occurred()) return NULL
;
626 } _resultobj
= Py_BuildValue("i",_result
);
641 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
642 PyObject
* _resultobj
;
645 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
646 int _arg2
= (int ) wxOK
|wxCENTRE
;
647 wxWindow
* _arg3
= (wxWindow
*) NULL
;
648 int _arg4
= (int ) -1;
649 int _arg5
= (int ) -1;
650 PyObject
* _obj0
= 0;
651 PyObject
* _obj1
= 0;
652 PyObject
* _argo3
= 0;
653 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
659 _arg0
= wxString_in_helper(_obj0
);
665 _arg1
= wxString_in_helper(_obj1
);
670 if (_argo3
== Py_None
) { _arg3
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } _resultobj
= Py_BuildValue("i",_result
);
694 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
701 long _arg4
= (long ) 0;
702 long _arg5
= (long ) 100;
703 wxWindow
* _arg6
= (wxWindow
*) NULL
;
704 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
705 PyObject
* _obj0
= 0;
706 PyObject
* _obj1
= 0;
707 PyObject
* _obj2
= 0;
708 PyObject
* _argo6
= 0;
710 PyObject
* _obj7
= 0;
711 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
717 _arg0
= wxString_in_helper(_obj0
);
722 _arg1
= wxString_in_helper(_obj1
);
727 _arg2
= wxString_in_helper(_obj2
);
732 if (_argo6
== Py_None
) { _arg6
= NULL
; }
733 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
741 if (! wxPoint_helper(_obj7
, &_arg7
))
745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
746 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
748 wxPyEndAllowThreads(__tstate
);
749 if (PyErr_Occurred()) return NULL
;
750 } _resultobj
= Py_BuildValue("l",_result
);
766 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
769 char *_kwnames
[] = { NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
776 _result
= (bool )wxColourDisplay();
778 wxPyEndAllowThreads(__tstate
);
779 if (PyErr_Occurred()) return NULL
;
780 } _resultobj
= Py_BuildValue("i",_result
);
784 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 char *_kwnames
[] = { NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 _result
= (int )wxDisplayDepth();
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
798 } _resultobj
= Py_BuildValue("i",_result
);
802 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
805 char *_kwnames
[] = { NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 _result
= (int )wxGetDisplayDepth();
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) return NULL
;
816 } _resultobj
= Py_BuildValue("i",_result
);
820 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
826 char *_kwnames
[] = { NULL
};
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 wxDisplaySize(_arg0
,_arg1
);
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) return NULL
;
843 } Py_INCREF(Py_None
);
844 _resultobj
= Py_None
;
847 o
= PyInt_FromLong((long) (*_arg0
));
848 _resultobj
= t_output_helper(_resultobj
, o
);
852 o
= PyInt_FromLong((long) (*_arg1
));
853 _resultobj
= t_output_helper(_resultobj
, o
);
858 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
861 char *_kwnames
[] = { NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
869 _result
= new wxSize (wxGetDisplaySize());
871 wxPyEndAllowThreads(__tstate
);
872 if (PyErr_Occurred()) return NULL
;
873 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
874 _resultobj
= Py_BuildValue("s",_ptemp
);
878 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 PyObject
* _resultobj
;
884 char *_kwnames
[] = { NULL
};
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
897 wxDisplaySizeMM(_arg0
,_arg1
);
899 wxPyEndAllowThreads(__tstate
);
900 if (PyErr_Occurred()) return NULL
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
905 o
= PyInt_FromLong((long) (*_arg0
));
906 _resultobj
= t_output_helper(_resultobj
, o
);
910 o
= PyInt_FromLong((long) (*_arg1
));
911 _resultobj
= t_output_helper(_resultobj
, o
);
916 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
919 char *_kwnames
[] = { NULL
};
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
927 _result
= new wxSize (wxGetDisplaySizeMM());
929 wxPyEndAllowThreads(__tstate
);
930 if (PyErr_Occurred()) return NULL
;
931 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
932 _resultobj
= Py_BuildValue("s",_ptemp
);
936 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
946 char *_kwnames
[] = { NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
965 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
967 wxPyEndAllowThreads(__tstate
);
968 if (PyErr_Occurred()) return NULL
;
969 } Py_INCREF(Py_None
);
970 _resultobj
= Py_None
;
973 o
= PyInt_FromLong((long) (*_arg0
));
974 _resultobj
= t_output_helper(_resultobj
, o
);
978 o
= PyInt_FromLong((long) (*_arg1
));
979 _resultobj
= t_output_helper(_resultobj
, o
);
983 o
= PyInt_FromLong((long) (*_arg2
));
984 _resultobj
= t_output_helper(_resultobj
, o
);
988 o
= PyInt_FromLong((long) (*_arg3
));
989 _resultobj
= t_output_helper(_resultobj
, o
);
994 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
997 char *_kwnames
[] = { NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1005 _result
= new wxRect (wxGetClientDisplayRect());
1007 wxPyEndAllowThreads(__tstate
);
1008 if (PyErr_Occurred()) return NULL
;
1009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1010 _resultobj
= Py_BuildValue("s",_ptemp
);
1014 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1017 PyObject
* _argo0
= 0;
1018 char *_kwnames
[] = { "cursor", NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1032 wxSetCursor(*_arg0
);
1034 wxPyEndAllowThreads(__tstate
);
1035 if (PyErr_Occurred()) return NULL
;
1036 } Py_INCREF(Py_None
);
1037 _resultobj
= Py_None
;
1041 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1045 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1046 PyObject
* _obj0
= 0;
1047 PyObject
* _argo1
= 0;
1048 char *_kwnames
[] = { "label","parent", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1054 _arg0
= wxString_in_helper(_obj0
);
1059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1067 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1069 wxPyEndAllowThreads(__tstate
);
1070 if (PyErr_Occurred()) return NULL
;
1071 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1079 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1083 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1084 PyObject
* _obj0
= 0;
1085 PyObject
* _argo1
= 0;
1086 char *_kwnames
[] = { "name","parent", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1092 _arg0
= wxString_in_helper(_obj0
);
1097 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1117 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1119 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1120 PyObject
* _argo0
= 0;
1121 char *_kwnames
[] = { "cursor", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 wxBeginBusyCursor(_arg0
);
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) return NULL
;
1139 } Py_INCREF(Py_None
);
1140 _resultobj
= Py_None
;
1144 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1147 char *_kwnames
[] = { NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 _result
= (wxWindow
*)wxGetActiveWindow();
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1162 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
* _resultobj
;
1167 PyObject
* _obj0
= 0;
1168 char *_kwnames
[] = { "pt", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1175 if (! wxPoint_helper(_obj0
, &_arg0
))
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1188 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
* _resultobj
;
1193 PyObject
* _obj0
= 0;
1194 char *_kwnames
[] = { "pt", NULL
};
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1201 if (! wxPoint_helper(_obj0
, &_arg0
))
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) return NULL
;
1210 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1214 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1219 char *_kwnames
[] = { "name","value", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } _resultobj
= Py_BuildValue("i",_result
);
1234 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1236 char *_kwnames
[] = { NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) return NULL
;
1247 } Py_INCREF(Py_None
);
1248 _resultobj
= Py_None
;
1252 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1256 char *_kwnames
[] = { "resource", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) return NULL
;
1268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1269 _resultobj
= Py_BuildValue("s",_ptemp
);
1273 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1277 char *_kwnames
[] = { "resource", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1290 _resultobj
= Py_BuildValue("s",_ptemp
);
1294 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1296 wxMenuBar
* _result
;
1298 char *_kwnames
[] = { "resource", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1313 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1317 char *_kwnames
[] = { "name", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 _result
= (int )wxResourceGetIdentifier(_arg0
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 } _resultobj
= Py_BuildValue("i",_result
);
1332 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1336 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1337 PyObject
* _argo1
= 0;
1338 char *_kwnames
[] = { "resource","table", NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) return NULL
;
1356 } _resultobj
= Py_BuildValue("i",_result
);
1360 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1364 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1365 PyObject
* _argo1
= 0;
1366 char *_kwnames
[] = { "filename","table", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1372 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1384 } _resultobj
= Py_BuildValue("i",_result
);
1388 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1392 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1393 PyObject
* _argo1
= 0;
1394 char *_kwnames
[] = { "resource","table", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1400 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1401 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1408 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1410 wxPyEndAllowThreads(__tstate
);
1411 if (PyErr_Occurred()) return NULL
;
1412 } _resultobj
= Py_BuildValue("i",_result
);
1416 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1419 char *_kwnames
[] = { NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (int )wxCaret_GetBlinkTime();
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } _resultobj
= Py_BuildValue("i",_result
);
1434 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
* _resultobj
;
1437 char *_kwnames
[] = { "milliseconds", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 wxCaret_SetBlinkTime(_arg0
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) return NULL
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1456 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "win", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= (bool )wxSafeYield(_arg0
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } _resultobj
= Py_BuildValue("i",_result
);
1480 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1482 wxEvtHandler
* _arg0
;
1484 PyObject
* _argo0
= 0;
1485 PyObject
* _argo1
= 0;
1486 char *_kwnames
[] = { "dest","event", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 wxPostEvent(_arg0
,*_arg1
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1518 char *_kwnames
[] = { NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1529 } Py_INCREF(Py_None
);
1530 _resultobj
= Py_None
;
1534 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1536 char *_kwnames
[] = { NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) return NULL
;
1547 } Py_INCREF(Py_None
);
1548 _resultobj
= Py_None
;
1552 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 char *_kwnames
[] = { NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } Py_INCREF(Py_None
);
1566 _resultobj
= Py_None
;
1570 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1573 char *_kwnames
[] = { NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (bool )wxThread_IsMain();
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1592 wxTipProvider
* _arg1
;
1593 bool _arg2
= (bool ) TRUE
;
1594 PyObject
* _argo0
= 0;
1595 PyObject
* _argo1
= 0;
1596 int tempbool2
= (int) TRUE
;
1597 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1616 _arg2
= (bool ) tempbool2
;
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } _resultobj
= Py_BuildValue("i",_result
);
1627 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1629 wxTipProvider
* _result
;
1632 PyObject
* _obj0
= 0;
1633 char *_kwnames
[] = { "filename","currentTip", NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1640 _arg0
= wxString_in_helper(_obj0
);
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) return NULL
;
1651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1652 _resultobj
= Py_BuildValue("s",_ptemp
);
1655 _resultobj
= Py_None
;
1664 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1666 unsigned long _result
;
1667 char *_kwnames
[] = { NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 _result
= (unsigned long )wxSysErrorCode();
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } _resultobj
= Py_BuildValue("l",_result
);
1682 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1685 unsigned long _arg0
= (unsigned long ) 0;
1686 char *_kwnames
[] = { "nErrCode", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 _result
= new wxString (wxSysErrorMsg(_arg0
));
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1699 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1701 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1710 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1713 PyObject
* _obj0
= 0;
1714 char *_kwnames
[] = { "szFormat", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1720 _arg0
= wxString_in_helper(_obj0
);
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 wxLogFatalError(*_arg0
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } Py_INCREF(Py_None
);
1731 _resultobj
= Py_None
;
1739 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1742 PyObject
* _obj0
= 0;
1743 char *_kwnames
[] = { "szFormat", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1749 _arg0
= wxString_in_helper(_obj0
);
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1768 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1771 PyObject
* _obj0
= 0;
1772 char *_kwnames
[] = { "szFormat", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1778 _arg0
= wxString_in_helper(_obj0
);
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 wxLogWarning(*_arg0
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1797 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1800 PyObject
* _obj0
= 0;
1801 char *_kwnames
[] = { "szFormat", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1807 _arg0
= wxString_in_helper(_obj0
);
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 wxLogMessage(*_arg0
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) return NULL
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1826 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1829 PyObject
* _obj0
= 0;
1830 char *_kwnames
[] = { "szFormat", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1836 _arg0
= wxString_in_helper(_obj0
);
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) return NULL
;
1846 } Py_INCREF(Py_None
);
1847 _resultobj
= Py_None
;
1855 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1858 PyObject
* _obj0
= 0;
1859 char *_kwnames
[] = { "szFormat", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1865 _arg0
= wxString_in_helper(_obj0
);
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 wxLogVerbose(*_arg0
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1875 } Py_INCREF(Py_None
);
1876 _resultobj
= Py_None
;
1884 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1887 PyObject
* _obj0
= 0;
1888 char *_kwnames
[] = { "szFormat", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
1894 _arg0
= wxString_in_helper(_obj0
);
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 wxLogStatus(*_arg0
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) return NULL
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1913 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 PyObject
* _obj1
= 0;
1919 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
1932 _arg1
= wxString_in_helper(_obj1
);
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 wxLogStatus(_arg0
,*_arg1
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) return NULL
;
1942 } Py_INCREF(Py_None
);
1943 _resultobj
= Py_None
;
1951 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1954 PyObject
* _obj0
= 0;
1955 char *_kwnames
[] = { "szFormat", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
1961 _arg0
= wxString_in_helper(_obj0
);
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 wxLogSysError(*_arg0
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) return NULL
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1980 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1984 int _arg1
= (int ) FALSE
;
1985 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
1986 PyObject
* _obj0
= 0;
1987 PyObject
* _argo2
= 0;
1988 char *_kwnames
[] = { "command","sync","process", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
1994 _arg0
= wxString_in_helper(_obj0
);
1999 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } _resultobj
= Py_BuildValue("l",_result
);
2019 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2023 PyObject
* _obj0
= 0;
2024 char *_kwnames
[] = { "data", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2031 _arg0
= wxString_in_helper(_obj0
);
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 _result
= (wxWave
*)wxWaveData(*_arg0
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) return NULL
;
2042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2043 _resultobj
= Py_BuildValue("s",_ptemp
);
2046 _resultobj
= Py_None
;
2055 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2057 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2061 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2065 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2066 pyobj
= PyString_FromString(ptemp
);
2070 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2073 wxSystemColour _arg0
;
2074 char *_kwnames
[] = { "index", NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) return NULL
;
2086 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2087 _resultobj
= Py_BuildValue("s",_ptemp
);
2091 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
* _resultobj
;
2095 char *_kwnames
[] = { "index", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2108 _resultobj
= Py_BuildValue("s",_ptemp
);
2112 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2115 wxSystemMetric _arg0
;
2116 char *_kwnames
[] = { "index", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) return NULL
;
2127 } _resultobj
= Py_BuildValue("i",_result
);
2131 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2134 wxSystemFeature _arg0
;
2135 char *_kwnames
[] = { "index", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) return NULL
;
2146 } _resultobj
= Py_BuildValue("i",_result
);
2150 static void *SwigwxToolTipTowxObject(void *ptr
) {
2153 src
= (wxToolTip
*) ptr
;
2154 dest
= (wxObject
*) src
;
2155 return (void *) dest
;
2158 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2159 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2161 wxToolTip
* _result
;
2163 PyObject
* _obj0
= 0;
2164 char *_kwnames
[] = { "tip", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2171 _arg0
= wxString_in_helper(_obj0
);
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) return NULL
;
2182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2183 _resultobj
= Py_BuildValue("s",_ptemp
);
2186 _resultobj
= Py_None
;
2195 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2196 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2200 PyObject
* _argo0
= 0;
2201 PyObject
* _obj1
= 0;
2202 char *_kwnames
[] = { "self","tip", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2215 _arg1
= wxString_in_helper(_obj1
);
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 wxToolTip_SetTip(_arg0
,*_arg1
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) return NULL
;
2225 } Py_INCREF(Py_None
);
2226 _resultobj
= Py_None
;
2234 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2235 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2239 PyObject
* _argo0
= 0;
2240 char *_kwnames
[] = { "self", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2260 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2262 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2271 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2272 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2277 char *_kwnames
[] = { "self", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2295 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2299 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2303 char *_kwnames
[] = { "flag", NULL
};
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2308 _arg0
= (bool ) tempbool0
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 wxToolTip::Enable(_arg0
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) return NULL
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2323 char *_kwnames
[] = { "milliseconds", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 wxToolTip::SetDelay(_arg0
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2340 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2345 PyObject
* _argo0
= 0;
2347 PyObject
* _obj1
= 0;
2348 char *_kwnames
[] = { "window","size", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2363 if (! wxSize_helper(_obj1
, &_arg1
))
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) return NULL
;
2373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2374 _resultobj
= Py_BuildValue("s",_ptemp
);
2377 _resultobj
= Py_None
;
2382 #define delete_wxCaret(_swigobj) (delete _swigobj)
2383 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2386 PyObject
* _argo0
= 0;
2387 char *_kwnames
[] = { "self", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 delete_wxCaret(_arg0
);
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) return NULL
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2411 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 _result
= (bool )wxCaret_IsOk(_arg0
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2434 } _resultobj
= Py_BuildValue("i",_result
);
2438 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2439 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
* _resultobj
;
2443 PyObject
* _argo0
= 0;
2444 char *_kwnames
[] = { "self", NULL
};
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 _result
= (bool )wxCaret_IsVisible(_arg0
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) return NULL
;
2462 } _resultobj
= Py_BuildValue("i",_result
);
2466 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2467 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2468 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self", NULL
};
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2499 } Py_INCREF(Py_None
);
2500 _resultobj
= Py_None
;
2503 o
= PyInt_FromLong((long) (*_arg1
));
2504 _resultobj
= t_output_helper(_resultobj
, o
);
2508 o
= PyInt_FromLong((long) (*_arg2
));
2509 _resultobj
= t_output_helper(_resultobj
, o
);
2514 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2515 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2519 PyObject
* _argo0
= 0;
2520 char *_kwnames
[] = { "self", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) return NULL
;
2539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2540 _resultobj
= Py_BuildValue("s",_ptemp
);
2544 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2545 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2552 PyObject
* _argo0
= 0;
2553 char *_kwnames
[] = { "self", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) return NULL
;
2577 } Py_INCREF(Py_None
);
2578 _resultobj
= Py_None
;
2581 o
= PyInt_FromLong((long) (*_arg1
));
2582 _resultobj
= t_output_helper(_resultobj
, o
);
2586 o
= PyInt_FromLong((long) (*_arg2
));
2587 _resultobj
= t_output_helper(_resultobj
, o
);
2592 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2593 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
* _resultobj
;
2597 PyObject
* _argo0
= 0;
2598 char *_kwnames
[] = { "self", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) return NULL
;
2617 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2618 _resultobj
= Py_BuildValue("s",_ptemp
);
2622 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2623 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) return NULL
;
2646 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2650 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2651 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2656 PyObject
* _argo0
= 0;
2657 char *_kwnames
[] = { "self","x","y", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2675 } Py_INCREF(Py_None
);
2676 _resultobj
= Py_None
;
2680 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2681 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2687 PyObject
* _obj1
= 0;
2688 char *_kwnames
[] = { "self","pt", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2702 if (! wxPoint_helper(_obj1
, &_arg1
))
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 wxCaret_Move(_arg0
,*_arg1
);
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) return NULL
;
2711 } Py_INCREF(Py_None
);
2712 _resultobj
= Py_None
;
2716 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2717 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2722 PyObject
* _argo0
= 0;
2723 char *_kwnames
[] = { "self","width","height", NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) return NULL
;
2741 } Py_INCREF(Py_None
);
2742 _resultobj
= Py_None
;
2746 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2747 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2751 PyObject
* _argo0
= 0;
2753 PyObject
* _obj1
= 0;
2754 char *_kwnames
[] = { "self","size", NULL
};
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2768 if (! wxSize_helper(_obj1
, &_arg1
))
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 wxCaret_SetSize(_arg0
,*_arg1
);
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) return NULL
;
2777 } Py_INCREF(Py_None
);
2778 _resultobj
= Py_None
;
2782 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2783 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2786 int _arg1
= (int ) TRUE
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self","show", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 wxCaret_Show(_arg0
,_arg1
);
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) return NULL
;
2806 } Py_INCREF(Py_None
);
2807 _resultobj
= Py_None
;
2811 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2812 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
* _resultobj
;
2815 PyObject
* _argo0
= 0;
2816 char *_kwnames
[] = { "self", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 wxCaret_Hide(_arg0
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) return NULL
;
2834 } Py_INCREF(Py_None
);
2835 _resultobj
= Py_None
;
2839 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2840 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2842 wxPyFontEnumerator
* _result
;
2843 char *_kwnames
[] = { NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) return NULL
;
2856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2857 _resultobj
= Py_BuildValue("s",_ptemp
);
2860 _resultobj
= Py_None
;
2865 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2866 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2868 wxPyFontEnumerator
* _arg0
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 delete_wxPyFontEnumerator(_arg0
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) return NULL
;
2888 } Py_INCREF(Py_None
);
2889 _resultobj
= Py_None
;
2893 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
2894 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2896 wxPyFontEnumerator
* _arg0
;
2900 PyObject
* _argo0
= 0;
2901 PyObject
* _obj1
= 0;
2902 PyObject
* _obj2
= 0;
2904 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
2910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2922 _arg3
= (bool ) tempbool3
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) return NULL
;
2929 } Py_INCREF(Py_None
);
2930 _resultobj
= Py_None
;
2934 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2935 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2938 wxPyFontEnumerator
* _arg0
;
2939 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2940 bool _arg2
= (bool ) FALSE
;
2941 PyObject
* _argo0
= 0;
2942 int tempbool2
= (int) FALSE
;
2943 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2955 _arg2
= (bool ) tempbool2
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) return NULL
;
2962 } _resultobj
= Py_BuildValue("i",_result
);
2966 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2967 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2970 wxPyFontEnumerator
* _arg0
;
2971 char * _arg1
= (char *) "";
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self","facename", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2996 wxArrayString
* arr
= self
->GetEncodings();
2997 return wxArrayString2PyList_helper(*arr
);
2999 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3002 wxPyFontEnumerator
* _arg0
;
3003 PyObject
* _argo0
= 0;
3004 char *_kwnames
[] = { "self", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) return NULL
;
3023 _resultobj
= _result
;
3028 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3029 wxArrayString
* arr
= self
->GetFacenames();
3030 return wxArrayString2PyList_helper(*arr
);
3032 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3035 wxPyFontEnumerator
* _arg0
;
3036 PyObject
* _argo0
= 0;
3037 char *_kwnames
[] = { "self", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3051 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) return NULL
;
3056 _resultobj
= _result
;
3061 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3062 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3064 wxBusyCursor
* _result
;
3065 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "cursor", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) return NULL
;
3087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3088 _resultobj
= Py_BuildValue("s",_ptemp
);
3091 _resultobj
= Py_None
;
3096 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3097 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3099 wxBusyCursor
* _arg0
;
3100 PyObject
* _argo0
= 0;
3101 char *_kwnames
[] = { "self", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 delete_wxBusyCursor(_arg0
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3124 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3125 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxWindowDisabler
* _result
;
3128 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3129 PyObject
* _argo0
= 0;
3130 char *_kwnames
[] = { "winToSkip", NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) return NULL
;
3150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3151 _resultobj
= Py_BuildValue("s",_ptemp
);
3154 _resultobj
= Py_None
;
3159 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3160 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3162 wxWindowDisabler
* _arg0
;
3163 PyObject
* _argo0
= 0;
3164 char *_kwnames
[] = { "self", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 delete_wxWindowDisabler(_arg0
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3188 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3190 wxMutexGuiLocker
* _result
;
3191 char *_kwnames
[] = { NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) return NULL
;
3204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3208 _resultobj
= Py_None
;
3213 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3214 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3216 wxMutexGuiLocker
* _arg0
;
3217 PyObject
* _argo0
= 0;
3218 char *_kwnames
[] = { "self", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 delete_wxMutexGuiLocker(_arg0
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3236 } Py_INCREF(Py_None
);
3237 _resultobj
= Py_None
;
3241 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3242 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3244 wxTipProvider
* _arg0
;
3245 PyObject
* _argo0
= 0;
3246 char *_kwnames
[] = { "self", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 delete_wxTipProvider(_arg0
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) return NULL
;
3264 } Py_INCREF(Py_None
);
3265 _resultobj
= Py_None
;
3269 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3270 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3273 wxTipProvider
* _arg0
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) return NULL
;
3295 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3297 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3306 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3307 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
* _resultobj
;
3310 wxTipProvider
* _arg0
;
3311 PyObject
* _argo0
= 0;
3312 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) return NULL
;
3330 } _resultobj
= Py_BuildValue("i",_result
);
3334 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3335 wxPyTipProvider
*src
;
3336 wxTipProvider
*dest
;
3337 src
= (wxPyTipProvider
*) ptr
;
3338 dest
= (wxTipProvider
*) src
;
3339 return (void *) dest
;
3342 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3343 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3345 wxPyTipProvider
* _result
;
3347 char *_kwnames
[] = { "currentTip", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) return NULL
;
3360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3361 _resultobj
= Py_BuildValue("s",_ptemp
);
3364 _resultobj
= Py_None
;
3369 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3370 wxGenericDragImage
*src
;
3372 src
= (wxGenericDragImage
*) ptr
;
3373 dest
= (wxObject
*) src
;
3374 return (void *) dest
;
3377 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3378 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3380 wxGenericDragImage
* _result
;
3382 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3383 PyObject
* _argo0
= 0;
3384 PyObject
* _argo1
= 0;
3385 char *_kwnames
[] = { "image","cursor", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3413 _resultobj
= Py_BuildValue("s",_ptemp
);
3416 _resultobj
= Py_None
;
3421 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3422 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3424 wxGenericDragImage
* _result
;
3426 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3427 PyObject
* _argo0
= 0;
3428 PyObject
* _argo1
= 0;
3429 char *_kwnames
[] = { "image","cursor", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3457 _resultobj
= Py_BuildValue("s",_ptemp
);
3460 _resultobj
= Py_None
;
3465 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3466 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
* _resultobj
;
3468 wxGenericDragImage
* _result
;
3470 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3471 PyObject
* _obj0
= 0;
3472 PyObject
* _argo1
= 0;
3473 char *_kwnames
[] = { "str","cursor", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3480 _arg0
= wxString_in_helper(_obj0
);
3485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3499 _resultobj
= Py_BuildValue("s",_ptemp
);
3502 _resultobj
= Py_None
;
3511 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3512 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3514 wxGenericDragImage
* _result
;
3516 wxTreeItemId
* _arg1
;
3517 PyObject
* _argo0
= 0;
3518 PyObject
* _argo1
= 0;
3519 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) return NULL
;
3546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3547 _resultobj
= Py_BuildValue("s",_ptemp
);
3550 _resultobj
= Py_None
;
3555 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3556 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3558 wxGenericDragImage
* _result
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "listCtrl","id", NULL
};
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) return NULL
;
3582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3583 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 _resultobj
= Py_None
;
3591 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3592 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3594 wxGenericDragImage
* _arg0
;
3595 PyObject
* _argo0
= 0;
3596 char *_kwnames
[] = { "self", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 delete_wxGenericDragImage(_arg0
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3619 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3620 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3622 wxGenericDragImage
* _arg0
;
3624 PyObject
* _argo0
= 0;
3625 PyObject
* _argo1
= 0;
3626 char *_kwnames
[] = { "self","bitmap", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) return NULL
;
3651 } Py_INCREF(Py_None
);
3652 _resultobj
= Py_None
;
3656 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3657 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3660 wxGenericDragImage
* _arg0
;
3663 bool _arg3
= (bool ) FALSE
;
3664 wxRect
* _arg4
= (wxRect
*) NULL
;
3665 PyObject
* _argo0
= 0;
3667 PyObject
* _obj1
= 0;
3668 PyObject
* _argo2
= 0;
3669 int tempbool3
= (int) FALSE
;
3671 PyObject
* _obj4
= 0;
3672 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3686 if (! wxPoint_helper(_obj1
, &_arg1
))
3690 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3696 _arg3
= (bool ) tempbool3
;
3700 if (! wxRect_helper(_obj4
, &_arg4
))
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) return NULL
;
3709 } _resultobj
= Py_BuildValue("i",_result
);
3713 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3714 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3717 wxGenericDragImage
* _arg0
;
3721 PyObject
* _argo0
= 0;
3723 PyObject
* _obj1
= 0;
3724 PyObject
* _argo2
= 0;
3725 PyObject
* _argo3
= 0;
3726 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3740 if (! wxPoint_helper(_obj1
, &_arg1
))
3744 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3751 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) return NULL
;
3763 } _resultobj
= Py_BuildValue("i",_result
);
3767 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3768 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3771 wxGenericDragImage
* _arg0
;
3772 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) return NULL
;
3791 } _resultobj
= Py_BuildValue("i",_result
);
3795 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3796 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
* _resultobj
;
3799 wxGenericDragImage
* _arg0
;
3801 PyObject
* _argo0
= 0;
3803 PyObject
* _obj1
= 0;
3804 char *_kwnames
[] = { "self","pt", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3818 if (! wxPoint_helper(_obj1
, &_arg1
))
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) return NULL
;
3827 } _resultobj
= Py_BuildValue("i",_result
);
3831 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3832 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 wxGenericDragImage
* _arg0
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 _result
= (bool )wxDragImage_Show(_arg0
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) return NULL
;
3855 } _resultobj
= Py_BuildValue("i",_result
);
3859 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3860 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3863 wxGenericDragImage
* _arg0
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 _result
= (bool )wxDragImage_Hide(_arg0
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3888 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxGenericDragImage
* _arg0
;
3893 PyObject
* _argo0
= 0;
3895 PyObject
* _obj1
= 0;
3896 char *_kwnames
[] = { "self","pos", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3911 if (! wxPoint_helper(_obj1
, &_arg1
))
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) return NULL
;
3920 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3921 _resultobj
= Py_BuildValue("s",_ptemp
);
3925 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3926 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3929 wxGenericDragImage
* _arg0
;
3934 PyObject
* _argo0
= 0;
3936 PyObject
* _obj1
= 0;
3938 PyObject
* _obj2
= 0;
3941 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3955 if (! wxPoint_helper(_obj1
, &_arg1
))
3960 if (! wxPoint_helper(_obj2
, &_arg2
))
3963 _arg3
= (bool ) tempbool3
;
3964 _arg4
= (bool ) tempbool4
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) return NULL
;
3971 } _resultobj
= Py_BuildValue("i",_result
);
3975 static void *SwigwxPyTimerTowxObject(void *ptr
) {
3978 src
= (wxPyTimer
*) ptr
;
3979 dest
= (wxObject
*) src
;
3980 return (void *) dest
;
3983 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3984 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3986 wxPyTimer
* _result
;
3988 PyObject
* _obj0
= 0;
3989 char *_kwnames
[] = { "notify", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4006 _resultobj
= Py_BuildValue("s",_ptemp
);
4009 _resultobj
= Py_None
;
4014 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4015 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4018 PyObject
* _argo0
= 0;
4019 char *_kwnames
[] = { "self", NULL
};
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 delete_wxPyTimer(_arg0
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) return NULL
;
4037 } Py_INCREF(Py_None
);
4038 _resultobj
= Py_None
;
4042 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4043 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4047 PyObject
* _argo0
= 0;
4048 char *_kwnames
[] = { "self", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4066 } _resultobj
= Py_BuildValue("i",_result
);
4070 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4071 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4075 PyObject
* _argo0
= 0;
4076 char *_kwnames
[] = { "self", NULL
};
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) return NULL
;
4094 } _resultobj
= Py_BuildValue("i",_result
);
4098 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4099 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4103 PyObject
* _argo0
= 0;
4104 char *_kwnames
[] = { "self", NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) return NULL
;
4122 } _resultobj
= Py_BuildValue("i",_result
);
4126 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4127 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4130 wxEvtHandler
* _arg1
;
4131 int _arg2
= (int ) -1;
4132 PyObject
* _argo0
= 0;
4133 PyObject
* _argo1
= 0;
4134 char *_kwnames
[] = { "self","owner","id", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4147 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) return NULL
;
4159 } Py_INCREF(Py_None
);
4160 _resultobj
= Py_None
;
4164 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4165 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4168 int _arg1
= (int ) -1;
4169 int _arg2
= (int ) FALSE
;
4170 PyObject
* _argo0
= 0;
4171 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) return NULL
;
4189 } Py_INCREF(Py_None
);
4190 _resultobj
= Py_None
;
4194 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4195 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxPyTimer_Stop(_arg0
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 #define new_wxStopWatch() (new wxStopWatch())
4223 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4225 wxStopWatch
* _result
;
4226 char *_kwnames
[] = { NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 _result
= (wxStopWatch
*)new_wxStopWatch();
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4240 _resultobj
= Py_BuildValue("s",_ptemp
);
4243 _resultobj
= Py_None
;
4248 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4249 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4251 wxStopWatch
* _arg0
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 delete_wxStopWatch(_arg0
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) return NULL
;
4271 } Py_INCREF(Py_None
);
4272 _resultobj
= Py_None
;
4276 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4277 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4279 wxStopWatch
* _arg0
;
4280 long _arg1
= (long ) 0;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self","t", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxStopWatch_Start(_arg0
,_arg1
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) return NULL
;
4300 } Py_INCREF(Py_None
);
4301 _resultobj
= Py_None
;
4305 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4306 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4308 wxStopWatch
* _arg0
;
4309 PyObject
* _argo0
= 0;
4310 char *_kwnames
[] = { "self", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxStopWatch_Pause(_arg0
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4334 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStopWatch
* _arg0
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 wxStopWatch_Resume(_arg0
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) return NULL
;
4356 } Py_INCREF(Py_None
);
4357 _resultobj
= Py_None
;
4361 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4362 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4365 wxStopWatch
* _arg0
;
4366 PyObject
* _argo0
= 0;
4367 char *_kwnames
[] = { "self", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 _result
= (long )wxStopWatch_Time(_arg0
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) return NULL
;
4385 } _resultobj
= Py_BuildValue("l",_result
);
4389 #define new_wxLog() (new wxLog())
4390 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4393 char *_kwnames
[] = { NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 _result
= (wxLog
*)new_wxLog();
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) return NULL
;
4406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4407 _resultobj
= Py_BuildValue("s",_ptemp
);
4410 _resultobj
= Py_None
;
4415 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4418 char *_kwnames
[] = { NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 _result
= (bool )wxLog::IsEnabled();
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) return NULL
;
4429 } _resultobj
= Py_BuildValue("i",_result
);
4433 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4436 bool _arg0
= (bool ) TRUE
;
4437 int tempbool0
= (int) TRUE
;
4438 char *_kwnames
[] = { "doIt", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4443 _arg0
= (bool ) tempbool0
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 _result
= (bool )wxLog::EnableLogging(_arg0
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) return NULL
;
4450 } _resultobj
= Py_BuildValue("i",_result
);
4454 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4458 int _arg2
= (int ) 0;
4459 PyObject
* _argo0
= 0;
4460 PyObject
* _obj1
= 0;
4461 char *_kwnames
[] = { "level","szString","t", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4474 _arg1
= wxString_in_helper(_obj1
);
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) return NULL
;
4484 } Py_INCREF(Py_None
);
4485 _resultobj
= Py_None
;
4493 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4494 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
* _resultobj
;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4522 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) return NULL
;
4545 } _resultobj
= Py_BuildValue("i",_result
);
4549 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4551 char *_kwnames
[] = { NULL
};
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxLog::FlushActive();
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) return NULL
;
4562 } Py_INCREF(Py_None
);
4563 _resultobj
= Py_None
;
4567 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4570 char *_kwnames
[] = { NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 _result
= (wxLog
*)wxLog::GetActiveTarget();
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) return NULL
;
4583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4584 _resultobj
= Py_BuildValue("s",_ptemp
);
4587 _resultobj
= Py_None
;
4592 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4596 PyObject
* _argo0
= 0;
4597 char *_kwnames
[] = { "pLogger", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) return NULL
;
4617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4618 _resultobj
= Py_BuildValue("s",_ptemp
);
4621 _resultobj
= Py_None
;
4626 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4628 char *_kwnames
[] = { NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) return NULL
;
4639 } Py_INCREF(Py_None
);
4640 _resultobj
= Py_None
;
4644 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4646 char *_kwnames
[] = { NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) return NULL
;
4657 } Py_INCREF(Py_None
);
4658 _resultobj
= Py_None
;
4662 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4663 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
* _resultobj
;
4666 bool _arg1
= (bool ) TRUE
;
4667 PyObject
* _argo0
= 0;
4668 int tempbool1
= (int) TRUE
;
4669 char *_kwnames
[] = { "self","bVerbose", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4681 _arg1
= (bool ) tempbool1
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 wxLog_SetVerbose(_arg0
,_arg1
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
* _resultobj
;
4695 char *_kwnames
[] = { NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxLog::DontCreateOnDemand();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) return NULL
;
4706 } Py_INCREF(Py_None
);
4707 _resultobj
= Py_None
;
4711 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4713 wxTraceMask
* _arg0
;
4714 PyObject
* _argo0
= 0;
4715 char *_kwnames
[] = { "ulMask", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxLog::SetTraceMask(*_arg0
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) return NULL
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4738 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
* _resultobj
;
4741 PyObject
* _obj0
= 0;
4742 char *_kwnames
[] = { "str", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4748 _arg0
= wxString_in_helper(_obj0
);
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 wxLog::AddTraceMask(*_arg0
);
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) return NULL
;
4758 } Py_INCREF(Py_None
);
4759 _resultobj
= Py_None
;
4767 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4770 PyObject
* _obj0
= 0;
4771 char *_kwnames
[] = { "str", NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4777 _arg0
= wxString_in_helper(_obj0
);
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 wxLog::RemoveTraceMask(*_arg0
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) return NULL
;
4787 } Py_INCREF(Py_None
);
4788 _resultobj
= Py_None
;
4796 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4798 char *_kwnames
[] = { NULL
};
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 wxLog::ClearTraceMasks();
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) return NULL
;
4809 } Py_INCREF(Py_None
);
4810 _resultobj
= Py_None
;
4814 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4817 char *_kwnames
[] = { "ts", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 wxLog::SetTimestamp(_arg0
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) return NULL
;
4828 } Py_INCREF(Py_None
);
4829 _resultobj
= Py_None
;
4833 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4836 char *_kwnames
[] = { NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 _result
= (wxChar
*)wxLog::GetTimestamp();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) return NULL
;
4847 } _resultobj
= Py_BuildValue("s", _result
);
4851 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4852 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
* _resultobj
;
4856 PyObject
* _argo0
= 0;
4857 char *_kwnames
[] = { "self", NULL
};
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 _result
= (bool )wxLog_GetVerbose(_arg0
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) return NULL
;
4875 } _resultobj
= Py_BuildValue("i",_result
);
4879 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
* _resultobj
;
4881 wxTraceMask
* _result
;
4882 char *_kwnames
[] = { NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 _result
= new wxTraceMask (wxLog::GetTraceMask());
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) return NULL
;
4894 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4895 _resultobj
= Py_BuildValue("s",_ptemp
);
4899 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4903 PyObject
* _obj0
= 0;
4904 char *_kwnames
[] = { "mask", NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
4910 _arg0
= wxString_in_helper(_obj0
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) return NULL
;
4920 } _resultobj
= Py_BuildValue("i",_result
);
4928 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4930 wxLog::TimeStamp(&msg
);
4933 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
* _resultobj
;
4937 PyObject
* _argo0
= 0;
4938 char *_kwnames
[] = { "self", NULL
};
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) return NULL
;
4958 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4960 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4969 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4972 src
= (wxLogStderr
*) ptr
;
4973 dest
= (wxLog
*) src
;
4974 return (void *) dest
;
4977 #define new_wxLogStderr() (new wxLogStderr())
4978 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4980 wxLogStderr
* _result
;
4981 char *_kwnames
[] = { NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 _result
= (wxLogStderr
*)new_wxLogStderr();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) return NULL
;
4994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4995 _resultobj
= Py_BuildValue("s",_ptemp
);
4998 _resultobj
= Py_None
;
5003 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5006 src
= (wxLogTextCtrl
*) ptr
;
5007 dest
= (wxLog
*) src
;
5008 return (void *) dest
;
5011 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5012 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5014 wxLogTextCtrl
* _result
;
5016 PyObject
* _argo0
= 0;
5017 char *_kwnames
[] = { "pTextCtrl", NULL
};
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) return NULL
;
5037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5038 _resultobj
= Py_BuildValue("s",_ptemp
);
5041 _resultobj
= Py_None
;
5046 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5049 src
= (wxLogGui
*) ptr
;
5050 dest
= (wxLog
*) src
;
5051 return (void *) dest
;
5054 #define new_wxLogGui() (new wxLogGui())
5055 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
* _resultobj
;
5058 char *_kwnames
[] = { NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 _result
= (wxLogGui
*)new_wxLogGui();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) return NULL
;
5071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5072 _resultobj
= Py_BuildValue("s",_ptemp
);
5075 _resultobj
= Py_None
;
5080 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5083 src
= (wxLogWindow
*) ptr
;
5084 dest
= (wxLog
*) src
;
5085 return (void *) dest
;
5088 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5089 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5091 wxLogWindow
* _result
;
5094 bool _arg2
= (bool ) TRUE
;
5095 bool _arg3
= (bool ) TRUE
;
5096 PyObject
* _argo0
= 0;
5097 PyObject
* _obj1
= 0;
5098 int tempbool2
= (int) TRUE
;
5099 int tempbool3
= (int) TRUE
;
5100 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5114 _arg1
= wxString_in_helper(_obj1
);
5118 _arg2
= (bool ) tempbool2
;
5119 _arg3
= (bool ) tempbool3
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5128 _resultobj
= Py_BuildValue("s",_ptemp
);
5131 _resultobj
= Py_None
;
5140 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5141 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5143 wxLogWindow
* _arg0
;
5144 bool _arg1
= (bool ) TRUE
;
5145 PyObject
* _argo0
= 0;
5146 int tempbool1
= (int) TRUE
;
5147 char *_kwnames
[] = { "self","bShow", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5159 _arg1
= (bool ) tempbool1
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 wxLogWindow_Show(_arg0
,_arg1
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) return NULL
;
5166 } Py_INCREF(Py_None
);
5167 _resultobj
= Py_None
;
5171 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5172 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5175 wxLogWindow
* _arg0
;
5176 PyObject
* _argo0
= 0;
5177 char *_kwnames
[] = { "self", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) return NULL
;
5195 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5199 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5200 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
* _resultobj
;
5203 wxLogWindow
* _arg0
;
5204 PyObject
* _argo0
= 0;
5205 char *_kwnames
[] = { "self", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) return NULL
;
5225 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5226 _resultobj
= Py_BuildValue("s",_ptemp
);
5229 _resultobj
= Py_None
;
5234 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5235 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5238 wxLogWindow
* _arg0
;
5239 PyObject
* _argo0
= 0;
5240 char *_kwnames
[] = { "self", NULL
};
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5258 } _resultobj
= Py_BuildValue("i",_result
);
5262 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5263 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5265 wxLogWindow
* _arg0
;
5267 PyObject
* _argo0
= 0;
5269 char *_kwnames
[] = { "self","bDoPass", NULL
};
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5281 _arg1
= (bool ) tempbool1
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 wxLogWindow_PassMessages(_arg0
,_arg1
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) return NULL
;
5288 } Py_INCREF(Py_None
);
5289 _resultobj
= Py_None
;
5293 #define new_wxLogNull() (new wxLogNull())
5294 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5296 wxLogNull
* _result
;
5297 char *_kwnames
[] = { NULL
};
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 _result
= (wxLogNull
*)new_wxLogNull();
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5311 _resultobj
= Py_BuildValue("s",_ptemp
);
5314 _resultobj
= Py_None
;
5319 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5320 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
* _resultobj
;
5323 PyObject
* _argo0
= 0;
5324 char *_kwnames
[] = { "self", NULL
};
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 delete_wxLogNull(_arg0
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) return NULL
;
5342 } Py_INCREF(Py_None
);
5343 _resultobj
= Py_None
;
5347 static void *SwigwxLogChainTowxLog(void *ptr
) {
5350 src
= (wxLogChain
*) ptr
;
5351 dest
= (wxLog
*) src
;
5352 return (void *) dest
;
5355 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5356 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5358 wxLogChain
* _result
;
5360 PyObject
* _argo0
= 0;
5361 char *_kwnames
[] = { "logger", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) return NULL
;
5381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5382 _resultobj
= Py_BuildValue("s",_ptemp
);
5385 _resultobj
= Py_None
;
5390 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5391 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5395 PyObject
* _argo0
= 0;
5396 PyObject
* _argo1
= 0;
5397 char *_kwnames
[] = { "self","logger", NULL
};
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 wxLogChain_SetLog(_arg0
,_arg1
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5422 } Py_INCREF(Py_None
);
5423 _resultobj
= Py_None
;
5427 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5428 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5432 PyObject
* _argo0
= 0;
5434 char *_kwnames
[] = { "self","bDoPass", NULL
};
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5446 _arg1
= (bool ) tempbool1
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 wxLogChain_PassMessages(_arg0
,_arg1
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) return NULL
;
5453 } Py_INCREF(Py_None
);
5454 _resultobj
= Py_None
;
5458 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5459 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5463 PyObject
* _argo0
= 0;
5464 char *_kwnames
[] = { "self", NULL
};
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) return NULL
;
5482 } _resultobj
= Py_BuildValue("i",_result
);
5486 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5487 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
* _resultobj
;
5491 PyObject
* _argo0
= 0;
5492 char *_kwnames
[] = { "self", NULL
};
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) return NULL
;
5512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5513 _resultobj
= Py_BuildValue("s",_ptemp
);
5516 _resultobj
= Py_None
;
5521 static void *SwigwxPyLogTowxLog(void *ptr
) {
5524 src
= (wxPyLog
*) ptr
;
5525 dest
= (wxLog
*) src
;
5526 return (void *) dest
;
5529 #define new_wxPyLog() (new wxPyLog())
5530 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5533 char *_kwnames
[] = { NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 _result
= (wxPyLog
*)new_wxPyLog();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) return NULL
;
5546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5547 _resultobj
= Py_BuildValue("s",_ptemp
);
5550 _resultobj
= Py_None
;
5555 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5556 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5561 PyObject
* _argo0
= 0;
5562 PyObject
* _obj1
= 0;
5563 PyObject
* _obj2
= 0;
5564 char *_kwnames
[] = { "self","self","_class", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) return NULL
;
5588 } Py_INCREF(Py_None
);
5589 _resultobj
= Py_None
;
5593 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5594 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
* _resultobj
;
5597 PyObject
* _argo0
= 0;
5598 char *_kwnames
[] = { "self", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 wxPyLog_Destroy(_arg0
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5616 } Py_INCREF(Py_None
);
5617 _resultobj
= Py_None
;
5621 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5622 wxProcessEvent
*src
;
5624 src
= (wxProcessEvent
*) ptr
;
5625 dest
= (wxEvent
*) src
;
5626 return (void *) dest
;
5629 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5630 wxProcessEvent
*src
;
5632 src
= (wxProcessEvent
*) ptr
;
5633 dest
= (wxObject
*) src
;
5634 return (void *) dest
;
5637 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5638 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5640 wxProcessEvent
* _result
;
5641 int _arg0
= (int ) 0;
5642 int _arg1
= (int ) 0;
5643 int _arg2
= (int ) 0;
5644 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) return NULL
;
5657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5658 _resultobj
= Py_BuildValue("s",_ptemp
);
5661 _resultobj
= Py_None
;
5666 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5667 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 wxProcessEvent
* _arg0
;
5671 PyObject
* _argo0
= 0;
5672 char *_kwnames
[] = { "self", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) return NULL
;
5690 } _resultobj
= Py_BuildValue("i",_result
);
5694 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5695 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5698 wxProcessEvent
* _arg0
;
5699 PyObject
* _argo0
= 0;
5700 char *_kwnames
[] = { "self", NULL
};
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) return NULL
;
5718 } _resultobj
= Py_BuildValue("i",_result
);
5722 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5723 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5726 wxProcessEvent
* _arg0
;
5728 PyObject
* _argo0
= 0;
5729 char *_kwnames
[] = { "self","m_pid", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) return NULL
;
5747 } _resultobj
= Py_BuildValue("i",_result
);
5751 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5752 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
* _resultobj
;
5755 wxProcessEvent
* _arg0
;
5756 PyObject
* _argo0
= 0;
5757 char *_kwnames
[] = { "self", NULL
};
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) return NULL
;
5775 } _resultobj
= Py_BuildValue("i",_result
);
5779 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5780 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
* _resultobj
;
5783 wxProcessEvent
* _arg0
;
5785 PyObject
* _argo0
= 0;
5786 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) return NULL
;
5804 } _resultobj
= Py_BuildValue("i",_result
);
5808 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5809 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5812 wxProcessEvent
* _arg0
;
5813 PyObject
* _argo0
= 0;
5814 char *_kwnames
[] = { "self", NULL
};
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) return NULL
;
5832 } _resultobj
= Py_BuildValue("i",_result
);
5836 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5839 src
= (wxPyProcess
*) ptr
;
5840 dest
= (wxEvtHandler
*) src
;
5841 return (void *) dest
;
5844 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5847 src
= (wxPyProcess
*) ptr
;
5848 dest
= (wxObject
*) src
;
5849 return (void *) dest
;
5852 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5853 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
* _resultobj
;
5855 wxPyProcess
* _result
;
5856 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5857 int _arg1
= (int ) -1;
5858 PyObject
* _argo0
= 0;
5859 char *_kwnames
[] = { "parent","id", NULL
};
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) return NULL
;
5879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5880 _resultobj
= Py_BuildValue("s",_ptemp
);
5883 _resultobj
= Py_None
;
5888 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5889 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5891 wxPyProcess
* _arg0
;
5892 PyObject
* _argo0
= 0;
5893 char *_kwnames
[] = { "self", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 wxPyProcess_Destroy(_arg0
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) return NULL
;
5911 } Py_INCREF(Py_None
);
5912 _resultobj
= Py_None
;
5916 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5917 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5919 wxPyProcess
* _arg0
;
5922 PyObject
* _argo0
= 0;
5923 PyObject
* _obj1
= 0;
5924 PyObject
* _obj2
= 0;
5925 char *_kwnames
[] = { "self","self","_class", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) return NULL
;
5949 } Py_INCREF(Py_None
);
5950 _resultobj
= Py_None
;
5954 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5955 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5957 wxPyProcess
* _arg0
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self","pid","status", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) return NULL
;
5979 } Py_INCREF(Py_None
);
5980 _resultobj
= Py_None
;
5984 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5985 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxPyProcess
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 wxProcess_Redirect(_arg0
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6007 } Py_INCREF(Py_None
);
6008 _resultobj
= Py_None
;
6012 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6013 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6016 wxPyProcess
* _arg0
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) return NULL
;
6036 } _resultobj
= Py_BuildValue("i",_result
);
6040 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6041 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6043 wxPyProcess
* _arg0
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 wxProcess_Detach(_arg0
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) return NULL
;
6063 } Py_INCREF(Py_None
);
6064 _resultobj
= Py_None
;
6068 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6069 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
* _resultobj
;
6071 wxInputStream
* _result
;
6072 wxPyProcess
* _arg0
;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) return NULL
;
6093 wxPyInputStream
* _ptr
= NULL
;
6096 _ptr
= new wxPyInputStream(_result
);
6098 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6103 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6104 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
* _resultobj
;
6106 wxInputStream
* _result
;
6107 wxPyProcess
* _arg0
;
6108 PyObject
* _argo0
= 0;
6109 char *_kwnames
[] = { "self", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) return NULL
;
6128 wxPyInputStream
* _ptr
= NULL
;
6131 _ptr
= new wxPyInputStream(_result
);
6133 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6138 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6139 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6141 wxOutputStream
* _result
;
6142 wxPyProcess
* _arg0
;
6143 PyObject
* _argo0
= 0;
6144 char *_kwnames
[] = { "self", NULL
};
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) return NULL
;
6164 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6165 _resultobj
= Py_BuildValue("s",_ptemp
);
6168 _resultobj
= Py_None
;
6173 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6174 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6176 wxPyProcess
* _arg0
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 wxProcess_CloseOutput(_arg0
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) return NULL
;
6196 } Py_INCREF(Py_None
);
6197 _resultobj
= Py_None
;
6201 static void *SwigwxJoystickTowxObject(void *ptr
) {
6204 src
= (wxJoystick
*) ptr
;
6205 dest
= (wxObject
*) src
;
6206 return (void *) dest
;
6209 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6210 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6212 wxJoystick
* _result
;
6213 int _arg0
= (int ) wxJOYSTICK1
;
6214 char *_kwnames
[] = { "joystick", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) return NULL
;
6227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6228 _resultobj
= Py_BuildValue("s",_ptemp
);
6231 _resultobj
= Py_None
;
6236 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6237 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6240 PyObject
* _argo0
= 0;
6241 char *_kwnames
[] = { "self", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 delete_wxJoystick(_arg0
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) return NULL
;
6259 } Py_INCREF(Py_None
);
6260 _resultobj
= Py_None
;
6264 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6265 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6269 PyObject
* _argo0
= 0;
6270 char *_kwnames
[] = { "self", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) return NULL
;
6289 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6290 _resultobj
= Py_BuildValue("s",_ptemp
);
6294 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6295 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
* _resultobj
;
6299 PyObject
* _argo0
= 0;
6300 char *_kwnames
[] = { "self", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6323 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6327 PyObject
* _argo0
= 0;
6328 char *_kwnames
[] = { "self", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6346 } _resultobj
= Py_BuildValue("i",_result
);
6350 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6351 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 char *_kwnames
[] = { "self", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) return NULL
;
6374 } _resultobj
= Py_BuildValue("i",_result
);
6378 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6379 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
* _resultobj
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self", NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) return NULL
;
6402 } _resultobj
= Py_BuildValue("i",_result
);
6406 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6407 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
* _resultobj
;
6411 PyObject
* _argo0
= 0;
6412 char *_kwnames
[] = { "self", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) return NULL
;
6430 } _resultobj
= Py_BuildValue("i",_result
);
6434 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6435 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6458 } _resultobj
= Py_BuildValue("i",_result
);
6462 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6463 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
* _resultobj
;
6467 PyObject
* _argo0
= 0;
6468 char *_kwnames
[] = { "self", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) return NULL
;
6486 } _resultobj
= Py_BuildValue("i",_result
);
6490 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6491 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) return NULL
;
6514 } _resultobj
= Py_BuildValue("i",_result
);
6518 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6519 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
* _resultobj
;
6523 PyObject
* _argo0
= 0;
6524 char *_kwnames
[] = { "self","threshold", NULL
};
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) return NULL
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6547 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6548 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self", NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 _result
= (bool )wxJoystick_IsOk(_arg0
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) return NULL
;
6571 } _resultobj
= Py_BuildValue("i",_result
);
6575 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6576 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "self", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) return NULL
;
6599 } _resultobj
= Py_BuildValue("i",_result
);
6603 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6604 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
* _resultobj
;
6608 PyObject
* _argo0
= 0;
6609 char *_kwnames
[] = { "self", NULL
};
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) return NULL
;
6627 } _resultobj
= Py_BuildValue("i",_result
);
6631 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6632 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
* _resultobj
;
6636 PyObject
* _argo0
= 0;
6637 char *_kwnames
[] = { "self", NULL
};
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 _result
= (int )wxJoystick_GetProductId(_arg0
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) return NULL
;
6655 } _resultobj
= Py_BuildValue("i",_result
);
6659 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6660 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
* _resultobj
;
6664 PyObject
* _argo0
= 0;
6665 char *_kwnames
[] = { "self", NULL
};
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) return NULL
;
6685 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6696 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6697 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 _result
= (int )wxJoystick_GetXMin(_arg0
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6720 } _resultobj
= Py_BuildValue("i",_result
);
6724 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6725 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
* _resultobj
;
6729 PyObject
* _argo0
= 0;
6730 char *_kwnames
[] = { "self", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 _result
= (int )wxJoystick_GetYMin(_arg0
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) return NULL
;
6748 } _resultobj
= Py_BuildValue("i",_result
);
6752 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6753 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
* _resultobj
;
6757 PyObject
* _argo0
= 0;
6758 char *_kwnames
[] = { "self", NULL
};
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 _result
= (int )wxJoystick_GetZMin(_arg0
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) return NULL
;
6776 } _resultobj
= Py_BuildValue("i",_result
);
6780 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6781 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
* _resultobj
;
6785 PyObject
* _argo0
= 0;
6786 char *_kwnames
[] = { "self", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 _result
= (int )wxJoystick_GetXMax(_arg0
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) return NULL
;
6804 } _resultobj
= Py_BuildValue("i",_result
);
6808 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6809 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6813 PyObject
* _argo0
= 0;
6814 char *_kwnames
[] = { "self", NULL
};
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 _result
= (int )wxJoystick_GetYMax(_arg0
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) return NULL
;
6832 } _resultobj
= Py_BuildValue("i",_result
);
6836 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6837 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
* _resultobj
;
6841 PyObject
* _argo0
= 0;
6842 char *_kwnames
[] = { "self", NULL
};
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 _result
= (int )wxJoystick_GetZMax(_arg0
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) return NULL
;
6860 } _resultobj
= Py_BuildValue("i",_result
);
6864 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6865 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6869 PyObject
* _argo0
= 0;
6870 char *_kwnames
[] = { "self", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) return NULL
;
6888 } _resultobj
= Py_BuildValue("i",_result
);
6892 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6893 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
* _resultobj
;
6897 PyObject
* _argo0
= 0;
6898 char *_kwnames
[] = { "self", NULL
};
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) return NULL
;
6916 } _resultobj
= Py_BuildValue("i",_result
);
6920 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6921 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6925 PyObject
* _argo0
= 0;
6926 char *_kwnames
[] = { "self", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) return NULL
;
6944 } _resultobj
= Py_BuildValue("i",_result
);
6948 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6949 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
* _resultobj
;
6953 PyObject
* _argo0
= 0;
6954 char *_kwnames
[] = { "self", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) return NULL
;
6972 } _resultobj
= Py_BuildValue("i",_result
);
6976 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6977 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) return NULL
;
7000 } _resultobj
= Py_BuildValue("i",_result
);
7004 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7005 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
* _resultobj
;
7009 PyObject
* _argo0
= 0;
7010 char *_kwnames
[] = { "self", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } _resultobj
= Py_BuildValue("i",_result
);
7032 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7033 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7037 PyObject
* _argo0
= 0;
7038 char *_kwnames
[] = { "self", NULL
};
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) return NULL
;
7056 } _resultobj
= Py_BuildValue("i",_result
);
7060 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7061 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
* _resultobj
;
7065 PyObject
* _argo0
= 0;
7066 char *_kwnames
[] = { "self", NULL
};
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) return NULL
;
7084 } _resultobj
= Py_BuildValue("i",_result
);
7088 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7089 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 _result
= (int )wxJoystick_GetUMin(_arg0
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) return NULL
;
7112 } _resultobj
= Py_BuildValue("i",_result
);
7116 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7117 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7121 PyObject
* _argo0
= 0;
7122 char *_kwnames
[] = { "self", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 _result
= (int )wxJoystick_GetUMax(_arg0
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) return NULL
;
7140 } _resultobj
= Py_BuildValue("i",_result
);
7144 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7145 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7149 PyObject
* _argo0
= 0;
7150 char *_kwnames
[] = { "self", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 _result
= (int )wxJoystick_GetVMin(_arg0
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) return NULL
;
7168 } _resultobj
= Py_BuildValue("i",_result
);
7172 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7173 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
* _resultobj
;
7177 PyObject
* _argo0
= 0;
7178 char *_kwnames
[] = { "self", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 _result
= (int )wxJoystick_GetVMax(_arg0
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) return NULL
;
7196 } _resultobj
= Py_BuildValue("i",_result
);
7200 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7201 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
* _resultobj
;
7205 PyObject
* _argo0
= 0;
7206 char *_kwnames
[] = { "self", NULL
};
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) return NULL
;
7224 } _resultobj
= Py_BuildValue("i",_result
);
7228 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7229 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
* _resultobj
;
7233 PyObject
* _argo0
= 0;
7234 char *_kwnames
[] = { "self", NULL
};
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 _result
= (bool )wxJoystick_HasZ(_arg0
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) return NULL
;
7252 } _resultobj
= Py_BuildValue("i",_result
);
7256 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7257 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7261 PyObject
* _argo0
= 0;
7262 char *_kwnames
[] = { "self", NULL
};
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 _result
= (bool )wxJoystick_HasU(_arg0
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) return NULL
;
7280 } _resultobj
= Py_BuildValue("i",_result
);
7284 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7285 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7289 PyObject
* _argo0
= 0;
7290 char *_kwnames
[] = { "self", NULL
};
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 _result
= (bool )wxJoystick_HasV(_arg0
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) return NULL
;
7308 } _resultobj
= Py_BuildValue("i",_result
);
7312 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7313 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7317 PyObject
* _argo0
= 0;
7318 char *_kwnames
[] = { "self", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) return NULL
;
7336 } _resultobj
= Py_BuildValue("i",_result
);
7340 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7341 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
* _resultobj
;
7345 PyObject
* _argo0
= 0;
7346 char *_kwnames
[] = { "self", NULL
};
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) return NULL
;
7364 } _resultobj
= Py_BuildValue("i",_result
);
7368 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7369 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
* _resultobj
;
7373 PyObject
* _argo0
= 0;
7374 char *_kwnames
[] = { "self", NULL
};
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) return NULL
;
7392 } _resultobj
= Py_BuildValue("i",_result
);
7396 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7397 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
* _resultobj
;
7402 int _arg2
= (int ) 0;
7403 PyObject
* _argo0
= 0;
7404 PyObject
* _argo1
= 0;
7405 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 } _resultobj
= Py_BuildValue("i",_result
);
7434 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7435 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7439 PyObject
* _argo0
= 0;
7440 char *_kwnames
[] = { "self", NULL
};
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) return NULL
;
7458 } _resultobj
= Py_BuildValue("i",_result
);
7462 static void *SwigwxWaveTowxObject(void *ptr
) {
7465 src
= (wxWave
*) ptr
;
7466 dest
= (wxObject
*) src
;
7467 return (void *) dest
;
7470 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7471 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
* _resultobj
;
7475 bool _arg1
= (bool ) FALSE
;
7476 PyObject
* _obj0
= 0;
7477 int tempbool1
= (int) FALSE
;
7478 char *_kwnames
[] = { "fileName","isResource", NULL
};
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7485 _arg0
= wxString_in_helper(_obj0
);
7489 _arg1
= (bool ) tempbool1
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) return NULL
;
7497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7498 _resultobj
= Py_BuildValue("s",_ptemp
);
7501 _resultobj
= Py_None
;
7510 #define delete_wxWave(_swigobj) (delete _swigobj)
7511 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7514 PyObject
* _argo0
= 0;
7515 char *_kwnames
[] = { "self", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 delete_wxWave(_arg0
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) return NULL
;
7533 } Py_INCREF(Py_None
);
7534 _resultobj
= Py_None
;
7538 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7539 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7543 PyObject
* _argo0
= 0;
7544 char *_kwnames
[] = { "self", NULL
};
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 _result
= (bool )wxWave_IsOk(_arg0
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) return NULL
;
7562 } _resultobj
= Py_BuildValue("i",_result
);
7566 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7567 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
* _resultobj
;
7571 bool _arg1
= (bool ) TRUE
;
7572 bool _arg2
= (bool ) FALSE
;
7573 PyObject
* _argo0
= 0;
7574 int tempbool1
= (int) TRUE
;
7575 int tempbool2
= (int) FALSE
;
7576 char *_kwnames
[] = { "self","async","looped", NULL
};
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7588 _arg1
= (bool ) tempbool1
;
7589 _arg2
= (bool ) tempbool2
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) return NULL
;
7596 } _resultobj
= Py_BuildValue("i",_result
);
7600 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7601 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7603 wxFileTypeInfo
* _result
;
7608 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) return NULL
;
7621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7622 _resultobj
= Py_BuildValue("s",_ptemp
);
7625 _resultobj
= Py_None
;
7630 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7631 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7633 wxFileTypeInfo
* _result
;
7634 wxArrayString
* _arg0
;
7635 PyObject
* _obj0
= 0;
7636 char *_kwnames
[] = { "sArray", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7643 if (! PySequence_Check(_obj0
)) {
7644 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7647 _arg0
= new wxArrayString
;
7648 int i
, len
=PySequence_Length(_obj0
);
7649 for (i
=0; i
<len
; i
++) {
7650 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7652 PyObject
* str
= PyObject_Unicode(item
);
7653 _arg0
->Add(PyUnicode_AsUnicode(str
));
7655 PyObject
* str
= PyObject_Str(item
);
7656 _arg0
->Add(PyString_AsString(str
));
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7670 _resultobj
= Py_BuildValue("s",_ptemp
);
7673 _resultobj
= Py_None
;
7682 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7683 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
* _resultobj
;
7685 wxFileTypeInfo
* _result
;
7686 char *_kwnames
[] = { NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) return NULL
;
7699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7700 _resultobj
= Py_BuildValue("s",_ptemp
);
7703 _resultobj
= Py_None
;
7708 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7709 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
* _resultobj
;
7712 wxFileTypeInfo
* _arg0
;
7713 PyObject
* _argo0
= 0;
7714 char *_kwnames
[] = { "self", NULL
};
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) return NULL
;
7732 } _resultobj
= Py_BuildValue("i",_result
);
7736 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7737 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
* _resultobj
;
7739 wxFileTypeInfo
* _arg0
;
7741 int _arg2
= (int ) 0;
7742 PyObject
* _argo0
= 0;
7743 PyObject
* _obj1
= 0;
7744 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7757 _arg1
= wxString_in_helper(_obj1
);
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) return NULL
;
7767 } Py_INCREF(Py_None
);
7768 _resultobj
= Py_None
;
7776 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7777 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
* _resultobj
;
7779 wxFileTypeInfo
* _arg0
;
7781 PyObject
* _argo0
= 0;
7782 PyObject
* _obj1
= 0;
7783 char *_kwnames
[] = { "self","shortDesc", NULL
};
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7796 _arg1
= wxString_in_helper(_obj1
);
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) return NULL
;
7806 } Py_INCREF(Py_None
);
7807 _resultobj
= Py_None
;
7815 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7816 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7819 wxFileTypeInfo
* _arg0
;
7820 PyObject
* _argo0
= 0;
7821 char *_kwnames
[] = { "self", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7836 _result
= (wxString
*) &_result_ref
;
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) return NULL
;
7842 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7844 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7850 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7851 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7854 wxFileTypeInfo
* _arg0
;
7855 PyObject
* _argo0
= 0;
7856 char *_kwnames
[] = { "self", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7871 _result
= (wxString
*) &_result_ref
;
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) return NULL
;
7877 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7879 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7885 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7886 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxFileTypeInfo
* _arg0
;
7890 PyObject
* _argo0
= 0;
7891 char *_kwnames
[] = { "self", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7906 _result
= (wxString
*) &_result_ref
;
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) return NULL
;
7912 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7914 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7920 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7921 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
* _resultobj
;
7924 wxFileTypeInfo
* _arg0
;
7925 PyObject
* _argo0
= 0;
7926 char *_kwnames
[] = { "self", NULL
};
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
7932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
7941 _result
= (wxString
*) &_result_ref
;
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) return NULL
;
7947 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7949 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7955 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7956 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7959 wxFileTypeInfo
* _arg0
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
7976 _result
= (wxString
*) &_result_ref
;
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) return NULL
;
7982 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7984 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7990 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
7991 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
7992 return wxArrayString2PyList_helper(arr
);
7994 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7997 wxFileTypeInfo
* _arg0
;
7998 PyObject
* _argo0
= 0;
7999 char *_kwnames
[] = { "self", NULL
};
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) return NULL
;
8018 _resultobj
= _result
;
8023 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8024 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
* _resultobj
;
8027 wxFileTypeInfo
* _arg0
;
8028 PyObject
* _argo0
= 0;
8029 char *_kwnames
[] = { "self", NULL
};
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) return NULL
;
8047 } _resultobj
= Py_BuildValue("i",_result
);
8051 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8052 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8055 wxFileTypeInfo
* _arg0
;
8056 PyObject
* _argo0
= 0;
8057 char *_kwnames
[] = { "self", NULL
};
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8072 _result
= (wxString
*) &_result_ref
;
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) return NULL
;
8078 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8080 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8086 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8087 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8090 wxFileTypeInfo
* _arg0
;
8091 PyObject
* _argo0
= 0;
8092 char *_kwnames
[] = { "self", NULL
};
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) return NULL
;
8110 } _resultobj
= Py_BuildValue("i",_result
);
8114 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8115 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
* _resultobj
;
8117 wxFileType
* _result
;
8118 wxFileTypeInfo
* _arg0
;
8119 PyObject
* _argo0
= 0;
8120 char *_kwnames
[] = { "ftInfo", NULL
};
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) return NULL
;
8140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8141 _resultobj
= Py_BuildValue("s",_ptemp
);
8144 _resultobj
= Py_None
;
8149 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8151 if (self
->GetMimeType(&str
)) {
8153 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8155 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8161 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
* _resultobj
;
8165 PyObject
* _argo0
= 0;
8166 char *_kwnames
[] = { "self", NULL
};
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) return NULL
;
8185 _resultobj
= _result
;
8190 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8192 if (self
->GetMimeTypes(arr
))
8193 return wxArrayString2PyList_helper(arr
);
8197 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
* _resultobj
;
8201 PyObject
* _argo0
= 0;
8202 char *_kwnames
[] = { "self", NULL
};
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) return NULL
;
8221 _resultobj
= _result
;
8226 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8228 if (self
->GetExtensions(arr
))
8229 return wxArrayString2PyList_helper(arr
);
8233 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
* _resultobj
;
8237 PyObject
* _argo0
= 0;
8238 char *_kwnames
[] = { "self", NULL
};
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) return NULL
;
8257 _resultobj
= _result
;
8262 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8264 if (self
->GetIcon(&icon
))
8265 return new wxIcon(icon
);
8269 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
* _resultobj
;
8273 PyObject
* _argo0
= 0;
8274 char *_kwnames
[] = { "self", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) return NULL
;
8294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8295 _resultobj
= Py_BuildValue("s",_ptemp
);
8298 _resultobj
= Py_None
;
8303 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8307 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8308 wxPyBeginBlockThreads();
8309 PyObject
* tuple
= PyTuple_New(3);
8310 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8313 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8315 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8317 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8318 wxPyEndBlockThreads();
8324 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
* _resultobj
;
8328 PyObject
* _argo0
= 0;
8329 char *_kwnames
[] = { "self", NULL
};
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) return NULL
;
8348 _resultobj
= _result
;
8353 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8355 if (self
->GetDescription(&str
)) {
8357 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8359 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8364 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
* _resultobj
;
8368 PyObject
* _argo0
= 0;
8369 char *_kwnames
[] = { "self", NULL
};
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) return NULL
;
8388 _resultobj
= _result
;
8393 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8395 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8397 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8399 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8404 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
* _resultobj
;
8409 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8410 PyObject
* _argo0
= 0;
8411 PyObject
* _obj1
= 0;
8412 PyObject
* _obj2
= 0;
8413 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8426 _arg1
= wxString_in_helper(_obj1
);
8432 _arg2
= wxString_in_helper(_obj2
);
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) return NULL
;
8443 _resultobj
= _result
;
8456 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8458 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8460 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8462 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8467 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
* _resultobj
;
8472 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8473 PyObject
* _argo0
= 0;
8474 PyObject
* _obj1
= 0;
8475 PyObject
* _obj2
= 0;
8476 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8489 _arg1
= wxString_in_helper(_obj1
);
8495 _arg2
= wxString_in_helper(_obj2
);
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) return NULL
;
8506 _resultobj
= _result
;
8519 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8520 wxArrayString verbs
;
8521 wxArrayString commands
;
8522 if (self
->GetAllCommands(&verbs
, &commands
,
8523 wxFileType::MessageParameters(filename
, mimetype
))) {
8524 wxPyBeginBlockThreads();
8525 PyObject
* tuple
= PyTuple_New(2);
8526 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8527 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8528 wxPyEndBlockThreads();
8534 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
* _resultobj
;
8539 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8540 PyObject
* _argo0
= 0;
8541 PyObject
* _obj1
= 0;
8542 PyObject
* _obj2
= 0;
8543 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8556 _arg1
= wxString_in_helper(_obj1
);
8562 _arg2
= wxString_in_helper(_obj2
);
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) return NULL
;
8573 _resultobj
= _result
;
8586 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8587 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
* _resultobj
;
8593 bool _arg3
= (bool ) TRUE
;
8594 PyObject
* _argo0
= 0;
8595 PyObject
* _obj1
= 0;
8596 PyObject
* _obj2
= 0;
8597 int tempbool3
= (int) TRUE
;
8598 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8611 _arg1
= wxString_in_helper(_obj1
);
8616 _arg2
= wxString_in_helper(_obj2
);
8620 _arg3
= (bool ) tempbool3
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) return NULL
;
8627 } _resultobj
= Py_BuildValue("i",_result
);
8639 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8640 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
* _resultobj
;
8644 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8645 int _arg2
= (int ) 0;
8646 PyObject
* _argo0
= 0;
8647 PyObject
* _obj1
= 0;
8648 char *_kwnames
[] = { "self","cmd","index", NULL
};
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8662 _arg1
= wxString_in_helper(_obj1
);
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) return NULL
;
8672 } _resultobj
= Py_BuildValue("i",_result
);
8680 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8681 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
* _resultobj
;
8685 PyObject
* _argo0
= 0;
8686 char *_kwnames
[] = { "self", NULL
};
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 _result
= (bool )wxFileType_Unassociate(_arg0
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) return NULL
;
8704 } _resultobj
= Py_BuildValue("i",_result
);
8708 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
* _resultobj
;
8712 wxFileType::MessageParameters
* _arg1
;
8713 PyObject
* _obj0
= 0;
8714 PyObject
* _argo1
= 0;
8715 char *_kwnames
[] = { "command","params", NULL
};
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8721 _arg0
= wxString_in_helper(_obj0
);
8726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) return NULL
;
8740 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8742 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8755 #define delete_wxFileType(_swigobj) (delete _swigobj)
8756 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
* _resultobj
;
8759 PyObject
* _argo0
= 0;
8760 char *_kwnames
[] = { "self", NULL
};
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 delete_wxFileType(_arg0
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) return NULL
;
8778 } Py_INCREF(Py_None
);
8779 _resultobj
= Py_None
;
8783 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
* _resultobj
;
8788 PyObject
* _obj0
= 0;
8789 PyObject
* _obj1
= 0;
8790 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8796 _arg0
= wxString_in_helper(_obj0
);
8801 _arg1
= wxString_in_helper(_obj1
);
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) return NULL
;
8811 } _resultobj
= Py_BuildValue("i",_result
);
8823 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8824 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
* _resultobj
;
8826 wxMimeTypesManager
* _result
;
8827 char *_kwnames
[] = { NULL
};
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) return NULL
;
8840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8841 _resultobj
= Py_BuildValue("s",_ptemp
);
8844 _resultobj
= Py_None
;
8849 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8850 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
* _resultobj
;
8852 wxMimeTypesManager
* _arg0
;
8853 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8854 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8855 PyObject
* _argo0
= 0;
8856 PyObject
* _obj2
= 0;
8857 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8871 _arg2
= wxString_in_helper(_obj2
);
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) return NULL
;
8881 } Py_INCREF(Py_None
);
8882 _resultobj
= Py_None
;
8890 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8891 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
* _resultobj
;
8893 wxMimeTypesManager
* _arg0
;
8894 PyObject
* _argo0
= 0;
8895 char *_kwnames
[] = { "self", NULL
};
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 wxMimeTypesManager_ClearData(_arg0
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) return NULL
;
8913 } Py_INCREF(Py_None
);
8914 _resultobj
= Py_None
;
8918 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8919 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
* _resultobj
;
8921 wxFileType
* _result
;
8922 wxMimeTypesManager
* _arg0
;
8924 PyObject
* _argo0
= 0;
8925 PyObject
* _obj1
= 0;
8926 char *_kwnames
[] = { "self","ext", NULL
};
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
8933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
8940 _arg1
= wxString_in_helper(_obj1
);
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) return NULL
;
8951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8952 _resultobj
= Py_BuildValue("s",_ptemp
);
8955 _resultobj
= Py_None
;
8964 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
8965 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
* _resultobj
;
8967 wxFileType
* _result
;
8968 wxMimeTypesManager
* _arg0
;
8970 PyObject
* _argo0
= 0;
8971 PyObject
* _obj1
= 0;
8972 char *_kwnames
[] = { "self","mimeType", NULL
};
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
8979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
8986 _arg1
= wxString_in_helper(_obj1
);
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) return NULL
;
8997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8998 _resultobj
= Py_BuildValue("s",_ptemp
);
9001 _resultobj
= Py_None
;
9010 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9011 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9014 wxMimeTypesManager
* _arg0
;
9016 bool _arg2
= (bool ) FALSE
;
9017 PyObject
* _argo0
= 0;
9018 PyObject
* _obj1
= 0;
9019 int tempbool2
= (int) FALSE
;
9020 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9033 _arg1
= wxString_in_helper(_obj1
);
9037 _arg2
= (bool ) tempbool2
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) return NULL
;
9044 } _resultobj
= Py_BuildValue("i",_result
);
9052 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9053 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
* _resultobj
;
9056 wxMimeTypesManager
* _arg0
;
9058 PyObject
* _argo0
= 0;
9059 PyObject
* _obj1
= 0;
9060 char *_kwnames
[] = { "self","filename", NULL
};
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9073 _arg1
= wxString_in_helper(_obj1
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) return NULL
;
9083 } _resultobj
= Py_BuildValue("i",_result
);
9091 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9093 self
->EnumAllFileTypes(arr
);
9094 return wxArrayString2PyList_helper(arr
);
9096 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
* _resultobj
;
9099 wxMimeTypesManager
* _arg0
;
9100 PyObject
* _argo0
= 0;
9101 char *_kwnames
[] = { "self", NULL
};
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) return NULL
;
9120 _resultobj
= _result
;
9125 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9126 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
* _resultobj
;
9128 wxMimeTypesManager
* _arg0
;
9129 wxFileTypeInfo
* _arg1
;
9130 PyObject
* _argo0
= 0;
9131 PyObject
* _argo1
= 0;
9132 char *_kwnames
[] = { "self","ft", NULL
};
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) return NULL
;
9157 } Py_INCREF(Py_None
);
9158 _resultobj
= Py_None
;
9162 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9163 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
* _resultobj
;
9165 wxFileType
* _result
;
9166 wxMimeTypesManager
* _arg0
;
9167 wxFileTypeInfo
* _arg1
;
9168 PyObject
* _argo0
= 0;
9169 PyObject
* _argo1
= 0;
9170 char *_kwnames
[] = { "self","ftInfo", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) return NULL
;
9197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9198 _resultobj
= Py_BuildValue("s",_ptemp
);
9201 _resultobj
= Py_None
;
9206 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9207 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
* _resultobj
;
9210 wxMimeTypesManager
* _arg0
;
9212 PyObject
* _argo0
= 0;
9213 PyObject
* _argo1
= 0;
9214 char *_kwnames
[] = { "self","ft", NULL
};
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) return NULL
;
9239 } _resultobj
= Py_BuildValue("i",_result
);
9243 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9244 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
* _resultobj
;
9246 wxMimeTypesManager
* _arg0
;
9247 PyObject
* _argo0
= 0;
9248 char *_kwnames
[] = { "self", NULL
};
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 delete_wxMimeTypesManager(_arg0
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) return NULL
;
9266 } Py_INCREF(Py_None
);
9267 _resultobj
= Py_None
;
9271 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9274 src
= (wxFileHistory
*) ptr
;
9275 dest
= (wxObject
*) src
;
9276 return (void *) dest
;
9279 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9280 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
* _resultobj
;
9282 wxFileHistory
* _result
;
9283 int _arg0
= (int ) 9;
9284 char *_kwnames
[] = { "maxFiles", NULL
};
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) return NULL
;
9297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9298 _resultobj
= Py_BuildValue("s",_ptemp
);
9301 _resultobj
= Py_None
;
9306 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9307 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
* _resultobj
;
9309 wxFileHistory
* _arg0
;
9310 PyObject
* _argo0
= 0;
9311 char *_kwnames
[] = { "self", NULL
};
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 delete_wxFileHistory(_arg0
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) return NULL
;
9329 } Py_INCREF(Py_None
);
9330 _resultobj
= Py_None
;
9334 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9335 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
* _resultobj
;
9337 wxFileHistory
* _arg0
;
9339 PyObject
* _argo0
= 0;
9340 PyObject
* _obj1
= 0;
9341 char *_kwnames
[] = { "self","file", NULL
};
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9354 _arg1
= wxString_in_helper(_obj1
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) return NULL
;
9364 } Py_INCREF(Py_None
);
9365 _resultobj
= Py_None
;
9373 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9374 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
* _resultobj
;
9376 wxFileHistory
* _arg0
;
9378 PyObject
* _argo0
= 0;
9379 char *_kwnames
[] = { "self","i", NULL
};
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) return NULL
;
9397 } Py_INCREF(Py_None
);
9398 _resultobj
= Py_None
;
9402 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9403 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
* _resultobj
;
9406 wxFileHistory
* _arg0
;
9407 PyObject
* _argo0
= 0;
9408 char *_kwnames
[] = { "self", NULL
};
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) return NULL
;
9426 } _resultobj
= Py_BuildValue("i",_result
);
9430 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9431 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
* _resultobj
;
9433 wxFileHistory
* _arg0
;
9435 PyObject
* _argo0
= 0;
9436 PyObject
* _argo1
= 0;
9437 char *_kwnames
[] = { "self","menu", NULL
};
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 wxFileHistory_UseMenu(_arg0
,_arg1
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) return NULL
;
9462 } Py_INCREF(Py_None
);
9463 _resultobj
= Py_None
;
9467 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9468 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9470 wxFileHistory
* _arg0
;
9472 PyObject
* _argo0
= 0;
9473 PyObject
* _argo1
= 0;
9474 char *_kwnames
[] = { "self","menu", NULL
};
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) return NULL
;
9499 } Py_INCREF(Py_None
);
9500 _resultobj
= Py_None
;
9504 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9505 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
* _resultobj
;
9507 wxFileHistory
* _arg0
;
9508 wxConfigBase
* _arg1
;
9509 PyObject
* _argo0
= 0;
9510 PyObject
* _argo1
= 0;
9511 char *_kwnames
[] = { "self","config", NULL
};
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9524 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9525 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 wxFileHistory_Load(_arg0
,*_arg1
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) return NULL
;
9536 } Py_INCREF(Py_None
);
9537 _resultobj
= Py_None
;
9541 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9542 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
* _resultobj
;
9544 wxFileHistory
* _arg0
;
9545 wxConfigBase
* _arg1
;
9546 PyObject
* _argo0
= 0;
9547 PyObject
* _argo1
= 0;
9548 char *_kwnames
[] = { "self","config", NULL
};
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 wxFileHistory_Save(_arg0
,*_arg1
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) return NULL
;
9573 } Py_INCREF(Py_None
);
9574 _resultobj
= Py_None
;
9578 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9579 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
* _resultobj
;
9581 wxFileHistory
* _arg0
;
9582 PyObject
* _argo0
= 0;
9583 char *_kwnames
[] = { "self", NULL
};
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 wxFileHistory_AddFilesToMenu(_arg0
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) return NULL
;
9601 } Py_INCREF(Py_None
);
9602 _resultobj
= Py_None
;
9606 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9607 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
* _resultobj
;
9609 wxFileHistory
* _arg0
;
9611 PyObject
* _argo0
= 0;
9612 PyObject
* _argo1
= 0;
9613 char *_kwnames
[] = { "self","menu", NULL
};
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) return NULL
;
9638 } Py_INCREF(Py_None
);
9639 _resultobj
= Py_None
;
9643 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9644 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
* _resultobj
;
9647 wxFileHistory
* _arg0
;
9649 PyObject
* _argo0
= 0;
9650 char *_kwnames
[] = { "self","i", NULL
};
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) return NULL
;
9670 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9672 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9681 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9682 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
* _resultobj
;
9685 wxFileHistory
* _arg0
;
9686 PyObject
* _argo0
= 0;
9687 char *_kwnames
[] = { "self", NULL
};
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 _result
= (int )wxFileHistory_GetCount(_arg0
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) return NULL
;
9705 } _resultobj
= Py_BuildValue("i",_result
);
9709 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9710 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
* _resultobj
;
9713 wxFileHistory
* _arg0
;
9714 PyObject
* _argo0
= 0;
9715 char *_kwnames
[] = { "self", NULL
};
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) return NULL
;
9733 } _resultobj
= Py_BuildValue("i",_result
);
9737 static PyMethodDef misc2cMethods
[] = {
9738 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10035 * This table is used by the pointer type-checker
10037 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10038 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10039 { "_signed_long","_long",0},
10040 { "_wxPrintQuality","_wxCoord",0},
10041 { "_wxPrintQuality","_int",0},
10042 { "_wxPrintQuality","_signed_int",0},
10043 { "_wxPrintQuality","_unsigned_int",0},
10044 { "_wxPrintQuality","_wxWindowID",0},
10045 { "_wxPrintQuality","_uint",0},
10046 { "_wxPrintQuality","_EBool",0},
10047 { "_wxPrintQuality","_size_t",0},
10048 { "_wxPrintQuality","_time_t",0},
10049 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10050 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10051 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10052 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10053 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10054 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10055 { "_byte","_unsigned_char",0},
10056 { "_long","_unsigned_long",0},
10057 { "_long","_signed_long",0},
10058 { "_size_t","_wxCoord",0},
10059 { "_size_t","_wxPrintQuality",0},
10060 { "_size_t","_time_t",0},
10061 { "_size_t","_unsigned_int",0},
10062 { "_size_t","_int",0},
10063 { "_size_t","_wxWindowID",0},
10064 { "_size_t","_uint",0},
10065 { "_uint","_wxCoord",0},
10066 { "_uint","_wxPrintQuality",0},
10067 { "_uint","_time_t",0},
10068 { "_uint","_size_t",0},
10069 { "_uint","_unsigned_int",0},
10070 { "_uint","_int",0},
10071 { "_uint","_wxWindowID",0},
10072 { "_wxChar","_char",0},
10073 { "_char","_wxChar",0},
10074 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10075 { "_EBool","_wxCoord",0},
10076 { "_EBool","_wxPrintQuality",0},
10077 { "_EBool","_signed_int",0},
10078 { "_EBool","_int",0},
10079 { "_EBool","_wxWindowID",0},
10080 { "_unsigned_long","_long",0},
10081 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10082 { "_signed_int","_wxCoord",0},
10083 { "_signed_int","_wxPrintQuality",0},
10084 { "_signed_int","_EBool",0},
10085 { "_signed_int","_wxWindowID",0},
10086 { "_signed_int","_int",0},
10087 { "_WXTYPE","_wxDateTime_t",0},
10088 { "_WXTYPE","_short",0},
10089 { "_WXTYPE","_signed_short",0},
10090 { "_WXTYPE","_unsigned_short",0},
10091 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10092 { "_unsigned_short","_wxDateTime_t",0},
10093 { "_unsigned_short","_WXTYPE",0},
10094 { "_unsigned_short","_short",0},
10095 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10096 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10097 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10098 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10099 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10100 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10101 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10102 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10103 { "_signed_short","_WXTYPE",0},
10104 { "_signed_short","_short",0},
10105 { "_unsigned_char","_byte",0},
10106 { "_unsigned_int","_wxCoord",0},
10107 { "_unsigned_int","_wxPrintQuality",0},
10108 { "_unsigned_int","_time_t",0},
10109 { "_unsigned_int","_size_t",0},
10110 { "_unsigned_int","_uint",0},
10111 { "_unsigned_int","_wxWindowID",0},
10112 { "_unsigned_int","_int",0},
10113 { "_short","_wxDateTime_t",0},
10114 { "_short","_WXTYPE",0},
10115 { "_short","_unsigned_short",0},
10116 { "_short","_signed_short",0},
10117 { "_wxWindowID","_wxCoord",0},
10118 { "_wxWindowID","_wxPrintQuality",0},
10119 { "_wxWindowID","_time_t",0},
10120 { "_wxWindowID","_size_t",0},
10121 { "_wxWindowID","_EBool",0},
10122 { "_wxWindowID","_uint",0},
10123 { "_wxWindowID","_int",0},
10124 { "_wxWindowID","_signed_int",0},
10125 { "_wxWindowID","_unsigned_int",0},
10126 { "_int","_wxCoord",0},
10127 { "_int","_wxPrintQuality",0},
10128 { "_int","_time_t",0},
10129 { "_int","_size_t",0},
10130 { "_int","_EBool",0},
10131 { "_int","_uint",0},
10132 { "_int","_wxWindowID",0},
10133 { "_int","_unsigned_int",0},
10134 { "_int","_signed_int",0},
10135 { "_wxDateTime_t","_unsigned_short",0},
10136 { "_wxDateTime_t","_short",0},
10137 { "_wxDateTime_t","_WXTYPE",0},
10138 { "_time_t","_wxCoord",0},
10139 { "_time_t","_wxPrintQuality",0},
10140 { "_time_t","_unsigned_int",0},
10141 { "_time_t","_int",0},
10142 { "_time_t","_wxWindowID",0},
10143 { "_time_t","_uint",0},
10144 { "_time_t","_size_t",0},
10145 { "_wxCoord","_int",0},
10146 { "_wxCoord","_signed_int",0},
10147 { "_wxCoord","_unsigned_int",0},
10148 { "_wxCoord","_wxWindowID",0},
10149 { "_wxCoord","_uint",0},
10150 { "_wxCoord","_EBool",0},
10151 { "_wxCoord","_size_t",0},
10152 { "_wxCoord","_time_t",0},
10153 { "_wxCoord","_wxPrintQuality",0},
10154 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10157 static PyObject
*SWIG_globals
;
10161 SWIGEXPORT(void) initmisc2c() {
10163 SWIG_globals
= SWIG_newvarlink();
10164 m
= Py_InitModule("misc2c", misc2cMethods
);
10165 d
= PyModule_GetDict(m
);
10166 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10167 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10168 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10169 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10170 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10171 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10172 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10173 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10174 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10175 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10176 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10177 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10178 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10179 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10180 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10181 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10182 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10183 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10184 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10185 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10186 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10187 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10188 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10189 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10190 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10191 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10192 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10193 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10194 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10195 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10196 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10197 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10198 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10199 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10200 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10201 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10202 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10203 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10204 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10205 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10206 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10207 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10208 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10209 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10210 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10211 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10212 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10213 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10214 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10215 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10216 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10217 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10218 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10219 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10220 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10221 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10222 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10223 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10224 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10225 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10226 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10227 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10228 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10229 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10230 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10231 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10232 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10233 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10234 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10235 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10236 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10237 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10238 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10239 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10240 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10241 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10242 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10243 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10244 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10245 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10246 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10247 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10248 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10249 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10250 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10251 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10252 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10253 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10254 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10255 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10256 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10257 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10258 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10259 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10260 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10261 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10262 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10263 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10264 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10265 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10266 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10267 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10268 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10270 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10271 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10272 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10275 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10276 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);