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/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
74 #include <wx/mimetype.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 // Put some wx default wxChar* values into wxStrings.
104 DECLARE_DEF_STRING(FileSelectorPromptStr
);
105 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
106 DECLARE_DEF_STRING(DirSelectorPromptStr
);
107 static const wxString
wxPyEmptyString(wxT(""));
109 int wxCaret_GetBlinkTime() {
110 return wxCaret::GetBlinkTime();
113 void wxCaret_SetBlinkTime(int milliseconds
) {
114 wxCaret::SetBlinkTime(milliseconds
);
117 bool wxThread_IsMain() {
118 #ifdef WXP_WITH_THREAD
119 return wxThread::IsMain();
125 class wxPyTipProvider
: public wxTipProvider
{
127 wxPyTipProvider(size_t currentTip
)
128 : wxTipProvider(currentTip
) {}
130 DEC_PYCALLBACK_STRING__pure(GetTip
);
135 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
138 #include <wx/generic/dragimgg.h>
140 // A wxLog class that can be derived from in wxPython
141 class wxPyLog
: public wxLog
{
143 wxPyLog() : wxLog() {}
145 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
147 wxPyBeginBlockThreads();
148 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
149 PyObject
* s
= wx2PyString(szString
);
150 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
153 wxPyEndBlockThreads();
155 wxLog::DoLog(level
, szString
, t
);
158 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
160 wxPyBeginBlockThreads();
161 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
162 PyObject
* s
= wx2PyString(szString
);
163 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
166 wxPyEndBlockThreads();
168 wxLog::DoLogString(szString
, t
);
173 // C++ version of wxProcess derived class
175 class wxPyProcess
: public wxProcess
{
177 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
178 : wxProcess(parent
, id
)
181 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
186 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
189 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
190 // A C++ stub class for wxJoystick for platforms that don't have it.
191 class wxJoystick
: public wxObject
{
193 wxJoystick(int joystick
= wxJOYSTICK1
) {
194 wxPyBeginBlockThreads();
195 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
196 wxPyEndBlockThreads();
198 wxPoint
GetPosition() { return wxPoint(-1,-1); }
199 int GetZPosition() { return -1; }
200 int GetButtonState() { return -1; }
201 int GetPOVPosition() { return -1; }
202 int GetPOVCTSPosition() { return -1; }
203 int GetRudderPosition() { return -1; }
204 int GetUPosition() { return -1; }
205 int GetVPosition() { return -1; }
206 int GetMovementThreshold() { return -1; }
207 void SetMovementThreshold(int threshold
) {}
209 bool IsOk(void) { return FALSE
; }
210 int GetNumberJoysticks() { return -1; }
211 int GetManufacturerId() { return -1; }
212 int GetProductId() { return -1; }
213 wxString
GetProductName() { return ""; }
214 int GetXMin() { return -1; }
215 int GetYMin() { return -1; }
216 int GetZMin() { return -1; }
217 int GetXMax() { return -1; }
218 int GetYMax() { return -1; }
219 int GetZMax() { return -1; }
220 int GetNumberButtons() { return -1; }
221 int GetNumberAxes() { return -1; }
222 int GetMaxButtons() { return -1; }
223 int GetMaxAxes() { return -1; }
224 int GetPollingMin() { return -1; }
225 int GetPollingMax() { return -1; }
226 int GetRudderMin() { return -1; }
227 int GetRudderMax() { return -1; }
228 int GetUMin() { return -1; }
229 int GetUMax() { return -1; }
230 int GetVMin() { return -1; }
231 int GetVMax() { return -1; }
233 bool HasRudder() { return FALSE
; }
234 bool HasZ() { return FALSE
; }
235 bool HasU() { return FALSE
; }
236 bool HasV() { return FALSE
; }
237 bool HasPOV() { return FALSE
; }
238 bool HasPOV4Dir() { return FALSE
; }
239 bool HasPOVCTS() { return FALSE
; }
241 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
242 bool ReleaseCapture() { return FALSE
; }
247 // A C++ stub class for wxWave for platforms that don't have it.
248 class wxWave
: public wxObject
251 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
252 wxPyBeginBlockThreads();
253 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
254 wxPyEndBlockThreads();
256 wxWave(int size
, const wxByte
* data
) {
257 wxPyBeginBlockThreads();
258 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
259 wxPyEndBlockThreads();
264 bool IsOk() const { return FALSE
; }
265 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
269 // Implementations of some alternate "constructors"
270 wxWave
* wxWaveData(const wxString
& data
) {
271 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
275 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
279 #include <wx/artprov.h>
281 DECLARE_DEF_STRING(ART_OTHER
);
283 // Python aware wxArtProvider
284 class wxPyArtProvider
: public wxArtProvider
{
287 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
288 const wxArtClient
& client
,
289 const wxSize
& size
) {
290 wxBitmap rval
= wxNullBitmap
;
291 wxPyBeginBlockThreads();
292 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
293 PyObject
* so
= wxPyConstructObject((void*)&size
, "wxSize", 0);
297 s1
= wx2PyString(id
);
298 s2
= wx2PyString(client
);
299 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
304 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
309 wxPyEndBlockThreads();
316 #include <wx/docview.h>
320 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
324 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
325 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
326 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
327 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
328 int _arg5
= (int ) 0;
329 wxWindow
* _arg6
= (wxWindow
*) NULL
;
330 int _arg7
= (int ) -1;
331 int _arg8
= (int ) -1;
332 PyObject
* _obj0
= 0;
333 PyObject
* _obj1
= 0;
334 PyObject
* _obj2
= 0;
335 PyObject
* _obj3
= 0;
336 PyObject
* _obj4
= 0;
337 PyObject
* _argo6
= 0;
338 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
345 _arg0
= wxString_in_helper(_obj0
);
351 _arg1
= wxString_in_helper(_obj1
);
357 _arg2
= wxString_in_helper(_obj2
);
363 _arg3
= wxString_in_helper(_obj3
);
369 _arg4
= wxString_in_helper(_obj4
);
374 if (_argo6
== Py_None
) { _arg6
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
388 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
390 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
419 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
424 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
425 wxWindow
* _arg3
= (wxWindow
*) NULL
;
426 PyObject
* _obj0
= 0;
427 PyObject
* _obj1
= 0;
428 PyObject
* _obj2
= 0;
429 PyObject
* _argo3
= 0;
430 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
436 _arg0
= wxString_in_helper(_obj0
);
441 _arg1
= wxString_in_helper(_obj1
);
447 _arg2
= wxString_in_helper(_obj2
);
452 if (_argo3
== Py_None
) { _arg3
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
460 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
462 wxPyEndAllowThreads(__tstate
);
463 if (PyErr_Occurred()) return NULL
;
466 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
468 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
489 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
494 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
495 wxWindow
* _arg3
= (wxWindow
*) NULL
;
496 PyObject
* _obj0
= 0;
497 PyObject
* _obj1
= 0;
498 PyObject
* _obj2
= 0;
499 PyObject
* _argo3
= 0;
500 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
506 _arg0
= wxString_in_helper(_obj0
);
511 _arg1
= wxString_in_helper(_obj1
);
517 _arg2
= wxString_in_helper(_obj2
);
522 if (_argo3
== Py_None
) { _arg3
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
530 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
532 wxPyEndAllowThreads(__tstate
);
533 if (PyErr_Occurred()) return NULL
;
536 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
538 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
559 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
562 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
563 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
564 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
565 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
566 wxWindow
* _arg4
= (wxWindow
*) NULL
;
567 PyObject
* _obj0
= 0;
568 PyObject
* _obj1
= 0;
570 PyObject
* _obj3
= 0;
571 PyObject
* _argo4
= 0;
572 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
579 _arg0
= wxString_in_helper(_obj0
);
585 _arg1
= wxString_in_helper(_obj1
);
592 if (! wxPoint_helper(_obj3
, &_arg3
))
596 if (_argo4
== Py_None
) { _arg4
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
610 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
629 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
633 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
634 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
635 wxWindow
* _arg3
= (wxWindow
*) NULL
;
636 int _arg4
= (int ) -1;
637 int _arg5
= (int ) -1;
638 bool _arg6
= (bool ) TRUE
;
639 PyObject
* _obj0
= 0;
640 PyObject
* _obj1
= 0;
641 PyObject
* _obj2
= 0;
642 PyObject
* _argo3
= 0;
643 int tempbool6
= (int) TRUE
;
644 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
650 _arg0
= wxString_in_helper(_obj0
);
656 _arg1
= wxString_in_helper(_obj1
);
662 _arg2
= wxString_in_helper(_obj2
);
667 if (_argo3
== Py_None
) { _arg3
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
673 _arg6
= (bool ) tempbool6
;
675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
676 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
678 wxPyEndAllowThreads(__tstate
);
679 if (PyErr_Occurred()) return NULL
;
682 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
684 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
705 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
709 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
710 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
711 wxWindow
* _arg3
= (wxWindow
*) NULL
;
712 PyObject
* _obj0
= 0;
713 PyObject
* _obj1
= 0;
714 PyObject
* _obj2
= 0;
715 PyObject
* _argo3
= 0;
716 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
722 _arg0
= wxString_in_helper(_obj0
);
728 _arg1
= wxString_in_helper(_obj1
);
734 _arg2
= wxString_in_helper(_obj2
);
739 if (_argo3
== Py_None
) { _arg3
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
747 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
749 wxPyEndAllowThreads(__tstate
);
750 if (PyErr_Occurred()) return NULL
;
753 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
776 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
783 wxWindow
* _arg4
= (wxWindow
*) NULL
;
784 int _arg5
= (int ) -1;
785 int _arg6
= (int ) -1;
786 bool _arg7
= (bool ) TRUE
;
787 int _arg8
= (int ) 150;
788 int _arg9
= (int ) 200;
789 PyObject
* _obj0
= 0;
790 PyObject
* _obj1
= 0;
791 PyObject
* _obj3
= 0;
792 PyObject
* _argo4
= 0;
793 int tempbool7
= (int) TRUE
;
794 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
800 _arg0
= wxString_in_helper(_obj0
);
805 _arg1
= wxString_in_helper(_obj1
);
811 _arg3
= wxString_LIST_helper(_obj3
);
817 if (_argo4
== Py_None
) { _arg4
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
823 _arg7
= (bool ) tempbool7
;
826 _arg2
= PyList_Size(_obj3
);
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
840 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
862 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
869 wxWindow
* _arg4
= (wxWindow
*) NULL
;
870 int _arg5
= (int ) -1;
871 int _arg6
= (int ) -1;
872 bool _arg7
= (bool ) TRUE
;
873 int _arg8
= (int ) 150;
874 int _arg9
= (int ) 200;
875 PyObject
* _obj0
= 0;
876 PyObject
* _obj1
= 0;
877 PyObject
* _obj3
= 0;
878 PyObject
* _argo4
= 0;
879 int tempbool7
= (int) TRUE
;
880 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
886 _arg0
= wxString_in_helper(_obj0
);
891 _arg1
= wxString_in_helper(_obj1
);
897 _arg3
= wxString_LIST_helper(_obj3
);
903 if (_argo4
== Py_None
) { _arg4
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
909 _arg7
= (bool ) tempbool7
;
912 _arg2
= PyList_Size(_obj3
);
919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
920 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
922 wxPyEndAllowThreads(__tstate
);
923 if (PyErr_Occurred()) return NULL
;
924 } _resultobj
= Py_BuildValue("i",_result
);
939 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 PyObject
* _resultobj
;
943 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
944 int _arg2
= (int ) wxOK
|wxCENTRE
;
945 wxWindow
* _arg3
= (wxWindow
*) NULL
;
946 int _arg4
= (int ) -1;
947 int _arg5
= (int ) -1;
948 PyObject
* _obj0
= 0;
949 PyObject
* _obj1
= 0;
950 PyObject
* _argo3
= 0;
951 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
957 _arg0
= wxString_in_helper(_obj0
);
963 _arg1
= wxString_in_helper(_obj1
);
968 if (_argo3
== Py_None
) { _arg3
= NULL
; }
969 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
976 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
978 wxPyEndAllowThreads(__tstate
);
979 if (PyErr_Occurred()) return NULL
;
980 } _resultobj
= Py_BuildValue("i",_result
);
992 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
999 long _arg4
= (long ) 0;
1000 long _arg5
= (long ) 100;
1001 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1002 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1003 PyObject
* _obj0
= 0;
1004 PyObject
* _obj1
= 0;
1005 PyObject
* _obj2
= 0;
1006 PyObject
* _argo6
= 0;
1008 PyObject
* _obj7
= 0;
1009 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1015 _arg0
= wxString_in_helper(_obj0
);
1020 _arg1
= wxString_in_helper(_obj1
);
1025 _arg2
= wxString_in_helper(_obj2
);
1030 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1039 if (! wxPoint_helper(_obj7
, &_arg7
))
1043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1044 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1046 wxPyEndAllowThreads(__tstate
);
1047 if (PyErr_Occurred()) return NULL
;
1048 } _resultobj
= Py_BuildValue("l",_result
);
1064 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 char *_kwnames
[] = { NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 _result
= (bool )wxColourDisplay();
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) return NULL
;
1078 } _resultobj
= Py_BuildValue("i",_result
);
1082 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 char *_kwnames
[] = { NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 _result
= (int )wxDisplayDepth();
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) return NULL
;
1096 } _resultobj
= Py_BuildValue("i",_result
);
1100 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 char *_kwnames
[] = { NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 _result
= (int )wxGetDisplayDepth();
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) return NULL
;
1114 } _resultobj
= Py_BuildValue("i",_result
);
1118 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1124 char *_kwnames
[] = { NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1137 wxDisplaySize(_arg0
,_arg1
);
1139 wxPyEndAllowThreads(__tstate
);
1140 if (PyErr_Occurred()) return NULL
;
1141 } Py_INCREF(Py_None
);
1142 _resultobj
= Py_None
;
1145 o
= PyInt_FromLong((long) (*_arg0
));
1146 _resultobj
= t_output_helper(_resultobj
, o
);
1150 o
= PyInt_FromLong((long) (*_arg1
));
1151 _resultobj
= t_output_helper(_resultobj
, o
);
1156 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 char *_kwnames
[] = { NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1167 _result
= new wxSize (wxGetDisplaySize());
1169 wxPyEndAllowThreads(__tstate
);
1170 if (PyErr_Occurred()) return NULL
;
1171 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1172 _resultobj
= Py_BuildValue("s",_ptemp
);
1176 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1182 char *_kwnames
[] = { NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1195 wxDisplaySizeMM(_arg0
,_arg1
);
1197 wxPyEndAllowThreads(__tstate
);
1198 if (PyErr_Occurred()) return NULL
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1203 o
= PyInt_FromLong((long) (*_arg0
));
1204 _resultobj
= t_output_helper(_resultobj
, o
);
1208 o
= PyInt_FromLong((long) (*_arg1
));
1209 _resultobj
= t_output_helper(_resultobj
, o
);
1214 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1217 char *_kwnames
[] = { NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 _result
= new wxSize (wxGetDisplaySizeMM());
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) return NULL
;
1229 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1230 _resultobj
= Py_BuildValue("s",_ptemp
);
1234 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1244 char *_kwnames
[] = { NULL
};
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) return NULL
;
1267 } Py_INCREF(Py_None
);
1268 _resultobj
= Py_None
;
1271 o
= PyInt_FromLong((long) (*_arg0
));
1272 _resultobj
= t_output_helper(_resultobj
, o
);
1276 o
= PyInt_FromLong((long) (*_arg1
));
1277 _resultobj
= t_output_helper(_resultobj
, o
);
1281 o
= PyInt_FromLong((long) (*_arg2
));
1282 _resultobj
= t_output_helper(_resultobj
, o
);
1286 o
= PyInt_FromLong((long) (*_arg3
));
1287 _resultobj
= t_output_helper(_resultobj
, o
);
1292 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1295 char *_kwnames
[] = { NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 _result
= new wxRect (wxGetClientDisplayRect());
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) return NULL
;
1307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1308 _resultobj
= Py_BuildValue("s",_ptemp
);
1312 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "cursor", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 wxSetCursor(*_arg0
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "cursor", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 wxBeginBusyCursor(_arg0
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 char *_kwnames
[] = { NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 _result
= (wxWindow
*)wxGetActiveWindow();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1384 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1389 PyObject
* _obj0
= 0;
1390 char *_kwnames
[] = { "pt", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1397 if (! wxPoint_helper(_obj0
, &_arg0
))
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1410 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1415 PyObject
* _obj0
= 0;
1416 char *_kwnames
[] = { "pt", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1423 if (! wxPoint_helper(_obj0
, &_arg0
))
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1436 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "win", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1463 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1468 char *_kwnames
[] = { "name","value", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } _resultobj
= Py_BuildValue("i",_result
);
1483 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1485 char *_kwnames
[] = { NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1501 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1505 char *_kwnames
[] = { "resource", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1518 _resultobj
= Py_BuildValue("s",_ptemp
);
1522 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1526 char *_kwnames
[] = { "resource", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) return NULL
;
1538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1539 _resultobj
= Py_BuildValue("s",_ptemp
);
1543 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1545 wxMenuBar
* _result
;
1547 char *_kwnames
[] = { "resource", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1562 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1566 char *_kwnames
[] = { "name", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 _result
= (int )wxResourceGetIdentifier(_arg0
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 } _resultobj
= Py_BuildValue("i",_result
);
1581 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1586 PyObject
* _argo1
= 0;
1587 char *_kwnames
[] = { "resource","table", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1605 } _resultobj
= Py_BuildValue("i",_result
);
1609 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1613 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1614 PyObject
* _argo1
= 0;
1615 char *_kwnames
[] = { "filename","table", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) return NULL
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1641 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1642 PyObject
* _argo1
= 0;
1643 char *_kwnames
[] = { "resource","table", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) return NULL
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1668 char *_kwnames
[] = { NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (int )wxCaret_GetBlinkTime();
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1686 char *_kwnames
[] = { "milliseconds", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 wxCaret_SetBlinkTime(_arg0
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1697 } Py_INCREF(Py_None
);
1698 _resultobj
= Py_None
;
1702 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1705 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "win", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 _result
= (bool )wxSafeYield(_arg0
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) return NULL
;
1725 } _resultobj
= Py_BuildValue("i",_result
);
1729 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1731 wxEvtHandler
* _arg0
;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _argo1
= 0;
1735 char *_kwnames
[] = { "dest","event", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxPostEvent(_arg0
,*_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1767 char *_kwnames
[] = { NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1783 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 char *_kwnames
[] = { NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) return NULL
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 char *_kwnames
[] = { NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1822 char *_kwnames
[] = { NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 _result
= (bool )wxThread_IsMain();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1841 wxTipProvider
* _arg1
;
1842 bool _arg2
= (bool ) TRUE
;
1843 PyObject
* _argo0
= 0;
1844 PyObject
* _argo1
= 0;
1845 int tempbool2
= (int) TRUE
;
1846 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1865 _arg2
= (bool ) tempbool2
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1872 } _resultobj
= Py_BuildValue("i",_result
);
1876 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxTipProvider
* _result
;
1881 PyObject
* _obj0
= 0;
1882 char *_kwnames
[] = { "filename","currentTip", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1889 _arg0
= wxString_in_helper(_obj0
);
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1901 _resultobj
= Py_BuildValue("s",_ptemp
);
1904 _resultobj
= Py_None
;
1913 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1915 unsigned long _result
;
1916 char *_kwnames
[] = { NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 _result
= (unsigned long )wxSysErrorCode();
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) return NULL
;
1927 } _resultobj
= Py_BuildValue("l",_result
);
1931 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1934 unsigned long _arg0
= (unsigned long ) 0;
1935 char *_kwnames
[] = { "nErrCode", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 _result
= new wxString (wxSysErrorMsg(_arg0
));
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) return NULL
;
1948 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1950 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1959 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1962 PyObject
* _obj0
= 0;
1963 char *_kwnames
[] = { "szFormat", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1969 _arg0
= wxString_in_helper(_obj0
);
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 wxLogFatalError(*_arg0
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) return NULL
;
1979 } Py_INCREF(Py_None
);
1980 _resultobj
= Py_None
;
1988 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1991 PyObject
* _obj0
= 0;
1992 char *_kwnames
[] = { "szFormat", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1998 _arg0
= wxString_in_helper(_obj0
);
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2017 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2020 PyObject
* _obj0
= 0;
2021 char *_kwnames
[] = { "szFormat", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2027 _arg0
= wxString_in_helper(_obj0
);
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 wxLogWarning(*_arg0
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) return NULL
;
2037 } Py_INCREF(Py_None
);
2038 _resultobj
= Py_None
;
2046 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2049 PyObject
* _obj0
= 0;
2050 char *_kwnames
[] = { "szFormat", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2056 _arg0
= wxString_in_helper(_obj0
);
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 wxLogMessage(*_arg0
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) return NULL
;
2066 } Py_INCREF(Py_None
);
2067 _resultobj
= Py_None
;
2075 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
* _resultobj
;
2078 PyObject
* _obj0
= 0;
2079 char *_kwnames
[] = { "szFormat", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2085 _arg0
= wxString_in_helper(_obj0
);
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2104 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2107 PyObject
* _obj0
= 0;
2108 char *_kwnames
[] = { "szFormat", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2114 _arg0
= wxString_in_helper(_obj0
);
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 wxLogVerbose(*_arg0
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) return NULL
;
2124 } Py_INCREF(Py_None
);
2125 _resultobj
= Py_None
;
2133 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2136 PyObject
* _obj0
= 0;
2137 char *_kwnames
[] = { "szFormat", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2143 _arg0
= wxString_in_helper(_obj0
);
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 wxLogStatus(*_arg0
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2162 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2166 PyObject
* _argo0
= 0;
2167 PyObject
* _obj1
= 0;
2168 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2181 _arg1
= wxString_in_helper(_obj1
);
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 wxLogStatus(_arg0
,*_arg1
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2200 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2203 PyObject
* _obj0
= 0;
2204 char *_kwnames
[] = { "szFormat", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2210 _arg0
= wxString_in_helper(_obj0
);
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 wxLogSysError(*_arg0
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) return NULL
;
2220 } Py_INCREF(Py_None
);
2221 _resultobj
= Py_None
;
2229 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2233 PyObject
* _obj0
= 0;
2234 PyObject
* _obj1
= 0;
2235 char *_kwnames
[] = { "title","text", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2241 _arg0
= wxString_in_helper(_obj0
);
2246 _arg1
= wxString_in_helper(_obj1
);
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 wxSafeShowMessage(*_arg0
,*_arg1
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2269 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2273 int _arg1
= (int ) (wxEXEC_ASYNC
);
2274 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2275 PyObject
* _obj0
= 0;
2276 PyObject
* _argo2
= 0;
2277 char *_kwnames
[] = { "command","flags","process", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2283 _arg0
= wxString_in_helper(_obj0
);
2288 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2300 } _resultobj
= Py_BuildValue("l",_result
);
2308 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2312 PyObject
* _obj0
= 0;
2313 char *_kwnames
[] = { "data", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2320 _arg0
= wxString_in_helper(_obj0
);
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 _result
= (wxWave
*)wxWaveData(*_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2332 _resultobj
= Py_BuildValue("s",_ptemp
);
2335 _resultobj
= Py_None
;
2344 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2346 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2350 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2354 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2355 pyobj
= PyString_FromString(ptemp
);
2359 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2362 wxSystemColour _arg0
;
2363 char *_kwnames
[] = { "index", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) return NULL
;
2375 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2376 _resultobj
= Py_BuildValue("s",_ptemp
);
2380 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2384 char *_kwnames
[] = { "index", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) return NULL
;
2396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2397 _resultobj
= Py_BuildValue("s",_ptemp
);
2401 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2404 wxSystemMetric _arg0
;
2405 char *_kwnames
[] = { "index", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) return NULL
;
2416 } _resultobj
= Py_BuildValue("i",_result
);
2420 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2423 wxSystemFeature _arg0
;
2424 char *_kwnames
[] = { "index", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } _resultobj
= Py_BuildValue("i",_result
);
2439 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
* _resultobj
;
2441 wxSystemScreenType _result
;
2442 char *_kwnames
[] = { NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2449 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2451 wxPyEndAllowThreads(__tstate
);
2452 if (PyErr_Occurred()) return NULL
;
2453 } _resultobj
= Py_BuildValue("i",_result
);
2457 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2459 wxSystemScreenType _arg0
;
2460 char *_kwnames
[] = { "screen", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 wxSystemSettings::SetScreenType(_arg0
);
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) return NULL
;
2471 } Py_INCREF(Py_None
);
2472 _resultobj
= Py_None
;
2476 static void *SwigwxToolTipTowxObject(void *ptr
) {
2479 src
= (wxToolTip
*) ptr
;
2480 dest
= (wxObject
*) src
;
2481 return (void *) dest
;
2484 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2485 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2487 wxToolTip
* _result
;
2489 PyObject
* _obj0
= 0;
2490 char *_kwnames
[] = { "tip", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2497 _arg0
= wxString_in_helper(_obj0
);
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) return NULL
;
2508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2509 _resultobj
= Py_BuildValue("s",_ptemp
);
2512 _resultobj
= Py_None
;
2521 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2522 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 PyObject
* _obj1
= 0;
2528 char *_kwnames
[] = { "self","tip", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2541 _arg1
= wxString_in_helper(_obj1
);
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 wxToolTip_SetTip(_arg0
,*_arg1
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) return NULL
;
2551 } Py_INCREF(Py_None
);
2552 _resultobj
= Py_None
;
2560 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2561 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2565 PyObject
* _argo0
= 0;
2566 char *_kwnames
[] = { "self", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2586 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2588 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2597 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2598 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2625 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2629 char *_kwnames
[] = { "flag", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2634 _arg0
= (bool ) tempbool0
;
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 wxToolTip::Enable(_arg0
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } Py_INCREF(Py_None
);
2642 _resultobj
= Py_None
;
2646 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2649 char *_kwnames
[] = { "milliseconds", NULL
};
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 wxToolTip::SetDelay(_arg0
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) return NULL
;
2660 } Py_INCREF(Py_None
);
2661 _resultobj
= Py_None
;
2665 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2666 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2671 PyObject
* _argo0
= 0;
2673 PyObject
* _obj1
= 0;
2674 char *_kwnames
[] = { "window","size", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2689 if (! wxSize_helper(_obj1
, &_arg1
))
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) return NULL
;
2699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2700 _resultobj
= Py_BuildValue("s",_ptemp
);
2703 _resultobj
= Py_None
;
2708 #define delete_wxCaret(_swigobj) (delete _swigobj)
2709 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2727 delete_wxCaret(_arg0
);
2729 wxPyEndAllowThreads(__tstate
);
2730 if (PyErr_Occurred()) return NULL
;
2731 } Py_INCREF(Py_None
);
2732 _resultobj
= Py_None
;
2736 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2737 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 _result
= (bool )wxCaret_IsOk(_arg0
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2760 } _resultobj
= Py_BuildValue("i",_result
);
2764 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2765 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2769 PyObject
* _argo0
= 0;
2770 char *_kwnames
[] = { "self", NULL
};
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 _result
= (bool )wxCaret_IsVisible(_arg0
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) return NULL
;
2788 } _resultobj
= Py_BuildValue("i",_result
);
2792 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2793 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 } Py_INCREF(Py_None
);
2826 _resultobj
= Py_None
;
2829 o
= PyInt_FromLong((long) (*_arg1
));
2830 _resultobj
= t_output_helper(_resultobj
, o
);
2834 o
= PyInt_FromLong((long) (*_arg2
));
2835 _resultobj
= t_output_helper(_resultobj
, o
);
2840 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2841 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2845 PyObject
* _argo0
= 0;
2846 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) return NULL
;
2865 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2866 _resultobj
= Py_BuildValue("s",_ptemp
);
2870 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2871 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2878 PyObject
* _argo0
= 0;
2879 char *_kwnames
[] = { "self", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) return NULL
;
2903 } Py_INCREF(Py_None
);
2904 _resultobj
= Py_None
;
2907 o
= PyInt_FromLong((long) (*_arg1
));
2908 _resultobj
= t_output_helper(_resultobj
, o
);
2912 o
= PyInt_FromLong((long) (*_arg2
));
2913 _resultobj
= t_output_helper(_resultobj
, o
);
2918 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2919 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) return NULL
;
2943 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2944 _resultobj
= Py_BuildValue("s",_ptemp
);
2948 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2949 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
* _resultobj
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2972 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2976 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2977 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self","x","y", NULL
};
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) return NULL
;
3001 } Py_INCREF(Py_None
);
3002 _resultobj
= Py_None
;
3006 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3007 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3011 PyObject
* _argo0
= 0;
3013 PyObject
* _obj1
= 0;
3014 char *_kwnames
[] = { "self","pt", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3028 if (! wxPoint_helper(_obj1
, &_arg1
))
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 wxCaret_Move(_arg0
,*_arg1
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) return NULL
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3042 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3043 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3048 PyObject
* _argo0
= 0;
3049 char *_kwnames
[] = { "self","width","height", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) return NULL
;
3067 } Py_INCREF(Py_None
);
3068 _resultobj
= Py_None
;
3072 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3073 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3077 PyObject
* _argo0
= 0;
3079 PyObject
* _obj1
= 0;
3080 char *_kwnames
[] = { "self","size", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3094 if (! wxSize_helper(_obj1
, &_arg1
))
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 wxCaret_SetSize(_arg0
,*_arg1
);
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) return NULL
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3109 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3112 int _arg1
= (int ) TRUE
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self","show", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 wxCaret_Show(_arg0
,_arg1
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } Py_INCREF(Py_None
);
3133 _resultobj
= Py_None
;
3137 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3138 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3141 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "self", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 wxCaret_Hide(_arg0
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) return NULL
;
3160 } Py_INCREF(Py_None
);
3161 _resultobj
= Py_None
;
3165 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3166 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3168 wxBusyCursor
* _result
;
3169 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "cursor", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) return NULL
;
3191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3192 _resultobj
= Py_BuildValue("s",_ptemp
);
3195 _resultobj
= Py_None
;
3200 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3201 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3203 wxBusyCursor
* _arg0
;
3204 PyObject
* _argo0
= 0;
3205 char *_kwnames
[] = { "self", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 delete_wxBusyCursor(_arg0
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) return NULL
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3228 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3229 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3231 wxWindowDisabler
* _result
;
3232 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3233 PyObject
* _argo0
= 0;
3234 char *_kwnames
[] = { "winToSkip", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) return NULL
;
3254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3255 _resultobj
= Py_BuildValue("s",_ptemp
);
3258 _resultobj
= Py_None
;
3263 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3264 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3266 wxWindowDisabler
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 delete_wxWindowDisabler(_arg0
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3286 } Py_INCREF(Py_None
);
3287 _resultobj
= Py_None
;
3291 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3292 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3294 wxMutexGuiLocker
* _result
;
3295 char *_kwnames
[] = { NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) return NULL
;
3308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3309 _resultobj
= Py_BuildValue("s",_ptemp
);
3312 _resultobj
= Py_None
;
3317 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3318 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3320 wxMutexGuiLocker
* _arg0
;
3321 PyObject
* _argo0
= 0;
3322 char *_kwnames
[] = { "self", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 delete_wxMutexGuiLocker(_arg0
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) return NULL
;
3340 } Py_INCREF(Py_None
);
3341 _resultobj
= Py_None
;
3345 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3346 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3348 wxTipProvider
* _arg0
;
3349 PyObject
* _argo0
= 0;
3350 char *_kwnames
[] = { "self", NULL
};
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 delete_wxTipProvider(_arg0
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) return NULL
;
3368 } Py_INCREF(Py_None
);
3369 _resultobj
= Py_None
;
3373 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3374 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3377 wxTipProvider
* _arg0
;
3378 PyObject
* _argo0
= 0;
3379 char *_kwnames
[] = { "self", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) return NULL
;
3399 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3401 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3410 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3411 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3414 wxTipProvider
* _arg0
;
3415 PyObject
* _argo0
= 0;
3416 char *_kwnames
[] = { "self", NULL
};
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) return NULL
;
3434 } _resultobj
= Py_BuildValue("i",_result
);
3438 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3439 wxPyTipProvider
*src
;
3440 wxTipProvider
*dest
;
3441 src
= (wxPyTipProvider
*) ptr
;
3442 dest
= (wxTipProvider
*) src
;
3443 return (void *) dest
;
3446 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3447 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3449 wxPyTipProvider
* _result
;
3451 char *_kwnames
[] = { "currentTip", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) return NULL
;
3464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3465 _resultobj
= Py_BuildValue("s",_ptemp
);
3468 _resultobj
= Py_None
;
3473 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3474 wxGenericDragImage
*src
;
3476 src
= (wxGenericDragImage
*) ptr
;
3477 dest
= (wxObject
*) src
;
3478 return (void *) dest
;
3481 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3482 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3484 wxGenericDragImage
* _result
;
3486 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3487 PyObject
* _argo0
= 0;
3488 PyObject
* _argo1
= 0;
3489 char *_kwnames
[] = { "image","cursor", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) return NULL
;
3516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3517 _resultobj
= Py_BuildValue("s",_ptemp
);
3520 _resultobj
= Py_None
;
3525 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3526 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
* _resultobj
;
3528 wxGenericDragImage
* _result
;
3530 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3531 PyObject
* _argo0
= 0;
3532 PyObject
* _argo1
= 0;
3533 char *_kwnames
[] = { "image","cursor", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3561 _resultobj
= Py_BuildValue("s",_ptemp
);
3564 _resultobj
= Py_None
;
3569 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3570 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3572 wxGenericDragImage
* _result
;
3574 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3575 PyObject
* _obj0
= 0;
3576 PyObject
* _argo1
= 0;
3577 char *_kwnames
[] = { "str","cursor", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3584 _arg0
= wxString_in_helper(_obj0
);
3589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) return NULL
;
3602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3603 _resultobj
= Py_BuildValue("s",_ptemp
);
3606 _resultobj
= Py_None
;
3615 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3616 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3618 wxGenericDragImage
* _result
;
3620 wxTreeItemId
* _arg1
;
3621 PyObject
* _argo0
= 0;
3622 PyObject
* _argo1
= 0;
3623 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) return NULL
;
3650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3651 _resultobj
= Py_BuildValue("s",_ptemp
);
3654 _resultobj
= Py_None
;
3659 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3660 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3662 wxGenericDragImage
* _result
;
3665 PyObject
* _argo0
= 0;
3666 char *_kwnames
[] = { "listCtrl","id", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) return NULL
;
3686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3687 _resultobj
= Py_BuildValue("s",_ptemp
);
3690 _resultobj
= Py_None
;
3695 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3696 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3698 wxGenericDragImage
* _arg0
;
3699 PyObject
* _argo0
= 0;
3700 char *_kwnames
[] = { "self", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 delete_wxGenericDragImage(_arg0
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) return NULL
;
3718 } Py_INCREF(Py_None
);
3719 _resultobj
= Py_None
;
3723 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3724 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3726 wxGenericDragImage
* _arg0
;
3728 PyObject
* _argo0
= 0;
3729 PyObject
* _argo1
= 0;
3730 char *_kwnames
[] = { "self","bitmap", NULL
};
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) return NULL
;
3755 } Py_INCREF(Py_None
);
3756 _resultobj
= Py_None
;
3760 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3761 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3764 wxGenericDragImage
* _arg0
;
3767 bool _arg3
= (bool ) FALSE
;
3768 wxRect
* _arg4
= (wxRect
*) NULL
;
3769 PyObject
* _argo0
= 0;
3771 PyObject
* _obj1
= 0;
3772 PyObject
* _argo2
= 0;
3773 int tempbool3
= (int) FALSE
;
3775 PyObject
* _obj4
= 0;
3776 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3790 if (! wxPoint_helper(_obj1
, &_arg1
))
3794 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3800 _arg3
= (bool ) tempbool3
;
3804 if (! wxRect_helper(_obj4
, &_arg4
))
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) return NULL
;
3813 } _resultobj
= Py_BuildValue("i",_result
);
3817 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3818 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3821 wxGenericDragImage
* _arg0
;
3825 PyObject
* _argo0
= 0;
3827 PyObject
* _obj1
= 0;
3828 PyObject
* _argo2
= 0;
3829 PyObject
* _argo3
= 0;
3830 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3844 if (! wxPoint_helper(_obj1
, &_arg1
))
3848 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3855 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) return NULL
;
3867 } _resultobj
= Py_BuildValue("i",_result
);
3871 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3872 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3875 wxGenericDragImage
* _arg0
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3895 } _resultobj
= Py_BuildValue("i",_result
);
3899 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3900 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3903 wxGenericDragImage
* _arg0
;
3905 PyObject
* _argo0
= 0;
3907 PyObject
* _obj1
= 0;
3908 char *_kwnames
[] = { "self","pt", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3922 if (! wxPoint_helper(_obj1
, &_arg1
))
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) return NULL
;
3931 } _resultobj
= Py_BuildValue("i",_result
);
3935 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3936 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3939 wxGenericDragImage
* _arg0
;
3940 PyObject
* _argo0
= 0;
3941 char *_kwnames
[] = { "self", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 _result
= (bool )wxDragImage_Show(_arg0
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) return NULL
;
3959 } _resultobj
= Py_BuildValue("i",_result
);
3963 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3964 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3967 wxGenericDragImage
* _arg0
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 _result
= (bool )wxDragImage_Hide(_arg0
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) return NULL
;
3987 } _resultobj
= Py_BuildValue("i",_result
);
3991 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3992 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3995 wxGenericDragImage
* _arg0
;
3997 PyObject
* _argo0
= 0;
3999 PyObject
* _obj1
= 0;
4000 char *_kwnames
[] = { "self","pos", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4015 if (! wxPoint_helper(_obj1
, &_arg1
))
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) return NULL
;
4024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4025 _resultobj
= Py_BuildValue("s",_ptemp
);
4029 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4030 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4033 wxGenericDragImage
* _arg0
;
4038 PyObject
* _argo0
= 0;
4040 PyObject
* _obj1
= 0;
4042 PyObject
* _obj2
= 0;
4045 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4059 if (! wxPoint_helper(_obj1
, &_arg1
))
4064 if (! wxPoint_helper(_obj2
, &_arg2
))
4067 _arg3
= (bool ) tempbool3
;
4068 _arg4
= (bool ) tempbool4
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) return NULL
;
4075 } _resultobj
= Py_BuildValue("i",_result
);
4079 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4082 src
= (wxPyTimer
*) ptr
;
4083 dest
= (wxObject
*) src
;
4084 return (void *) dest
;
4087 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4088 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4090 wxPyTimer
* _result
;
4092 PyObject
* _obj0
= 0;
4093 char *_kwnames
[] = { "notify", NULL
};
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) return NULL
;
4109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4110 _resultobj
= Py_BuildValue("s",_ptemp
);
4113 _resultobj
= Py_None
;
4118 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4119 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 delete_wxPyTimer(_arg0
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) return NULL
;
4141 } Py_INCREF(Py_None
);
4142 _resultobj
= Py_None
;
4146 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4147 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4151 PyObject
* _argo0
= 0;
4152 char *_kwnames
[] = { "self", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) return NULL
;
4170 } _resultobj
= Py_BuildValue("i",_result
);
4174 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4175 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
* _resultobj
;
4179 PyObject
* _argo0
= 0;
4180 char *_kwnames
[] = { "self", NULL
};
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) return NULL
;
4198 } _resultobj
= Py_BuildValue("i",_result
);
4202 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4203 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4207 PyObject
* _argo0
= 0;
4208 char *_kwnames
[] = { "self", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) return NULL
;
4226 } _resultobj
= Py_BuildValue("i",_result
);
4230 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4231 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4234 wxEvtHandler
* _arg1
;
4235 int _arg2
= (int ) -1;
4236 PyObject
* _argo0
= 0;
4237 PyObject
* _argo1
= 0;
4238 char *_kwnames
[] = { "self","owner","id", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) return NULL
;
4263 } Py_INCREF(Py_None
);
4264 _resultobj
= Py_None
;
4268 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4269 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4272 int _arg1
= (int ) -1;
4273 int _arg2
= (int ) FALSE
;
4274 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) return NULL
;
4293 } Py_INCREF(Py_None
);
4294 _resultobj
= Py_None
;
4298 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4299 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 wxPyTimer_Stop(_arg0
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) return NULL
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define new_wxStopWatch() (new wxStopWatch())
4327 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4329 wxStopWatch
* _result
;
4330 char *_kwnames
[] = { NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 _result
= (wxStopWatch
*)new_wxStopWatch();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) return NULL
;
4343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4344 _resultobj
= Py_BuildValue("s",_ptemp
);
4347 _resultobj
= Py_None
;
4352 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4353 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4355 wxStopWatch
* _arg0
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 delete_wxStopWatch(_arg0
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) return NULL
;
4375 } Py_INCREF(Py_None
);
4376 _resultobj
= Py_None
;
4380 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4381 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4383 wxStopWatch
* _arg0
;
4384 long _arg1
= (long ) 0;
4385 PyObject
* _argo0
= 0;
4386 char *_kwnames
[] = { "self","t", NULL
};
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 wxStopWatch_Start(_arg0
,_arg1
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) return NULL
;
4404 } Py_INCREF(Py_None
);
4405 _resultobj
= Py_None
;
4409 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4410 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4412 wxStopWatch
* _arg0
;
4413 PyObject
* _argo0
= 0;
4414 char *_kwnames
[] = { "self", NULL
};
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 wxStopWatch_Pause(_arg0
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) return NULL
;
4432 } Py_INCREF(Py_None
);
4433 _resultobj
= Py_None
;
4437 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4438 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4440 wxStopWatch
* _arg0
;
4441 PyObject
* _argo0
= 0;
4442 char *_kwnames
[] = { "self", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 wxStopWatch_Resume(_arg0
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) return NULL
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4465 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4466 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 wxStopWatch
* _arg0
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 _result
= (long )wxStopWatch_Time(_arg0
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) return NULL
;
4489 } _resultobj
= Py_BuildValue("l",_result
);
4493 #define new_wxLog() (new wxLog())
4494 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
* _resultobj
;
4497 char *_kwnames
[] = { NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 _result
= (wxLog
*)new_wxLog();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4511 _resultobj
= Py_BuildValue("s",_ptemp
);
4514 _resultobj
= Py_None
;
4519 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
* _resultobj
;
4522 char *_kwnames
[] = { NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 _result
= (bool )wxLog::IsEnabled();
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) return NULL
;
4533 } _resultobj
= Py_BuildValue("i",_result
);
4537 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4540 bool _arg0
= (bool ) TRUE
;
4541 int tempbool0
= (int) TRUE
;
4542 char *_kwnames
[] = { "doIt", NULL
};
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4547 _arg0
= (bool ) tempbool0
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 _result
= (bool )wxLog::EnableLogging(_arg0
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) return NULL
;
4554 } _resultobj
= Py_BuildValue("i",_result
);
4558 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4562 int _arg2
= (int ) 0;
4563 PyObject
* _argo0
= 0;
4564 PyObject
* _obj1
= 0;
4565 char *_kwnames
[] = { "level","szString","t", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4578 _arg1
= wxString_in_helper(_obj1
);
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } Py_INCREF(Py_None
);
4589 _resultobj
= Py_None
;
4597 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4598 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4601 PyObject
* _argo0
= 0;
4602 char *_kwnames
[] = { "self", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) return NULL
;
4620 } Py_INCREF(Py_None
);
4621 _resultobj
= Py_None
;
4625 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4626 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4630 PyObject
* _argo0
= 0;
4631 char *_kwnames
[] = { "self", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) return NULL
;
4649 } _resultobj
= Py_BuildValue("i",_result
);
4653 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4655 char *_kwnames
[] = { NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 wxLog::FlushActive();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) return NULL
;
4666 } Py_INCREF(Py_None
);
4667 _resultobj
= Py_None
;
4671 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4674 char *_kwnames
[] = { NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 _result
= (wxLog
*)wxLog::GetActiveTarget();
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) return NULL
;
4687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4688 _resultobj
= Py_BuildValue("s",_ptemp
);
4691 _resultobj
= Py_None
;
4696 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4700 PyObject
* _argo0
= 0;
4701 char *_kwnames
[] = { "pLogger", NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4722 _resultobj
= Py_BuildValue("s",_ptemp
);
4725 _resultobj
= Py_None
;
4730 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4732 char *_kwnames
[] = { NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) return NULL
;
4743 } Py_INCREF(Py_None
);
4744 _resultobj
= Py_None
;
4748 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4750 char *_kwnames
[] = { NULL
};
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } Py_INCREF(Py_None
);
4762 _resultobj
= Py_None
;
4766 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4768 bool _arg0
= (bool ) TRUE
;
4769 int tempbool0
= (int) TRUE
;
4770 char *_kwnames
[] = { "bVerbose", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4775 _arg0
= (bool ) tempbool0
;
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 wxLog::SetVerbose(_arg0
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) return NULL
;
4782 } Py_INCREF(Py_None
);
4783 _resultobj
= Py_None
;
4787 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4789 char *_kwnames
[] = { NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 wxLog::DontCreateOnDemand();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) return NULL
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4805 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
* _resultobj
;
4807 wxTraceMask
* _arg0
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "ulMask", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxLog::SetTraceMask(*_arg0
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4835 PyObject
* _obj0
= 0;
4836 char *_kwnames
[] = { "str", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4842 _arg0
= wxString_in_helper(_obj0
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 wxLog::AddTraceMask(*_arg0
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) return NULL
;
4852 } Py_INCREF(Py_None
);
4853 _resultobj
= Py_None
;
4861 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4864 PyObject
* _obj0
= 0;
4865 char *_kwnames
[] = { "str", NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4871 _arg0
= wxString_in_helper(_obj0
);
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 wxLog::RemoveTraceMask(*_arg0
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) return NULL
;
4881 } Py_INCREF(Py_None
);
4882 _resultobj
= Py_None
;
4890 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4892 char *_kwnames
[] = { NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 wxLog::ClearTraceMasks();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) return NULL
;
4903 } Py_INCREF(Py_None
);
4904 _resultobj
= Py_None
;
4908 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
* _resultobj
;
4911 PyObject
* _obj0
= 0;
4912 char *_kwnames
[] = { "ts", NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4918 _arg0
= wxString_in_helper(_obj0
);
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 wxLog::SetTimestamp(*_arg0
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4928 } Py_INCREF(Py_None
);
4929 _resultobj
= Py_None
;
4937 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4940 char *_kwnames
[] = { NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 const wxString
& _result_ref
= wxLog::GetTimestamp();
4948 _result
= (wxString
*) &_result_ref
;
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4954 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4956 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4962 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4963 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4967 PyObject
* _argo0
= 0;
4968 char *_kwnames
[] = { "self", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 _result
= (bool )wxLog_GetVerbose(_arg0
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } _resultobj
= Py_BuildValue("i",_result
);
4990 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
* _resultobj
;
4992 wxTraceMask
* _result
;
4993 char *_kwnames
[] = { NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 _result
= new wxTraceMask (wxLog::GetTraceMask());
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) return NULL
;
5005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5006 _resultobj
= Py_BuildValue("s",_ptemp
);
5010 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5014 PyObject
* _obj0
= 0;
5015 char *_kwnames
[] = { "mask", NULL
};
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5021 _arg0
= wxString_in_helper(_obj0
);
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) return NULL
;
5031 } _resultobj
= Py_BuildValue("i",_result
);
5039 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5041 wxLog::TimeStamp(&msg
);
5044 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5048 PyObject
* _argo0
= 0;
5049 char *_kwnames
[] = { "self", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) return NULL
;
5069 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5071 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5080 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5083 src
= (wxLogStderr
*) ptr
;
5084 dest
= (wxLog
*) src
;
5085 return (void *) dest
;
5088 #define new_wxLogStderr() (new wxLogStderr())
5089 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5091 wxLogStderr
* _result
;
5092 char *_kwnames
[] = { NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 _result
= (wxLogStderr
*)new_wxLogStderr();
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5109 _resultobj
= Py_None
;
5114 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5117 src
= (wxLogTextCtrl
*) ptr
;
5118 dest
= (wxLog
*) src
;
5119 return (void *) dest
;
5122 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5123 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5125 wxLogTextCtrl
* _result
;
5127 PyObject
* _argo0
= 0;
5128 char *_kwnames
[] = { "pTextCtrl", NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) return NULL
;
5148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5149 _resultobj
= Py_BuildValue("s",_ptemp
);
5152 _resultobj
= Py_None
;
5157 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5160 src
= (wxLogGui
*) ptr
;
5161 dest
= (wxLog
*) src
;
5162 return (void *) dest
;
5165 #define new_wxLogGui() (new wxLogGui())
5166 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5169 char *_kwnames
[] = { NULL
};
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 _result
= (wxLogGui
*)new_wxLogGui();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) return NULL
;
5182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5183 _resultobj
= Py_BuildValue("s",_ptemp
);
5186 _resultobj
= Py_None
;
5191 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5194 src
= (wxLogWindow
*) ptr
;
5195 dest
= (wxLog
*) src
;
5196 return (void *) dest
;
5199 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5200 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
* _resultobj
;
5202 wxLogWindow
* _result
;
5205 bool _arg2
= (bool ) TRUE
;
5206 bool _arg3
= (bool ) TRUE
;
5207 PyObject
* _argo0
= 0;
5208 PyObject
* _obj1
= 0;
5209 int tempbool2
= (int) TRUE
;
5210 int tempbool3
= (int) TRUE
;
5211 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5225 _arg1
= wxString_in_helper(_obj1
);
5229 _arg2
= (bool ) tempbool2
;
5230 _arg3
= (bool ) tempbool3
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) return NULL
;
5238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5239 _resultobj
= Py_BuildValue("s",_ptemp
);
5242 _resultobj
= Py_None
;
5251 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5252 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5254 wxLogWindow
* _arg0
;
5255 bool _arg1
= (bool ) TRUE
;
5256 PyObject
* _argo0
= 0;
5257 int tempbool1
= (int) TRUE
;
5258 char *_kwnames
[] = { "self","bShow", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5270 _arg1
= (bool ) tempbool1
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 wxLogWindow_Show(_arg0
,_arg1
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) return NULL
;
5277 } Py_INCREF(Py_None
);
5278 _resultobj
= Py_None
;
5282 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5283 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
* _resultobj
;
5286 wxLogWindow
* _arg0
;
5287 PyObject
* _argo0
= 0;
5288 char *_kwnames
[] = { "self", NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) return NULL
;
5306 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5310 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5311 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5314 wxLogWindow
* _arg0
;
5315 PyObject
* _argo0
= 0;
5316 char *_kwnames
[] = { "self", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5337 _resultobj
= Py_BuildValue("s",_ptemp
);
5340 _resultobj
= Py_None
;
5345 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5346 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5349 wxLogWindow
* _arg0
;
5350 PyObject
* _argo0
= 0;
5351 char *_kwnames
[] = { "self", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) return NULL
;
5369 } _resultobj
= Py_BuildValue("i",_result
);
5373 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5374 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5376 wxLogWindow
* _arg0
;
5378 PyObject
* _argo0
= 0;
5380 char *_kwnames
[] = { "self","bDoPass", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5392 _arg1
= (bool ) tempbool1
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 wxLogWindow_PassMessages(_arg0
,_arg1
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) return NULL
;
5399 } Py_INCREF(Py_None
);
5400 _resultobj
= Py_None
;
5404 static void *SwigwxLogChainTowxLog(void *ptr
) {
5407 src
= (wxLogChain
*) ptr
;
5408 dest
= (wxLog
*) src
;
5409 return (void *) dest
;
5412 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5413 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
* _resultobj
;
5415 wxLogChain
* _result
;
5417 PyObject
* _argo0
= 0;
5418 char *_kwnames
[] = { "logger", NULL
};
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) return NULL
;
5438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5439 _resultobj
= Py_BuildValue("s",_ptemp
);
5442 _resultobj
= Py_None
;
5447 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5448 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5452 PyObject
* _argo0
= 0;
5453 PyObject
* _argo1
= 0;
5454 char *_kwnames
[] = { "self","logger", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5467 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 wxLogChain_SetLog(_arg0
,_arg1
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) return NULL
;
5479 } Py_INCREF(Py_None
);
5480 _resultobj
= Py_None
;
5484 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5485 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
* _resultobj
;
5489 PyObject
* _argo0
= 0;
5491 char *_kwnames
[] = { "self","bDoPass", NULL
};
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5503 _arg1
= (bool ) tempbool1
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 wxLogChain_PassMessages(_arg0
,_arg1
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5510 } Py_INCREF(Py_None
);
5511 _resultobj
= Py_None
;
5515 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5516 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
* _resultobj
;
5520 PyObject
* _argo0
= 0;
5521 char *_kwnames
[] = { "self", NULL
};
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) return NULL
;
5539 } _resultobj
= Py_BuildValue("i",_result
);
5543 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5544 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
* _resultobj
;
5548 PyObject
* _argo0
= 0;
5549 char *_kwnames
[] = { "self", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) return NULL
;
5569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5570 _resultobj
= Py_BuildValue("s",_ptemp
);
5573 _resultobj
= Py_None
;
5578 #define new_wxLogNull() (new wxLogNull())
5579 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
* _resultobj
;
5581 wxLogNull
* _result
;
5582 char *_kwnames
[] = { NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 _result
= (wxLogNull
*)new_wxLogNull();
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5596 _resultobj
= Py_BuildValue("s",_ptemp
);
5599 _resultobj
= Py_None
;
5604 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5605 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
* _resultobj
;
5608 PyObject
* _argo0
= 0;
5609 char *_kwnames
[] = { "self", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 delete_wxLogNull(_arg0
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) return NULL
;
5627 } Py_INCREF(Py_None
);
5628 _resultobj
= Py_None
;
5632 static void *SwigwxPyLogTowxLog(void *ptr
) {
5635 src
= (wxPyLog
*) ptr
;
5636 dest
= (wxLog
*) src
;
5637 return (void *) dest
;
5640 #define new_wxPyLog() (new wxPyLog())
5641 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
* _resultobj
;
5644 char *_kwnames
[] = { NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 _result
= (wxPyLog
*)new_wxPyLog();
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) return NULL
;
5657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5658 _resultobj
= Py_BuildValue("s",_ptemp
);
5661 _resultobj
= Py_None
;
5666 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5667 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5672 PyObject
* _argo0
= 0;
5673 PyObject
* _obj1
= 0;
5674 PyObject
* _obj2
= 0;
5675 char *_kwnames
[] = { "self","self","_class", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) return NULL
;
5699 } Py_INCREF(Py_None
);
5700 _resultobj
= Py_None
;
5704 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5705 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
* _resultobj
;
5708 PyObject
* _argo0
= 0;
5709 char *_kwnames
[] = { "self", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 wxPyLog_Destroy(_arg0
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) return NULL
;
5727 } Py_INCREF(Py_None
);
5728 _resultobj
= Py_None
;
5732 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5733 wxProcessEvent
*src
;
5735 src
= (wxProcessEvent
*) ptr
;
5736 dest
= (wxEvent
*) src
;
5737 return (void *) dest
;
5740 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5741 wxProcessEvent
*src
;
5743 src
= (wxProcessEvent
*) ptr
;
5744 dest
= (wxObject
*) src
;
5745 return (void *) dest
;
5748 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5749 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
* _resultobj
;
5751 wxProcessEvent
* _result
;
5752 int _arg0
= (int ) 0;
5753 int _arg1
= (int ) 0;
5754 int _arg2
= (int ) 0;
5755 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) return NULL
;
5768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5769 _resultobj
= Py_BuildValue("s",_ptemp
);
5772 _resultobj
= Py_None
;
5777 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5778 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5781 wxProcessEvent
* _arg0
;
5782 PyObject
* _argo0
= 0;
5783 char *_kwnames
[] = { "self", NULL
};
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) return NULL
;
5801 } _resultobj
= Py_BuildValue("i",_result
);
5805 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5806 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
* _resultobj
;
5809 wxProcessEvent
* _arg0
;
5810 PyObject
* _argo0
= 0;
5811 char *_kwnames
[] = { "self", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) return NULL
;
5829 } _resultobj
= Py_BuildValue("i",_result
);
5833 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5834 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5837 wxProcessEvent
* _arg0
;
5839 PyObject
* _argo0
= 0;
5840 char *_kwnames
[] = { "self","m_pid", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) return NULL
;
5858 } _resultobj
= Py_BuildValue("i",_result
);
5862 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5863 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
* _resultobj
;
5866 wxProcessEvent
* _arg0
;
5867 PyObject
* _argo0
= 0;
5868 char *_kwnames
[] = { "self", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) return NULL
;
5886 } _resultobj
= Py_BuildValue("i",_result
);
5890 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5891 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5894 wxProcessEvent
* _arg0
;
5896 PyObject
* _argo0
= 0;
5897 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) return NULL
;
5915 } _resultobj
= Py_BuildValue("i",_result
);
5919 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5920 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
* _resultobj
;
5923 wxProcessEvent
* _arg0
;
5924 PyObject
* _argo0
= 0;
5925 char *_kwnames
[] = { "self", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) return NULL
;
5943 } _resultobj
= Py_BuildValue("i",_result
);
5947 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5950 src
= (wxPyProcess
*) ptr
;
5951 dest
= (wxEvtHandler
*) src
;
5952 return (void *) dest
;
5955 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5958 src
= (wxPyProcess
*) ptr
;
5959 dest
= (wxObject
*) src
;
5960 return (void *) dest
;
5963 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5964 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5966 wxPyProcess
* _result
;
5967 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5968 int _arg1
= (int ) -1;
5969 PyObject
* _argo0
= 0;
5970 char *_kwnames
[] = { "parent","id", NULL
};
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) return NULL
;
5990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5991 _resultobj
= Py_BuildValue("s",_ptemp
);
5994 _resultobj
= Py_None
;
5999 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6000 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6002 wxPyProcess
* _arg0
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 wxPyProcess_Destroy(_arg0
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) return NULL
;
6022 } Py_INCREF(Py_None
);
6023 _resultobj
= Py_None
;
6027 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6028 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6030 wxPyProcess
* _arg0
;
6033 PyObject
* _argo0
= 0;
6034 PyObject
* _obj1
= 0;
6035 PyObject
* _obj2
= 0;
6036 char *_kwnames
[] = { "self","self","_class", NULL
};
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) return NULL
;
6060 } Py_INCREF(Py_None
);
6061 _resultobj
= Py_None
;
6065 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6066 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
* _resultobj
;
6068 wxPyProcess
* _arg0
;
6071 PyObject
* _argo0
= 0;
6072 char *_kwnames
[] = { "self","pid","status", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) return NULL
;
6090 } Py_INCREF(Py_None
);
6091 _resultobj
= Py_None
;
6095 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6096 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6098 wxPyProcess
* _arg0
;
6099 PyObject
* _argo0
= 0;
6100 char *_kwnames
[] = { "self", NULL
};
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 wxProcess_Redirect(_arg0
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) return NULL
;
6118 } Py_INCREF(Py_None
);
6119 _resultobj
= Py_None
;
6123 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6124 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6127 wxPyProcess
* _arg0
;
6128 PyObject
* _argo0
= 0;
6129 char *_kwnames
[] = { "self", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) return NULL
;
6147 } _resultobj
= Py_BuildValue("i",_result
);
6151 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6152 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6154 wxPyProcess
* _arg0
;
6155 PyObject
* _argo0
= 0;
6156 char *_kwnames
[] = { "self", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 wxProcess_Detach(_arg0
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) return NULL
;
6174 } Py_INCREF(Py_None
);
6175 _resultobj
= Py_None
;
6179 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6180 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
* _resultobj
;
6182 wxInputStream
* _result
;
6183 wxPyProcess
* _arg0
;
6184 PyObject
* _argo0
= 0;
6185 char *_kwnames
[] = { "self", NULL
};
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) return NULL
;
6204 wxPyInputStream
* _ptr
= NULL
;
6207 _ptr
= new wxPyInputStream(_result
);
6209 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6214 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6215 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
* _resultobj
;
6217 wxInputStream
* _result
;
6218 wxPyProcess
* _arg0
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) return NULL
;
6239 wxPyInputStream
* _ptr
= NULL
;
6242 _ptr
= new wxPyInputStream(_result
);
6244 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6249 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6250 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
* _resultobj
;
6252 wxOutputStream
* _result
;
6253 wxPyProcess
* _arg0
;
6254 PyObject
* _argo0
= 0;
6255 char *_kwnames
[] = { "self", NULL
};
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) return NULL
;
6275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6276 _resultobj
= Py_BuildValue("s",_ptemp
);
6279 _resultobj
= Py_None
;
6284 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6285 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6287 wxPyProcess
* _arg0
;
6288 PyObject
* _argo0
= 0;
6289 char *_kwnames
[] = { "self", NULL
};
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 wxProcess_CloseOutput(_arg0
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) return NULL
;
6307 } Py_INCREF(Py_None
);
6308 _resultobj
= Py_None
;
6312 static void *SwigwxJoystickTowxObject(void *ptr
) {
6315 src
= (wxJoystick
*) ptr
;
6316 dest
= (wxObject
*) src
;
6317 return (void *) dest
;
6320 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6321 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxJoystick
* _result
;
6324 int _arg0
= (int ) wxJOYSTICK1
;
6325 char *_kwnames
[] = { "joystick", NULL
};
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) return NULL
;
6338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6339 _resultobj
= Py_BuildValue("s",_ptemp
);
6342 _resultobj
= Py_None
;
6347 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6348 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6351 PyObject
* _argo0
= 0;
6352 char *_kwnames
[] = { "self", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 delete_wxJoystick(_arg0
);
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) return NULL
;
6370 } Py_INCREF(Py_None
);
6371 _resultobj
= Py_None
;
6375 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6376 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
* _resultobj
;
6380 PyObject
* _argo0
= 0;
6381 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) return NULL
;
6400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6401 _resultobj
= Py_BuildValue("s",_ptemp
);
6405 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6406 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
* _resultobj
;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) return NULL
;
6429 } _resultobj
= Py_BuildValue("i",_result
);
6433 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6434 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
* _resultobj
;
6438 PyObject
* _argo0
= 0;
6439 char *_kwnames
[] = { "self", NULL
};
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) return NULL
;
6457 } _resultobj
= Py_BuildValue("i",_result
);
6461 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6462 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6466 PyObject
* _argo0
= 0;
6467 char *_kwnames
[] = { "self", NULL
};
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) return NULL
;
6485 } _resultobj
= Py_BuildValue("i",_result
);
6489 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6490 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6494 PyObject
* _argo0
= 0;
6495 char *_kwnames
[] = { "self", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) return NULL
;
6513 } _resultobj
= Py_BuildValue("i",_result
);
6517 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6518 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
* _resultobj
;
6522 PyObject
* _argo0
= 0;
6523 char *_kwnames
[] = { "self", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) return NULL
;
6541 } _resultobj
= Py_BuildValue("i",_result
);
6545 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6546 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6550 PyObject
* _argo0
= 0;
6551 char *_kwnames
[] = { "self", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) return NULL
;
6569 } _resultobj
= Py_BuildValue("i",_result
);
6573 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6574 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 char *_kwnames
[] = { "self", NULL
};
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) return NULL
;
6597 } _resultobj
= Py_BuildValue("i",_result
);
6601 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6602 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self", NULL
};
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) return NULL
;
6625 } _resultobj
= Py_BuildValue("i",_result
);
6629 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6630 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self","threshold", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) return NULL
;
6653 } Py_INCREF(Py_None
);
6654 _resultobj
= Py_None
;
6658 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6659 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
* _resultobj
;
6663 PyObject
* _argo0
= 0;
6664 char *_kwnames
[] = { "self", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 _result
= (bool )wxJoystick_IsOk(_arg0
);
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) return NULL
;
6682 } _resultobj
= Py_BuildValue("i",_result
);
6686 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6687 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6691 PyObject
* _argo0
= 0;
6692 char *_kwnames
[] = { "self", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) return NULL
;
6710 } _resultobj
= Py_BuildValue("i",_result
);
6714 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6715 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) return NULL
;
6738 } _resultobj
= Py_BuildValue("i",_result
);
6742 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6743 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6747 PyObject
* _argo0
= 0;
6748 char *_kwnames
[] = { "self", NULL
};
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 _result
= (int )wxJoystick_GetProductId(_arg0
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) return NULL
;
6766 } _resultobj
= Py_BuildValue("i",_result
);
6770 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6771 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
* _resultobj
;
6775 PyObject
* _argo0
= 0;
6776 char *_kwnames
[] = { "self", NULL
};
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) return NULL
;
6796 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6807 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6808 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6812 PyObject
* _argo0
= 0;
6813 char *_kwnames
[] = { "self", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 _result
= (int )wxJoystick_GetXMin(_arg0
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) return NULL
;
6831 } _resultobj
= Py_BuildValue("i",_result
);
6835 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6836 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
* _resultobj
;
6840 PyObject
* _argo0
= 0;
6841 char *_kwnames
[] = { "self", NULL
};
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 _result
= (int )wxJoystick_GetYMin(_arg0
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) return NULL
;
6859 } _resultobj
= Py_BuildValue("i",_result
);
6863 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6864 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "self", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 _result
= (int )wxJoystick_GetZMin(_arg0
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6887 } _resultobj
= Py_BuildValue("i",_result
);
6891 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6892 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
* _resultobj
;
6896 PyObject
* _argo0
= 0;
6897 char *_kwnames
[] = { "self", NULL
};
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 _result
= (int )wxJoystick_GetXMax(_arg0
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) return NULL
;
6915 } _resultobj
= Py_BuildValue("i",_result
);
6919 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6920 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
* _resultobj
;
6924 PyObject
* _argo0
= 0;
6925 char *_kwnames
[] = { "self", NULL
};
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 _result
= (int )wxJoystick_GetYMax(_arg0
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) return NULL
;
6943 } _resultobj
= Py_BuildValue("i",_result
);
6947 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6948 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
* _resultobj
;
6952 PyObject
* _argo0
= 0;
6953 char *_kwnames
[] = { "self", NULL
};
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 _result
= (int )wxJoystick_GetZMax(_arg0
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) return NULL
;
6971 } _resultobj
= Py_BuildValue("i",_result
);
6975 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6976 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
* _resultobj
;
6980 PyObject
* _argo0
= 0;
6981 char *_kwnames
[] = { "self", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) return NULL
;
6999 } _resultobj
= Py_BuildValue("i",_result
);
7003 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7004 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7008 PyObject
* _argo0
= 0;
7009 char *_kwnames
[] = { "self", NULL
};
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) return NULL
;
7027 } _resultobj
= Py_BuildValue("i",_result
);
7031 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7032 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
* _resultobj
;
7036 PyObject
* _argo0
= 0;
7037 char *_kwnames
[] = { "self", NULL
};
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) return NULL
;
7055 } _resultobj
= Py_BuildValue("i",_result
);
7059 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7060 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
* _resultobj
;
7064 PyObject
* _argo0
= 0;
7065 char *_kwnames
[] = { "self", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) return NULL
;
7083 } _resultobj
= Py_BuildValue("i",_result
);
7087 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7088 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
* _resultobj
;
7092 PyObject
* _argo0
= 0;
7093 char *_kwnames
[] = { "self", NULL
};
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) return NULL
;
7111 } _resultobj
= Py_BuildValue("i",_result
);
7115 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7116 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
* _resultobj
;
7120 PyObject
* _argo0
= 0;
7121 char *_kwnames
[] = { "self", NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) return NULL
;
7139 } _resultobj
= Py_BuildValue("i",_result
);
7143 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7144 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7148 PyObject
* _argo0
= 0;
7149 char *_kwnames
[] = { "self", NULL
};
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) return NULL
;
7167 } _resultobj
= Py_BuildValue("i",_result
);
7171 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7172 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
* _resultobj
;
7176 PyObject
* _argo0
= 0;
7177 char *_kwnames
[] = { "self", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) return NULL
;
7195 } _resultobj
= Py_BuildValue("i",_result
);
7199 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7200 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
* _resultobj
;
7204 PyObject
* _argo0
= 0;
7205 char *_kwnames
[] = { "self", NULL
};
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 _result
= (int )wxJoystick_GetUMin(_arg0
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) return NULL
;
7223 } _resultobj
= Py_BuildValue("i",_result
);
7227 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7228 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
* _resultobj
;
7232 PyObject
* _argo0
= 0;
7233 char *_kwnames
[] = { "self", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 _result
= (int )wxJoystick_GetUMax(_arg0
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) return NULL
;
7251 } _resultobj
= Py_BuildValue("i",_result
);
7255 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7256 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7260 PyObject
* _argo0
= 0;
7261 char *_kwnames
[] = { "self", NULL
};
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 _result
= (int )wxJoystick_GetVMin(_arg0
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) return NULL
;
7279 } _resultobj
= Py_BuildValue("i",_result
);
7283 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7284 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
* _resultobj
;
7288 PyObject
* _argo0
= 0;
7289 char *_kwnames
[] = { "self", NULL
};
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 _result
= (int )wxJoystick_GetVMax(_arg0
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) return NULL
;
7307 } _resultobj
= Py_BuildValue("i",_result
);
7311 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7312 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
* _resultobj
;
7316 PyObject
* _argo0
= 0;
7317 char *_kwnames
[] = { "self", NULL
};
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) return NULL
;
7335 } _resultobj
= Py_BuildValue("i",_result
);
7339 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7340 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7344 PyObject
* _argo0
= 0;
7345 char *_kwnames
[] = { "self", NULL
};
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 _result
= (bool )wxJoystick_HasZ(_arg0
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) return NULL
;
7363 } _resultobj
= Py_BuildValue("i",_result
);
7367 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7368 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
* _resultobj
;
7372 PyObject
* _argo0
= 0;
7373 char *_kwnames
[] = { "self", NULL
};
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 _result
= (bool )wxJoystick_HasU(_arg0
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) return NULL
;
7391 } _resultobj
= Py_BuildValue("i",_result
);
7395 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7396 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
* _resultobj
;
7400 PyObject
* _argo0
= 0;
7401 char *_kwnames
[] = { "self", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 _result
= (bool )wxJoystick_HasV(_arg0
);
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) return NULL
;
7419 } _resultobj
= Py_BuildValue("i",_result
);
7423 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7424 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
* _resultobj
;
7428 PyObject
* _argo0
= 0;
7429 char *_kwnames
[] = { "self", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) return NULL
;
7447 } _resultobj
= Py_BuildValue("i",_result
);
7451 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7452 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7456 PyObject
* _argo0
= 0;
7457 char *_kwnames
[] = { "self", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) return NULL
;
7475 } _resultobj
= Py_BuildValue("i",_result
);
7479 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7480 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7484 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
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_HasPOVCTS. Expected _wxJoystick_p.");
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } _resultobj
= Py_BuildValue("i",_result
);
7507 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7508 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
* _resultobj
;
7513 int _arg2
= (int ) 0;
7514 PyObject
* _argo0
= 0;
7515 PyObject
* _argo1
= 0;
7516 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) return NULL
;
7541 } _resultobj
= Py_BuildValue("i",_result
);
7545 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7546 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7551 char *_kwnames
[] = { "self", NULL
};
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) return NULL
;
7569 } _resultobj
= Py_BuildValue("i",_result
);
7573 static void *SwigwxWaveTowxObject(void *ptr
) {
7576 src
= (wxWave
*) ptr
;
7577 dest
= (wxObject
*) src
;
7578 return (void *) dest
;
7581 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7582 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
* _resultobj
;
7586 bool _arg1
= (bool ) FALSE
;
7587 PyObject
* _obj0
= 0;
7588 int tempbool1
= (int) FALSE
;
7589 char *_kwnames
[] = { "fileName","isResource", NULL
};
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7596 _arg0
= wxString_in_helper(_obj0
);
7600 _arg1
= (bool ) tempbool1
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) return NULL
;
7608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7609 _resultobj
= Py_BuildValue("s",_ptemp
);
7612 _resultobj
= Py_None
;
7621 #define delete_wxWave(_swigobj) (delete _swigobj)
7622 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
* _resultobj
;
7625 PyObject
* _argo0
= 0;
7626 char *_kwnames
[] = { "self", NULL
};
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 delete_wxWave(_arg0
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) return NULL
;
7644 } Py_INCREF(Py_None
);
7645 _resultobj
= Py_None
;
7649 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7650 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
* _resultobj
;
7654 PyObject
* _argo0
= 0;
7655 char *_kwnames
[] = { "self", NULL
};
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 _result
= (bool )wxWave_IsOk(_arg0
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) return NULL
;
7673 } _resultobj
= Py_BuildValue("i",_result
);
7677 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7678 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
* _resultobj
;
7682 bool _arg1
= (bool ) TRUE
;
7683 bool _arg2
= (bool ) FALSE
;
7684 PyObject
* _argo0
= 0;
7685 int tempbool1
= (int) TRUE
;
7686 int tempbool2
= (int) FALSE
;
7687 char *_kwnames
[] = { "self","async","looped", NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7699 _arg1
= (bool ) tempbool1
;
7700 _arg2
= (bool ) tempbool2
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) return NULL
;
7707 } _resultobj
= Py_BuildValue("i",_result
);
7711 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7712 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7714 wxFileTypeInfo
* _result
;
7719 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) return NULL
;
7732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7733 _resultobj
= Py_BuildValue("s",_ptemp
);
7736 _resultobj
= Py_None
;
7741 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7742 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
* _resultobj
;
7744 wxFileTypeInfo
* _result
;
7745 wxArrayString
* _arg0
;
7746 PyObject
* _obj0
= 0;
7747 char *_kwnames
[] = { "sArray", NULL
};
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7754 if (! PySequence_Check(_obj0
)) {
7755 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7758 _arg0
= new wxArrayString
;
7759 int i
, len
=PySequence_Length(_obj0
);
7760 for (i
=0; i
<len
; i
++) {
7761 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7763 PyObject
* str
= PyObject_Unicode(item
);
7764 _arg0
->Add(PyUnicode_AsUnicode(str
));
7766 PyObject
* str
= PyObject_Str(item
);
7767 _arg0
->Add(PyString_AsString(str
));
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) return NULL
;
7780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7781 _resultobj
= Py_BuildValue("s",_ptemp
);
7784 _resultobj
= Py_None
;
7793 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7794 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
* _resultobj
;
7796 wxFileTypeInfo
* _result
;
7797 char *_kwnames
[] = { NULL
};
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) return NULL
;
7810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7811 _resultobj
= Py_BuildValue("s",_ptemp
);
7814 _resultobj
= Py_None
;
7819 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7820 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
* _resultobj
;
7823 wxFileTypeInfo
* _arg0
;
7824 PyObject
* _argo0
= 0;
7825 char *_kwnames
[] = { "self", NULL
};
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) return NULL
;
7843 } _resultobj
= Py_BuildValue("i",_result
);
7847 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7848 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
* _resultobj
;
7850 wxFileTypeInfo
* _arg0
;
7852 int _arg2
= (int ) 0;
7853 PyObject
* _argo0
= 0;
7854 PyObject
* _obj1
= 0;
7855 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7868 _arg1
= wxString_in_helper(_obj1
);
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) return NULL
;
7878 } Py_INCREF(Py_None
);
7879 _resultobj
= Py_None
;
7887 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7888 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
* _resultobj
;
7890 wxFileTypeInfo
* _arg0
;
7892 PyObject
* _argo0
= 0;
7893 PyObject
* _obj1
= 0;
7894 char *_kwnames
[] = { "self","shortDesc", NULL
};
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7907 _arg1
= wxString_in_helper(_obj1
);
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) return NULL
;
7917 } Py_INCREF(Py_None
);
7918 _resultobj
= Py_None
;
7926 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7927 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
* _resultobj
;
7930 wxFileTypeInfo
* _arg0
;
7931 PyObject
* _argo0
= 0;
7932 char *_kwnames
[] = { "self", NULL
};
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7947 _result
= (wxString
*) &_result_ref
;
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) return NULL
;
7953 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7955 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7961 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7962 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
* _resultobj
;
7965 wxFileTypeInfo
* _arg0
;
7966 PyObject
* _argo0
= 0;
7967 char *_kwnames
[] = { "self", NULL
};
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7982 _result
= (wxString
*) &_result_ref
;
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) return NULL
;
7988 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7990 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7996 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7997 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
* _resultobj
;
8000 wxFileTypeInfo
* _arg0
;
8001 PyObject
* _argo0
= 0;
8002 char *_kwnames
[] = { "self", NULL
};
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8017 _result
= (wxString
*) &_result_ref
;
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) return NULL
;
8023 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8025 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8031 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8032 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
* _resultobj
;
8035 wxFileTypeInfo
* _arg0
;
8036 PyObject
* _argo0
= 0;
8037 char *_kwnames
[] = { "self", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8052 _result
= (wxString
*) &_result_ref
;
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) return NULL
;
8058 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8060 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8066 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8067 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
* _resultobj
;
8070 wxFileTypeInfo
* _arg0
;
8071 PyObject
* _argo0
= 0;
8072 char *_kwnames
[] = { "self", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8087 _result
= (wxString
*) &_result_ref
;
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) return NULL
;
8093 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8095 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8101 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8102 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8103 return wxArrayString2PyList_helper(arr
);
8105 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8108 wxFileTypeInfo
* _arg0
;
8109 PyObject
* _argo0
= 0;
8110 char *_kwnames
[] = { "self", NULL
};
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) return NULL
;
8129 _resultobj
= _result
;
8134 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8135 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
* _resultobj
;
8138 wxFileTypeInfo
* _arg0
;
8139 PyObject
* _argo0
= 0;
8140 char *_kwnames
[] = { "self", NULL
};
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) return NULL
;
8158 } _resultobj
= Py_BuildValue("i",_result
);
8162 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8163 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
* _resultobj
;
8166 wxFileTypeInfo
* _arg0
;
8167 PyObject
* _argo0
= 0;
8168 char *_kwnames
[] = { "self", NULL
};
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8183 _result
= (wxString
*) &_result_ref
;
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) return NULL
;
8189 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8191 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8197 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8198 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
* _resultobj
;
8201 wxFileTypeInfo
* _arg0
;
8202 PyObject
* _argo0
= 0;
8203 char *_kwnames
[] = { "self", NULL
};
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) return NULL
;
8221 } _resultobj
= Py_BuildValue("i",_result
);
8225 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8226 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
* _resultobj
;
8228 wxFileType
* _result
;
8229 wxFileTypeInfo
* _arg0
;
8230 PyObject
* _argo0
= 0;
8231 char *_kwnames
[] = { "ftInfo", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8252 _resultobj
= Py_BuildValue("s",_ptemp
);
8255 _resultobj
= Py_None
;
8260 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8262 if (self
->GetMimeType(&str
)) {
8264 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8266 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8272 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
* _resultobj
;
8276 PyObject
* _argo0
= 0;
8277 char *_kwnames
[] = { "self", NULL
};
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) return NULL
;
8296 _resultobj
= _result
;
8301 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8303 if (self
->GetMimeTypes(arr
))
8304 return wxArrayString2PyList_helper(arr
);
8308 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
* _resultobj
;
8312 PyObject
* _argo0
= 0;
8313 char *_kwnames
[] = { "self", NULL
};
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) return NULL
;
8332 _resultobj
= _result
;
8337 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8339 if (self
->GetExtensions(arr
))
8340 return wxArrayString2PyList_helper(arr
);
8344 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
* _resultobj
;
8348 PyObject
* _argo0
= 0;
8349 char *_kwnames
[] = { "self", NULL
};
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) return NULL
;
8368 _resultobj
= _result
;
8373 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8375 if (self
->GetIcon(&icon
))
8376 return new wxIcon(icon
);
8380 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
* _resultobj
;
8384 PyObject
* _argo0
= 0;
8385 char *_kwnames
[] = { "self", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) return NULL
;
8405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8406 _resultobj
= Py_BuildValue("s",_ptemp
);
8409 _resultobj
= Py_None
;
8414 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8418 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8419 wxPyBeginBlockThreads();
8420 PyObject
* tuple
= PyTuple_New(3);
8421 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8424 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8426 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8428 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8429 wxPyEndBlockThreads();
8435 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
* _resultobj
;
8439 PyObject
* _argo0
= 0;
8440 char *_kwnames
[] = { "self", NULL
};
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) return NULL
;
8459 _resultobj
= _result
;
8464 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8466 if (self
->GetDescription(&str
)) {
8468 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8470 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8475 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
* _resultobj
;
8479 PyObject
* _argo0
= 0;
8480 char *_kwnames
[] = { "self", NULL
};
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) return NULL
;
8499 _resultobj
= _result
;
8504 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8506 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8508 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8510 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8515 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
* _resultobj
;
8520 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8521 PyObject
* _argo0
= 0;
8522 PyObject
* _obj1
= 0;
8523 PyObject
* _obj2
= 0;
8524 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8537 _arg1
= wxString_in_helper(_obj1
);
8543 _arg2
= wxString_in_helper(_obj2
);
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) return NULL
;
8554 _resultobj
= _result
;
8567 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8569 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8571 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8573 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8578 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
* _resultobj
;
8583 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8584 PyObject
* _argo0
= 0;
8585 PyObject
* _obj1
= 0;
8586 PyObject
* _obj2
= 0;
8587 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8600 _arg1
= wxString_in_helper(_obj1
);
8606 _arg2
= wxString_in_helper(_obj2
);
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) return NULL
;
8617 _resultobj
= _result
;
8630 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8631 wxArrayString verbs
;
8632 wxArrayString commands
;
8633 if (self
->GetAllCommands(&verbs
, &commands
,
8634 wxFileType::MessageParameters(filename
, mimetype
))) {
8635 wxPyBeginBlockThreads();
8636 PyObject
* tuple
= PyTuple_New(2);
8637 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8638 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8639 wxPyEndBlockThreads();
8645 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
* _resultobj
;
8650 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8651 PyObject
* _argo0
= 0;
8652 PyObject
* _obj1
= 0;
8653 PyObject
* _obj2
= 0;
8654 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8667 _arg1
= wxString_in_helper(_obj1
);
8673 _arg2
= wxString_in_helper(_obj2
);
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) return NULL
;
8684 _resultobj
= _result
;
8697 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8698 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
* _resultobj
;
8704 bool _arg3
= (bool ) TRUE
;
8705 PyObject
* _argo0
= 0;
8706 PyObject
* _obj1
= 0;
8707 PyObject
* _obj2
= 0;
8708 int tempbool3
= (int) TRUE
;
8709 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8722 _arg1
= wxString_in_helper(_obj1
);
8727 _arg2
= wxString_in_helper(_obj2
);
8731 _arg3
= (bool ) tempbool3
;
8733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8734 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) return NULL
;
8738 } _resultobj
= Py_BuildValue("i",_result
);
8750 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8751 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
* _resultobj
;
8755 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8756 int _arg2
= (int ) 0;
8757 PyObject
* _argo0
= 0;
8758 PyObject
* _obj1
= 0;
8759 char *_kwnames
[] = { "self","cmd","index", NULL
};
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8773 _arg1
= wxString_in_helper(_obj1
);
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8783 } _resultobj
= Py_BuildValue("i",_result
);
8791 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8792 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
* _resultobj
;
8796 PyObject
* _argo0
= 0;
8797 char *_kwnames
[] = { "self", NULL
};
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 _result
= (bool )wxFileType_Unassociate(_arg0
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) return NULL
;
8815 } _resultobj
= Py_BuildValue("i",_result
);
8819 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
* _resultobj
;
8823 wxFileType::MessageParameters
* _arg1
;
8824 PyObject
* _obj0
= 0;
8825 PyObject
* _argo1
= 0;
8826 char *_kwnames
[] = { "command","params", NULL
};
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8832 _arg0
= wxString_in_helper(_obj0
);
8837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) return NULL
;
8851 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8853 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8866 #define delete_wxFileType(_swigobj) (delete _swigobj)
8867 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
* _resultobj
;
8870 PyObject
* _argo0
= 0;
8871 char *_kwnames
[] = { "self", NULL
};
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 delete_wxFileType(_arg0
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) return NULL
;
8889 } Py_INCREF(Py_None
);
8890 _resultobj
= Py_None
;
8894 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8899 PyObject
* _obj0
= 0;
8900 PyObject
* _obj1
= 0;
8901 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8907 _arg0
= wxString_in_helper(_obj0
);
8912 _arg1
= wxString_in_helper(_obj1
);
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) return NULL
;
8922 } _resultobj
= Py_BuildValue("i",_result
);
8934 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8935 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
* _resultobj
;
8937 wxMimeTypesManager
* _result
;
8938 char *_kwnames
[] = { NULL
};
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) return NULL
;
8951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8952 _resultobj
= Py_BuildValue("s",_ptemp
);
8955 _resultobj
= Py_None
;
8960 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8961 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
* _resultobj
;
8963 wxMimeTypesManager
* _arg0
;
8964 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8965 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8966 PyObject
* _argo0
= 0;
8967 PyObject
* _obj2
= 0;
8968 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8982 _arg2
= wxString_in_helper(_obj2
);
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) return NULL
;
8992 } Py_INCREF(Py_None
);
8993 _resultobj
= Py_None
;
9001 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9002 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
* _resultobj
;
9004 wxMimeTypesManager
* _arg0
;
9005 PyObject
* _argo0
= 0;
9006 char *_kwnames
[] = { "self", NULL
};
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 wxMimeTypesManager_ClearData(_arg0
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) return NULL
;
9024 } Py_INCREF(Py_None
);
9025 _resultobj
= Py_None
;
9029 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9030 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
* _resultobj
;
9032 wxFileType
* _result
;
9033 wxMimeTypesManager
* _arg0
;
9035 PyObject
* _argo0
= 0;
9036 PyObject
* _obj1
= 0;
9037 char *_kwnames
[] = { "self","ext", NULL
};
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9051 _arg1
= wxString_in_helper(_obj1
);
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) return NULL
;
9062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9063 _resultobj
= Py_BuildValue("s",_ptemp
);
9066 _resultobj
= Py_None
;
9075 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9076 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
* _resultobj
;
9078 wxFileType
* _result
;
9079 wxMimeTypesManager
* _arg0
;
9081 PyObject
* _argo0
= 0;
9082 PyObject
* _obj1
= 0;
9083 char *_kwnames
[] = { "self","mimeType", NULL
};
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9097 _arg1
= wxString_in_helper(_obj1
);
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) return NULL
;
9108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9109 _resultobj
= Py_BuildValue("s",_ptemp
);
9112 _resultobj
= Py_None
;
9121 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9122 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
* _resultobj
;
9125 wxMimeTypesManager
* _arg0
;
9127 bool _arg2
= (bool ) FALSE
;
9128 PyObject
* _argo0
= 0;
9129 PyObject
* _obj1
= 0;
9130 int tempbool2
= (int) FALSE
;
9131 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9144 _arg1
= wxString_in_helper(_obj1
);
9148 _arg2
= (bool ) tempbool2
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) return NULL
;
9155 } _resultobj
= Py_BuildValue("i",_result
);
9163 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9164 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
* _resultobj
;
9167 wxMimeTypesManager
* _arg0
;
9169 PyObject
* _argo0
= 0;
9170 PyObject
* _obj1
= 0;
9171 char *_kwnames
[] = { "self","filename", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9184 _arg1
= wxString_in_helper(_obj1
);
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) return NULL
;
9194 } _resultobj
= Py_BuildValue("i",_result
);
9202 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9204 self
->EnumAllFileTypes(arr
);
9205 return wxArrayString2PyList_helper(arr
);
9207 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
* _resultobj
;
9210 wxMimeTypesManager
* _arg0
;
9211 PyObject
* _argo0
= 0;
9212 char *_kwnames
[] = { "self", NULL
};
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
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_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) return NULL
;
9231 _resultobj
= _result
;
9236 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9237 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
* _resultobj
;
9239 wxMimeTypesManager
* _arg0
;
9240 wxFileTypeInfo
* _arg1
;
9241 PyObject
* _argo0
= 0;
9242 PyObject
* _argo1
= 0;
9243 char *_kwnames
[] = { "self","ft", NULL
};
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9268 } Py_INCREF(Py_None
);
9269 _resultobj
= Py_None
;
9273 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9274 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
* _resultobj
;
9276 wxFileType
* _result
;
9277 wxMimeTypesManager
* _arg0
;
9278 wxFileTypeInfo
* _arg1
;
9279 PyObject
* _argo0
= 0;
9280 PyObject
* _argo1
= 0;
9281 char *_kwnames
[] = { "self","ftInfo", NULL
};
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) return NULL
;
9308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9309 _resultobj
= Py_BuildValue("s",_ptemp
);
9312 _resultobj
= Py_None
;
9317 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9318 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9321 wxMimeTypesManager
* _arg0
;
9323 PyObject
* _argo0
= 0;
9324 PyObject
* _argo1
= 0;
9325 char *_kwnames
[] = { "self","ft", NULL
};
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) return NULL
;
9350 } _resultobj
= Py_BuildValue("i",_result
);
9354 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9355 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
* _resultobj
;
9357 wxMimeTypesManager
* _arg0
;
9358 PyObject
* _argo0
= 0;
9359 char *_kwnames
[] = { "self", NULL
};
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 delete_wxMimeTypesManager(_arg0
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) return NULL
;
9377 } Py_INCREF(Py_None
);
9378 _resultobj
= Py_None
;
9382 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9383 wxPyArtProvider
*src
;
9385 src
= (wxPyArtProvider
*) ptr
;
9386 dest
= (wxObject
*) src
;
9387 return (void *) dest
;
9390 #define new_wxArtProvider() (new wxPyArtProvider())
9391 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
* _resultobj
;
9393 wxPyArtProvider
* _result
;
9394 char *_kwnames
[] = { NULL
};
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) return NULL
;
9407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9408 _resultobj
= Py_BuildValue("s",_ptemp
);
9411 _resultobj
= Py_None
;
9416 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9417 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
* _resultobj
;
9419 wxPyArtProvider
* _arg0
;
9422 PyObject
* _argo0
= 0;
9423 PyObject
* _obj1
= 0;
9424 PyObject
* _obj2
= 0;
9425 char *_kwnames
[] = { "self","self","_class", NULL
};
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) return NULL
;
9449 } Py_INCREF(Py_None
);
9450 _resultobj
= Py_None
;
9454 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9456 wxPyArtProvider
* _arg0
;
9457 PyObject
* _argo0
= 0;
9458 char *_kwnames
[] = { "provider", NULL
};
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 wxPyArtProvider::PushProvider(_arg0
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) return NULL
;
9476 } Py_INCREF(Py_None
);
9477 _resultobj
= Py_None
;
9481 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
* _resultobj
;
9484 char *_kwnames
[] = { NULL
};
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 _result
= (bool )wxPyArtProvider::PopProvider();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) return NULL
;
9495 } _resultobj
= Py_BuildValue("i",_result
);
9499 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
* _resultobj
;
9502 wxPyArtProvider
* _arg0
;
9503 PyObject
* _argo0
= 0;
9504 char *_kwnames
[] = { "provider", NULL
};
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) return NULL
;
9522 } _resultobj
= Py_BuildValue("i",_result
);
9526 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
* _resultobj
;
9530 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9531 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9532 PyObject
* _obj0
= 0;
9533 PyObject
* _obj1
= 0;
9535 PyObject
* _obj2
= 0;
9536 char *_kwnames
[] = { "id","client","size", NULL
};
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9543 _arg0
= wxString_in_helper(_obj0
);
9549 _arg1
= wxString_in_helper(_obj1
);
9556 if (! wxSize_helper(_obj2
, &_arg2
))
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) return NULL
;
9565 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9566 _resultobj
= Py_BuildValue("s",_ptemp
);
9578 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
* _resultobj
;
9582 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9583 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9584 PyObject
* _obj0
= 0;
9585 PyObject
* _obj1
= 0;
9587 PyObject
* _obj2
= 0;
9588 char *_kwnames
[] = { "id","client","size", NULL
};
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9595 _arg0
= wxString_in_helper(_obj0
);
9601 _arg1
= wxString_in_helper(_obj1
);
9608 if (! wxSize_helper(_obj2
, &_arg2
))
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) return NULL
;
9617 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9618 _resultobj
= Py_BuildValue("s",_ptemp
);
9630 static PyObject
*_wrap_wxArtProvider_CleanUpProviders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
* _resultobj
;
9632 char *_kwnames
[] = { NULL
};
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_CleanUpProviders",_kwnames
))
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 wxPyArtProvider::CleanUpProviders();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) return NULL
;
9643 } Py_INCREF(Py_None
);
9644 _resultobj
= Py_None
;
9648 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9651 src
= (wxFileHistory
*) ptr
;
9652 dest
= (wxObject
*) src
;
9653 return (void *) dest
;
9656 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9657 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
* _resultobj
;
9659 wxFileHistory
* _result
;
9660 int _arg0
= (int ) 9;
9661 char *_kwnames
[] = { "maxFiles", NULL
};
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) return NULL
;
9674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9675 _resultobj
= Py_BuildValue("s",_ptemp
);
9678 _resultobj
= Py_None
;
9683 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9684 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
* _resultobj
;
9686 wxFileHistory
* _arg0
;
9687 PyObject
* _argo0
= 0;
9688 char *_kwnames
[] = { "self", NULL
};
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 delete_wxFileHistory(_arg0
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) return NULL
;
9706 } Py_INCREF(Py_None
);
9707 _resultobj
= Py_None
;
9711 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9712 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
* _resultobj
;
9714 wxFileHistory
* _arg0
;
9716 PyObject
* _argo0
= 0;
9717 PyObject
* _obj1
= 0;
9718 char *_kwnames
[] = { "self","file", NULL
};
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9731 _arg1
= wxString_in_helper(_obj1
);
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) return NULL
;
9741 } Py_INCREF(Py_None
);
9742 _resultobj
= Py_None
;
9750 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9751 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
* _resultobj
;
9753 wxFileHistory
* _arg0
;
9755 PyObject
* _argo0
= 0;
9756 char *_kwnames
[] = { "self","i", NULL
};
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) return NULL
;
9774 } Py_INCREF(Py_None
);
9775 _resultobj
= Py_None
;
9779 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9780 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
* _resultobj
;
9783 wxFileHistory
* _arg0
;
9784 PyObject
* _argo0
= 0;
9785 char *_kwnames
[] = { "self", NULL
};
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) return NULL
;
9803 } _resultobj
= Py_BuildValue("i",_result
);
9807 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9808 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
* _resultobj
;
9810 wxFileHistory
* _arg0
;
9812 PyObject
* _argo0
= 0;
9813 PyObject
* _argo1
= 0;
9814 char *_kwnames
[] = { "self","menu", NULL
};
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 wxFileHistory_UseMenu(_arg0
,_arg1
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) return NULL
;
9839 } Py_INCREF(Py_None
);
9840 _resultobj
= Py_None
;
9844 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9845 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
* _resultobj
;
9847 wxFileHistory
* _arg0
;
9849 PyObject
* _argo0
= 0;
9850 PyObject
* _argo1
= 0;
9851 char *_kwnames
[] = { "self","menu", NULL
};
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) return NULL
;
9876 } Py_INCREF(Py_None
);
9877 _resultobj
= Py_None
;
9881 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9882 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
* _resultobj
;
9884 wxFileHistory
* _arg0
;
9885 wxConfigBase
* _arg1
;
9886 PyObject
* _argo0
= 0;
9887 PyObject
* _argo1
= 0;
9888 char *_kwnames
[] = { "self","config", NULL
};
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 wxFileHistory_Load(_arg0
,*_arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) return NULL
;
9913 } Py_INCREF(Py_None
);
9914 _resultobj
= Py_None
;
9918 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9919 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
* _resultobj
;
9921 wxFileHistory
* _arg0
;
9922 wxConfigBase
* _arg1
;
9923 PyObject
* _argo0
= 0;
9924 PyObject
* _argo1
= 0;
9925 char *_kwnames
[] = { "self","config", NULL
};
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxFileHistory_Save(_arg0
,*_arg1
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) return NULL
;
9950 } Py_INCREF(Py_None
);
9951 _resultobj
= Py_None
;
9955 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9956 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
* _resultobj
;
9958 wxFileHistory
* _arg0
;
9959 PyObject
* _argo0
= 0;
9960 char *_kwnames
[] = { "self", NULL
};
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 wxFileHistory_AddFilesToMenu(_arg0
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) return NULL
;
9978 } Py_INCREF(Py_None
);
9979 _resultobj
= Py_None
;
9983 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9984 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
* _resultobj
;
9986 wxFileHistory
* _arg0
;
9988 PyObject
* _argo0
= 0;
9989 PyObject
* _argo1
= 0;
9990 char *_kwnames
[] = { "self","menu", NULL
};
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
9996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) return NULL
;
10015 } Py_INCREF(Py_None
);
10016 _resultobj
= Py_None
;
10020 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10021 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
* _resultobj
;
10023 wxString
* _result
;
10024 wxFileHistory
* _arg0
;
10026 PyObject
* _argo0
= 0;
10027 char *_kwnames
[] = { "self","i", NULL
};
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) return NULL
;
10047 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10049 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10058 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10059 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
* _resultobj
;
10062 wxFileHistory
* _arg0
;
10063 PyObject
* _argo0
= 0;
10064 char *_kwnames
[] = { "self", NULL
};
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 _result
= (int )wxFileHistory_GetCount(_arg0
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) return NULL
;
10082 } _resultobj
= Py_BuildValue("i",_result
);
10086 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10087 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
* _resultobj
;
10090 wxFileHistory
* _arg0
;
10091 PyObject
* _argo0
= 0;
10092 char *_kwnames
[] = { "self", NULL
};
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) return NULL
;
10110 } _resultobj
= Py_BuildValue("i",_result
);
10114 static PyMethodDef misc2cMethods
[] = {
10115 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxArtProvider_CleanUpProviders", (PyCFunction
) _wrap_wxArtProvider_CleanUpProviders
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10418 * This table is used by the pointer type-checker
10420 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10421 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10422 { "_signed_long","_long",0},
10423 { "_wxPrintQuality","_wxCoord",0},
10424 { "_wxPrintQuality","_int",0},
10425 { "_wxPrintQuality","_signed_int",0},
10426 { "_wxPrintQuality","_unsigned_int",0},
10427 { "_wxPrintQuality","_wxWindowID",0},
10428 { "_wxPrintQuality","_uint",0},
10429 { "_wxPrintQuality","_EBool",0},
10430 { "_wxPrintQuality","_size_t",0},
10431 { "_wxPrintQuality","_time_t",0},
10432 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10433 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10434 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10435 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10436 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10437 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10438 { "_byte","_unsigned_char",0},
10439 { "_long","_unsigned_long",0},
10440 { "_long","_signed_long",0},
10441 { "_size_t","_wxCoord",0},
10442 { "_size_t","_wxPrintQuality",0},
10443 { "_size_t","_time_t",0},
10444 { "_size_t","_unsigned_int",0},
10445 { "_size_t","_int",0},
10446 { "_size_t","_wxWindowID",0},
10447 { "_size_t","_uint",0},
10448 { "_uint","_wxCoord",0},
10449 { "_uint","_wxPrintQuality",0},
10450 { "_uint","_time_t",0},
10451 { "_uint","_size_t",0},
10452 { "_uint","_unsigned_int",0},
10453 { "_uint","_int",0},
10454 { "_uint","_wxWindowID",0},
10455 { "_wxChar","_char",0},
10456 { "_char","_wxChar",0},
10457 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10458 { "_EBool","_wxCoord",0},
10459 { "_EBool","_wxPrintQuality",0},
10460 { "_EBool","_signed_int",0},
10461 { "_EBool","_int",0},
10462 { "_EBool","_wxWindowID",0},
10463 { "_unsigned_long","_long",0},
10464 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10465 { "_signed_int","_wxCoord",0},
10466 { "_signed_int","_wxPrintQuality",0},
10467 { "_signed_int","_EBool",0},
10468 { "_signed_int","_wxWindowID",0},
10469 { "_signed_int","_int",0},
10470 { "_WXTYPE","_wxDateTime_t",0},
10471 { "_WXTYPE","_short",0},
10472 { "_WXTYPE","_signed_short",0},
10473 { "_WXTYPE","_unsigned_short",0},
10474 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10475 { "_unsigned_short","_wxDateTime_t",0},
10476 { "_unsigned_short","_WXTYPE",0},
10477 { "_unsigned_short","_short",0},
10478 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10479 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
10480 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10481 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10482 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10483 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10484 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10485 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10486 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10487 { "_signed_short","_WXTYPE",0},
10488 { "_signed_short","_short",0},
10489 { "_unsigned_char","_byte",0},
10490 { "_unsigned_int","_wxCoord",0},
10491 { "_unsigned_int","_wxPrintQuality",0},
10492 { "_unsigned_int","_time_t",0},
10493 { "_unsigned_int","_size_t",0},
10494 { "_unsigned_int","_uint",0},
10495 { "_unsigned_int","_wxWindowID",0},
10496 { "_unsigned_int","_int",0},
10497 { "_short","_wxDateTime_t",0},
10498 { "_short","_WXTYPE",0},
10499 { "_short","_unsigned_short",0},
10500 { "_short","_signed_short",0},
10501 { "_wxWindowID","_wxCoord",0},
10502 { "_wxWindowID","_wxPrintQuality",0},
10503 { "_wxWindowID","_time_t",0},
10504 { "_wxWindowID","_size_t",0},
10505 { "_wxWindowID","_EBool",0},
10506 { "_wxWindowID","_uint",0},
10507 { "_wxWindowID","_int",0},
10508 { "_wxWindowID","_signed_int",0},
10509 { "_wxWindowID","_unsigned_int",0},
10510 { "_int","_wxCoord",0},
10511 { "_int","_wxPrintQuality",0},
10512 { "_int","_time_t",0},
10513 { "_int","_size_t",0},
10514 { "_int","_EBool",0},
10515 { "_int","_uint",0},
10516 { "_int","_wxWindowID",0},
10517 { "_int","_unsigned_int",0},
10518 { "_int","_signed_int",0},
10519 { "_wxDateTime_t","_unsigned_short",0},
10520 { "_wxDateTime_t","_short",0},
10521 { "_wxDateTime_t","_WXTYPE",0},
10522 { "_time_t","_wxCoord",0},
10523 { "_time_t","_wxPrintQuality",0},
10524 { "_time_t","_unsigned_int",0},
10525 { "_time_t","_int",0},
10526 { "_time_t","_wxWindowID",0},
10527 { "_time_t","_uint",0},
10528 { "_time_t","_size_t",0},
10529 { "_wxCoord","_int",0},
10530 { "_wxCoord","_signed_int",0},
10531 { "_wxCoord","_unsigned_int",0},
10532 { "_wxCoord","_wxWindowID",0},
10533 { "_wxCoord","_uint",0},
10534 { "_wxCoord","_EBool",0},
10535 { "_wxCoord","_size_t",0},
10536 { "_wxCoord","_time_t",0},
10537 { "_wxCoord","_wxPrintQuality",0},
10538 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10541 static PyObject
*SWIG_globals
;
10545 SWIGEXPORT(void) initmisc2c() {
10547 SWIG_globals
= SWIG_newvarlink();
10548 m
= Py_InitModule("misc2c", misc2cMethods
);
10549 d
= PyModule_GetDict(m
);
10550 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10551 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10552 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10553 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10554 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10555 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10556 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10557 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10558 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10559 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10560 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10561 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10562 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10563 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10564 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10565 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10566 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10567 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10568 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10569 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10570 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10571 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10572 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10573 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10574 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10575 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10576 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10577 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10578 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10579 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10580 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10581 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10582 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10583 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10584 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10585 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10586 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10587 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10588 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10589 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10590 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10591 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10592 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10593 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10594 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10595 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10596 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10597 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10598 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10599 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10600 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10601 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10602 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10603 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10604 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10605 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10606 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10607 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10608 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10609 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10610 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10611 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10612 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10613 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10614 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10615 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10616 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10617 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10618 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10619 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10620 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10621 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10622 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10623 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10624 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10625 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10626 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10627 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10628 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10629 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10630 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10631 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10632 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10633 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10634 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10635 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
10636 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
10637 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
10638 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
10639 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
10640 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10641 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10642 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10643 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10644 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10645 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10646 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10647 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10648 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10649 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10650 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10651 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10652 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10653 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10654 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10655 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10656 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10657 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10658 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10659 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10660 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10661 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10662 PyDict_SetItemString(d
,"wxART_TOOLBAR", PyString_FromString("toolbar_C"));
10663 PyDict_SetItemString(d
,"wxART_MENU", PyString_FromString("menu_C"));
10664 PyDict_SetItemString(d
,"wxART_FRAME_ICON", PyString_FromString("frame_icon_C"));
10665 PyDict_SetItemString(d
,"wxART_CMN_DIALOG", PyString_FromString("cmn_dialog_C"));
10666 PyDict_SetItemString(d
,"wxART_HELP_BROWSER", PyString_FromString("help_browser_C"));
10667 PyDict_SetItemString(d
,"wxART_MESSAGE_BOX", PyString_FromString("message_box_C"));
10668 PyDict_SetItemString(d
,"wxART_OTHER", PyString_FromString("other_C"));
10669 PyDict_SetItemString(d
,"wxART_ADD_BOOKMARK", PyString_FromString("add_bookmark"));
10670 PyDict_SetItemString(d
,"wxART_DEL_BOOKMARK", PyString_FromString("del_bookmark"));
10671 PyDict_SetItemString(d
,"wxART_HELP_SIDE_PANEL", PyString_FromString("help_side_panel"));
10672 PyDict_SetItemString(d
,"wxART_HELP_SETTINGS", PyString_FromString("help_settings"));
10673 PyDict_SetItemString(d
,"wxART_HELP_BOOK", PyString_FromString("help_book"));
10674 PyDict_SetItemString(d
,"wxART_HELP_FOLDER", PyString_FromString("help_folder"));
10675 PyDict_SetItemString(d
,"wxART_HELP_PAGE", PyString_FromString("help_page"));
10676 PyDict_SetItemString(d
,"wxART_GO_BACK", PyString_FromString("go_back"));
10677 PyDict_SetItemString(d
,"wxART_GO_FORWARD", PyString_FromString("go_forward"));
10678 PyDict_SetItemString(d
,"wxART_GO_UP", PyString_FromString("go_up"));
10679 PyDict_SetItemString(d
,"wxART_GO_DOWN", PyString_FromString("go_down"));
10680 PyDict_SetItemString(d
,"wxART_GO_TO_PARENT", PyString_FromString("go_to_parent"));
10681 PyDict_SetItemString(d
,"wxART_GO_HOME", PyString_FromString("go_home"));
10682 PyDict_SetItemString(d
,"wxART_FILE_OPEN", PyString_FromString("file_open"));
10683 PyDict_SetItemString(d
,"wxART_PRINT", PyString_FromString("print"));
10684 PyDict_SetItemString(d
,"wxART_HELP", PyString_FromString("help"));
10685 PyDict_SetItemString(d
,"wxART_TIP", PyString_FromString("tip"));
10686 PyDict_SetItemString(d
,"wxART_REPORT_VIEW", PyString_FromString("report_view"));
10687 PyDict_SetItemString(d
,"wxART_LIST_VIEW", PyString_FromString("list_view"));
10688 PyDict_SetItemString(d
,"wxART_NEW_DIR", PyString_FromString("new_dir"));
10689 PyDict_SetItemString(d
,"wxART_FOLDER", PyString_FromString("folder"));
10690 PyDict_SetItemString(d
,"wxART_GO_DIR_UP", PyString_FromString("go_dir_up"));
10691 PyDict_SetItemString(d
,"wxART_EXECUTABLE_FILE", PyString_FromString("executable_file"));
10692 PyDict_SetItemString(d
,"wxART_NORMAL_FILE", PyString_FromString("normal_file"));
10693 PyDict_SetItemString(d
,"wxART_TICK_MARK", PyString_FromString("tick"));
10694 PyDict_SetItemString(d
,"wxART_CROSS_MARK", PyString_FromString("cross"));
10695 PyDict_SetItemString(d
,"wxART_ERROR", PyString_FromString("error"));
10696 PyDict_SetItemString(d
,"wxART_QUESTION", PyString_FromString("question"));
10697 PyDict_SetItemString(d
,"wxART_WARNING", PyString_FromString("warning"));
10698 PyDict_SetItemString(d
,"wxART_INFORMATION", PyString_FromString("information"));
10700 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10701 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10702 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
10705 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10706 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);