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("(iOi)", level
,
160 wx2PyString(szString
), t
));
161 wxPyEndBlockThreads();
163 wxLog::DoLog(level
, szString
, t
);
166 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
168 wxPyBeginBlockThreads();
169 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
170 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)",
171 wx2PyString(szString
), t
));
172 wxPyEndBlockThreads();
174 wxLog::DoLogString(szString
, t
);
179 // C++ version of wxProcess derived class
181 class wxPyProcess
: public wxProcess
{
183 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
184 : wxProcess(parent
, id
)
187 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
192 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
195 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
196 // A C++ stub class for wxJoystick for platforms that don't have it.
197 class wxJoystick
: public wxObject
{
199 wxJoystick(int joystick
= wxJOYSTICK1
) {
200 wxPyBeginBlockThreads();
201 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
202 wxPyEndBlockThreads();
204 wxPoint
GetPosition() { return wxPoint(-1,-1); }
205 int GetZPosition() { return -1; }
206 int GetButtonState() { return -1; }
207 int GetPOVPosition() { return -1; }
208 int GetPOVCTSPosition() { return -1; }
209 int GetRudderPosition() { return -1; }
210 int GetUPosition() { return -1; }
211 int GetVPosition() { return -1; }
212 int GetMovementThreshold() { return -1; }
213 void SetMovementThreshold(int threshold
) {}
215 bool IsOk(void) { return FALSE
; }
216 int GetNumberJoysticks() { return -1; }
217 int GetManufacturerId() { return -1; }
218 int GetProductId() { return -1; }
219 wxString
GetProductName() { return ""; }
220 int GetXMin() { return -1; }
221 int GetYMin() { return -1; }
222 int GetZMin() { return -1; }
223 int GetXMax() { return -1; }
224 int GetYMax() { return -1; }
225 int GetZMax() { return -1; }
226 int GetNumberButtons() { return -1; }
227 int GetNumberAxes() { return -1; }
228 int GetMaxButtons() { return -1; }
229 int GetMaxAxes() { return -1; }
230 int GetPollingMin() { return -1; }
231 int GetPollingMax() { return -1; }
232 int GetRudderMin() { return -1; }
233 int GetRudderMax() { return -1; }
234 int GetUMin() { return -1; }
235 int GetUMax() { return -1; }
236 int GetVMin() { return -1; }
237 int GetVMax() { return -1; }
239 bool HasRudder() { return FALSE
; }
240 bool HasZ() { return FALSE
; }
241 bool HasU() { return FALSE
; }
242 bool HasV() { return FALSE
; }
243 bool HasPOV() { return FALSE
; }
244 bool HasPOV4Dir() { return FALSE
; }
245 bool HasPOVCTS() { return FALSE
; }
247 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
248 bool ReleaseCapture() { return FALSE
; }
253 // A C++ stub class for wxWave for platforms that don't have it.
254 class wxWave
: public wxObject
257 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
258 wxPyBeginBlockThreads();
259 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
260 wxPyEndBlockThreads();
262 wxWave(int size
, const wxByte
* data
) {
263 wxPyBeginBlockThreads();
264 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
265 wxPyEndBlockThreads();
270 bool IsOk() const { return FALSE
; }
271 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
275 // Implementations of some alternate "constructors"
276 wxWave
* wxWaveData(const wxString
& data
) {
277 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
281 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
285 #include <wx/docview.h>
289 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
292 wxChar
* _arg0
= (wxChar
*) wxFileSelectorPromptStr
;
293 wxChar
* _arg1
= (wxChar
*) NULL
;
294 wxChar
* _arg2
= (wxChar
*) NULL
;
295 wxChar
* _arg3
= (wxChar
*) NULL
;
296 wxChar
* _arg4
= (wxChar
*) wxFileSelectorDefaultWildcardStr
;
297 int _arg5
= (int ) 0;
298 wxWindow
* _arg6
= (wxWindow
*) NULL
;
299 int _arg7
= (int ) -1;
300 int _arg8
= (int ) -1;
301 PyObject
* _argo6
= 0;
302 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|sssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
308 if (_argo6
== Py_None
) { _arg6
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
316 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
318 wxPyEndAllowThreads(__tstate
);
319 if (PyErr_Occurred()) return NULL
;
322 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
324 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
333 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
338 wxChar
* _arg2
= (wxChar
*) NULL
;
339 wxWindow
* _arg3
= (wxWindow
*) NULL
;
340 PyObject
* _argo3
= 0;
341 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|sO:wxLoadFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_argo3
))
347 if (_argo3
== Py_None
) { _arg3
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 _result
= new wxString (wxLoadFileSelector(_arg0
,_arg1
,_arg2
,_arg3
));
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
361 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
363 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
372 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
377 wxChar
* _arg2
= (wxChar
*) NULL
;
378 wxWindow
* _arg3
= (wxWindow
*) NULL
;
379 PyObject
* _argo3
= 0;
380 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|sO:wxSaveFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_argo3
))
386 if (_argo3
== Py_None
) { _arg3
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
394 _result
= new wxString (wxSaveFileSelector(_arg0
,_arg1
,_arg2
,_arg3
));
396 wxPyEndAllowThreads(__tstate
);
397 if (PyErr_Occurred()) return NULL
;
400 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
402 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
411 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
415 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
416 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
417 wxWindow
* _arg3
= (wxWindow
*) NULL
;
418 int _arg4
= (int ) -1;
419 int _arg5
= (int ) -1;
420 bool _arg6
= (bool ) TRUE
;
421 PyObject
* _obj0
= 0;
422 PyObject
* _obj1
= 0;
423 PyObject
* _obj2
= 0;
424 PyObject
* _argo3
= 0;
425 int tempbool6
= (int) TRUE
;
426 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
432 _arg0
= wxString_in_helper(_obj0
);
438 _arg1
= wxString_in_helper(_obj1
);
444 _arg2
= wxString_in_helper(_obj2
);
449 if (_argo3
== Py_None
) { _arg3
= NULL
; }
450 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
455 _arg6
= (bool ) tempbool6
;
457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
460 wxPyEndAllowThreads(__tstate
);
461 if (PyErr_Occurred()) return NULL
;
464 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
466 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
487 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
488 PyObject
* _resultobj
;
491 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
492 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
493 wxWindow
* _arg3
= (wxWindow
*) NULL
;
494 PyObject
* _obj0
= 0;
495 PyObject
* _obj1
= 0;
496 PyObject
* _obj2
= 0;
497 PyObject
* _argo3
= 0;
498 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
504 _arg0
= wxString_in_helper(_obj0
);
510 _arg1
= wxString_in_helper(_obj1
);
516 _arg2
= wxString_in_helper(_obj2
);
521 if (_argo3
== Py_None
) { _arg3
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
529 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
535 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
558 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
565 wxWindow
* _arg4
= (wxWindow
*) NULL
;
566 int _arg5
= (int ) -1;
567 int _arg6
= (int ) -1;
568 bool _arg7
= (bool ) TRUE
;
569 int _arg8
= (int ) 150;
570 int _arg9
= (int ) 200;
571 PyObject
* _obj0
= 0;
572 PyObject
* _obj1
= 0;
573 PyObject
* _obj3
= 0;
574 PyObject
* _argo4
= 0;
575 int tempbool7
= (int) TRUE
;
576 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
582 _arg0
= wxString_in_helper(_obj0
);
587 _arg1
= wxString_in_helper(_obj1
);
593 _arg3
= wxString_LIST_helper(_obj3
);
599 if (_argo4
== Py_None
) { _arg4
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
605 _arg7
= (bool ) tempbool7
;
608 _arg2
= PyList_Size(_obj3
);
615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
616 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
618 wxPyEndAllowThreads(__tstate
);
619 if (PyErr_Occurred()) return NULL
;
622 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
624 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
644 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
651 wxWindow
* _arg4
= (wxWindow
*) NULL
;
652 int _arg5
= (int ) -1;
653 int _arg6
= (int ) -1;
654 bool _arg7
= (bool ) TRUE
;
655 int _arg8
= (int ) 150;
656 int _arg9
= (int ) 200;
657 PyObject
* _obj0
= 0;
658 PyObject
* _obj1
= 0;
659 PyObject
* _obj3
= 0;
660 PyObject
* _argo4
= 0;
661 int tempbool7
= (int) TRUE
;
662 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
668 _arg0
= wxString_in_helper(_obj0
);
673 _arg1
= wxString_in_helper(_obj1
);
679 _arg3
= wxString_LIST_helper(_obj3
);
685 if (_argo4
== Py_None
) { _arg4
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
691 _arg7
= (bool ) tempbool7
;
694 _arg2
= PyList_Size(_obj3
);
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
706 } _resultobj
= Py_BuildValue("i",_result
);
721 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
725 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
726 int _arg2
= (int ) wxOK
|wxCENTRE
;
727 wxWindow
* _arg3
= (wxWindow
*) NULL
;
728 int _arg4
= (int ) -1;
729 int _arg5
= (int ) -1;
730 PyObject
* _obj0
= 0;
731 PyObject
* _obj1
= 0;
732 PyObject
* _argo3
= 0;
733 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
739 _arg0
= wxString_in_helper(_obj0
);
745 _arg1
= wxString_in_helper(_obj1
);
750 if (_argo3
== Py_None
) { _arg3
= NULL
; }
751 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
758 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
760 wxPyEndAllowThreads(__tstate
);
761 if (PyErr_Occurred()) return NULL
;
762 } _resultobj
= Py_BuildValue("i",_result
);
774 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
781 long _arg4
= (long ) 0;
782 long _arg5
= (long ) 100;
783 wxWindow
* _arg6
= (wxWindow
*) NULL
;
784 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
785 PyObject
* _obj0
= 0;
786 PyObject
* _obj1
= 0;
787 PyObject
* _obj2
= 0;
788 PyObject
* _argo6
= 0;
790 PyObject
* _obj7
= 0;
791 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
797 _arg0
= wxString_in_helper(_obj0
);
802 _arg1
= wxString_in_helper(_obj1
);
807 _arg2
= wxString_in_helper(_obj2
);
812 if (_argo6
== Py_None
) { _arg6
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
821 if (! wxPoint_helper(_obj7
, &_arg7
))
825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
826 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
828 wxPyEndAllowThreads(__tstate
);
829 if (PyErr_Occurred()) return NULL
;
830 } _resultobj
= Py_BuildValue("l",_result
);
846 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
849 char *_kwnames
[] = { NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 _result
= (bool )wxColourDisplay();
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
860 } _resultobj
= Py_BuildValue("i",_result
);
864 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
867 char *_kwnames
[] = { NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 _result
= (int )wxDisplayDepth();
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) return NULL
;
878 } _resultobj
= Py_BuildValue("i",_result
);
882 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
885 char *_kwnames
[] = { NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
892 _result
= (int )wxGetDisplayDepth();
894 wxPyEndAllowThreads(__tstate
);
895 if (PyErr_Occurred()) return NULL
;
896 } _resultobj
= Py_BuildValue("i",_result
);
900 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
906 char *_kwnames
[] = { NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
919 wxDisplaySize(_arg0
,_arg1
);
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) return NULL
;
923 } Py_INCREF(Py_None
);
924 _resultobj
= Py_None
;
927 o
= PyInt_FromLong((long) (*_arg0
));
928 _resultobj
= t_output_helper(_resultobj
, o
);
932 o
= PyInt_FromLong((long) (*_arg1
));
933 _resultobj
= t_output_helper(_resultobj
, o
);
938 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 PyObject
* _resultobj
;
941 char *_kwnames
[] = { NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 _result
= new wxSize (wxGetDisplaySize());
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
954 _resultobj
= Py_BuildValue("s",_ptemp
);
958 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
964 char *_kwnames
[] = { NULL
};
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 wxDisplaySizeMM(_arg0
,_arg1
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
985 o
= PyInt_FromLong((long) (*_arg0
));
986 _resultobj
= t_output_helper(_resultobj
, o
);
990 o
= PyInt_FromLong((long) (*_arg1
));
991 _resultobj
= t_output_helper(_resultobj
, o
);
996 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
999 char *_kwnames
[] = { NULL
};
1003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1007 _result
= new wxSize (wxGetDisplaySizeMM());
1009 wxPyEndAllowThreads(__tstate
);
1010 if (PyErr_Occurred()) return NULL
;
1011 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1012 _resultobj
= Py_BuildValue("s",_ptemp
);
1016 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1026 char *_kwnames
[] = { NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) return NULL
;
1049 } Py_INCREF(Py_None
);
1050 _resultobj
= Py_None
;
1053 o
= PyInt_FromLong((long) (*_arg0
));
1054 _resultobj
= t_output_helper(_resultobj
, o
);
1058 o
= PyInt_FromLong((long) (*_arg1
));
1059 _resultobj
= t_output_helper(_resultobj
, o
);
1063 o
= PyInt_FromLong((long) (*_arg2
));
1064 _resultobj
= t_output_helper(_resultobj
, o
);
1068 o
= PyInt_FromLong((long) (*_arg3
));
1069 _resultobj
= t_output_helper(_resultobj
, o
);
1074 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1077 char *_kwnames
[] = { NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 _result
= new wxRect (wxGetClientDisplayRect());
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) return NULL
;
1089 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1090 _resultobj
= Py_BuildValue("s",_ptemp
);
1094 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
* _resultobj
;
1097 PyObject
* _argo0
= 0;
1098 char *_kwnames
[] = { "cursor", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 wxSetCursor(*_arg0
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1116 } Py_INCREF(Py_None
);
1117 _resultobj
= Py_None
;
1121 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1125 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1126 PyObject
* _obj0
= 0;
1127 PyObject
* _argo1
= 0;
1128 char *_kwnames
[] = { "label","parent", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1134 _arg0
= wxString_in_helper(_obj0
);
1139 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) return NULL
;
1151 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1159 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1163 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1164 PyObject
* _obj0
= 0;
1165 PyObject
* _argo1
= 0;
1166 char *_kwnames
[] = { "name","parent", NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1172 _arg0
= wxString_in_helper(_obj0
);
1177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) return NULL
;
1189 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1197 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1199 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1200 PyObject
* _argo0
= 0;
1201 char *_kwnames
[] = { "cursor", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1215 wxBeginBusyCursor(_arg0
);
1217 wxPyEndAllowThreads(__tstate
);
1218 if (PyErr_Occurred()) return NULL
;
1219 } Py_INCREF(Py_None
);
1220 _resultobj
= Py_None
;
1224 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1227 char *_kwnames
[] = { NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 _result
= (wxWindow
*)wxGetActiveWindow();
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) return NULL
;
1238 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1242 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1247 PyObject
* _obj0
= 0;
1248 char *_kwnames
[] = { "pt", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1255 if (! wxPoint_helper(_obj0
, &_arg0
))
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) return NULL
;
1264 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1268 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1273 PyObject
* _obj0
= 0;
1274 char *_kwnames
[] = { "pt", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1281 if (! wxPoint_helper(_obj0
, &_arg0
))
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) return NULL
;
1290 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1294 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1299 char *_kwnames
[] = { "name","value", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1310 } _resultobj
= Py_BuildValue("i",_result
);
1314 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1316 char *_kwnames
[] = { NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) return NULL
;
1327 } Py_INCREF(Py_None
);
1328 _resultobj
= Py_None
;
1332 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1336 char *_kwnames
[] = { "resource", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) return NULL
;
1348 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1349 _resultobj
= Py_BuildValue("s",_ptemp
);
1353 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1357 char *_kwnames
[] = { "resource", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) return NULL
;
1369 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1370 _resultobj
= Py_BuildValue("s",_ptemp
);
1374 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1376 wxMenuBar
* _result
;
1378 char *_kwnames
[] = { "resource", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) return NULL
;
1389 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1393 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1397 char *_kwnames
[] = { "name", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 _result
= (int )wxResourceGetIdentifier(_arg0
);
1406 wxPyEndAllowThreads(__tstate
);
1407 if (PyErr_Occurred()) return NULL
;
1408 } _resultobj
= Py_BuildValue("i",_result
);
1412 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1416 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1417 PyObject
* _argo1
= 0;
1418 char *_kwnames
[] = { "resource","table", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1434 wxPyEndAllowThreads(__tstate
);
1435 if (PyErr_Occurred()) return NULL
;
1436 } _resultobj
= Py_BuildValue("i",_result
);
1440 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1444 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1445 PyObject
* _argo1
= 0;
1446 char *_kwnames
[] = { "filename","table", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1452 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) return NULL
;
1464 } _resultobj
= Py_BuildValue("i",_result
);
1468 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1472 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1473 PyObject
* _argo1
= 0;
1474 char *_kwnames
[] = { "resource","table", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1492 } _resultobj
= Py_BuildValue("i",_result
);
1496 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1499 char *_kwnames
[] = { NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 _result
= (int )wxCaret_GetBlinkTime();
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } _resultobj
= Py_BuildValue("i",_result
);
1514 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1517 char *_kwnames
[] = { "milliseconds", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 wxCaret_SetBlinkTime(_arg0
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1528 } Py_INCREF(Py_None
);
1529 _resultobj
= Py_None
;
1533 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1536 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "win", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 _result
= (bool )wxSafeYield(_arg0
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) return NULL
;
1556 } _resultobj
= Py_BuildValue("i",_result
);
1560 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1562 wxEvtHandler
* _arg0
;
1564 PyObject
* _argo0
= 0;
1565 PyObject
* _argo1
= 0;
1566 char *_kwnames
[] = { "dest","event", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 wxPostEvent(_arg0
,*_arg1
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1591 } Py_INCREF(Py_None
);
1592 _resultobj
= Py_None
;
1596 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 char *_kwnames
[] = { NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
* _resultobj
;
1616 char *_kwnames
[] = { NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) return NULL
;
1627 } Py_INCREF(Py_None
);
1628 _resultobj
= Py_None
;
1632 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1634 char *_kwnames
[] = { NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) return NULL
;
1645 } Py_INCREF(Py_None
);
1646 _resultobj
= Py_None
;
1650 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1653 char *_kwnames
[] = { NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= (bool )wxThread_IsMain();
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1668 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1672 wxTipProvider
* _arg1
;
1673 bool _arg2
= (bool ) TRUE
;
1674 PyObject
* _argo0
= 0;
1675 PyObject
* _argo1
= 0;
1676 int tempbool2
= (int) TRUE
;
1677 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1696 _arg2
= (bool ) tempbool2
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } _resultobj
= Py_BuildValue("i",_result
);
1707 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxTipProvider
* _result
;
1712 PyObject
* _obj0
= 0;
1713 char *_kwnames
[] = { "filename","currentTip", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1720 _arg0
= wxString_in_helper(_obj0
);
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1732 _resultobj
= Py_BuildValue("s",_ptemp
);
1735 _resultobj
= Py_None
;
1744 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1746 unsigned long _result
;
1747 char *_kwnames
[] = { NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 _result
= (unsigned long )wxSysErrorCode();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1758 } _resultobj
= Py_BuildValue("l",_result
);
1762 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 unsigned long _arg0
= (unsigned long ) 0;
1766 char *_kwnames
[] = { "nErrCode", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 _result
= new wxString (wxSysErrorMsg(_arg0
));
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1779 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1781 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1790 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1793 PyObject
* _obj0
= 0;
1794 char *_kwnames
[] = { "szFormat", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1800 _arg0
= wxString_in_helper(_obj0
);
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 wxLogFatalError(*_arg0
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1810 } Py_INCREF(Py_None
);
1811 _resultobj
= Py_None
;
1819 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1822 PyObject
* _obj0
= 0;
1823 char *_kwnames
[] = { "szFormat", NULL
};
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1829 _arg0
= wxString_in_helper(_obj0
);
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) return NULL
;
1839 } Py_INCREF(Py_None
);
1840 _resultobj
= Py_None
;
1848 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1851 PyObject
* _obj0
= 0;
1852 char *_kwnames
[] = { "szFormat", NULL
};
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1858 _arg0
= wxString_in_helper(_obj0
);
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 wxLogWarning(*_arg0
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) return NULL
;
1868 } Py_INCREF(Py_None
);
1869 _resultobj
= Py_None
;
1877 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1880 PyObject
* _obj0
= 0;
1881 char *_kwnames
[] = { "szFormat", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1887 _arg0
= wxString_in_helper(_obj0
);
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 wxLogMessage(*_arg0
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1897 } Py_INCREF(Py_None
);
1898 _resultobj
= Py_None
;
1906 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 PyObject
* _obj0
= 0;
1910 char *_kwnames
[] = { "szFormat", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1916 _arg0
= wxString_in_helper(_obj0
);
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) return NULL
;
1926 } Py_INCREF(Py_None
);
1927 _resultobj
= Py_None
;
1935 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1938 PyObject
* _obj0
= 0;
1939 char *_kwnames
[] = { "szFormat", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1945 _arg0
= wxString_in_helper(_obj0
);
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 wxLogVerbose(*_arg0
);
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) return NULL
;
1955 } Py_INCREF(Py_None
);
1956 _resultobj
= Py_None
;
1964 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1967 PyObject
* _obj0
= 0;
1968 char *_kwnames
[] = { "szFormat", NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
1974 _arg0
= wxString_in_helper(_obj0
);
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 wxLogStatus(*_arg0
);
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) return NULL
;
1984 } Py_INCREF(Py_None
);
1985 _resultobj
= Py_None
;
1993 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1997 PyObject
* _argo0
= 0;
1998 PyObject
* _obj1
= 0;
1999 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2012 _arg1
= wxString_in_helper(_obj1
);
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 wxLogStatus(_arg0
,*_arg1
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) return NULL
;
2022 } Py_INCREF(Py_None
);
2023 _resultobj
= Py_None
;
2031 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2034 PyObject
* _obj0
= 0;
2035 char *_kwnames
[] = { "szFormat", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2041 _arg0
= wxString_in_helper(_obj0
);
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 wxLogSysError(*_arg0
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } Py_INCREF(Py_None
);
2052 _resultobj
= Py_None
;
2060 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2064 int _arg1
= (int ) FALSE
;
2065 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2066 PyObject
* _obj0
= 0;
2067 PyObject
* _argo2
= 0;
2068 char *_kwnames
[] = { "command","sync","process", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2074 _arg0
= wxString_in_helper(_obj0
);
2079 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2080 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } _resultobj
= Py_BuildValue("l",_result
);
2099 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2103 PyObject
* _obj0
= 0;
2104 char *_kwnames
[] = { "data", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2111 _arg0
= wxString_in_helper(_obj0
);
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 _result
= (wxWave
*)wxWaveData(*_arg0
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) return NULL
;
2122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2123 _resultobj
= Py_BuildValue("s",_ptemp
);
2126 _resultobj
= Py_None
;
2135 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2137 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2141 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2145 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2146 pyobj
= PyString_FromString(ptemp
);
2150 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2153 wxSystemColour _arg0
;
2154 char *_kwnames
[] = { "index", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) return NULL
;
2166 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2167 _resultobj
= Py_BuildValue("s",_ptemp
);
2171 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2175 char *_kwnames
[] = { "index", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2188 _resultobj
= Py_BuildValue("s",_ptemp
);
2192 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2195 wxSystemMetric _arg0
;
2196 char *_kwnames
[] = { "index", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) return NULL
;
2207 } _resultobj
= Py_BuildValue("i",_result
);
2211 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2214 wxSystemFeature _arg0
;
2215 char *_kwnames
[] = { "index", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } _resultobj
= Py_BuildValue("i",_result
);
2230 static void *SwigwxToolTipTowxObject(void *ptr
) {
2233 src
= (wxToolTip
*) ptr
;
2234 dest
= (wxObject
*) src
;
2235 return (void *) dest
;
2238 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2239 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2241 wxToolTip
* _result
;
2243 PyObject
* _obj0
= 0;
2244 char *_kwnames
[] = { "tip", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2251 _arg0
= wxString_in_helper(_obj0
);
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) return NULL
;
2262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2263 _resultobj
= Py_BuildValue("s",_ptemp
);
2266 _resultobj
= Py_None
;
2275 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2276 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2280 PyObject
* _argo0
= 0;
2281 PyObject
* _obj1
= 0;
2282 char *_kwnames
[] = { "self","tip", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2295 _arg1
= wxString_in_helper(_obj1
);
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 wxToolTip_SetTip(_arg0
,*_arg1
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) return NULL
;
2305 } Py_INCREF(Py_None
);
2306 _resultobj
= Py_None
;
2314 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2315 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2319 PyObject
* _argo0
= 0;
2320 char *_kwnames
[] = { "self", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2340 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2351 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2352 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2356 PyObject
* _argo0
= 0;
2357 char *_kwnames
[] = { "self", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) return NULL
;
2375 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2379 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2383 char *_kwnames
[] = { "flag", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2388 _arg0
= (bool ) tempbool0
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 wxToolTip::Enable(_arg0
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) return NULL
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
* _resultobj
;
2403 char *_kwnames
[] = { "milliseconds", NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 wxToolTip::SetDelay(_arg0
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } Py_INCREF(Py_None
);
2415 _resultobj
= Py_None
;
2419 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2420 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2425 PyObject
* _argo0
= 0;
2427 PyObject
* _obj1
= 0;
2428 char *_kwnames
[] = { "window","size", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2443 if (! wxSize_helper(_obj1
, &_arg1
))
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) return NULL
;
2453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2454 _resultobj
= Py_BuildValue("s",_ptemp
);
2457 _resultobj
= Py_None
;
2462 #define delete_wxCaret(_swigobj) (delete _swigobj)
2463 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2466 PyObject
* _argo0
= 0;
2467 char *_kwnames
[] = { "self", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 delete_wxCaret(_arg0
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) return NULL
;
2485 } Py_INCREF(Py_None
);
2486 _resultobj
= Py_None
;
2490 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2491 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2495 PyObject
* _argo0
= 0;
2496 char *_kwnames
[] = { "self", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 _result
= (bool )wxCaret_IsOk(_arg0
);
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) return NULL
;
2514 } _resultobj
= Py_BuildValue("i",_result
);
2518 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2519 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2523 PyObject
* _argo0
= 0;
2524 char *_kwnames
[] = { "self", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 _result
= (bool )wxCaret_IsVisible(_arg0
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) return NULL
;
2542 } _resultobj
= Py_BuildValue("i",_result
);
2546 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2547 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
* _resultobj
;
2554 PyObject
* _argo0
= 0;
2555 char *_kwnames
[] = { "self", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) return NULL
;
2579 } Py_INCREF(Py_None
);
2580 _resultobj
= Py_None
;
2583 o
= PyInt_FromLong((long) (*_arg1
));
2584 _resultobj
= t_output_helper(_resultobj
, o
);
2588 o
= PyInt_FromLong((long) (*_arg2
));
2589 _resultobj
= t_output_helper(_resultobj
, o
);
2594 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2595 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2599 PyObject
* _argo0
= 0;
2600 char *_kwnames
[] = { "self", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) return NULL
;
2619 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2620 _resultobj
= Py_BuildValue("s",_ptemp
);
2624 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2625 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2632 PyObject
* _argo0
= 0;
2633 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) return NULL
;
2657 } Py_INCREF(Py_None
);
2658 _resultobj
= Py_None
;
2661 o
= PyInt_FromLong((long) (*_arg1
));
2662 _resultobj
= t_output_helper(_resultobj
, o
);
2666 o
= PyInt_FromLong((long) (*_arg2
));
2667 _resultobj
= t_output_helper(_resultobj
, o
);
2672 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2673 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) return NULL
;
2697 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2698 _resultobj
= Py_BuildValue("s",_ptemp
);
2702 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2703 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2707 PyObject
* _argo0
= 0;
2708 char *_kwnames
[] = { "self", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) return NULL
;
2726 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2730 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2731 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self","x","y", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2760 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2761 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2765 PyObject
* _argo0
= 0;
2767 PyObject
* _obj1
= 0;
2768 char *_kwnames
[] = { "self","pt", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2782 if (! wxPoint_helper(_obj1
, &_arg1
))
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 wxCaret_Move(_arg0
,*_arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2797 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2802 PyObject
* _argo0
= 0;
2803 char *_kwnames
[] = { "self","width","height", NULL
};
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2817 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) return NULL
;
2821 } Py_INCREF(Py_None
);
2822 _resultobj
= Py_None
;
2826 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2827 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2831 PyObject
* _argo0
= 0;
2833 PyObject
* _obj1
= 0;
2834 char *_kwnames
[] = { "self","size", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2848 if (! wxSize_helper(_obj1
, &_arg1
))
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 wxCaret_SetSize(_arg0
,*_arg1
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) return NULL
;
2857 } Py_INCREF(Py_None
);
2858 _resultobj
= Py_None
;
2862 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2863 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2866 int _arg1
= (int ) TRUE
;
2867 PyObject
* _argo0
= 0;
2868 char *_kwnames
[] = { "self","show", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 wxCaret_Show(_arg0
,_arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2886 } Py_INCREF(Py_None
);
2887 _resultobj
= Py_None
;
2891 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2892 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxCaret_Hide(_arg0
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) return NULL
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2920 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2922 wxPyFontEnumerator
* _result
;
2923 char *_kwnames
[] = { NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) return NULL
;
2936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2937 _resultobj
= Py_BuildValue("s",_ptemp
);
2940 _resultobj
= Py_None
;
2945 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2946 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2948 wxPyFontEnumerator
* _arg0
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 delete_wxPyFontEnumerator(_arg0
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) return NULL
;
2968 } Py_INCREF(Py_None
);
2969 _resultobj
= Py_None
;
2973 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
2974 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
* _resultobj
;
2976 wxPyFontEnumerator
* _arg0
;
2980 PyObject
* _argo0
= 0;
2981 PyObject
* _obj1
= 0;
2982 PyObject
* _obj2
= 0;
2984 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3002 _arg3
= (bool ) tempbool3
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) return NULL
;
3009 } Py_INCREF(Py_None
);
3010 _resultobj
= Py_None
;
3014 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3015 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3018 wxPyFontEnumerator
* _arg0
;
3019 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3020 bool _arg2
= (bool ) FALSE
;
3021 PyObject
* _argo0
= 0;
3022 int tempbool2
= (int) FALSE
;
3023 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3035 _arg2
= (bool ) tempbool2
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) return NULL
;
3042 } _resultobj
= Py_BuildValue("i",_result
);
3046 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3047 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3050 wxPyFontEnumerator
* _arg0
;
3051 char * _arg1
= (char *) "";
3052 PyObject
* _argo0
= 0;
3053 char *_kwnames
[] = { "self","facename", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3076 wxArrayString
* arr
= self
->GetEncodings();
3077 return wxArrayString2PyList_helper(*arr
);
3079 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3082 wxPyFontEnumerator
* _arg0
;
3083 PyObject
* _argo0
= 0;
3084 char *_kwnames
[] = { "self", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3103 _resultobj
= _result
;
3108 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3109 wxArrayString
* arr
= self
->GetFacenames();
3110 return wxArrayString2PyList_helper(*arr
);
3112 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3115 wxPyFontEnumerator
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3136 _resultobj
= _result
;
3141 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3142 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxBusyCursor
* _result
;
3145 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "cursor", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) return NULL
;
3167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3168 _resultobj
= Py_BuildValue("s",_ptemp
);
3171 _resultobj
= Py_None
;
3176 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3177 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3179 wxBusyCursor
* _arg0
;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 delete_wxBusyCursor(_arg0
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) return NULL
;
3199 } Py_INCREF(Py_None
);
3200 _resultobj
= Py_None
;
3204 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3205 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3207 wxWindowDisabler
* _result
;
3208 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "winToSkip", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3231 _resultobj
= Py_BuildValue("s",_ptemp
);
3234 _resultobj
= Py_None
;
3239 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3240 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxWindowDisabler
* _arg0
;
3243 PyObject
* _argo0
= 0;
3244 char *_kwnames
[] = { "self", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 delete_wxWindowDisabler(_arg0
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) return NULL
;
3262 } Py_INCREF(Py_None
);
3263 _resultobj
= Py_None
;
3267 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3268 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
* _resultobj
;
3270 wxMutexGuiLocker
* _result
;
3271 char *_kwnames
[] = { NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) return NULL
;
3284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3285 _resultobj
= Py_BuildValue("s",_ptemp
);
3288 _resultobj
= Py_None
;
3293 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3294 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3296 wxMutexGuiLocker
* _arg0
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 delete_wxMutexGuiLocker(_arg0
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3316 } Py_INCREF(Py_None
);
3317 _resultobj
= Py_None
;
3321 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3322 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
* _resultobj
;
3324 wxTipProvider
* _arg0
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 delete_wxTipProvider(_arg0
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } Py_INCREF(Py_None
);
3345 _resultobj
= Py_None
;
3349 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3350 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3353 wxTipProvider
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3375 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3377 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3386 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3387 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3390 wxTipProvider
* _arg0
;
3391 PyObject
* _argo0
= 0;
3392 char *_kwnames
[] = { "self", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) return NULL
;
3410 } _resultobj
= Py_BuildValue("i",_result
);
3414 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3415 wxPyTipProvider
*src
;
3416 wxTipProvider
*dest
;
3417 src
= (wxPyTipProvider
*) ptr
;
3418 dest
= (wxTipProvider
*) src
;
3419 return (void *) dest
;
3422 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3423 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxPyTipProvider
* _result
;
3427 char *_kwnames
[] = { "currentTip", NULL
};
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3441 _resultobj
= Py_BuildValue("s",_ptemp
);
3444 _resultobj
= Py_None
;
3449 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3450 wxGenericDragImage
*src
;
3452 src
= (wxGenericDragImage
*) ptr
;
3453 dest
= (wxObject
*) src
;
3454 return (void *) dest
;
3457 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3458 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3459 PyObject
* _resultobj
;
3460 wxGenericDragImage
* _result
;
3462 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3463 PyObject
* _argo0
= 0;
3464 PyObject
* _argo1
= 0;
3465 char *_kwnames
[] = { "image","cursor", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) return NULL
;
3492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3493 _resultobj
= Py_BuildValue("s",_ptemp
);
3496 _resultobj
= Py_None
;
3501 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3502 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3504 wxGenericDragImage
* _result
;
3506 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3507 PyObject
* _argo0
= 0;
3508 PyObject
* _argo1
= 0;
3509 char *_kwnames
[] = { "image","cursor", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3537 _resultobj
= Py_BuildValue("s",_ptemp
);
3540 _resultobj
= Py_None
;
3545 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3546 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxGenericDragImage
* _result
;
3550 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3551 PyObject
* _obj0
= 0;
3552 PyObject
* _argo1
= 0;
3553 char *_kwnames
[] = { "str","cursor", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3560 _arg0
= wxString_in_helper(_obj0
);
3565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3579 _resultobj
= Py_BuildValue("s",_ptemp
);
3582 _resultobj
= Py_None
;
3591 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3592 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3594 wxGenericDragImage
* _result
;
3596 wxTreeItemId
* _arg1
;
3597 PyObject
* _argo0
= 0;
3598 PyObject
* _argo1
= 0;
3599 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3627 _resultobj
= Py_BuildValue("s",_ptemp
);
3630 _resultobj
= Py_None
;
3635 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3636 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxGenericDragImage
* _result
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "listCtrl","id", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) return NULL
;
3662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3663 _resultobj
= Py_BuildValue("s",_ptemp
);
3666 _resultobj
= Py_None
;
3671 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3672 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3674 wxGenericDragImage
* _arg0
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 delete_wxGenericDragImage(_arg0
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) return NULL
;
3694 } Py_INCREF(Py_None
);
3695 _resultobj
= Py_None
;
3699 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3700 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3702 wxGenericDragImage
* _arg0
;
3704 PyObject
* _argo0
= 0;
3705 PyObject
* _argo1
= 0;
3706 char *_kwnames
[] = { "self","bitmap", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) return NULL
;
3731 } Py_INCREF(Py_None
);
3732 _resultobj
= Py_None
;
3736 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3737 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3740 wxGenericDragImage
* _arg0
;
3743 bool _arg3
= (bool ) FALSE
;
3744 wxRect
* _arg4
= (wxRect
*) NULL
;
3745 PyObject
* _argo0
= 0;
3747 PyObject
* _obj1
= 0;
3748 PyObject
* _argo2
= 0;
3749 int tempbool3
= (int) FALSE
;
3751 PyObject
* _obj4
= 0;
3752 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3766 if (! wxPoint_helper(_obj1
, &_arg1
))
3770 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3776 _arg3
= (bool ) tempbool3
;
3780 if (! wxRect_helper(_obj4
, &_arg4
))
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3789 } _resultobj
= Py_BuildValue("i",_result
);
3793 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3794 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3797 wxGenericDragImage
* _arg0
;
3801 PyObject
* _argo0
= 0;
3803 PyObject
* _obj1
= 0;
3804 PyObject
* _argo2
= 0;
3805 PyObject
* _argo3
= 0;
3806 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3820 if (! wxPoint_helper(_obj1
, &_arg1
))
3824 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3831 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) return NULL
;
3843 } _resultobj
= Py_BuildValue("i",_result
);
3847 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3848 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3851 wxGenericDragImage
* _arg0
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) return NULL
;
3871 } _resultobj
= Py_BuildValue("i",_result
);
3875 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3876 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3879 wxGenericDragImage
* _arg0
;
3881 PyObject
* _argo0
= 0;
3883 PyObject
* _obj1
= 0;
3884 char *_kwnames
[] = { "self","pt", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3898 if (! wxPoint_helper(_obj1
, &_arg1
))
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) return NULL
;
3907 } _resultobj
= Py_BuildValue("i",_result
);
3911 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3912 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3915 wxGenericDragImage
* _arg0
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 _result
= (bool )wxDragImage_Show(_arg0
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) return NULL
;
3935 } _resultobj
= Py_BuildValue("i",_result
);
3939 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3940 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3943 wxGenericDragImage
* _arg0
;
3944 PyObject
* _argo0
= 0;
3945 char *_kwnames
[] = { "self", NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 _result
= (bool )wxDragImage_Hide(_arg0
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) return NULL
;
3963 } _resultobj
= Py_BuildValue("i",_result
);
3967 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3968 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3971 wxGenericDragImage
* _arg0
;
3973 PyObject
* _argo0
= 0;
3975 PyObject
* _obj1
= 0;
3976 char *_kwnames
[] = { "self","pos", NULL
};
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3991 if (! wxPoint_helper(_obj1
, &_arg1
))
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) return NULL
;
4000 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4001 _resultobj
= Py_BuildValue("s",_ptemp
);
4005 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4006 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4009 wxGenericDragImage
* _arg0
;
4014 PyObject
* _argo0
= 0;
4016 PyObject
* _obj1
= 0;
4018 PyObject
* _obj2
= 0;
4021 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4035 if (! wxPoint_helper(_obj1
, &_arg1
))
4040 if (! wxPoint_helper(_obj2
, &_arg2
))
4043 _arg3
= (bool ) tempbool3
;
4044 _arg4
= (bool ) tempbool4
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) return NULL
;
4051 } _resultobj
= Py_BuildValue("i",_result
);
4055 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4058 src
= (wxPyTimer
*) ptr
;
4059 dest
= (wxObject
*) src
;
4060 return (void *) dest
;
4063 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4064 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4066 wxPyTimer
* _result
;
4068 PyObject
* _obj0
= 0;
4069 char *_kwnames
[] = { "notify", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) return NULL
;
4085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4086 _resultobj
= Py_BuildValue("s",_ptemp
);
4089 _resultobj
= Py_None
;
4094 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4095 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4098 PyObject
* _argo0
= 0;
4099 char *_kwnames
[] = { "self", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 delete_wxPyTimer(_arg0
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) return NULL
;
4117 } Py_INCREF(Py_None
);
4118 _resultobj
= Py_None
;
4122 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4123 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } _resultobj
= Py_BuildValue("i",_result
);
4150 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4151 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4155 PyObject
* _argo0
= 0;
4156 char *_kwnames
[] = { "self", NULL
};
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) return NULL
;
4174 } _resultobj
= Py_BuildValue("i",_result
);
4178 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4179 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4183 PyObject
* _argo0
= 0;
4184 char *_kwnames
[] = { "self", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) return NULL
;
4202 } _resultobj
= Py_BuildValue("i",_result
);
4206 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4207 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4210 wxEvtHandler
* _arg1
;
4211 int _arg2
= (int ) -1;
4212 PyObject
* _argo0
= 0;
4213 PyObject
* _argo1
= 0;
4214 char *_kwnames
[] = { "self","owner","id", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) return NULL
;
4239 } Py_INCREF(Py_None
);
4240 _resultobj
= Py_None
;
4244 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4245 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4248 int _arg1
= (int ) -1;
4249 int _arg2
= (int ) FALSE
;
4250 PyObject
* _argo0
= 0;
4251 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) return NULL
;
4269 } Py_INCREF(Py_None
);
4270 _resultobj
= Py_None
;
4274 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4275 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self", NULL
};
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 wxPyTimer_Stop(_arg0
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4302 #define new_wxStopWatch() (new wxStopWatch())
4303 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4305 wxStopWatch
* _result
;
4306 char *_kwnames
[] = { NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 _result
= (wxStopWatch
*)new_wxStopWatch();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) return NULL
;
4319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4320 _resultobj
= Py_BuildValue("s",_ptemp
);
4323 _resultobj
= Py_None
;
4328 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4329 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4331 wxStopWatch
* _arg0
;
4332 PyObject
* _argo0
= 0;
4333 char *_kwnames
[] = { "self", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 delete_wxStopWatch(_arg0
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) return NULL
;
4351 } Py_INCREF(Py_None
);
4352 _resultobj
= Py_None
;
4356 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4357 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4359 wxStopWatch
* _arg0
;
4360 long _arg1
= (long ) 0;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self","t", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 wxStopWatch_Start(_arg0
,_arg1
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4386 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4388 wxStopWatch
* _arg0
;
4389 PyObject
* _argo0
= 0;
4390 char *_kwnames
[] = { "self", NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 wxStopWatch_Pause(_arg0
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) return NULL
;
4408 } Py_INCREF(Py_None
);
4409 _resultobj
= Py_None
;
4413 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4414 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
* _resultobj
;
4416 wxStopWatch
* _arg0
;
4417 PyObject
* _argo0
= 0;
4418 char *_kwnames
[] = { "self", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxStopWatch_Resume(_arg0
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4436 } Py_INCREF(Py_None
);
4437 _resultobj
= Py_None
;
4441 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4442 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
* _resultobj
;
4445 wxStopWatch
* _arg0
;
4446 PyObject
* _argo0
= 0;
4447 char *_kwnames
[] = { "self", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 _result
= (long )wxStopWatch_Time(_arg0
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) return NULL
;
4465 } _resultobj
= Py_BuildValue("l",_result
);
4469 #define new_wxLog() (new wxLog())
4470 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
* _resultobj
;
4473 char *_kwnames
[] = { NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 _result
= (wxLog
*)new_wxLog();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) return NULL
;
4486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4487 _resultobj
= Py_BuildValue("s",_ptemp
);
4490 _resultobj
= Py_None
;
4495 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4498 char *_kwnames
[] = { NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 _result
= (bool )wxLog::IsEnabled();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4509 } _resultobj
= Py_BuildValue("i",_result
);
4513 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
* _resultobj
;
4516 bool _arg0
= (bool ) TRUE
;
4517 int tempbool0
= (int) TRUE
;
4518 char *_kwnames
[] = { "doIt", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4523 _arg0
= (bool ) tempbool0
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 _result
= (bool )wxLog::EnableLogging(_arg0
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4530 } _resultobj
= Py_BuildValue("i",_result
);
4534 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
* _resultobj
;
4538 int _arg2
= (int ) 0;
4539 PyObject
* _argo0
= 0;
4540 PyObject
* _obj1
= 0;
4541 char *_kwnames
[] = { "level","szString","t", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4554 _arg1
= wxString_in_helper(_obj1
);
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) return NULL
;
4564 } Py_INCREF(Py_None
);
4565 _resultobj
= Py_None
;
4573 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4574 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4577 PyObject
* _argo0
= 0;
4578 char *_kwnames
[] = { "self", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) return NULL
;
4596 } Py_INCREF(Py_None
);
4597 _resultobj
= Py_None
;
4601 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4602 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4606 PyObject
* _argo0
= 0;
4607 char *_kwnames
[] = { "self", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4625 } _resultobj
= Py_BuildValue("i",_result
);
4629 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4631 char *_kwnames
[] = { NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxLog::FlushActive();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4647 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4650 char *_kwnames
[] = { NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 _result
= (wxLog
*)wxLog::GetActiveTarget();
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) return NULL
;
4663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4664 _resultobj
= Py_BuildValue("s",_ptemp
);
4667 _resultobj
= Py_None
;
4672 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4676 PyObject
* _argo0
= 0;
4677 char *_kwnames
[] = { "pLogger", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4698 _resultobj
= Py_BuildValue("s",_ptemp
);
4701 _resultobj
= Py_None
;
4706 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
* _resultobj
;
4708 char *_kwnames
[] = { NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) return NULL
;
4719 } Py_INCREF(Py_None
);
4720 _resultobj
= Py_None
;
4724 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4726 char *_kwnames
[] = { NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) return NULL
;
4737 } Py_INCREF(Py_None
);
4738 _resultobj
= Py_None
;
4742 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4743 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4746 bool _arg1
= (bool ) TRUE
;
4747 PyObject
* _argo0
= 0;
4748 int tempbool1
= (int) TRUE
;
4749 char *_kwnames
[] = { "self","bVerbose", NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4761 _arg1
= (bool ) tempbool1
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 wxLog_SetVerbose(_arg0
,_arg1
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) return NULL
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4773 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4775 char *_kwnames
[] = { NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 wxLog::DontCreateOnDemand();
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4786 } Py_INCREF(Py_None
);
4787 _resultobj
= Py_None
;
4791 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
* _resultobj
;
4793 wxTraceMask
* _arg0
;
4794 PyObject
* _argo0
= 0;
4795 char *_kwnames
[] = { "ulMask", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 wxLog::SetTraceMask(*_arg0
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) return NULL
;
4813 } Py_INCREF(Py_None
);
4814 _resultobj
= Py_None
;
4818 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4821 PyObject
* _obj0
= 0;
4822 char *_kwnames
[] = { "str", NULL
};
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4828 _arg0
= wxString_in_helper(_obj0
);
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 wxLog::AddTraceMask(*_arg0
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) return NULL
;
4838 } Py_INCREF(Py_None
);
4839 _resultobj
= Py_None
;
4847 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
* _resultobj
;
4850 PyObject
* _obj0
= 0;
4851 char *_kwnames
[] = { "str", NULL
};
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4857 _arg0
= wxString_in_helper(_obj0
);
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 wxLog::RemoveTraceMask(*_arg0
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) return NULL
;
4867 } Py_INCREF(Py_None
);
4868 _resultobj
= Py_None
;
4876 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4878 char *_kwnames
[] = { NULL
};
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 wxLog::ClearTraceMasks();
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) return NULL
;
4889 } Py_INCREF(Py_None
);
4890 _resultobj
= Py_None
;
4894 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4897 char *_kwnames
[] = { "ts", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxLog::SetTimestamp(_arg0
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) return NULL
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4913 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4916 char *_kwnames
[] = { NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 _result
= (wxChar
*)wxLog::GetTimestamp();
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) return NULL
;
4927 } _resultobj
= Py_BuildValue("s", _result
);
4931 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4932 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
* _resultobj
;
4936 PyObject
* _argo0
= 0;
4937 char *_kwnames
[] = { "self", NULL
};
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 _result
= (bool )wxLog_GetVerbose(_arg0
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) return NULL
;
4955 } _resultobj
= Py_BuildValue("i",_result
);
4959 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4961 wxTraceMask
* _result
;
4962 char *_kwnames
[] = { NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 _result
= new wxTraceMask (wxLog::GetTraceMask());
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4974 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4975 _resultobj
= Py_BuildValue("s",_ptemp
);
4979 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4983 PyObject
* _obj0
= 0;
4984 char *_kwnames
[] = { "mask", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
4990 _arg0
= wxString_in_helper(_obj0
);
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) return NULL
;
5000 } _resultobj
= Py_BuildValue("i",_result
);
5008 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5010 wxLog::TimeStamp(&msg
);
5013 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5017 PyObject
* _argo0
= 0;
5018 char *_kwnames
[] = { "self", NULL
};
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) return NULL
;
5038 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5040 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5049 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5052 src
= (wxLogStderr
*) ptr
;
5053 dest
= (wxLog
*) src
;
5054 return (void *) dest
;
5057 #define new_wxLogStderr() (new wxLogStderr())
5058 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5060 wxLogStderr
* _result
;
5061 char *_kwnames
[] = { NULL
};
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 _result
= (wxLogStderr
*)new_wxLogStderr();
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5075 _resultobj
= Py_BuildValue("s",_ptemp
);
5078 _resultobj
= Py_None
;
5083 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5086 src
= (wxLogTextCtrl
*) ptr
;
5087 dest
= (wxLog
*) src
;
5088 return (void *) dest
;
5091 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5092 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5094 wxLogTextCtrl
* _result
;
5096 PyObject
* _argo0
= 0;
5097 char *_kwnames
[] = { "pTextCtrl", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5118 _resultobj
= Py_BuildValue("s",_ptemp
);
5121 _resultobj
= Py_None
;
5126 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5129 src
= (wxLogGui
*) ptr
;
5130 dest
= (wxLog
*) src
;
5131 return (void *) dest
;
5134 #define new_wxLogGui() (new wxLogGui())
5135 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
* _resultobj
;
5138 char *_kwnames
[] = { NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 _result
= (wxLogGui
*)new_wxLogGui();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) return NULL
;
5151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5152 _resultobj
= Py_BuildValue("s",_ptemp
);
5155 _resultobj
= Py_None
;
5160 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5163 src
= (wxLogWindow
*) ptr
;
5164 dest
= (wxLog
*) src
;
5165 return (void *) dest
;
5168 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5169 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5171 wxLogWindow
* _result
;
5174 bool _arg2
= (bool ) TRUE
;
5175 bool _arg3
= (bool ) TRUE
;
5176 PyObject
* _argo0
= 0;
5177 PyObject
* _obj1
= 0;
5178 int tempbool2
= (int) TRUE
;
5179 int tempbool3
= (int) TRUE
;
5180 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5194 _arg1
= wxString_in_helper(_obj1
);
5198 _arg2
= (bool ) tempbool2
;
5199 _arg3
= (bool ) tempbool3
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) return NULL
;
5207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5208 _resultobj
= Py_BuildValue("s",_ptemp
);
5211 _resultobj
= Py_None
;
5220 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5221 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5223 wxLogWindow
* _arg0
;
5224 bool _arg1
= (bool ) TRUE
;
5225 PyObject
* _argo0
= 0;
5226 int tempbool1
= (int) TRUE
;
5227 char *_kwnames
[] = { "self","bShow", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5239 _arg1
= (bool ) tempbool1
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 wxLogWindow_Show(_arg0
,_arg1
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) return NULL
;
5246 } Py_INCREF(Py_None
);
5247 _resultobj
= Py_None
;
5251 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5252 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5255 wxLogWindow
* _arg0
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) return NULL
;
5275 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5279 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5280 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5283 wxLogWindow
* _arg0
;
5284 PyObject
* _argo0
= 0;
5285 char *_kwnames
[] = { "self", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) return NULL
;
5305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5306 _resultobj
= Py_BuildValue("s",_ptemp
);
5309 _resultobj
= Py_None
;
5314 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5315 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5318 wxLogWindow
* _arg0
;
5319 PyObject
* _argo0
= 0;
5320 char *_kwnames
[] = { "self", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) return NULL
;
5338 } _resultobj
= Py_BuildValue("i",_result
);
5342 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5343 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
* _resultobj
;
5345 wxLogWindow
* _arg0
;
5347 PyObject
* _argo0
= 0;
5349 char *_kwnames
[] = { "self","bDoPass", NULL
};
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5361 _arg1
= (bool ) tempbool1
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxLogWindow_PassMessages(_arg0
,_arg1
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) return NULL
;
5368 } Py_INCREF(Py_None
);
5369 _resultobj
= Py_None
;
5373 #define new_wxLogNull() (new wxLogNull())
5374 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5376 wxLogNull
* _result
;
5377 char *_kwnames
[] = { NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 _result
= (wxLogNull
*)new_wxLogNull();
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) return NULL
;
5390 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5391 _resultobj
= Py_BuildValue("s",_ptemp
);
5394 _resultobj
= Py_None
;
5399 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5400 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5403 PyObject
* _argo0
= 0;
5404 char *_kwnames
[] = { "self", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 delete_wxLogNull(_arg0
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5422 } Py_INCREF(Py_None
);
5423 _resultobj
= Py_None
;
5427 static void *SwigwxLogChainTowxLog(void *ptr
) {
5430 src
= (wxLogChain
*) ptr
;
5431 dest
= (wxLog
*) src
;
5432 return (void *) dest
;
5435 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5436 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5438 wxLogChain
* _result
;
5440 PyObject
* _argo0
= 0;
5441 char *_kwnames
[] = { "logger", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) return NULL
;
5461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5462 _resultobj
= Py_BuildValue("s",_ptemp
);
5465 _resultobj
= Py_None
;
5470 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5471 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5475 PyObject
* _argo0
= 0;
5476 PyObject
* _argo1
= 0;
5477 char *_kwnames
[] = { "self","logger", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 wxLogChain_SetLog(_arg0
,_arg1
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) return NULL
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5508 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5514 char *_kwnames
[] = { "self","bDoPass", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5526 _arg1
= (bool ) tempbool1
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 wxLogChain_PassMessages(_arg0
,_arg1
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) return NULL
;
5533 } Py_INCREF(Py_None
);
5534 _resultobj
= Py_None
;
5538 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5539 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
* _resultobj
;
5543 PyObject
* _argo0
= 0;
5544 char *_kwnames
[] = { "self", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) return NULL
;
5562 } _resultobj
= Py_BuildValue("i",_result
);
5566 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5567 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
* _resultobj
;
5571 PyObject
* _argo0
= 0;
5572 char *_kwnames
[] = { "self", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) return NULL
;
5592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5593 _resultobj
= Py_BuildValue("s",_ptemp
);
5596 _resultobj
= Py_None
;
5601 static void *SwigwxPyLogTowxLog(void *ptr
) {
5604 src
= (wxPyLog
*) ptr
;
5605 dest
= (wxLog
*) src
;
5606 return (void *) dest
;
5609 #define new_wxPyLog() (new wxPyLog())
5610 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5613 char *_kwnames
[] = { NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 _result
= (wxPyLog
*)new_wxPyLog();
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) return NULL
;
5626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5627 _resultobj
= Py_BuildValue("s",_ptemp
);
5630 _resultobj
= Py_None
;
5635 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5636 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 PyObject
* _obj1
= 0;
5643 PyObject
* _obj2
= 0;
5644 char *_kwnames
[] = { "self","self","_class", NULL
};
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) return NULL
;
5668 } Py_INCREF(Py_None
);
5669 _resultobj
= Py_None
;
5673 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5674 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
* _resultobj
;
5677 PyObject
* _argo0
= 0;
5678 char *_kwnames
[] = { "self", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 wxPyLog_Destroy(_arg0
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5696 } Py_INCREF(Py_None
);
5697 _resultobj
= Py_None
;
5701 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5702 wxProcessEvent
*src
;
5704 src
= (wxProcessEvent
*) ptr
;
5705 dest
= (wxEvent
*) src
;
5706 return (void *) dest
;
5709 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5710 wxProcessEvent
*src
;
5712 src
= (wxProcessEvent
*) ptr
;
5713 dest
= (wxObject
*) src
;
5714 return (void *) dest
;
5717 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5718 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5720 wxProcessEvent
* _result
;
5721 int _arg0
= (int ) 0;
5722 int _arg1
= (int ) 0;
5723 int _arg2
= (int ) 0;
5724 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) return NULL
;
5737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5738 _resultobj
= Py_BuildValue("s",_ptemp
);
5741 _resultobj
= Py_None
;
5746 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5747 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5750 wxProcessEvent
* _arg0
;
5751 PyObject
* _argo0
= 0;
5752 char *_kwnames
[] = { "self", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) return NULL
;
5770 } _resultobj
= Py_BuildValue("i",_result
);
5774 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5775 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5778 wxProcessEvent
* _arg0
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) return NULL
;
5798 } _resultobj
= Py_BuildValue("i",_result
);
5802 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5803 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5806 wxProcessEvent
* _arg0
;
5808 PyObject
* _argo0
= 0;
5809 char *_kwnames
[] = { "self","m_pid", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) return NULL
;
5827 } _resultobj
= Py_BuildValue("i",_result
);
5831 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5832 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5835 wxProcessEvent
* _arg0
;
5836 PyObject
* _argo0
= 0;
5837 char *_kwnames
[] = { "self", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) return NULL
;
5855 } _resultobj
= Py_BuildValue("i",_result
);
5859 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5860 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5863 wxProcessEvent
* _arg0
;
5865 PyObject
* _argo0
= 0;
5866 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) return NULL
;
5884 } _resultobj
= Py_BuildValue("i",_result
);
5888 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5889 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5892 wxProcessEvent
* _arg0
;
5893 PyObject
* _argo0
= 0;
5894 char *_kwnames
[] = { "self", NULL
};
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) return NULL
;
5912 } _resultobj
= Py_BuildValue("i",_result
);
5916 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5919 src
= (wxPyProcess
*) ptr
;
5920 dest
= (wxEvtHandler
*) src
;
5921 return (void *) dest
;
5924 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5927 src
= (wxPyProcess
*) ptr
;
5928 dest
= (wxObject
*) src
;
5929 return (void *) dest
;
5932 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5933 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
* _resultobj
;
5935 wxPyProcess
* _result
;
5936 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5937 int _arg1
= (int ) -1;
5938 PyObject
* _argo0
= 0;
5939 char *_kwnames
[] = { "parent","id", NULL
};
5943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) return NULL
;
5959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5960 _resultobj
= Py_BuildValue("s",_ptemp
);
5963 _resultobj
= Py_None
;
5968 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5969 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5971 wxPyProcess
* _arg0
;
5972 PyObject
* _argo0
= 0;
5973 char *_kwnames
[] = { "self", NULL
};
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 wxPyProcess_Destroy(_arg0
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) return NULL
;
5991 } Py_INCREF(Py_None
);
5992 _resultobj
= Py_None
;
5996 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5997 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
* _resultobj
;
5999 wxPyProcess
* _arg0
;
6002 PyObject
* _argo0
= 0;
6003 PyObject
* _obj1
= 0;
6004 PyObject
* _obj2
= 0;
6005 char *_kwnames
[] = { "self","self","_class", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) return NULL
;
6029 } Py_INCREF(Py_None
);
6030 _resultobj
= Py_None
;
6034 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6035 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6037 wxPyProcess
* _arg0
;
6040 PyObject
* _argo0
= 0;
6041 char *_kwnames
[] = { "self","pid","status", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) return NULL
;
6059 } Py_INCREF(Py_None
);
6060 _resultobj
= Py_None
;
6064 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6065 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6067 wxPyProcess
* _arg0
;
6068 PyObject
* _argo0
= 0;
6069 char *_kwnames
[] = { "self", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 wxProcess_Redirect(_arg0
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) return NULL
;
6087 } Py_INCREF(Py_None
);
6088 _resultobj
= Py_None
;
6092 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6093 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6096 wxPyProcess
* _arg0
;
6097 PyObject
* _argo0
= 0;
6098 char *_kwnames
[] = { "self", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) return NULL
;
6116 } _resultobj
= Py_BuildValue("i",_result
);
6120 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6121 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6123 wxPyProcess
* _arg0
;
6124 PyObject
* _argo0
= 0;
6125 char *_kwnames
[] = { "self", NULL
};
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 wxProcess_Detach(_arg0
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) return NULL
;
6143 } Py_INCREF(Py_None
);
6144 _resultobj
= Py_None
;
6148 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6149 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
* _resultobj
;
6151 wxInputStream
* _result
;
6152 wxPyProcess
* _arg0
;
6153 PyObject
* _argo0
= 0;
6154 char *_kwnames
[] = { "self", NULL
};
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) return NULL
;
6173 wxPyInputStream
* _ptr
= NULL
;
6176 _ptr
= new wxPyInputStream(_result
);
6178 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6183 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6184 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6186 wxInputStream
* _result
;
6187 wxPyProcess
* _arg0
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) return NULL
;
6208 wxPyInputStream
* _ptr
= NULL
;
6211 _ptr
= new wxPyInputStream(_result
);
6213 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6218 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6219 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
* _resultobj
;
6221 wxOutputStream
* _result
;
6222 wxPyProcess
* _arg0
;
6223 PyObject
* _argo0
= 0;
6224 char *_kwnames
[] = { "self", NULL
};
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6245 _resultobj
= Py_BuildValue("s",_ptemp
);
6248 _resultobj
= Py_None
;
6253 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6254 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6256 wxPyProcess
* _arg0
;
6257 PyObject
* _argo0
= 0;
6258 char *_kwnames
[] = { "self", NULL
};
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 wxProcess_CloseOutput(_arg0
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) return NULL
;
6276 } Py_INCREF(Py_None
);
6277 _resultobj
= Py_None
;
6281 static void *SwigwxJoystickTowxObject(void *ptr
) {
6284 src
= (wxJoystick
*) ptr
;
6285 dest
= (wxObject
*) src
;
6286 return (void *) dest
;
6289 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6290 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6292 wxJoystick
* _result
;
6293 int _arg0
= (int ) wxJOYSTICK1
;
6294 char *_kwnames
[] = { "joystick", NULL
};
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) return NULL
;
6307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6308 _resultobj
= Py_BuildValue("s",_ptemp
);
6311 _resultobj
= Py_None
;
6316 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6317 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6320 PyObject
* _argo0
= 0;
6321 char *_kwnames
[] = { "self", NULL
};
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 delete_wxJoystick(_arg0
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) return NULL
;
6339 } Py_INCREF(Py_None
);
6340 _resultobj
= Py_None
;
6344 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6345 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
* _resultobj
;
6349 PyObject
* _argo0
= 0;
6350 char *_kwnames
[] = { "self", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6370 _resultobj
= Py_BuildValue("s",_ptemp
);
6374 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6375 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self", NULL
};
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) return NULL
;
6398 } _resultobj
= Py_BuildValue("i",_result
);
6402 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6403 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6407 PyObject
* _argo0
= 0;
6408 char *_kwnames
[] = { "self", NULL
};
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) return NULL
;
6426 } _resultobj
= Py_BuildValue("i",_result
);
6430 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6431 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6435 PyObject
* _argo0
= 0;
6436 char *_kwnames
[] = { "self", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) return NULL
;
6454 } _resultobj
= Py_BuildValue("i",_result
);
6458 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6459 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) return NULL
;
6482 } _resultobj
= Py_BuildValue("i",_result
);
6486 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6487 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
* _resultobj
;
6491 PyObject
* _argo0
= 0;
6492 char *_kwnames
[] = { "self", NULL
};
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) return NULL
;
6510 } _resultobj
= Py_BuildValue("i",_result
);
6514 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6515 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
* _resultobj
;
6519 PyObject
* _argo0
= 0;
6520 char *_kwnames
[] = { "self", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) return NULL
;
6538 } _resultobj
= Py_BuildValue("i",_result
);
6542 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6543 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
* _resultobj
;
6547 PyObject
* _argo0
= 0;
6548 char *_kwnames
[] = { "self", NULL
};
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) return NULL
;
6566 } _resultobj
= Py_BuildValue("i",_result
);
6570 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6571 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6575 PyObject
* _argo0
= 0;
6576 char *_kwnames
[] = { "self", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) return NULL
;
6594 } _resultobj
= Py_BuildValue("i",_result
);
6598 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6599 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6603 PyObject
* _argo0
= 0;
6604 char *_kwnames
[] = { "self","threshold", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) return NULL
;
6622 } Py_INCREF(Py_None
);
6623 _resultobj
= Py_None
;
6627 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6628 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
* _resultobj
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 _result
= (bool )wxJoystick_IsOk(_arg0
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) return NULL
;
6651 } _resultobj
= Py_BuildValue("i",_result
);
6655 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6656 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
* _resultobj
;
6660 PyObject
* _argo0
= 0;
6661 char *_kwnames
[] = { "self", NULL
};
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) return NULL
;
6679 } _resultobj
= Py_BuildValue("i",_result
);
6683 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6684 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6688 PyObject
* _argo0
= 0;
6689 char *_kwnames
[] = { "self", NULL
};
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) return NULL
;
6707 } _resultobj
= Py_BuildValue("i",_result
);
6711 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6712 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6716 PyObject
* _argo0
= 0;
6717 char *_kwnames
[] = { "self", NULL
};
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6731 _result
= (int )wxJoystick_GetProductId(_arg0
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) return NULL
;
6735 } _resultobj
= Py_BuildValue("i",_result
);
6739 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6740 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6744 PyObject
* _argo0
= 0;
6745 char *_kwnames
[] = { "self", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) return NULL
;
6765 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6767 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6776 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6777 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 _result
= (int )wxJoystick_GetXMin(_arg0
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6800 } _resultobj
= Py_BuildValue("i",_result
);
6804 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6805 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6809 PyObject
* _argo0
= 0;
6810 char *_kwnames
[] = { "self", NULL
};
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 _result
= (int )wxJoystick_GetYMin(_arg0
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) return NULL
;
6828 } _resultobj
= Py_BuildValue("i",_result
);
6832 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6833 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6837 PyObject
* _argo0
= 0;
6838 char *_kwnames
[] = { "self", NULL
};
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 _result
= (int )wxJoystick_GetZMin(_arg0
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6856 } _resultobj
= Py_BuildValue("i",_result
);
6860 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6861 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
* _resultobj
;
6865 PyObject
* _argo0
= 0;
6866 char *_kwnames
[] = { "self", NULL
};
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 _result
= (int )wxJoystick_GetXMax(_arg0
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) return NULL
;
6884 } _resultobj
= Py_BuildValue("i",_result
);
6888 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6889 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
* _resultobj
;
6893 PyObject
* _argo0
= 0;
6894 char *_kwnames
[] = { "self", NULL
};
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 _result
= (int )wxJoystick_GetYMax(_arg0
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) return NULL
;
6912 } _resultobj
= Py_BuildValue("i",_result
);
6916 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6917 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
* _resultobj
;
6921 PyObject
* _argo0
= 0;
6922 char *_kwnames
[] = { "self", NULL
};
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 _result
= (int )wxJoystick_GetZMax(_arg0
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) return NULL
;
6940 } _resultobj
= Py_BuildValue("i",_result
);
6944 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6945 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
* _resultobj
;
6949 PyObject
* _argo0
= 0;
6950 char *_kwnames
[] = { "self", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) return NULL
;
6968 } _resultobj
= Py_BuildValue("i",_result
);
6972 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6973 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6977 PyObject
* _argo0
= 0;
6978 char *_kwnames
[] = { "self", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) return NULL
;
6996 } _resultobj
= Py_BuildValue("i",_result
);
7000 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7001 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7005 PyObject
* _argo0
= 0;
7006 char *_kwnames
[] = { "self", NULL
};
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) return NULL
;
7024 } _resultobj
= Py_BuildValue("i",_result
);
7028 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7029 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
* _resultobj
;
7033 PyObject
* _argo0
= 0;
7034 char *_kwnames
[] = { "self", NULL
};
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) return NULL
;
7052 } _resultobj
= Py_BuildValue("i",_result
);
7056 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7057 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
* _resultobj
;
7061 PyObject
* _argo0
= 0;
7062 char *_kwnames
[] = { "self", NULL
};
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) return NULL
;
7080 } _resultobj
= Py_BuildValue("i",_result
);
7084 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7085 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
* _resultobj
;
7089 PyObject
* _argo0
= 0;
7090 char *_kwnames
[] = { "self", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) return NULL
;
7108 } _resultobj
= Py_BuildValue("i",_result
);
7112 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7113 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
* _resultobj
;
7117 PyObject
* _argo0
= 0;
7118 char *_kwnames
[] = { "self", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) return NULL
;
7136 } _resultobj
= Py_BuildValue("i",_result
);
7140 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7141 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
* _resultobj
;
7145 PyObject
* _argo0
= 0;
7146 char *_kwnames
[] = { "self", NULL
};
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) return NULL
;
7164 } _resultobj
= Py_BuildValue("i",_result
);
7168 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7169 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
* _resultobj
;
7173 PyObject
* _argo0
= 0;
7174 char *_kwnames
[] = { "self", NULL
};
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 _result
= (int )wxJoystick_GetUMin(_arg0
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) return NULL
;
7192 } _resultobj
= Py_BuildValue("i",_result
);
7196 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7197 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
* _resultobj
;
7201 PyObject
* _argo0
= 0;
7202 char *_kwnames
[] = { "self", NULL
};
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 _result
= (int )wxJoystick_GetUMax(_arg0
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) return NULL
;
7220 } _resultobj
= Py_BuildValue("i",_result
);
7224 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7225 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7229 PyObject
* _argo0
= 0;
7230 char *_kwnames
[] = { "self", NULL
};
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 _result
= (int )wxJoystick_GetVMin(_arg0
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) return NULL
;
7248 } _resultobj
= Py_BuildValue("i",_result
);
7252 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7253 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
* _resultobj
;
7257 PyObject
* _argo0
= 0;
7258 char *_kwnames
[] = { "self", NULL
};
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 _result
= (int )wxJoystick_GetVMax(_arg0
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) return NULL
;
7276 } _resultobj
= Py_BuildValue("i",_result
);
7280 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7281 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
* _resultobj
;
7285 PyObject
* _argo0
= 0;
7286 char *_kwnames
[] = { "self", NULL
};
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) return NULL
;
7304 } _resultobj
= Py_BuildValue("i",_result
);
7308 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7309 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7313 PyObject
* _argo0
= 0;
7314 char *_kwnames
[] = { "self", NULL
};
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 _result
= (bool )wxJoystick_HasZ(_arg0
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) return NULL
;
7332 } _resultobj
= Py_BuildValue("i",_result
);
7336 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7337 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
* _resultobj
;
7341 PyObject
* _argo0
= 0;
7342 char *_kwnames
[] = { "self", NULL
};
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 _result
= (bool )wxJoystick_HasU(_arg0
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) return NULL
;
7360 } _resultobj
= Py_BuildValue("i",_result
);
7364 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7365 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
* _resultobj
;
7369 PyObject
* _argo0
= 0;
7370 char *_kwnames
[] = { "self", NULL
};
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 _result
= (bool )wxJoystick_HasV(_arg0
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) return NULL
;
7388 } _resultobj
= Py_BuildValue("i",_result
);
7392 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7393 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7397 PyObject
* _argo0
= 0;
7398 char *_kwnames
[] = { "self", NULL
};
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) return NULL
;
7416 } _resultobj
= Py_BuildValue("i",_result
);
7420 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7421 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
* _resultobj
;
7425 PyObject
* _argo0
= 0;
7426 char *_kwnames
[] = { "self", NULL
};
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) return NULL
;
7444 } _resultobj
= Py_BuildValue("i",_result
);
7448 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7449 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
* _resultobj
;
7453 PyObject
* _argo0
= 0;
7454 char *_kwnames
[] = { "self", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) return NULL
;
7472 } _resultobj
= Py_BuildValue("i",_result
);
7476 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7477 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7482 int _arg2
= (int ) 0;
7483 PyObject
* _argo0
= 0;
7484 PyObject
* _argo1
= 0;
7485 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) return NULL
;
7510 } _resultobj
= Py_BuildValue("i",_result
);
7514 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7515 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
* _resultobj
;
7519 PyObject
* _argo0
= 0;
7520 char *_kwnames
[] = { "self", NULL
};
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) return NULL
;
7538 } _resultobj
= Py_BuildValue("i",_result
);
7542 static void *SwigwxWaveTowxObject(void *ptr
) {
7545 src
= (wxWave
*) ptr
;
7546 dest
= (wxObject
*) src
;
7547 return (void *) dest
;
7550 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7551 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
* _resultobj
;
7555 bool _arg1
= (bool ) FALSE
;
7556 PyObject
* _obj0
= 0;
7557 int tempbool1
= (int) FALSE
;
7558 char *_kwnames
[] = { "fileName","isResource", NULL
};
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7565 _arg0
= wxString_in_helper(_obj0
);
7569 _arg1
= (bool ) tempbool1
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) return NULL
;
7577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7578 _resultobj
= Py_BuildValue("s",_ptemp
);
7581 _resultobj
= Py_None
;
7590 #define delete_wxWave(_swigobj) (delete _swigobj)
7591 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
* _resultobj
;
7594 PyObject
* _argo0
= 0;
7595 char *_kwnames
[] = { "self", NULL
};
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 delete_wxWave(_arg0
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) return NULL
;
7613 } Py_INCREF(Py_None
);
7614 _resultobj
= Py_None
;
7618 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7619 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7623 PyObject
* _argo0
= 0;
7624 char *_kwnames
[] = { "self", NULL
};
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 _result
= (bool )wxWave_IsOk(_arg0
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) return NULL
;
7642 } _resultobj
= Py_BuildValue("i",_result
);
7646 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7647 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7651 bool _arg1
= (bool ) TRUE
;
7652 bool _arg2
= (bool ) FALSE
;
7653 PyObject
* _argo0
= 0;
7654 int tempbool1
= (int) TRUE
;
7655 int tempbool2
= (int) FALSE
;
7656 char *_kwnames
[] = { "self","async","looped", NULL
};
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7668 _arg1
= (bool ) tempbool1
;
7669 _arg2
= (bool ) tempbool2
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) return NULL
;
7676 } _resultobj
= Py_BuildValue("i",_result
);
7680 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7681 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
* _resultobj
;
7683 wxFileTypeInfo
* _result
;
7688 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) return NULL
;
7701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7702 _resultobj
= Py_BuildValue("s",_ptemp
);
7705 _resultobj
= Py_None
;
7710 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7711 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7713 wxFileTypeInfo
* _result
;
7714 wxArrayString
* _arg0
;
7715 PyObject
* _obj0
= 0;
7716 char *_kwnames
[] = { "sArray", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7723 if (! PySequence_Check(_obj0
)) {
7724 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7727 _arg0
= new wxArrayString
;
7728 int i
, len
=PySequence_Length(_obj0
);
7729 for (i
=0; i
<len
; i
++) {
7730 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7732 PyObject
* str
= PyObject_Unicode(item
);
7733 _arg0
->Add(PyUnicode_AsUnicode(str
));
7735 PyObject
* str
= PyObject_Str(item
);
7736 _arg0
->Add(PyString_AsString(str
));
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) return NULL
;
7749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7750 _resultobj
= Py_BuildValue("s",_ptemp
);
7753 _resultobj
= Py_None
;
7762 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7763 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
* _resultobj
;
7765 wxFileTypeInfo
* _result
;
7766 char *_kwnames
[] = { NULL
};
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7780 _resultobj
= Py_BuildValue("s",_ptemp
);
7783 _resultobj
= Py_None
;
7788 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7789 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
* _resultobj
;
7792 wxFileTypeInfo
* _arg0
;
7793 PyObject
* _argo0
= 0;
7794 char *_kwnames
[] = { "self", NULL
};
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) return NULL
;
7812 } _resultobj
= Py_BuildValue("i",_result
);
7816 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7817 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
* _resultobj
;
7819 wxFileTypeInfo
* _arg0
;
7821 int _arg2
= (int ) 0;
7822 PyObject
* _argo0
= 0;
7823 PyObject
* _obj1
= 0;
7824 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7837 _arg1
= wxString_in_helper(_obj1
);
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) return NULL
;
7847 } Py_INCREF(Py_None
);
7848 _resultobj
= Py_None
;
7856 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7857 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
* _resultobj
;
7859 wxFileTypeInfo
* _arg0
;
7861 PyObject
* _argo0
= 0;
7862 PyObject
* _obj1
= 0;
7863 char *_kwnames
[] = { "self","shortDesc", NULL
};
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7876 _arg1
= wxString_in_helper(_obj1
);
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) return NULL
;
7886 } Py_INCREF(Py_None
);
7887 _resultobj
= Py_None
;
7895 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7896 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
* _resultobj
;
7899 wxFileTypeInfo
* _arg0
;
7900 PyObject
* _argo0
= 0;
7901 char *_kwnames
[] = { "self", NULL
};
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7916 _result
= (wxString
*) &_result_ref
;
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) return NULL
;
7922 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7924 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7930 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7931 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
* _resultobj
;
7934 wxFileTypeInfo
* _arg0
;
7935 PyObject
* _argo0
= 0;
7936 char *_kwnames
[] = { "self", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7951 _result
= (wxString
*) &_result_ref
;
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) return NULL
;
7957 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7959 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7965 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7966 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
* _resultobj
;
7969 wxFileTypeInfo
* _arg0
;
7970 PyObject
* _argo0
= 0;
7971 char *_kwnames
[] = { "self", NULL
};
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7986 _result
= (wxString
*) &_result_ref
;
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) return NULL
;
7992 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7994 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8000 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8001 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
* _resultobj
;
8004 wxFileTypeInfo
* _arg0
;
8005 PyObject
* _argo0
= 0;
8006 char *_kwnames
[] = { "self", NULL
};
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8021 _result
= (wxString
*) &_result_ref
;
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) return NULL
;
8027 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8029 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8035 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8036 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
* _resultobj
;
8039 wxFileTypeInfo
* _arg0
;
8040 PyObject
* _argo0
= 0;
8041 char *_kwnames
[] = { "self", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8056 _result
= (wxString
*) &_result_ref
;
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) return NULL
;
8062 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8064 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8070 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8071 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8072 return wxArrayString2PyList_helper(arr
);
8074 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
* _resultobj
;
8077 wxFileTypeInfo
* _arg0
;
8078 PyObject
* _argo0
= 0;
8079 char *_kwnames
[] = { "self", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) return NULL
;
8098 _resultobj
= _result
;
8103 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8104 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
* _resultobj
;
8107 wxFileTypeInfo
* _arg0
;
8108 PyObject
* _argo0
= 0;
8109 char *_kwnames
[] = { "self", NULL
};
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) return NULL
;
8127 } _resultobj
= Py_BuildValue("i",_result
);
8131 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8132 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
* _resultobj
;
8135 wxFileTypeInfo
* _arg0
;
8136 PyObject
* _argo0
= 0;
8137 char *_kwnames
[] = { "self", NULL
};
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8152 _result
= (wxString
*) &_result_ref
;
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) return NULL
;
8158 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8160 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8166 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8167 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
* _resultobj
;
8170 wxFileTypeInfo
* _arg0
;
8171 PyObject
* _argo0
= 0;
8172 char *_kwnames
[] = { "self", NULL
};
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) return NULL
;
8190 } _resultobj
= Py_BuildValue("i",_result
);
8194 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8195 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
* _resultobj
;
8197 wxFileType
* _result
;
8198 wxFileTypeInfo
* _arg0
;
8199 PyObject
* _argo0
= 0;
8200 char *_kwnames
[] = { "ftInfo", NULL
};
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) return NULL
;
8220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8221 _resultobj
= Py_BuildValue("s",_ptemp
);
8224 _resultobj
= Py_None
;
8229 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8231 if (self
->GetMimeType(&str
)) {
8233 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8235 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8241 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8245 PyObject
* _argo0
= 0;
8246 char *_kwnames
[] = { "self", NULL
};
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) return NULL
;
8265 _resultobj
= _result
;
8270 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8272 if (self
->GetMimeTypes(arr
))
8273 return wxArrayString2PyList_helper(arr
);
8277 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
* _resultobj
;
8281 PyObject
* _argo0
= 0;
8282 char *_kwnames
[] = { "self", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) return NULL
;
8301 _resultobj
= _result
;
8306 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8308 if (self
->GetExtensions(arr
))
8309 return wxArrayString2PyList_helper(arr
);
8313 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
* _resultobj
;
8317 PyObject
* _argo0
= 0;
8318 char *_kwnames
[] = { "self", NULL
};
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) return NULL
;
8337 _resultobj
= _result
;
8342 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8344 if (self
->GetIcon(&icon
))
8345 return new wxIcon(icon
);
8349 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
* _resultobj
;
8353 PyObject
* _argo0
= 0;
8354 char *_kwnames
[] = { "self", NULL
};
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) return NULL
;
8374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8375 _resultobj
= Py_BuildValue("s",_ptemp
);
8378 _resultobj
= Py_None
;
8383 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8387 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8388 wxPyBeginBlockThreads();
8389 PyObject
* tuple
= PyTuple_New(3);
8390 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8393 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8395 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8397 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8398 wxPyEndBlockThreads();
8404 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
* _resultobj
;
8408 PyObject
* _argo0
= 0;
8409 char *_kwnames
[] = { "self", NULL
};
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) return NULL
;
8428 _resultobj
= _result
;
8433 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8435 if (self
->GetDescription(&str
)) {
8437 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8439 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8444 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
* _resultobj
;
8448 PyObject
* _argo0
= 0;
8449 char *_kwnames
[] = { "self", NULL
};
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) return NULL
;
8468 _resultobj
= _result
;
8473 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8475 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8477 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8479 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8484 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
* _resultobj
;
8489 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8490 PyObject
* _argo0
= 0;
8491 PyObject
* _obj1
= 0;
8492 PyObject
* _obj2
= 0;
8493 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8506 _arg1
= wxString_in_helper(_obj1
);
8512 _arg2
= wxString_in_helper(_obj2
);
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) return NULL
;
8523 _resultobj
= _result
;
8536 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8538 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8540 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8542 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8547 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
* _resultobj
;
8552 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8553 PyObject
* _argo0
= 0;
8554 PyObject
* _obj1
= 0;
8555 PyObject
* _obj2
= 0;
8556 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8569 _arg1
= wxString_in_helper(_obj1
);
8575 _arg2
= wxString_in_helper(_obj2
);
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) return NULL
;
8586 _resultobj
= _result
;
8599 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8600 wxArrayString verbs
;
8601 wxArrayString commands
;
8602 if (self
->GetAllCommands(&verbs
, &commands
,
8603 wxFileType::MessageParameters(filename
, mimetype
))) {
8604 wxPyBeginBlockThreads();
8605 PyObject
* tuple
= PyTuple_New(2);
8606 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8607 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8608 wxPyEndBlockThreads();
8614 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
* _resultobj
;
8619 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8620 PyObject
* _argo0
= 0;
8621 PyObject
* _obj1
= 0;
8622 PyObject
* _obj2
= 0;
8623 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8636 _arg1
= wxString_in_helper(_obj1
);
8642 _arg2
= wxString_in_helper(_obj2
);
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) return NULL
;
8653 _resultobj
= _result
;
8666 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8667 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
* _resultobj
;
8673 bool _arg3
= (bool ) TRUE
;
8674 PyObject
* _argo0
= 0;
8675 PyObject
* _obj1
= 0;
8676 PyObject
* _obj2
= 0;
8677 int tempbool3
= (int) TRUE
;
8678 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8691 _arg1
= wxString_in_helper(_obj1
);
8696 _arg2
= wxString_in_helper(_obj2
);
8700 _arg3
= (bool ) tempbool3
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) return NULL
;
8707 } _resultobj
= Py_BuildValue("i",_result
);
8719 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8720 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
* _resultobj
;
8724 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8725 int _arg2
= (int ) 0;
8726 PyObject
* _argo0
= 0;
8727 PyObject
* _obj1
= 0;
8728 char *_kwnames
[] = { "self","cmd","index", NULL
};
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8742 _arg1
= wxString_in_helper(_obj1
);
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) return NULL
;
8752 } _resultobj
= Py_BuildValue("i",_result
);
8760 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8761 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8765 PyObject
* _argo0
= 0;
8766 char *_kwnames
[] = { "self", NULL
};
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 _result
= (bool )wxFileType_Unassociate(_arg0
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) return NULL
;
8784 } _resultobj
= Py_BuildValue("i",_result
);
8788 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
* _resultobj
;
8792 wxFileType::MessageParameters
* _arg1
;
8793 PyObject
* _obj0
= 0;
8794 PyObject
* _argo1
= 0;
8795 char *_kwnames
[] = { "command","params", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8801 _arg0
= wxString_in_helper(_obj0
);
8806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) return NULL
;
8820 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8822 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8835 #define delete_wxFileType(_swigobj) (delete _swigobj)
8836 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
* _resultobj
;
8839 PyObject
* _argo0
= 0;
8840 char *_kwnames
[] = { "self", NULL
};
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 delete_wxFileType(_arg0
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) return NULL
;
8858 } Py_INCREF(Py_None
);
8859 _resultobj
= Py_None
;
8863 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
* _resultobj
;
8868 PyObject
* _obj0
= 0;
8869 PyObject
* _obj1
= 0;
8870 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8876 _arg0
= wxString_in_helper(_obj0
);
8881 _arg1
= wxString_in_helper(_obj1
);
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) return NULL
;
8891 } _resultobj
= Py_BuildValue("i",_result
);
8903 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8904 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
* _resultobj
;
8906 wxMimeTypesManager
* _result
;
8907 char *_kwnames
[] = { NULL
};
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) return NULL
;
8920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8921 _resultobj
= Py_BuildValue("s",_ptemp
);
8924 _resultobj
= Py_None
;
8929 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8930 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
* _resultobj
;
8932 wxMimeTypesManager
* _arg0
;
8933 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8934 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8935 PyObject
* _argo0
= 0;
8936 PyObject
* _obj2
= 0;
8937 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8951 _arg2
= wxString_in_helper(_obj2
);
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) return NULL
;
8961 } Py_INCREF(Py_None
);
8962 _resultobj
= Py_None
;
8970 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8971 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
* _resultobj
;
8973 wxMimeTypesManager
* _arg0
;
8974 PyObject
* _argo0
= 0;
8975 char *_kwnames
[] = { "self", NULL
};
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 wxMimeTypesManager_ClearData(_arg0
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) return NULL
;
8993 } Py_INCREF(Py_None
);
8994 _resultobj
= Py_None
;
8998 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8999 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
* _resultobj
;
9001 wxFileType
* _result
;
9002 wxMimeTypesManager
* _arg0
;
9004 PyObject
* _argo0
= 0;
9005 PyObject
* _obj1
= 0;
9006 char *_kwnames
[] = { "self","ext", NULL
};
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9020 _arg1
= wxString_in_helper(_obj1
);
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) return NULL
;
9031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9032 _resultobj
= Py_BuildValue("s",_ptemp
);
9035 _resultobj
= Py_None
;
9044 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9045 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
* _resultobj
;
9047 wxFileType
* _result
;
9048 wxMimeTypesManager
* _arg0
;
9050 PyObject
* _argo0
= 0;
9051 PyObject
* _obj1
= 0;
9052 char *_kwnames
[] = { "self","mimeType", NULL
};
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9066 _arg1
= wxString_in_helper(_obj1
);
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) return NULL
;
9077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9078 _resultobj
= Py_BuildValue("s",_ptemp
);
9081 _resultobj
= Py_None
;
9090 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9091 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
* _resultobj
;
9094 wxMimeTypesManager
* _arg0
;
9096 bool _arg2
= (bool ) FALSE
;
9097 PyObject
* _argo0
= 0;
9098 PyObject
* _obj1
= 0;
9099 int tempbool2
= (int) FALSE
;
9100 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9113 _arg1
= wxString_in_helper(_obj1
);
9117 _arg2
= (bool ) tempbool2
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) return NULL
;
9124 } _resultobj
= Py_BuildValue("i",_result
);
9132 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9133 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
* _resultobj
;
9136 wxMimeTypesManager
* _arg0
;
9138 PyObject
* _argo0
= 0;
9139 PyObject
* _obj1
= 0;
9140 char *_kwnames
[] = { "self","filename", NULL
};
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9153 _arg1
= wxString_in_helper(_obj1
);
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) return NULL
;
9163 } _resultobj
= Py_BuildValue("i",_result
);
9171 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9173 self
->EnumAllFileTypes(arr
);
9174 return wxArrayString2PyList_helper(arr
);
9176 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
* _resultobj
;
9179 wxMimeTypesManager
* _arg0
;
9180 PyObject
* _argo0
= 0;
9181 char *_kwnames
[] = { "self", NULL
};
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) return NULL
;
9200 _resultobj
= _result
;
9205 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9206 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
* _resultobj
;
9208 wxMimeTypesManager
* _arg0
;
9209 wxFileTypeInfo
* _arg1
;
9210 PyObject
* _argo0
= 0;
9211 PyObject
* _argo1
= 0;
9212 char *_kwnames
[] = { "self","ft", NULL
};
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) return NULL
;
9237 } Py_INCREF(Py_None
);
9238 _resultobj
= Py_None
;
9242 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9243 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
* _resultobj
;
9245 wxFileType
* _result
;
9246 wxMimeTypesManager
* _arg0
;
9247 wxFileTypeInfo
* _arg1
;
9248 PyObject
* _argo0
= 0;
9249 PyObject
* _argo1
= 0;
9250 char *_kwnames
[] = { "self","ftInfo", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) return NULL
;
9277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9278 _resultobj
= Py_BuildValue("s",_ptemp
);
9281 _resultobj
= Py_None
;
9286 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9287 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
* _resultobj
;
9290 wxMimeTypesManager
* _arg0
;
9292 PyObject
* _argo0
= 0;
9293 PyObject
* _argo1
= 0;
9294 char *_kwnames
[] = { "self","ft", NULL
};
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) return NULL
;
9319 } _resultobj
= Py_BuildValue("i",_result
);
9323 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9324 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
* _resultobj
;
9326 wxMimeTypesManager
* _arg0
;
9327 PyObject
* _argo0
= 0;
9328 char *_kwnames
[] = { "self", NULL
};
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 delete_wxMimeTypesManager(_arg0
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) return NULL
;
9346 } Py_INCREF(Py_None
);
9347 _resultobj
= Py_None
;
9351 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9354 src
= (wxFileHistory
*) ptr
;
9355 dest
= (wxObject
*) src
;
9356 return (void *) dest
;
9359 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9360 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
* _resultobj
;
9362 wxFileHistory
* _result
;
9363 int _arg0
= (int ) 9;
9364 char *_kwnames
[] = { "maxFiles", NULL
};
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) return NULL
;
9377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9378 _resultobj
= Py_BuildValue("s",_ptemp
);
9381 _resultobj
= Py_None
;
9386 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9387 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
* _resultobj
;
9389 wxFileHistory
* _arg0
;
9390 PyObject
* _argo0
= 0;
9391 char *_kwnames
[] = { "self", NULL
};
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 delete_wxFileHistory(_arg0
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) return NULL
;
9409 } Py_INCREF(Py_None
);
9410 _resultobj
= Py_None
;
9414 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9415 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
* _resultobj
;
9417 wxFileHistory
* _arg0
;
9419 PyObject
* _argo0
= 0;
9420 PyObject
* _obj1
= 0;
9421 char *_kwnames
[] = { "self","file", NULL
};
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9434 _arg1
= wxString_in_helper(_obj1
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) return NULL
;
9444 } Py_INCREF(Py_None
);
9445 _resultobj
= Py_None
;
9453 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9454 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9456 wxFileHistory
* _arg0
;
9458 PyObject
* _argo0
= 0;
9459 char *_kwnames
[] = { "self","i", NULL
};
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) return NULL
;
9477 } Py_INCREF(Py_None
);
9478 _resultobj
= Py_None
;
9482 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9483 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
* _resultobj
;
9486 wxFileHistory
* _arg0
;
9487 PyObject
* _argo0
= 0;
9488 char *_kwnames
[] = { "self", NULL
};
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) return NULL
;
9506 } _resultobj
= Py_BuildValue("i",_result
);
9510 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9511 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
* _resultobj
;
9513 wxFileHistory
* _arg0
;
9515 PyObject
* _argo0
= 0;
9516 PyObject
* _argo1
= 0;
9517 char *_kwnames
[] = { "self","menu", NULL
};
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 wxFileHistory_UseMenu(_arg0
,_arg1
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) return NULL
;
9542 } Py_INCREF(Py_None
);
9543 _resultobj
= Py_None
;
9547 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9548 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
* _resultobj
;
9550 wxFileHistory
* _arg0
;
9552 PyObject
* _argo0
= 0;
9553 PyObject
* _argo1
= 0;
9554 char *_kwnames
[] = { "self","menu", NULL
};
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) return NULL
;
9579 } Py_INCREF(Py_None
);
9580 _resultobj
= Py_None
;
9584 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9585 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
* _resultobj
;
9587 wxFileHistory
* _arg0
;
9588 wxConfigBase
* _arg1
;
9589 PyObject
* _argo0
= 0;
9590 PyObject
* _argo1
= 0;
9591 char *_kwnames
[] = { "self","config", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 wxFileHistory_Load(_arg0
,*_arg1
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) return NULL
;
9616 } Py_INCREF(Py_None
);
9617 _resultobj
= Py_None
;
9621 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9622 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
* _resultobj
;
9624 wxFileHistory
* _arg0
;
9625 wxConfigBase
* _arg1
;
9626 PyObject
* _argo0
= 0;
9627 PyObject
* _argo1
= 0;
9628 char *_kwnames
[] = { "self","config", NULL
};
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 wxFileHistory_Save(_arg0
,*_arg1
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) return NULL
;
9653 } Py_INCREF(Py_None
);
9654 _resultobj
= Py_None
;
9658 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9659 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
* _resultobj
;
9661 wxFileHistory
* _arg0
;
9662 PyObject
* _argo0
= 0;
9663 char *_kwnames
[] = { "self", NULL
};
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 wxFileHistory_AddFilesToMenu(_arg0
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) return NULL
;
9681 } Py_INCREF(Py_None
);
9682 _resultobj
= Py_None
;
9686 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9687 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
* _resultobj
;
9689 wxFileHistory
* _arg0
;
9691 PyObject
* _argo0
= 0;
9692 PyObject
* _argo1
= 0;
9693 char *_kwnames
[] = { "self","menu", NULL
};
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) return NULL
;
9718 } Py_INCREF(Py_None
);
9719 _resultobj
= Py_None
;
9723 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9724 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
* _resultobj
;
9727 wxFileHistory
* _arg0
;
9729 PyObject
* _argo0
= 0;
9730 char *_kwnames
[] = { "self","i", NULL
};
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) return NULL
;
9750 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9752 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9761 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9762 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
* _resultobj
;
9765 wxFileHistory
* _arg0
;
9766 PyObject
* _argo0
= 0;
9767 char *_kwnames
[] = { "self", NULL
};
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 _result
= (int )wxFileHistory_GetCount(_arg0
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) return NULL
;
9785 } _resultobj
= Py_BuildValue("i",_result
);
9789 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9790 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
* _resultobj
;
9793 wxFileHistory
* _arg0
;
9794 PyObject
* _argo0
= 0;
9795 char *_kwnames
[] = { "self", NULL
};
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) return NULL
;
9813 } _resultobj
= Py_BuildValue("i",_result
);
9817 static PyMethodDef misc2cMethods
[] = {
9818 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10117 * This table is used by the pointer type-checker
10119 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10120 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10121 { "_signed_long","_long",0},
10122 { "_wxPrintQuality","_wxCoord",0},
10123 { "_wxPrintQuality","_int",0},
10124 { "_wxPrintQuality","_signed_int",0},
10125 { "_wxPrintQuality","_unsigned_int",0},
10126 { "_wxPrintQuality","_wxWindowID",0},
10127 { "_wxPrintQuality","_uint",0},
10128 { "_wxPrintQuality","_EBool",0},
10129 { "_wxPrintQuality","_size_t",0},
10130 { "_wxPrintQuality","_time_t",0},
10131 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10132 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10133 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10134 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10135 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10136 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10137 { "_byte","_unsigned_char",0},
10138 { "_long","_unsigned_long",0},
10139 { "_long","_signed_long",0},
10140 { "_size_t","_wxCoord",0},
10141 { "_size_t","_wxPrintQuality",0},
10142 { "_size_t","_time_t",0},
10143 { "_size_t","_unsigned_int",0},
10144 { "_size_t","_int",0},
10145 { "_size_t","_wxWindowID",0},
10146 { "_size_t","_uint",0},
10147 { "_uint","_wxCoord",0},
10148 { "_uint","_wxPrintQuality",0},
10149 { "_uint","_time_t",0},
10150 { "_uint","_size_t",0},
10151 { "_uint","_unsigned_int",0},
10152 { "_uint","_int",0},
10153 { "_uint","_wxWindowID",0},
10154 { "_wxChar","_char",0},
10155 { "_char","_wxChar",0},
10156 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10157 { "_EBool","_wxCoord",0},
10158 { "_EBool","_wxPrintQuality",0},
10159 { "_EBool","_signed_int",0},
10160 { "_EBool","_int",0},
10161 { "_EBool","_wxWindowID",0},
10162 { "_unsigned_long","_long",0},
10163 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10164 { "_signed_int","_wxCoord",0},
10165 { "_signed_int","_wxPrintQuality",0},
10166 { "_signed_int","_EBool",0},
10167 { "_signed_int","_wxWindowID",0},
10168 { "_signed_int","_int",0},
10169 { "_WXTYPE","_wxDateTime_t",0},
10170 { "_WXTYPE","_short",0},
10171 { "_WXTYPE","_signed_short",0},
10172 { "_WXTYPE","_unsigned_short",0},
10173 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10174 { "_unsigned_short","_wxDateTime_t",0},
10175 { "_unsigned_short","_WXTYPE",0},
10176 { "_unsigned_short","_short",0},
10177 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10178 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10179 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10180 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10181 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10182 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10183 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10184 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10185 { "_signed_short","_WXTYPE",0},
10186 { "_signed_short","_short",0},
10187 { "_unsigned_char","_byte",0},
10188 { "_unsigned_int","_wxCoord",0},
10189 { "_unsigned_int","_wxPrintQuality",0},
10190 { "_unsigned_int","_time_t",0},
10191 { "_unsigned_int","_size_t",0},
10192 { "_unsigned_int","_uint",0},
10193 { "_unsigned_int","_wxWindowID",0},
10194 { "_unsigned_int","_int",0},
10195 { "_short","_wxDateTime_t",0},
10196 { "_short","_WXTYPE",0},
10197 { "_short","_unsigned_short",0},
10198 { "_short","_signed_short",0},
10199 { "_wxWindowID","_wxCoord",0},
10200 { "_wxWindowID","_wxPrintQuality",0},
10201 { "_wxWindowID","_time_t",0},
10202 { "_wxWindowID","_size_t",0},
10203 { "_wxWindowID","_EBool",0},
10204 { "_wxWindowID","_uint",0},
10205 { "_wxWindowID","_int",0},
10206 { "_wxWindowID","_signed_int",0},
10207 { "_wxWindowID","_unsigned_int",0},
10208 { "_int","_wxCoord",0},
10209 { "_int","_wxPrintQuality",0},
10210 { "_int","_time_t",0},
10211 { "_int","_size_t",0},
10212 { "_int","_EBool",0},
10213 { "_int","_uint",0},
10214 { "_int","_wxWindowID",0},
10215 { "_int","_unsigned_int",0},
10216 { "_int","_signed_int",0},
10217 { "_wxDateTime_t","_unsigned_short",0},
10218 { "_wxDateTime_t","_short",0},
10219 { "_wxDateTime_t","_WXTYPE",0},
10220 { "_time_t","_wxCoord",0},
10221 { "_time_t","_wxPrintQuality",0},
10222 { "_time_t","_unsigned_int",0},
10223 { "_time_t","_int",0},
10224 { "_time_t","_wxWindowID",0},
10225 { "_time_t","_uint",0},
10226 { "_time_t","_size_t",0},
10227 { "_wxCoord","_int",0},
10228 { "_wxCoord","_signed_int",0},
10229 { "_wxCoord","_unsigned_int",0},
10230 { "_wxCoord","_wxWindowID",0},
10231 { "_wxCoord","_uint",0},
10232 { "_wxCoord","_EBool",0},
10233 { "_wxCoord","_size_t",0},
10234 { "_wxCoord","_time_t",0},
10235 { "_wxCoord","_wxPrintQuality",0},
10236 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10239 static PyObject
*SWIG_globals
;
10243 SWIGEXPORT(void) initmisc2c() {
10245 SWIG_globals
= SWIG_newvarlink();
10246 m
= Py_InitModule("misc2c", misc2cMethods
);
10247 d
= PyModule_GetDict(m
);
10248 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10249 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10250 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10251 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10252 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10253 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10254 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10255 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10256 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10257 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10258 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10259 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10260 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10261 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10262 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10263 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10264 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10265 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10266 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10267 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10268 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10269 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10270 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10271 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10272 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10273 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10274 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10275 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10276 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10277 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10278 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10279 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10280 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10281 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10282 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10283 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10284 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10285 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10286 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10287 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10288 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10289 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10290 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10291 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10292 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10293 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10294 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10295 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10296 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10297 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10298 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10299 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10300 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10301 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10302 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10303 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10304 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10305 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10306 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10307 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10308 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10309 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10310 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10311 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10312 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10313 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10314 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10315 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10316 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10317 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10318 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10319 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10320 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10321 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10322 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10323 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10324 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10325 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10326 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10327 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10328 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10329 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10330 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10331 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10332 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10333 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10334 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10335 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10336 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10337 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10338 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10339 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10340 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10341 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10342 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10343 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10344 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10345 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10346 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10347 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10348 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10349 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10350 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10352 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10353 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10354 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10357 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10358 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);