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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmisc2c
55 #define SWIG_name "misc2c"
58 #include "pyistream.h"
59 #include <wx/tooltip.h>
61 #include <wx/tipdlg.h>
62 #include <wx/process.h>
64 #if wxUSE_JOYSTICK || defined(__WXMSW__)
65 #include <wx/joystick.h>
68 #if wxUSE_WAVE || defined(__WXMSW__)
72 #include <wx/mimetype.h>
73 #include <wx/snglinst.h>
74 #include <wx/effects.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
);
131 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
135 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
136 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
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
, wxT("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_FromWideChar(_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_FromWideChar(_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_FromWideChar(_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_FromWideChar(_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_FromWideChar(_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_FromWideChar(_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_FromWideChar(_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 (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 wxSetCursor(*_arg0
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) return NULL
;
1333 } Py_INCREF(Py_None
);
1334 _resultobj
= Py_None
;
1338 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1340 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1341 PyObject
* _argo0
= 0;
1342 char *_kwnames
[] = { "cursor", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 wxBeginBusyCursor(_arg0
);
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1360 } Py_INCREF(Py_None
);
1361 _resultobj
= Py_None
;
1365 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1368 char *_kwnames
[] = { NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1375 _result
= (wxWindow
*)wxGetActiveWindow();
1377 wxPyEndAllowThreads(__tstate
);
1378 if (PyErr_Occurred()) return NULL
;
1379 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1383 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1388 PyObject
* _obj0
= 0;
1389 char *_kwnames
[] = { "pt", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1396 if (! wxPoint_helper(_obj0
, &_arg0
))
1400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1401 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1403 wxPyEndAllowThreads(__tstate
);
1404 if (PyErr_Occurred()) return NULL
;
1405 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1409 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1414 PyObject
* _obj0
= 0;
1415 char *_kwnames
[] = { "pt", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1422 if (! wxPoint_helper(_obj0
, &_arg0
))
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) return NULL
;
1431 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1435 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "win", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1462 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1465 char *_kwnames
[] = { NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= (int )wxCaret_GetBlinkTime();
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } _resultobj
= Py_BuildValue("i",_result
);
1480 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1483 char *_kwnames
[] = { "milliseconds", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 wxCaret_SetBlinkTime(_arg0
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) return NULL
;
1494 } Py_INCREF(Py_None
);
1495 _resultobj
= Py_None
;
1499 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1502 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1503 bool _arg1
= (bool ) FALSE
;
1504 PyObject
* _argo0
= 0;
1505 int tempbool1
= (int) FALSE
;
1506 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1518 _arg1
= (bool ) tempbool1
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) return NULL
;
1525 } _resultobj
= Py_BuildValue("i",_result
);
1529 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1531 wxEvtHandler
* _arg0
;
1533 PyObject
* _argo0
= 0;
1534 PyObject
* _argo1
= 0;
1535 char *_kwnames
[] = { "dest","event", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1548 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 wxPostEvent(_arg0
,*_arg1
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 } Py_INCREF(Py_None
);
1560 _resultobj
= Py_None
;
1564 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 char *_kwnames
[] = { NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 } Py_INCREF(Py_None
);
1578 _resultobj
= Py_None
;
1582 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1584 char *_kwnames
[] = { NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1595 } Py_INCREF(Py_None
);
1596 _resultobj
= Py_None
;
1600 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 char *_kwnames
[] = { NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) return NULL
;
1613 } Py_INCREF(Py_None
);
1614 _resultobj
= Py_None
;
1618 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1621 char *_kwnames
[] = { NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 _result
= (bool )wxThread_IsMain();
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) return NULL
;
1632 } _resultobj
= Py_BuildValue("i",_result
);
1636 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 wxTipProvider
* _arg1
;
1641 bool _arg2
= (bool ) TRUE
;
1642 PyObject
* _argo0
= 0;
1643 PyObject
* _argo1
= 0;
1644 int tempbool2
= (int) TRUE
;
1645 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1664 _arg2
= (bool ) tempbool2
;
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) return NULL
;
1671 } _resultobj
= Py_BuildValue("i",_result
);
1675 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1677 wxTipProvider
* _result
;
1680 PyObject
* _obj0
= 0;
1681 char *_kwnames
[] = { "filename","currentTip", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1688 _arg0
= wxString_in_helper(_obj0
);
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1700 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 _resultobj
= Py_None
;
1712 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1714 unsigned long _result
;
1715 char *_kwnames
[] = { NULL
};
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 _result
= (unsigned long )wxSysErrorCode();
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) return NULL
;
1726 } _resultobj
= Py_BuildValue("l",_result
);
1730 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1733 unsigned long _arg0
= (unsigned long ) 0;
1734 char *_kwnames
[] = { "nErrCode", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 _result
= new wxString (wxSysErrorMsg(_arg0
));
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) return NULL
;
1747 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1749 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1758 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1761 PyObject
* _obj0
= 0;
1762 char *_kwnames
[] = { "msg", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1768 _arg0
= wxString_in_helper(_obj0
);
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 wxLogFatalError(*_arg0
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1787 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1790 PyObject
* _obj0
= 0;
1791 char *_kwnames
[] = { "msg", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1797 _arg0
= wxString_in_helper(_obj0
);
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) return NULL
;
1807 } Py_INCREF(Py_None
);
1808 _resultobj
= Py_None
;
1816 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1819 PyObject
* _obj0
= 0;
1820 char *_kwnames
[] = { "msg", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1826 _arg0
= wxString_in_helper(_obj0
);
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 wxLogWarning(*_arg0
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } Py_INCREF(Py_None
);
1837 _resultobj
= Py_None
;
1845 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1848 PyObject
* _obj0
= 0;
1849 char *_kwnames
[] = { "msg", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1855 _arg0
= wxString_in_helper(_obj0
);
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 wxLogMessage(*_arg0
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1865 } Py_INCREF(Py_None
);
1866 _resultobj
= Py_None
;
1874 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1877 PyObject
* _obj0
= 0;
1878 char *_kwnames
[] = { "msg", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1884 _arg0
= wxString_in_helper(_obj0
);
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) return NULL
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1903 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
* _resultobj
;
1906 PyObject
* _obj0
= 0;
1907 char *_kwnames
[] = { "msg", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1913 _arg0
= wxString_in_helper(_obj0
);
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1932 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1935 PyObject
* _obj0
= 0;
1936 char *_kwnames
[] = { "msg", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1942 _arg0
= wxString_in_helper(_obj0
);
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 wxLogVerbose(*_arg0
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) return NULL
;
1952 } Py_INCREF(Py_None
);
1953 _resultobj
= Py_None
;
1961 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1964 PyObject
* _obj0
= 0;
1965 char *_kwnames
[] = { "msg", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
1971 _arg0
= wxString_in_helper(_obj0
);
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 wxLogStatus(*_arg0
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) return NULL
;
1981 } Py_INCREF(Py_None
);
1982 _resultobj
= Py_None
;
1990 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1994 PyObject
* _argo0
= 0;
1995 PyObject
* _obj1
= 0;
1996 char *_kwnames
[] = { "pFrame","msg", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2009 _arg1
= wxString_in_helper(_obj1
);
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 wxLogStatus(_arg0
,*_arg1
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) return NULL
;
2019 } Py_INCREF(Py_None
);
2020 _resultobj
= Py_None
;
2028 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 PyObject
* _obj0
= 0;
2032 char *_kwnames
[] = { "msg", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2038 _arg0
= wxString_in_helper(_obj0
);
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 wxLogSysError(*_arg0
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } Py_INCREF(Py_None
);
2049 _resultobj
= Py_None
;
2057 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 PyObject
* _obj0
= 0;
2061 char *_kwnames
[] = { "msg", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2067 _arg0
= wxString_in_helper(_obj0
);
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2086 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2090 PyObject
* _obj0
= 0;
2091 PyObject
* _obj1
= 0;
2092 char *_kwnames
[] = { "mask","msg", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2098 _arg0
= wxString_in_helper(_obj0
);
2103 _arg1
= wxString_in_helper(_obj1
);
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 wxLogTrace(*_arg0
,*_arg1
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) return NULL
;
2113 } Py_INCREF(Py_None
);
2114 _resultobj
= Py_None
;
2126 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2128 unsigned long _arg0
;
2130 PyObject
* _obj1
= 0;
2131 char *_kwnames
[] = { "level","msg", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2137 _arg1
= wxString_in_helper(_obj1
);
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 wxLogGeneric(_arg0
,*_arg1
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) return NULL
;
2147 } Py_INCREF(Py_None
);
2148 _resultobj
= Py_None
;
2156 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
* _resultobj
;
2160 PyObject
* _obj0
= 0;
2161 PyObject
* _obj1
= 0;
2162 char *_kwnames
[] = { "title","text", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2168 _arg0
= wxString_in_helper(_obj0
);
2173 _arg1
= wxString_in_helper(_obj1
);
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 wxSafeShowMessage(*_arg0
,*_arg1
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2183 } Py_INCREF(Py_None
);
2184 _resultobj
= Py_None
;
2196 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2200 int _arg1
= (int ) (wxEXEC_ASYNC
);
2201 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2202 PyObject
* _obj0
= 0;
2203 PyObject
* _argo2
= 0;
2204 char *_kwnames
[] = { "command","flags","process", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2210 _arg0
= wxString_in_helper(_obj0
);
2215 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) return NULL
;
2227 } _resultobj
= Py_BuildValue("l",_result
);
2235 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2239 PyObject
* _obj0
= 0;
2240 char *_kwnames
[] = { "data", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2247 _arg0
= wxString_in_helper(_obj0
);
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 _result
= (wxWave
*)wxWaveData(*_arg0
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2259 _resultobj
= Py_BuildValue("s",_ptemp
);
2262 _resultobj
= Py_None
;
2271 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2273 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2277 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2281 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2282 pyobj
= PyString_FromString(ptemp
);
2286 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2289 wxSystemColour _arg0
;
2290 char *_kwnames
[] = { "index", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) return NULL
;
2302 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2303 _resultobj
= Py_BuildValue("s",_ptemp
);
2307 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
* _resultobj
;
2311 char *_kwnames
[] = { "index", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) return NULL
;
2323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2324 _resultobj
= Py_BuildValue("s",_ptemp
);
2328 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2331 wxSystemMetric _arg0
;
2332 char *_kwnames
[] = { "index", NULL
};
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) return NULL
;
2343 } _resultobj
= Py_BuildValue("i",_result
);
2347 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2350 wxSystemFeature _arg0
;
2351 char *_kwnames
[] = { "index", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
* _resultobj
;
2368 wxSystemScreenType _result
;
2369 char *_kwnames
[] = { NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) return NULL
;
2380 } _resultobj
= Py_BuildValue("i",_result
);
2384 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2386 wxSystemScreenType _arg0
;
2387 char *_kwnames
[] = { "screen", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 wxSystemSettings::SetScreenType(_arg0
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) return NULL
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2403 static void *SwigwxToolTipTowxObject(void *ptr
) {
2406 src
= (wxToolTip
*) ptr
;
2407 dest
= (wxObject
*) src
;
2408 return (void *) dest
;
2411 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2412 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2414 wxToolTip
* _result
;
2416 PyObject
* _obj0
= 0;
2417 char *_kwnames
[] = { "tip", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2424 _arg0
= wxString_in_helper(_obj0
);
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2436 _resultobj
= Py_BuildValue("s",_ptemp
);
2439 _resultobj
= Py_None
;
2448 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2449 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2453 PyObject
* _argo0
= 0;
2454 PyObject
* _obj1
= 0;
2455 char *_kwnames
[] = { "self","tip", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2468 _arg1
= wxString_in_helper(_obj1
);
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 wxToolTip_SetTip(_arg0
,*_arg1
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) return NULL
;
2478 } Py_INCREF(Py_None
);
2479 _resultobj
= Py_None
;
2487 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2488 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2492 PyObject
* _argo0
= 0;
2493 char *_kwnames
[] = { "self", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) return NULL
;
2513 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2515 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2524 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2525 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2529 PyObject
* _argo0
= 0;
2530 char *_kwnames
[] = { "self", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) return NULL
;
2548 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2552 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2556 char *_kwnames
[] = { "flag", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2561 _arg0
= (bool ) tempbool0
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 wxToolTip::Enable(_arg0
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2573 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2576 char *_kwnames
[] = { "milliseconds", NULL
};
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 wxToolTip::SetDelay(_arg0
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) return NULL
;
2587 } Py_INCREF(Py_None
);
2588 _resultobj
= Py_None
;
2592 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2593 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
* _resultobj
;
2598 PyObject
* _argo0
= 0;
2600 PyObject
* _obj1
= 0;
2601 char *_kwnames
[] = { "window","size", NULL
};
2605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2616 if (! wxSize_helper(_obj1
, &_arg1
))
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) return NULL
;
2626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2627 _resultobj
= Py_BuildValue("s",_ptemp
);
2630 _resultobj
= Py_None
;
2635 #define delete_wxCaret(_swigobj) (delete _swigobj)
2636 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 delete_wxCaret(_arg0
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) return NULL
;
2658 } Py_INCREF(Py_None
);
2659 _resultobj
= Py_None
;
2663 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2664 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 _result
= (bool )wxCaret_IsOk(_arg0
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) return NULL
;
2687 } _resultobj
= Py_BuildValue("i",_result
);
2691 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2692 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2696 PyObject
* _argo0
= 0;
2697 char *_kwnames
[] = { "self", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 _result
= (bool )wxCaret_IsVisible(_arg0
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) return NULL
;
2715 } _resultobj
= Py_BuildValue("i",_result
);
2719 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2720 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2727 PyObject
* _argo0
= 0;
2728 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) return NULL
;
2752 } Py_INCREF(Py_None
);
2753 _resultobj
= Py_None
;
2756 o
= PyInt_FromLong((long) (*_arg1
));
2757 _resultobj
= t_output_helper(_resultobj
, o
);
2761 o
= PyInt_FromLong((long) (*_arg2
));
2762 _resultobj
= t_output_helper(_resultobj
, o
);
2767 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2768 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2792 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2793 _resultobj
= Py_BuildValue("s",_ptemp
);
2797 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2798 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) return NULL
;
2830 } Py_INCREF(Py_None
);
2831 _resultobj
= Py_None
;
2834 o
= PyInt_FromLong((long) (*_arg1
));
2835 _resultobj
= t_output_helper(_resultobj
, o
);
2839 o
= PyInt_FromLong((long) (*_arg2
));
2840 _resultobj
= t_output_helper(_resultobj
, o
);
2845 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2846 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) return NULL
;
2870 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2871 _resultobj
= Py_BuildValue("s",_ptemp
);
2875 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2876 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) return NULL
;
2899 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2903 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2904 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self","x","y", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2934 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2938 PyObject
* _argo0
= 0;
2940 PyObject
* _obj1
= 0;
2941 char *_kwnames
[] = { "self","pt", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2955 if (! wxPoint_helper(_obj1
, &_arg1
))
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 wxCaret_Move(_arg0
,*_arg1
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) return NULL
;
2964 } Py_INCREF(Py_None
);
2965 _resultobj
= Py_None
;
2969 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2970 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2975 PyObject
* _argo0
= 0;
2976 char *_kwnames
[] = { "self","width","height", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) return NULL
;
2994 } Py_INCREF(Py_None
);
2995 _resultobj
= Py_None
;
2999 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3000 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3004 PyObject
* _argo0
= 0;
3006 PyObject
* _obj1
= 0;
3007 char *_kwnames
[] = { "self","size", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3021 if (! wxSize_helper(_obj1
, &_arg1
))
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 wxCaret_SetSize(_arg0
,*_arg1
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) return NULL
;
3030 } Py_INCREF(Py_None
);
3031 _resultobj
= Py_None
;
3035 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3036 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3039 int _arg1
= (int ) TRUE
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self","show", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxCaret_Show(_arg0
,_arg1
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3065 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3068 PyObject
* _argo0
= 0;
3069 char *_kwnames
[] = { "self", NULL
};
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 wxCaret_Hide(_arg0
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) return NULL
;
3087 } Py_INCREF(Py_None
);
3088 _resultobj
= Py_None
;
3092 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3093 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3095 wxBusyCursor
* _result
;
3096 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3097 PyObject
* _argo0
= 0;
3098 char *_kwnames
[] = { "cursor", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) return NULL
;
3118 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3119 _resultobj
= Py_BuildValue("s",_ptemp
);
3122 _resultobj
= Py_None
;
3127 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3128 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
* _resultobj
;
3130 wxBusyCursor
* _arg0
;
3131 PyObject
* _argo0
= 0;
3132 char *_kwnames
[] = { "self", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 delete_wxBusyCursor(_arg0
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) return NULL
;
3150 } Py_INCREF(Py_None
);
3151 _resultobj
= Py_None
;
3155 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3156 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
* _resultobj
;
3158 wxWindowDisabler
* _result
;
3159 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3160 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "winToSkip", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3182 _resultobj
= Py_BuildValue("s",_ptemp
);
3185 _resultobj
= Py_None
;
3190 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3191 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3193 wxWindowDisabler
* _arg0
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 delete_wxWindowDisabler(_arg0
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) return NULL
;
3213 } Py_INCREF(Py_None
);
3214 _resultobj
= Py_None
;
3218 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3219 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3221 wxMutexGuiLocker
* _result
;
3222 char *_kwnames
[] = { NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) return NULL
;
3235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3236 _resultobj
= Py_BuildValue("s",_ptemp
);
3239 _resultobj
= Py_None
;
3244 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3245 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3247 wxMutexGuiLocker
* _arg0
;
3248 PyObject
* _argo0
= 0;
3249 char *_kwnames
[] = { "self", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 delete_wxMutexGuiLocker(_arg0
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) return NULL
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3273 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3275 wxTipProvider
* _arg0
;
3276 PyObject
* _argo0
= 0;
3277 char *_kwnames
[] = { "self", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 delete_wxTipProvider(_arg0
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) return NULL
;
3295 } Py_INCREF(Py_None
);
3296 _resultobj
= Py_None
;
3300 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3301 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3304 wxTipProvider
* _arg0
;
3305 PyObject
* _argo0
= 0;
3306 char *_kwnames
[] = { "self", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3326 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3328 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3337 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3338 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3341 wxTipProvider
* _arg0
;
3342 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "self", NULL
};
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3361 } _resultobj
= Py_BuildValue("i",_result
);
3365 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3366 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3369 wxTipProvider
* _arg0
;
3371 PyObject
* _argo0
= 0;
3372 PyObject
* _obj1
= 0;
3373 char *_kwnames
[] = { "self","tip", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3386 _arg1
= wxString_in_helper(_obj1
);
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3398 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3400 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3413 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3414 wxPyTipProvider
*src
;
3415 wxTipProvider
*dest
;
3416 src
= (wxPyTipProvider
*) ptr
;
3417 dest
= (wxTipProvider
*) src
;
3418 return (void *) dest
;
3421 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3422 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3424 wxPyTipProvider
* _result
;
3426 char *_kwnames
[] = { "currentTip", NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) return NULL
;
3439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3440 _resultobj
= Py_BuildValue("s",_ptemp
);
3443 _resultobj
= Py_None
;
3448 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3449 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3451 wxPyTipProvider
* _arg0
;
3454 PyObject
* _argo0
= 0;
3455 PyObject
* _obj1
= 0;
3456 PyObject
* _obj2
= 0;
3457 char *_kwnames
[] = { "self","self","_class", NULL
};
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) return NULL
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3487 wxGenericDragImage
*src
;
3489 src
= (wxGenericDragImage
*) ptr
;
3490 dest
= (wxObject
*) src
;
3491 return (void *) dest
;
3494 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3495 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3497 wxGenericDragImage
* _result
;
3499 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3500 PyObject
* _argo0
= 0;
3501 PyObject
* _argo1
= 0;
3502 char *_kwnames
[] = { "image","cursor", NULL
};
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3509 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3515 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) return NULL
;
3527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3528 _resultobj
= Py_BuildValue("s",_ptemp
);
3531 _resultobj
= Py_None
;
3536 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3537 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3539 wxGenericDragImage
* _result
;
3541 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3542 PyObject
* _argo0
= 0;
3543 PyObject
* _argo1
= 0;
3544 char *_kwnames
[] = { "image","cursor", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3551 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3557 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3570 _resultobj
= Py_BuildValue("s",_ptemp
);
3573 _resultobj
= Py_None
;
3578 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3579 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
* _resultobj
;
3581 wxGenericDragImage
* _result
;
3583 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3584 PyObject
* _obj0
= 0;
3585 PyObject
* _argo1
= 0;
3586 char *_kwnames
[] = { "str","cursor", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3593 _arg0
= wxString_in_helper(_obj0
);
3598 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3611 _resultobj
= Py_BuildValue("s",_ptemp
);
3614 _resultobj
= Py_None
;
3623 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3624 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3626 wxGenericDragImage
* _result
;
3628 wxTreeItemId
* _arg1
;
3629 PyObject
* _argo0
= 0;
3630 PyObject
* _argo1
= 0;
3631 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3638 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3644 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) return NULL
;
3656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3657 _resultobj
= Py_BuildValue("s",_ptemp
);
3660 _resultobj
= Py_None
;
3665 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3666 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3668 wxGenericDragImage
* _result
;
3671 PyObject
* _argo0
= 0;
3672 char *_kwnames
[] = { "listCtrl","id", NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3679 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) return NULL
;
3691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3692 _resultobj
= Py_BuildValue("s",_ptemp
);
3695 _resultobj
= Py_None
;
3700 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3701 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
* _resultobj
;
3703 wxGenericDragImage
* _arg0
;
3704 PyObject
* _argo0
= 0;
3705 char *_kwnames
[] = { "self", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 delete_wxGenericDragImage(_arg0
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) return NULL
;
3723 } Py_INCREF(Py_None
);
3724 _resultobj
= Py_None
;
3728 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3729 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
* _resultobj
;
3731 wxGenericDragImage
* _arg0
;
3733 PyObject
* _argo0
= 0;
3734 PyObject
* _argo1
= 0;
3735 char *_kwnames
[] = { "self","bitmap", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) return NULL
;
3760 } Py_INCREF(Py_None
);
3761 _resultobj
= Py_None
;
3765 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3766 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3769 wxGenericDragImage
* _arg0
;
3772 bool _arg3
= (bool ) FALSE
;
3773 wxRect
* _arg4
= (wxRect
*) NULL
;
3774 PyObject
* _argo0
= 0;
3776 PyObject
* _obj1
= 0;
3777 PyObject
* _argo2
= 0;
3778 int tempbool3
= (int) FALSE
;
3780 PyObject
* _obj4
= 0;
3781 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3795 if (! wxPoint_helper(_obj1
, &_arg1
))
3799 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3805 _arg3
= (bool ) tempbool3
;
3809 if (! wxRect_helper(_obj4
, &_arg4
))
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) return NULL
;
3818 } _resultobj
= Py_BuildValue("i",_result
);
3822 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3823 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3826 wxGenericDragImage
* _arg0
;
3830 PyObject
* _argo0
= 0;
3832 PyObject
* _obj1
= 0;
3833 PyObject
* _argo2
= 0;
3834 PyObject
* _argo3
= 0;
3835 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
3849 if (! wxPoint_helper(_obj1
, &_arg1
))
3853 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3860 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) return NULL
;
3872 } _resultobj
= Py_BuildValue("i",_result
);
3876 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3877 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3880 wxGenericDragImage
* _arg0
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) return NULL
;
3900 } _resultobj
= Py_BuildValue("i",_result
);
3904 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3905 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3908 wxGenericDragImage
* _arg0
;
3910 PyObject
* _argo0
= 0;
3912 PyObject
* _obj1
= 0;
3913 char *_kwnames
[] = { "self","pt", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3927 if (! wxPoint_helper(_obj1
, &_arg1
))
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3940 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3941 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3944 wxGenericDragImage
* _arg0
;
3945 PyObject
* _argo0
= 0;
3946 char *_kwnames
[] = { "self", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 _result
= (bool )wxDragImage_Show(_arg0
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) return NULL
;
3964 } _resultobj
= Py_BuildValue("i",_result
);
3968 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3969 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
* _resultobj
;
3972 wxGenericDragImage
* _arg0
;
3973 PyObject
* _argo0
= 0;
3974 char *_kwnames
[] = { "self", NULL
};
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 _result
= (bool )wxDragImage_Hide(_arg0
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) return NULL
;
3992 } _resultobj
= Py_BuildValue("i",_result
);
3996 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3997 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
4000 wxGenericDragImage
* _arg0
;
4002 PyObject
* _argo0
= 0;
4004 PyObject
* _obj1
= 0;
4005 char *_kwnames
[] = { "self","pos", NULL
};
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4020 if (! wxPoint_helper(_obj1
, &_arg1
))
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4030 _resultobj
= Py_BuildValue("s",_ptemp
);
4034 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4035 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4038 wxGenericDragImage
* _arg0
;
4043 PyObject
* _argo0
= 0;
4045 PyObject
* _obj1
= 0;
4047 PyObject
* _obj2
= 0;
4050 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4064 if (! wxPoint_helper(_obj1
, &_arg1
))
4069 if (! wxPoint_helper(_obj2
, &_arg2
))
4072 _arg3
= (bool ) tempbool3
;
4073 _arg4
= (bool ) tempbool4
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) return NULL
;
4080 } _resultobj
= Py_BuildValue("i",_result
);
4084 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4087 src
= (wxPyTimer
*) ptr
;
4088 dest
= (wxObject
*) src
;
4089 return (void *) dest
;
4092 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4093 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4095 wxPyTimer
* _result
;
4097 PyObject
* _obj0
= 0;
4098 char *_kwnames
[] = { "notify", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4115 _resultobj
= Py_BuildValue("s",_ptemp
);
4118 _resultobj
= Py_None
;
4123 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4124 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 delete_wxPyTimer(_arg0
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } Py_INCREF(Py_None
);
4147 _resultobj
= Py_None
;
4151 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4152 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) return NULL
;
4175 } _resultobj
= Py_BuildValue("i",_result
);
4179 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4180 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4184 PyObject
* _argo0
= 0;
4185 char *_kwnames
[] = { "self", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4207 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4208 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4212 PyObject
* _argo0
= 0;
4213 char *_kwnames
[] = { "self", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) return NULL
;
4231 } _resultobj
= Py_BuildValue("i",_result
);
4235 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4236 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4239 wxEvtHandler
* _arg1
;
4240 int _arg2
= (int ) -1;
4241 PyObject
* _argo0
= 0;
4242 PyObject
* _argo1
= 0;
4243 char *_kwnames
[] = { "self","owner","id", NULL
};
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4268 } Py_INCREF(Py_None
);
4269 _resultobj
= Py_None
;
4273 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4274 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4278 int _arg1
= (int ) -1;
4279 int _arg2
= (int ) FALSE
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) return NULL
;
4299 } _resultobj
= Py_BuildValue("i",_result
);
4303 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4304 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4307 PyObject
* _argo0
= 0;
4308 char *_kwnames
[] = { "self", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxPyTimer_Stop(_arg0
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4326 } Py_INCREF(Py_None
);
4327 _resultobj
= Py_None
;
4331 #define new_wxStopWatch() (new wxStopWatch())
4332 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4334 wxStopWatch
* _result
;
4335 char *_kwnames
[] = { NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 _result
= (wxStopWatch
*)new_wxStopWatch();
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) return NULL
;
4348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4349 _resultobj
= Py_BuildValue("s",_ptemp
);
4352 _resultobj
= Py_None
;
4357 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4358 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
* _resultobj
;
4360 wxStopWatch
* _arg0
;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 delete_wxStopWatch(_arg0
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4386 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4388 wxStopWatch
* _arg0
;
4389 long _arg1
= (long ) 0;
4390 PyObject
* _argo0
= 0;
4391 char *_kwnames
[] = { "self","t", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 wxStopWatch_Start(_arg0
,_arg1
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) return NULL
;
4409 } Py_INCREF(Py_None
);
4410 _resultobj
= Py_None
;
4414 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4415 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4417 wxStopWatch
* _arg0
;
4418 PyObject
* _argo0
= 0;
4419 char *_kwnames
[] = { "self", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4433 wxStopWatch_Pause(_arg0
);
4435 wxPyEndAllowThreads(__tstate
);
4436 if (PyErr_Occurred()) return NULL
;
4437 } Py_INCREF(Py_None
);
4438 _resultobj
= Py_None
;
4442 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4443 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4445 wxStopWatch
* _arg0
;
4446 PyObject
* _argo0
= 0;
4447 char *_kwnames
[] = { "self", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 wxStopWatch_Resume(_arg0
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) return NULL
;
4465 } Py_INCREF(Py_None
);
4466 _resultobj
= Py_None
;
4470 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4471 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4474 wxStopWatch
* _arg0
;
4475 PyObject
* _argo0
= 0;
4476 char *_kwnames
[] = { "self", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 _result
= (long )wxStopWatch_Time(_arg0
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) return NULL
;
4494 } _resultobj
= Py_BuildValue("l",_result
);
4498 #define new_wxLog() (new wxLog())
4499 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
* _resultobj
;
4502 char *_kwnames
[] = { NULL
};
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 _result
= (wxLog
*)new_wxLog();
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) return NULL
;
4515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4516 _resultobj
= Py_BuildValue("s",_ptemp
);
4519 _resultobj
= Py_None
;
4524 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4527 char *_kwnames
[] = { NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 _result
= (bool )wxLog::IsEnabled();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) return NULL
;
4538 } _resultobj
= Py_BuildValue("i",_result
);
4542 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
* _resultobj
;
4545 bool _arg0
= (bool ) TRUE
;
4546 int tempbool0
= (int) TRUE
;
4547 char *_kwnames
[] = { "doIt", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4552 _arg0
= (bool ) tempbool0
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 _result
= (bool )wxLog::EnableLogging(_arg0
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4559 } _resultobj
= Py_BuildValue("i",_result
);
4563 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4565 unsigned long _arg0
;
4567 int _arg2
= (int ) 0;
4568 PyObject
* _obj1
= 0;
4569 char *_kwnames
[] = { "level","szString","t", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4575 _arg1
= wxString_in_helper(_obj1
);
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) return NULL
;
4585 } Py_INCREF(Py_None
);
4586 _resultobj
= Py_None
;
4594 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4595 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4598 PyObject
* _argo0
= 0;
4599 char *_kwnames
[] = { "self", NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) return NULL
;
4617 } Py_INCREF(Py_None
);
4618 _resultobj
= Py_None
;
4622 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4624 char *_kwnames
[] = { NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 wxLog::FlushActive();
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) return NULL
;
4635 } Py_INCREF(Py_None
);
4636 _resultobj
= Py_None
;
4640 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4643 char *_kwnames
[] = { NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 _result
= (wxLog
*)wxLog::GetActiveTarget();
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) return NULL
;
4656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4657 _resultobj
= Py_BuildValue("s",_ptemp
);
4660 _resultobj
= Py_None
;
4665 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4669 PyObject
* _argo0
= 0;
4670 char *_kwnames
[] = { "pLogger", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) return NULL
;
4690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4691 _resultobj
= Py_BuildValue("s",_ptemp
);
4694 _resultobj
= Py_None
;
4699 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
* _resultobj
;
4701 char *_kwnames
[] = { NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) return NULL
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4719 char *_kwnames
[] = { NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) return NULL
;
4730 } Py_INCREF(Py_None
);
4731 _resultobj
= Py_None
;
4735 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4737 bool _arg0
= (bool ) TRUE
;
4738 int tempbool0
= (int) TRUE
;
4739 char *_kwnames
[] = { "bVerbose", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4744 _arg0
= (bool ) tempbool0
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 wxLog::SetVerbose(_arg0
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4751 } Py_INCREF(Py_None
);
4752 _resultobj
= Py_None
;
4756 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4758 char *_kwnames
[] = { NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 wxLog::DontCreateOnDemand();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) return NULL
;
4769 } Py_INCREF(Py_None
);
4770 _resultobj
= Py_None
;
4774 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 char *_kwnames
[] = { "ulMask", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 wxLog::SetTraceMask(_arg0
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) return NULL
;
4788 } Py_INCREF(Py_None
);
4789 _resultobj
= Py_None
;
4793 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4796 PyObject
* _obj0
= 0;
4797 char *_kwnames
[] = { "str", NULL
};
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4803 _arg0
= wxString_in_helper(_obj0
);
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 wxLog::AddTraceMask(*_arg0
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) return NULL
;
4813 } Py_INCREF(Py_None
);
4814 _resultobj
= Py_None
;
4822 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4825 PyObject
* _obj0
= 0;
4826 char *_kwnames
[] = { "str", NULL
};
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4832 _arg0
= wxString_in_helper(_obj0
);
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 wxLog::RemoveTraceMask(*_arg0
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) return NULL
;
4842 } Py_INCREF(Py_None
);
4843 _resultobj
= Py_None
;
4851 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4853 char *_kwnames
[] = { NULL
};
4856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxLog::ClearTraceMasks();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4871 wxArrayString
* _result
;
4872 char *_kwnames
[] = { NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
4881 _result
= (wxArrayString
*) &_result_ref
;
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) return NULL
;
4886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
4887 _resultobj
= Py_BuildValue("s",_ptemp
);
4890 _resultobj
= Py_None
;
4895 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4898 PyObject
* _obj0
= 0;
4899 char *_kwnames
[] = { "ts", NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4905 _arg0
= wxString_in_helper(_obj0
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 wxLog::SetTimestamp(*_arg0
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4915 } Py_INCREF(Py_None
);
4916 _resultobj
= Py_None
;
4924 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
* _resultobj
;
4927 char *_kwnames
[] = { NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 const wxString
& _result_ref
= wxLog::GetTimestamp();
4935 _result
= (wxString
*) &_result_ref
;
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) return NULL
;
4941 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4943 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4949 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4950 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4954 PyObject
* _argo0
= 0;
4955 char *_kwnames
[] = { "self", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 _result
= (bool )wxLog_GetVerbose(_arg0
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) return NULL
;
4973 } _resultobj
= Py_BuildValue("i",_result
);
4977 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
* _resultobj
;
4979 unsigned long _result
;
4980 char *_kwnames
[] = { NULL
};
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 _result
= (unsigned long )wxLog::GetTraceMask();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) return NULL
;
4991 } _resultobj
= Py_BuildValue("l",_result
);
4995 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4999 PyObject
* _obj0
= 0;
5000 char *_kwnames
[] = { "mask", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5006 _arg0
= wxString_in_helper(_obj0
);
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) return NULL
;
5016 } _resultobj
= Py_BuildValue("i",_result
);
5024 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5026 unsigned long _arg0
;
5027 char *_kwnames
[] = { "logLevel", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 wxLog::SetLogLevel(_arg0
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) return NULL
;
5038 } Py_INCREF(Py_None
);
5039 _resultobj
= Py_None
;
5043 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5045 unsigned long _result
;
5046 char *_kwnames
[] = { NULL
};
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 _result
= (unsigned long )wxLog::GetLogLevel();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) return NULL
;
5057 } _resultobj
= Py_BuildValue("l",_result
);
5061 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5063 wxLog::TimeStamp(&msg
);
5066 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5070 PyObject
* _argo0
= 0;
5071 char *_kwnames
[] = { "self", NULL
};
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5091 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5102 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5105 src
= (wxLogStderr
*) ptr
;
5106 dest
= (wxLog
*) src
;
5107 return (void *) dest
;
5110 #define new_wxLogStderr() (new wxLogStderr())
5111 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5113 wxLogStderr
* _result
;
5114 char *_kwnames
[] = { NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= (wxLogStderr
*)new_wxLogStderr();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5128 _resultobj
= Py_BuildValue("s",_ptemp
);
5131 _resultobj
= Py_None
;
5136 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5139 src
= (wxLogTextCtrl
*) ptr
;
5140 dest
= (wxLog
*) src
;
5141 return (void *) dest
;
5144 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5145 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5147 wxLogTextCtrl
* _result
;
5149 PyObject
* _argo0
= 0;
5150 char *_kwnames
[] = { "pTextCtrl", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) return NULL
;
5170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5171 _resultobj
= Py_BuildValue("s",_ptemp
);
5174 _resultobj
= Py_None
;
5179 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5182 src
= (wxLogGui
*) ptr
;
5183 dest
= (wxLog
*) src
;
5184 return (void *) dest
;
5187 #define new_wxLogGui() (new wxLogGui())
5188 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5191 char *_kwnames
[] = { NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 _result
= (wxLogGui
*)new_wxLogGui();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) return NULL
;
5204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5205 _resultobj
= Py_BuildValue("s",_ptemp
);
5208 _resultobj
= Py_None
;
5213 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5216 src
= (wxLogWindow
*) ptr
;
5217 dest
= (wxLog
*) src
;
5218 return (void *) dest
;
5221 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5222 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5224 wxLogWindow
* _result
;
5227 bool _arg2
= (bool ) TRUE
;
5228 bool _arg3
= (bool ) TRUE
;
5229 PyObject
* _argo0
= 0;
5230 PyObject
* _obj1
= 0;
5231 int tempbool2
= (int) TRUE
;
5232 int tempbool3
= (int) TRUE
;
5233 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5247 _arg1
= wxString_in_helper(_obj1
);
5251 _arg2
= (bool ) tempbool2
;
5252 _arg3
= (bool ) tempbool3
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5261 _resultobj
= Py_BuildValue("s",_ptemp
);
5264 _resultobj
= Py_None
;
5273 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5274 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5276 wxLogWindow
* _arg0
;
5277 bool _arg1
= (bool ) TRUE
;
5278 PyObject
* _argo0
= 0;
5279 int tempbool1
= (int) TRUE
;
5280 char *_kwnames
[] = { "self","bShow", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5292 _arg1
= (bool ) tempbool1
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxLogWindow_Show(_arg0
,_arg1
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) return NULL
;
5299 } Py_INCREF(Py_None
);
5300 _resultobj
= Py_None
;
5304 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5305 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5308 wxLogWindow
* _arg0
;
5309 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) return NULL
;
5328 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5332 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5333 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5336 wxLogWindow
* _arg0
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5359 _resultobj
= Py_BuildValue("s",_ptemp
);
5362 _resultobj
= Py_None
;
5367 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5368 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5371 wxLogWindow
* _arg0
;
5372 PyObject
* _argo0
= 0;
5373 char *_kwnames
[] = { "self", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) return NULL
;
5391 } _resultobj
= Py_BuildValue("i",_result
);
5395 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5396 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5398 wxLogWindow
* _arg0
;
5400 PyObject
* _argo0
= 0;
5402 char *_kwnames
[] = { "self","bDoPass", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5414 _arg1
= (bool ) tempbool1
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxLogWindow_PassMessages(_arg0
,_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 static void *SwigwxLogChainTowxLog(void *ptr
) {
5429 src
= (wxLogChain
*) ptr
;
5430 dest
= (wxLog
*) src
;
5431 return (void *) dest
;
5434 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5435 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5437 wxLogChain
* _result
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "logger", NULL
};
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) return NULL
;
5460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5461 _resultobj
= Py_BuildValue("s",_ptemp
);
5464 _resultobj
= Py_None
;
5469 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5470 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
* _resultobj
;
5474 PyObject
* _argo0
= 0;
5475 PyObject
* _argo1
= 0;
5476 char *_kwnames
[] = { "self","logger", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 wxLogChain_SetLog(_arg0
,_arg1
);
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) return NULL
;
5501 } Py_INCREF(Py_None
);
5502 _resultobj
= Py_None
;
5506 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5507 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5513 char *_kwnames
[] = { "self","bDoPass", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5525 _arg1
= (bool ) tempbool1
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 wxLogChain_PassMessages(_arg0
,_arg1
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) return NULL
;
5532 } Py_INCREF(Py_None
);
5533 _resultobj
= Py_None
;
5537 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5538 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5542 PyObject
* _argo0
= 0;
5543 char *_kwnames
[] = { "self", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) return NULL
;
5561 } _resultobj
= Py_BuildValue("i",_result
);
5565 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5566 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) return NULL
;
5591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5592 _resultobj
= Py_BuildValue("s",_ptemp
);
5595 _resultobj
= Py_None
;
5600 #define new_wxLogNull() (new wxLogNull())
5601 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
* _resultobj
;
5603 wxLogNull
* _result
;
5604 char *_kwnames
[] = { NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= (wxLogNull
*)new_wxLogNull();
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5618 _resultobj
= Py_BuildValue("s",_ptemp
);
5621 _resultobj
= Py_None
;
5626 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5627 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5630 PyObject
* _argo0
= 0;
5631 char *_kwnames
[] = { "self", NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 delete_wxLogNull(_arg0
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) return NULL
;
5649 } Py_INCREF(Py_None
);
5650 _resultobj
= Py_None
;
5654 static void *SwigwxPyLogTowxLog(void *ptr
) {
5657 src
= (wxPyLog
*) ptr
;
5658 dest
= (wxLog
*) src
;
5659 return (void *) dest
;
5662 #define new_wxPyLog() (new wxPyLog())
5663 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
* _resultobj
;
5666 char *_kwnames
[] = { NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 _result
= (wxPyLog
*)new_wxPyLog();
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) return NULL
;
5679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5680 _resultobj
= Py_BuildValue("s",_ptemp
);
5683 _resultobj
= Py_None
;
5688 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5689 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5694 PyObject
* _argo0
= 0;
5695 PyObject
* _obj1
= 0;
5696 PyObject
* _obj2
= 0;
5697 char *_kwnames
[] = { "self","self","_class", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) return NULL
;
5721 } Py_INCREF(Py_None
);
5722 _resultobj
= Py_None
;
5726 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5727 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5730 PyObject
* _argo0
= 0;
5731 char *_kwnames
[] = { "self", NULL
};
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 wxPyLog_Destroy(_arg0
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) return NULL
;
5749 } Py_INCREF(Py_None
);
5750 _resultobj
= Py_None
;
5754 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5755 wxProcessEvent
*src
;
5757 src
= (wxProcessEvent
*) ptr
;
5758 dest
= (wxEvent
*) src
;
5759 return (void *) dest
;
5762 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5763 wxProcessEvent
*src
;
5765 src
= (wxProcessEvent
*) ptr
;
5766 dest
= (wxObject
*) src
;
5767 return (void *) dest
;
5770 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5771 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
* _resultobj
;
5773 wxProcessEvent
* _result
;
5774 int _arg0
= (int ) 0;
5775 int _arg1
= (int ) 0;
5776 int _arg2
= (int ) 0;
5777 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) return NULL
;
5790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5791 _resultobj
= Py_BuildValue("s",_ptemp
);
5794 _resultobj
= Py_None
;
5799 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5800 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
* _resultobj
;
5803 wxProcessEvent
* _arg0
;
5804 PyObject
* _argo0
= 0;
5805 char *_kwnames
[] = { "self", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5823 } _resultobj
= Py_BuildValue("i",_result
);
5827 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5828 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
* _resultobj
;
5831 wxProcessEvent
* _arg0
;
5832 PyObject
* _argo0
= 0;
5833 char *_kwnames
[] = { "self", NULL
};
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) return NULL
;
5851 } _resultobj
= Py_BuildValue("i",_result
);
5855 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5856 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
* _resultobj
;
5859 wxProcessEvent
* _arg0
;
5861 PyObject
* _argo0
= 0;
5862 char *_kwnames
[] = { "self","m_pid", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) return NULL
;
5880 } _resultobj
= Py_BuildValue("i",_result
);
5884 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5885 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5888 wxProcessEvent
* _arg0
;
5889 PyObject
* _argo0
= 0;
5890 char *_kwnames
[] = { "self", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) return NULL
;
5908 } _resultobj
= Py_BuildValue("i",_result
);
5912 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5913 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5916 wxProcessEvent
* _arg0
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) return NULL
;
5937 } _resultobj
= Py_BuildValue("i",_result
);
5941 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5942 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
* _resultobj
;
5945 wxProcessEvent
* _arg0
;
5946 PyObject
* _argo0
= 0;
5947 char *_kwnames
[] = { "self", NULL
};
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) return NULL
;
5965 } _resultobj
= Py_BuildValue("i",_result
);
5969 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5972 src
= (wxPyProcess
*) ptr
;
5973 dest
= (wxEvtHandler
*) src
;
5974 return (void *) dest
;
5977 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5980 src
= (wxPyProcess
*) ptr
;
5981 dest
= (wxObject
*) src
;
5982 return (void *) dest
;
5985 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxKillError _result
;
5989 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
5990 char *_kwnames
[] = { "pid","sig", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) return NULL
;
6001 } _resultobj
= Py_BuildValue("i",_result
);
6005 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
* _resultobj
;
6009 char *_kwnames
[] = { "pid", NULL
};
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 _result
= (bool )wxPyProcess::Exists(_arg0
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) return NULL
;
6020 } _resultobj
= Py_BuildValue("i",_result
);
6024 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6026 wxPyProcess
* _result
;
6028 int _arg1
= (int ) wxEXEC_ASYNC
;
6029 PyObject
* _obj0
= 0;
6030 char *_kwnames
[] = { "cmd","flags", NULL
};
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6037 _arg0
= wxString_in_helper(_obj0
);
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) return NULL
;
6048 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6049 _resultobj
= Py_BuildValue("s",_ptemp
);
6052 _resultobj
= Py_None
;
6061 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6062 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
* _resultobj
;
6064 wxPyProcess
* _result
;
6065 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6066 int _arg1
= (int ) -1;
6067 PyObject
* _argo0
= 0;
6068 char *_kwnames
[] = { "parent","id", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) return NULL
;
6088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6089 _resultobj
= Py_BuildValue("s",_ptemp
);
6092 _resultobj
= Py_None
;
6097 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6098 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxPyProcess
* _arg0
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 wxPyProcess_Destroy(_arg0
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) return NULL
;
6120 } Py_INCREF(Py_None
);
6121 _resultobj
= Py_None
;
6125 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6126 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6128 wxPyProcess
* _arg0
;
6131 PyObject
* _argo0
= 0;
6132 PyObject
* _obj1
= 0;
6133 PyObject
* _obj2
= 0;
6134 char *_kwnames
[] = { "self","self","_class", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6158 } Py_INCREF(Py_None
);
6159 _resultobj
= Py_None
;
6163 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6164 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6166 wxPyProcess
* _arg0
;
6169 PyObject
* _argo0
= 0;
6170 char *_kwnames
[] = { "self","pid","status", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } Py_INCREF(Py_None
);
6189 _resultobj
= Py_None
;
6193 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6194 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6196 wxPyProcess
* _arg0
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 wxProcess_Redirect(_arg0
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) return NULL
;
6216 } Py_INCREF(Py_None
);
6217 _resultobj
= Py_None
;
6221 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6222 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6225 wxPyProcess
* _arg0
;
6226 PyObject
* _argo0
= 0;
6227 char *_kwnames
[] = { "self", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) return NULL
;
6245 } _resultobj
= Py_BuildValue("i",_result
);
6249 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6250 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
* _resultobj
;
6252 wxPyProcess
* _arg0
;
6253 PyObject
* _argo0
= 0;
6254 char *_kwnames
[] = { "self", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 wxProcess_Detach(_arg0
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) return NULL
;
6272 } Py_INCREF(Py_None
);
6273 _resultobj
= Py_None
;
6277 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6278 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
* _resultobj
;
6280 wxInputStream
* _result
;
6281 wxPyProcess
* _arg0
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6302 wxPyInputStream
* _ptr
= NULL
;
6305 _ptr
= new wxPyInputStream(_result
);
6307 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6312 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6313 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxInputStream
* _result
;
6316 wxPyProcess
* _arg0
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) return NULL
;
6337 wxPyInputStream
* _ptr
= NULL
;
6340 _ptr
= new wxPyInputStream(_result
);
6342 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6347 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6348 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6350 wxOutputStream
* _result
;
6351 wxPyProcess
* _arg0
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6374 _resultobj
= Py_BuildValue("s",_ptemp
);
6377 _resultobj
= Py_None
;
6382 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6383 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6385 wxPyProcess
* _arg0
;
6386 PyObject
* _argo0
= 0;
6387 char *_kwnames
[] = { "self", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxProcess_CloseOutput(_arg0
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) return NULL
;
6405 } Py_INCREF(Py_None
);
6406 _resultobj
= Py_None
;
6410 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6411 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6414 wxPyProcess
* _arg0
;
6415 PyObject
* _argo0
= 0;
6416 char *_kwnames
[] = { "self", NULL
};
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) return NULL
;
6434 } _resultobj
= Py_BuildValue("i",_result
);
6438 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6439 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
* _resultobj
;
6442 wxPyProcess
* _arg0
;
6443 PyObject
* _argo0
= 0;
6444 char *_kwnames
[] = { "self", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) return NULL
;
6462 } _resultobj
= Py_BuildValue("i",_result
);
6466 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6467 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6470 wxPyProcess
* _arg0
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) return NULL
;
6490 } _resultobj
= Py_BuildValue("i",_result
);
6494 static void *SwigwxJoystickTowxObject(void *ptr
) {
6497 src
= (wxJoystick
*) ptr
;
6498 dest
= (wxObject
*) src
;
6499 return (void *) dest
;
6502 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6503 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6505 wxJoystick
* _result
;
6506 int _arg0
= (int ) (wxJOYSTICK1
);
6507 char *_kwnames
[] = { "joystick", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) return NULL
;
6520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6521 _resultobj
= Py_BuildValue("s",_ptemp
);
6524 _resultobj
= Py_None
;
6529 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6530 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6533 PyObject
* _argo0
= 0;
6534 char *_kwnames
[] = { "self", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 delete_wxJoystick(_arg0
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) return NULL
;
6552 } Py_INCREF(Py_None
);
6553 _resultobj
= Py_None
;
6557 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6558 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6562 PyObject
* _argo0
= 0;
6563 char *_kwnames
[] = { "self", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) return NULL
;
6582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6583 _resultobj
= Py_BuildValue("s",_ptemp
);
6587 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6588 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } _resultobj
= Py_BuildValue("i",_result
);
6615 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6616 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6620 PyObject
* _argo0
= 0;
6621 char *_kwnames
[] = { "self", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) return NULL
;
6639 } _resultobj
= Py_BuildValue("i",_result
);
6643 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6644 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) return NULL
;
6667 } _resultobj
= Py_BuildValue("i",_result
);
6671 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6672 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) return NULL
;
6695 } _resultobj
= Py_BuildValue("i",_result
);
6699 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6700 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6704 PyObject
* _argo0
= 0;
6705 char *_kwnames
[] = { "self", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) return NULL
;
6723 } _resultobj
= Py_BuildValue("i",_result
);
6727 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6728 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } _resultobj
= Py_BuildValue("i",_result
);
6755 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6756 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) return NULL
;
6779 } _resultobj
= Py_BuildValue("i",_result
);
6783 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6784 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6788 PyObject
* _argo0
= 0;
6789 char *_kwnames
[] = { "self", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } _resultobj
= Py_BuildValue("i",_result
);
6811 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6812 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6816 PyObject
* _argo0
= 0;
6817 char *_kwnames
[] = { "self","threshold", NULL
};
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) return NULL
;
6835 } Py_INCREF(Py_None
);
6836 _resultobj
= Py_None
;
6840 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6841 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
* _resultobj
;
6845 PyObject
* _argo0
= 0;
6846 char *_kwnames
[] = { "self", NULL
};
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 _result
= (bool )wxJoystick_IsOk(_arg0
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) return NULL
;
6864 } _resultobj
= Py_BuildValue("i",_result
);
6868 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6869 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) return NULL
;
6892 } _resultobj
= Py_BuildValue("i",_result
);
6896 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6897 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6901 PyObject
* _argo0
= 0;
6902 char *_kwnames
[] = { "self", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) return NULL
;
6920 } _resultobj
= Py_BuildValue("i",_result
);
6924 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6925 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6929 PyObject
* _argo0
= 0;
6930 char *_kwnames
[] = { "self", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 _result
= (int )wxJoystick_GetProductId(_arg0
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) return NULL
;
6948 } _resultobj
= Py_BuildValue("i",_result
);
6952 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6953 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
* _resultobj
;
6957 PyObject
* _argo0
= 0;
6958 char *_kwnames
[] = { "self", NULL
};
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) return NULL
;
6978 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6980 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6989 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6990 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
* _resultobj
;
6994 PyObject
* _argo0
= 0;
6995 char *_kwnames
[] = { "self", NULL
};
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 _result
= (int )wxJoystick_GetXMin(_arg0
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) return NULL
;
7013 } _resultobj
= Py_BuildValue("i",_result
);
7017 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7018 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7022 PyObject
* _argo0
= 0;
7023 char *_kwnames
[] = { "self", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 _result
= (int )wxJoystick_GetYMin(_arg0
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) return NULL
;
7041 } _resultobj
= Py_BuildValue("i",_result
);
7045 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7046 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7050 PyObject
* _argo0
= 0;
7051 char *_kwnames
[] = { "self", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 _result
= (int )wxJoystick_GetZMin(_arg0
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) return NULL
;
7069 } _resultobj
= Py_BuildValue("i",_result
);
7073 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7074 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 _result
= (int )wxJoystick_GetXMax(_arg0
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) return NULL
;
7097 } _resultobj
= Py_BuildValue("i",_result
);
7101 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7102 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
* _resultobj
;
7106 PyObject
* _argo0
= 0;
7107 char *_kwnames
[] = { "self", NULL
};
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 _result
= (int )wxJoystick_GetYMax(_arg0
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) return NULL
;
7125 } _resultobj
= Py_BuildValue("i",_result
);
7129 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7130 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
* _resultobj
;
7134 PyObject
* _argo0
= 0;
7135 char *_kwnames
[] = { "self", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 _result
= (int )wxJoystick_GetZMax(_arg0
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } _resultobj
= Py_BuildValue("i",_result
);
7157 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7158 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
* _resultobj
;
7162 PyObject
* _argo0
= 0;
7163 char *_kwnames
[] = { "self", NULL
};
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) return NULL
;
7181 } _resultobj
= Py_BuildValue("i",_result
);
7185 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7186 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
* _resultobj
;
7190 PyObject
* _argo0
= 0;
7191 char *_kwnames
[] = { "self", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) return NULL
;
7209 } _resultobj
= Py_BuildValue("i",_result
);
7213 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7214 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
* _resultobj
;
7218 PyObject
* _argo0
= 0;
7219 char *_kwnames
[] = { "self", NULL
};
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) return NULL
;
7237 } _resultobj
= Py_BuildValue("i",_result
);
7241 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7242 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
* _resultobj
;
7246 PyObject
* _argo0
= 0;
7247 char *_kwnames
[] = { "self", NULL
};
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) return NULL
;
7265 } _resultobj
= Py_BuildValue("i",_result
);
7269 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7270 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7274 PyObject
* _argo0
= 0;
7275 char *_kwnames
[] = { "self", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } _resultobj
= Py_BuildValue("i",_result
);
7297 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7298 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } _resultobj
= Py_BuildValue("i",_result
);
7325 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7326 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
* _resultobj
;
7330 PyObject
* _argo0
= 0;
7331 char *_kwnames
[] = { "self", NULL
};
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) return NULL
;
7349 } _resultobj
= Py_BuildValue("i",_result
);
7353 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7354 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
* _resultobj
;
7358 PyObject
* _argo0
= 0;
7359 char *_kwnames
[] = { "self", NULL
};
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) return NULL
;
7377 } _resultobj
= Py_BuildValue("i",_result
);
7381 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7382 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7386 PyObject
* _argo0
= 0;
7387 char *_kwnames
[] = { "self", NULL
};
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 _result
= (int )wxJoystick_GetUMin(_arg0
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) return NULL
;
7405 } _resultobj
= Py_BuildValue("i",_result
);
7409 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7410 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7414 PyObject
* _argo0
= 0;
7415 char *_kwnames
[] = { "self", NULL
};
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 _result
= (int )wxJoystick_GetUMax(_arg0
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) return NULL
;
7433 } _resultobj
= Py_BuildValue("i",_result
);
7437 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7438 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7442 PyObject
* _argo0
= 0;
7443 char *_kwnames
[] = { "self", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 _result
= (int )wxJoystick_GetVMin(_arg0
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) return NULL
;
7461 } _resultobj
= Py_BuildValue("i",_result
);
7465 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7466 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
* _resultobj
;
7470 PyObject
* _argo0
= 0;
7471 char *_kwnames
[] = { "self", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 _result
= (int )wxJoystick_GetVMax(_arg0
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) return NULL
;
7489 } _resultobj
= Py_BuildValue("i",_result
);
7493 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7494 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
* _resultobj
;
7498 PyObject
* _argo0
= 0;
7499 char *_kwnames
[] = { "self", NULL
};
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) return NULL
;
7517 } _resultobj
= Py_BuildValue("i",_result
);
7521 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7522 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
* _resultobj
;
7526 PyObject
* _argo0
= 0;
7527 char *_kwnames
[] = { "self", NULL
};
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 _result
= (bool )wxJoystick_HasZ(_arg0
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) return NULL
;
7545 } _resultobj
= Py_BuildValue("i",_result
);
7549 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7550 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
* _resultobj
;
7554 PyObject
* _argo0
= 0;
7555 char *_kwnames
[] = { "self", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 _result
= (bool )wxJoystick_HasU(_arg0
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) return NULL
;
7573 } _resultobj
= Py_BuildValue("i",_result
);
7577 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7578 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
* _resultobj
;
7582 PyObject
* _argo0
= 0;
7583 char *_kwnames
[] = { "self", NULL
};
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 _result
= (bool )wxJoystick_HasV(_arg0
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) return NULL
;
7601 } _resultobj
= Py_BuildValue("i",_result
);
7605 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7606 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
* _resultobj
;
7610 PyObject
* _argo0
= 0;
7611 char *_kwnames
[] = { "self", NULL
};
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) return NULL
;
7629 } _resultobj
= Py_BuildValue("i",_result
);
7633 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7634 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
* _resultobj
;
7638 PyObject
* _argo0
= 0;
7639 char *_kwnames
[] = { "self", NULL
};
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) return NULL
;
7657 } _resultobj
= Py_BuildValue("i",_result
);
7661 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7662 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
* _resultobj
;
7666 PyObject
* _argo0
= 0;
7667 char *_kwnames
[] = { "self", NULL
};
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) return NULL
;
7685 } _resultobj
= Py_BuildValue("i",_result
);
7689 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7690 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
* _resultobj
;
7695 int _arg2
= (int ) 0;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7698 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) return NULL
;
7723 } _resultobj
= Py_BuildValue("i",_result
);
7727 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7728 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7732 PyObject
* _argo0
= 0;
7733 char *_kwnames
[] = { "self", NULL
};
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) return NULL
;
7751 } _resultobj
= Py_BuildValue("i",_result
);
7755 static void *SwigwxWaveTowxObject(void *ptr
) {
7758 src
= (wxWave
*) ptr
;
7759 dest
= (wxObject
*) src
;
7760 return (void *) dest
;
7763 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7764 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
* _resultobj
;
7768 bool _arg1
= (bool ) FALSE
;
7769 PyObject
* _obj0
= 0;
7770 int tempbool1
= (int) FALSE
;
7771 char *_kwnames
[] = { "fileName","isResource", NULL
};
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7778 _arg0
= wxString_in_helper(_obj0
);
7782 _arg1
= (bool ) tempbool1
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) return NULL
;
7790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7791 _resultobj
= Py_BuildValue("s",_ptemp
);
7794 _resultobj
= Py_None
;
7803 #define delete_wxWave(_swigobj) (delete _swigobj)
7804 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
* _resultobj
;
7807 PyObject
* _argo0
= 0;
7808 char *_kwnames
[] = { "self", NULL
};
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 delete_wxWave(_arg0
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) return NULL
;
7826 } Py_INCREF(Py_None
);
7827 _resultobj
= Py_None
;
7831 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7832 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
* _resultobj
;
7836 PyObject
* _argo0
= 0;
7837 char *_kwnames
[] = { "self", NULL
};
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 _result
= (bool )wxWave_IsOk(_arg0
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) return NULL
;
7855 } _resultobj
= Py_BuildValue("i",_result
);
7859 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7860 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
* _resultobj
;
7864 bool _arg1
= (bool ) TRUE
;
7865 bool _arg2
= (bool ) FALSE
;
7866 PyObject
* _argo0
= 0;
7867 int tempbool1
= (int) TRUE
;
7868 int tempbool2
= (int) FALSE
;
7869 char *_kwnames
[] = { "self","async","looped", NULL
};
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7881 _arg1
= (bool ) tempbool1
;
7882 _arg2
= (bool ) tempbool2
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) return NULL
;
7889 } _resultobj
= Py_BuildValue("i",_result
);
7893 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7894 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
* _resultobj
;
7896 wxFileTypeInfo
* _result
;
7901 PyObject
* _obj0
= 0;
7902 PyObject
* _obj1
= 0;
7903 PyObject
* _obj2
= 0;
7904 PyObject
* _obj3
= 0;
7905 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
7912 _arg0
= wxString_in_helper(_obj0
);
7917 _arg1
= wxString_in_helper(_obj1
);
7922 _arg2
= wxString_in_helper(_obj2
);
7927 _arg3
= wxString_in_helper(_obj3
);
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) return NULL
;
7938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7939 _resultobj
= Py_BuildValue("s",_ptemp
);
7942 _resultobj
= Py_None
;
7963 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7964 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
* _resultobj
;
7966 wxFileTypeInfo
* _result
;
7967 wxArrayString
* _arg0
;
7968 PyObject
* _obj0
= 0;
7969 char *_kwnames
[] = { "sArray", NULL
};
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7976 if (! PySequence_Check(_obj0
)) {
7977 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7980 _arg0
= new wxArrayString
;
7981 int i
, len
=PySequence_Length(_obj0
);
7982 for (i
=0; i
<len
; i
++) {
7983 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7985 PyObject
* str
= PyObject_Unicode(item
);
7987 PyObject
* str
= PyObject_Str(item
);
7989 _arg0
->Add(Py2wxString(str
));
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) return NULL
;
8001 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8002 _resultobj
= Py_BuildValue("s",_ptemp
);
8005 _resultobj
= Py_None
;
8014 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8015 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
* _resultobj
;
8017 wxFileTypeInfo
* _result
;
8018 char *_kwnames
[] = { NULL
};
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) return NULL
;
8031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8032 _resultobj
= Py_BuildValue("s",_ptemp
);
8035 _resultobj
= Py_None
;
8040 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8041 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
* _resultobj
;
8044 wxFileTypeInfo
* _arg0
;
8045 PyObject
* _argo0
= 0;
8046 char *_kwnames
[] = { "self", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) return NULL
;
8064 } _resultobj
= Py_BuildValue("i",_result
);
8068 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8069 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
* _resultobj
;
8071 wxFileTypeInfo
* _arg0
;
8073 int _arg2
= (int ) 0;
8074 PyObject
* _argo0
= 0;
8075 PyObject
* _obj1
= 0;
8076 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8089 _arg1
= wxString_in_helper(_obj1
);
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) return NULL
;
8099 } Py_INCREF(Py_None
);
8100 _resultobj
= Py_None
;
8108 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8109 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
* _resultobj
;
8111 wxFileTypeInfo
* _arg0
;
8113 PyObject
* _argo0
= 0;
8114 PyObject
* _obj1
= 0;
8115 char *_kwnames
[] = { "self","shortDesc", NULL
};
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8128 _arg1
= wxString_in_helper(_obj1
);
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) return NULL
;
8138 } Py_INCREF(Py_None
);
8139 _resultobj
= Py_None
;
8147 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8148 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
* _resultobj
;
8151 wxFileTypeInfo
* _arg0
;
8152 PyObject
* _argo0
= 0;
8153 char *_kwnames
[] = { "self", NULL
};
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8168 _result
= (wxString
*) &_result_ref
;
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) return NULL
;
8174 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8176 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8182 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8183 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
* _resultobj
;
8186 wxFileTypeInfo
* _arg0
;
8187 PyObject
* _argo0
= 0;
8188 char *_kwnames
[] = { "self", NULL
};
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8203 _result
= (wxString
*) &_result_ref
;
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) return NULL
;
8209 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8211 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8217 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8218 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8221 wxFileTypeInfo
* _arg0
;
8222 PyObject
* _argo0
= 0;
8223 char *_kwnames
[] = { "self", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8238 _result
= (wxString
*) &_result_ref
;
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) return NULL
;
8244 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8246 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8252 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8253 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
* _resultobj
;
8256 wxFileTypeInfo
* _arg0
;
8257 PyObject
* _argo0
= 0;
8258 char *_kwnames
[] = { "self", NULL
};
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8273 _result
= (wxString
*) &_result_ref
;
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) return NULL
;
8279 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8281 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8287 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8288 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8291 wxFileTypeInfo
* _arg0
;
8292 PyObject
* _argo0
= 0;
8293 char *_kwnames
[] = { "self", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8308 _result
= (wxString
*) &_result_ref
;
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) return NULL
;
8314 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8316 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8322 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8323 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8324 return wxArrayString2PyList_helper(arr
);
8326 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
* _resultobj
;
8329 wxFileTypeInfo
* _arg0
;
8330 PyObject
* _argo0
= 0;
8331 char *_kwnames
[] = { "self", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) return NULL
;
8350 _resultobj
= _result
;
8355 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8356 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
* _resultobj
;
8359 wxFileTypeInfo
* _arg0
;
8360 PyObject
* _argo0
= 0;
8361 char *_kwnames
[] = { "self", NULL
};
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8379 } _resultobj
= Py_BuildValue("i",_result
);
8383 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8384 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
* _resultobj
;
8387 wxFileTypeInfo
* _arg0
;
8388 PyObject
* _argo0
= 0;
8389 char *_kwnames
[] = { "self", NULL
};
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8404 _result
= (wxString
*) &_result_ref
;
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) return NULL
;
8410 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8412 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8418 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8419 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
* _resultobj
;
8422 wxFileTypeInfo
* _arg0
;
8423 PyObject
* _argo0
= 0;
8424 char *_kwnames
[] = { "self", NULL
};
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) return NULL
;
8442 } _resultobj
= Py_BuildValue("i",_result
);
8446 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8447 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
* _resultobj
;
8449 wxFileType
* _result
;
8450 wxFileTypeInfo
* _arg0
;
8451 PyObject
* _argo0
= 0;
8452 char *_kwnames
[] = { "ftInfo", NULL
};
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8459 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) return NULL
;
8471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8472 _resultobj
= Py_BuildValue("s",_ptemp
);
8475 _resultobj
= Py_None
;
8480 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8482 if (self
->GetMimeType(&str
)) {
8484 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8486 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8492 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
* _resultobj
;
8496 PyObject
* _argo0
= 0;
8497 char *_kwnames
[] = { "self", NULL
};
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) return NULL
;
8516 _resultobj
= _result
;
8521 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8523 if (self
->GetMimeTypes(arr
))
8524 return wxArrayString2PyList_helper(arr
);
8528 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
* _resultobj
;
8532 PyObject
* _argo0
= 0;
8533 char *_kwnames
[] = { "self", NULL
};
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) return NULL
;
8552 _resultobj
= _result
;
8557 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8559 if (self
->GetExtensions(arr
))
8560 return wxArrayString2PyList_helper(arr
);
8564 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
* _resultobj
;
8568 PyObject
* _argo0
= 0;
8569 char *_kwnames
[] = { "self", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) return NULL
;
8588 _resultobj
= _result
;
8593 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8595 if (self
->GetIcon(&loc
))
8596 return new wxIcon(loc
);
8600 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
* _resultobj
;
8604 PyObject
* _argo0
= 0;
8605 char *_kwnames
[] = { "self", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) return NULL
;
8625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8626 _resultobj
= Py_BuildValue("s",_ptemp
);
8629 _resultobj
= Py_None
;
8634 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8636 if (self
->GetIcon(&loc
)) {
8637 wxString iconFile
= loc
.GetFileName();
8640 iconIndex
= loc
.GetIndex();
8642 // Make a tuple and put the values in it
8643 wxPyBeginBlockThreads();
8644 PyObject
* tuple
= PyTuple_New(3);
8645 PyTuple_SetItem(tuple
, 0,
8646 wxPyConstructObject(new wxIcon(loc
), wxT("wxIcon"), TRUE
));
8648 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8650 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8652 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8653 wxPyEndBlockThreads();
8659 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
* _resultobj
;
8663 PyObject
* _argo0
= 0;
8664 char *_kwnames
[] = { "self", NULL
};
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) return NULL
;
8683 _resultobj
= _result
;
8688 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8690 if (self
->GetDescription(&str
)) {
8692 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8694 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8699 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
* _resultobj
;
8703 PyObject
* _argo0
= 0;
8704 char *_kwnames
[] = { "self", NULL
};
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) return NULL
;
8723 _resultobj
= _result
;
8728 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8730 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8732 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8734 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8739 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
* _resultobj
;
8744 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8745 PyObject
* _argo0
= 0;
8746 PyObject
* _obj1
= 0;
8747 PyObject
* _obj2
= 0;
8748 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8761 _arg1
= wxString_in_helper(_obj1
);
8767 _arg2
= wxString_in_helper(_obj2
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) return NULL
;
8778 _resultobj
= _result
;
8791 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8793 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8795 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8797 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8802 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
* _resultobj
;
8807 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8808 PyObject
* _argo0
= 0;
8809 PyObject
* _obj1
= 0;
8810 PyObject
* _obj2
= 0;
8811 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8824 _arg1
= wxString_in_helper(_obj1
);
8830 _arg2
= wxString_in_helper(_obj2
);
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) return NULL
;
8841 _resultobj
= _result
;
8854 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8855 wxArrayString verbs
;
8856 wxArrayString commands
;
8857 if (self
->GetAllCommands(&verbs
, &commands
,
8858 wxFileType::MessageParameters(filename
, mimetype
))) {
8859 wxPyBeginBlockThreads();
8860 PyObject
* tuple
= PyTuple_New(2);
8861 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8862 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8863 wxPyEndBlockThreads();
8869 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
* _resultobj
;
8874 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8875 PyObject
* _argo0
= 0;
8876 PyObject
* _obj1
= 0;
8877 PyObject
* _obj2
= 0;
8878 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8891 _arg1
= wxString_in_helper(_obj1
);
8897 _arg2
= wxString_in_helper(_obj2
);
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) return NULL
;
8908 _resultobj
= _result
;
8921 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8922 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
* _resultobj
;
8928 bool _arg3
= (bool ) TRUE
;
8929 PyObject
* _argo0
= 0;
8930 PyObject
* _obj1
= 0;
8931 PyObject
* _obj2
= 0;
8932 int tempbool3
= (int) TRUE
;
8933 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8946 _arg1
= wxString_in_helper(_obj1
);
8951 _arg2
= wxString_in_helper(_obj2
);
8955 _arg3
= (bool ) tempbool3
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) return NULL
;
8962 } _resultobj
= Py_BuildValue("i",_result
);
8974 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8975 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8979 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8980 int _arg2
= (int ) 0;
8981 PyObject
* _argo0
= 0;
8982 PyObject
* _obj1
= 0;
8983 char *_kwnames
[] = { "self","cmd","index", NULL
};
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8997 _arg1
= wxString_in_helper(_obj1
);
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) return NULL
;
9007 } _resultobj
= Py_BuildValue("i",_result
);
9015 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9016 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
* _resultobj
;
9020 PyObject
* _argo0
= 0;
9021 char *_kwnames
[] = { "self", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 _result
= (bool )wxFileType_Unassociate(_arg0
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) return NULL
;
9039 } _resultobj
= Py_BuildValue("i",_result
);
9043 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
* _resultobj
;
9047 wxFileType::MessageParameters
* _arg1
;
9048 PyObject
* _obj0
= 0;
9049 PyObject
* _argo1
= 0;
9050 char *_kwnames
[] = { "command","params", NULL
};
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9056 _arg0
= wxString_in_helper(_obj0
);
9061 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) return NULL
;
9074 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9076 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9089 #define delete_wxFileType(_swigobj) (delete _swigobj)
9090 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
* _resultobj
;
9093 PyObject
* _argo0
= 0;
9094 char *_kwnames
[] = { "self", NULL
};
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 delete_wxFileType(_arg0
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) return NULL
;
9112 } Py_INCREF(Py_None
);
9113 _resultobj
= Py_None
;
9117 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
* _resultobj
;
9122 PyObject
* _obj0
= 0;
9123 PyObject
* _obj1
= 0;
9124 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9130 _arg0
= wxString_in_helper(_obj0
);
9135 _arg1
= wxString_in_helper(_obj1
);
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) return NULL
;
9145 } _resultobj
= Py_BuildValue("i",_result
);
9157 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9158 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
* _resultobj
;
9160 wxMimeTypesManager
* _result
;
9161 char *_kwnames
[] = { NULL
};
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) return NULL
;
9174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9175 _resultobj
= Py_BuildValue("s",_ptemp
);
9178 _resultobj
= Py_None
;
9183 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9184 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
* _resultobj
;
9186 wxMimeTypesManager
* _arg0
;
9187 int _arg1
= (int ) (wxMAILCAP_ALL
);
9188 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9189 PyObject
* _argo0
= 0;
9190 PyObject
* _obj2
= 0;
9191 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9205 _arg2
= wxString_in_helper(_obj2
);
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) return NULL
;
9215 } Py_INCREF(Py_None
);
9216 _resultobj
= Py_None
;
9224 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9225 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
* _resultobj
;
9227 wxMimeTypesManager
* _arg0
;
9228 PyObject
* _argo0
= 0;
9229 char *_kwnames
[] = { "self", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 wxMimeTypesManager_ClearData(_arg0
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) return NULL
;
9247 } Py_INCREF(Py_None
);
9248 _resultobj
= Py_None
;
9252 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9253 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
* _resultobj
;
9255 wxFileType
* _result
;
9256 wxMimeTypesManager
* _arg0
;
9258 PyObject
* _argo0
= 0;
9259 PyObject
* _obj1
= 0;
9260 char *_kwnames
[] = { "self","ext", NULL
};
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9274 _arg1
= wxString_in_helper(_obj1
);
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) return NULL
;
9285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9286 _resultobj
= Py_BuildValue("s",_ptemp
);
9289 _resultobj
= Py_None
;
9298 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9299 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
* _resultobj
;
9301 wxFileType
* _result
;
9302 wxMimeTypesManager
* _arg0
;
9304 PyObject
* _argo0
= 0;
9305 PyObject
* _obj1
= 0;
9306 char *_kwnames
[] = { "self","mimeType", NULL
};
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9320 _arg1
= wxString_in_helper(_obj1
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) return NULL
;
9331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9332 _resultobj
= Py_BuildValue("s",_ptemp
);
9335 _resultobj
= Py_None
;
9344 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9345 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
* _resultobj
;
9348 wxMimeTypesManager
* _arg0
;
9350 bool _arg2
= (bool ) FALSE
;
9351 PyObject
* _argo0
= 0;
9352 PyObject
* _obj1
= 0;
9353 int tempbool2
= (int) FALSE
;
9354 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9367 _arg1
= wxString_in_helper(_obj1
);
9371 _arg2
= (bool ) tempbool2
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) return NULL
;
9378 } _resultobj
= Py_BuildValue("i",_result
);
9386 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9387 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
* _resultobj
;
9390 wxMimeTypesManager
* _arg0
;
9392 PyObject
* _argo0
= 0;
9393 PyObject
* _obj1
= 0;
9394 char *_kwnames
[] = { "self","filename", NULL
};
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9407 _arg1
= wxString_in_helper(_obj1
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) return NULL
;
9417 } _resultobj
= Py_BuildValue("i",_result
);
9425 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9427 self
->EnumAllFileTypes(arr
);
9428 return wxArrayString2PyList_helper(arr
);
9430 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
* _resultobj
;
9433 wxMimeTypesManager
* _arg0
;
9434 PyObject
* _argo0
= 0;
9435 char *_kwnames
[] = { "self", NULL
};
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) return NULL
;
9454 _resultobj
= _result
;
9459 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9460 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
* _resultobj
;
9462 wxMimeTypesManager
* _arg0
;
9463 wxFileTypeInfo
* _arg1
;
9464 PyObject
* _argo0
= 0;
9465 PyObject
* _argo1
= 0;
9466 char *_kwnames
[] = { "self","ft", NULL
};
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9479 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) return NULL
;
9490 } Py_INCREF(Py_None
);
9491 _resultobj
= Py_None
;
9495 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9496 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
* _resultobj
;
9498 wxFileType
* _result
;
9499 wxMimeTypesManager
* _arg0
;
9500 wxFileTypeInfo
* _arg1
;
9501 PyObject
* _argo0
= 0;
9502 PyObject
* _argo1
= 0;
9503 char *_kwnames
[] = { "self","ftInfo", NULL
};
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9517 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) return NULL
;
9529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9530 _resultobj
= Py_BuildValue("s",_ptemp
);
9533 _resultobj
= Py_None
;
9538 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9539 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
* _resultobj
;
9542 wxMimeTypesManager
* _arg0
;
9544 PyObject
* _argo0
= 0;
9545 PyObject
* _argo1
= 0;
9546 char *_kwnames
[] = { "self","ft", NULL
};
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) return NULL
;
9571 } _resultobj
= Py_BuildValue("i",_result
);
9575 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9576 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
* _resultobj
;
9578 wxMimeTypesManager
* _arg0
;
9579 PyObject
* _argo0
= 0;
9580 char *_kwnames
[] = { "self", NULL
};
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 delete_wxMimeTypesManager(_arg0
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) return NULL
;
9598 } Py_INCREF(Py_None
);
9599 _resultobj
= Py_None
;
9603 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9604 wxPyArtProvider
*src
;
9606 src
= (wxPyArtProvider
*) ptr
;
9607 dest
= (wxObject
*) src
;
9608 return (void *) dest
;
9611 #define new_wxArtProvider() (new wxPyArtProvider())
9612 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
* _resultobj
;
9614 wxPyArtProvider
* _result
;
9615 char *_kwnames
[] = { NULL
};
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) return NULL
;
9628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9629 _resultobj
= Py_BuildValue("s",_ptemp
);
9632 _resultobj
= Py_None
;
9637 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9638 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
* _resultobj
;
9640 wxPyArtProvider
* _arg0
;
9643 PyObject
* _argo0
= 0;
9644 PyObject
* _obj1
= 0;
9645 PyObject
* _obj2
= 0;
9646 char *_kwnames
[] = { "self","self","_class", NULL
};
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) return NULL
;
9670 } Py_INCREF(Py_None
);
9671 _resultobj
= Py_None
;
9675 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
* _resultobj
;
9677 wxPyArtProvider
* _arg0
;
9678 PyObject
* _argo0
= 0;
9679 char *_kwnames
[] = { "provider", NULL
};
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 wxPyArtProvider::PushProvider(_arg0
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) return NULL
;
9697 } Py_INCREF(Py_None
);
9698 _resultobj
= Py_None
;
9702 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
* _resultobj
;
9705 char *_kwnames
[] = { NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 _result
= (bool )wxPyArtProvider::PopProvider();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) return NULL
;
9716 } _resultobj
= Py_BuildValue("i",_result
);
9720 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
* _resultobj
;
9723 wxPyArtProvider
* _arg0
;
9724 PyObject
* _argo0
= 0;
9725 char *_kwnames
[] = { "provider", NULL
};
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) return NULL
;
9743 } _resultobj
= Py_BuildValue("i",_result
);
9747 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
* _resultobj
;
9751 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9752 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9753 PyObject
* _obj0
= 0;
9754 PyObject
* _obj1
= 0;
9756 PyObject
* _obj2
= 0;
9757 char *_kwnames
[] = { "id","client","size", NULL
};
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9764 _arg0
= wxString_in_helper(_obj0
);
9770 _arg1
= wxString_in_helper(_obj1
);
9777 if (! wxSize_helper(_obj2
, &_arg2
))
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) return NULL
;
9786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9787 _resultobj
= Py_BuildValue("s",_ptemp
);
9799 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
* _resultobj
;
9803 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9804 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9805 PyObject
* _obj0
= 0;
9806 PyObject
* _obj1
= 0;
9808 PyObject
* _obj2
= 0;
9809 char *_kwnames
[] = { "id","client","size", NULL
};
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9816 _arg0
= wxString_in_helper(_obj0
);
9822 _arg1
= wxString_in_helper(_obj1
);
9829 if (! wxSize_helper(_obj2
, &_arg2
))
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9839 _resultobj
= Py_BuildValue("s",_ptemp
);
9851 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9854 src
= (wxFileHistory
*) ptr
;
9855 dest
= (wxObject
*) src
;
9856 return (void *) dest
;
9859 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9860 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
* _resultobj
;
9862 wxFileHistory
* _result
;
9863 int _arg0
= (int ) 9;
9864 char *_kwnames
[] = { "maxFiles", NULL
};
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) return NULL
;
9877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9878 _resultobj
= Py_BuildValue("s",_ptemp
);
9881 _resultobj
= Py_None
;
9886 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9887 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
* _resultobj
;
9889 wxFileHistory
* _arg0
;
9890 PyObject
* _argo0
= 0;
9891 char *_kwnames
[] = { "self", NULL
};
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 delete_wxFileHistory(_arg0
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) return NULL
;
9909 } Py_INCREF(Py_None
);
9910 _resultobj
= Py_None
;
9914 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9915 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
* _resultobj
;
9917 wxFileHistory
* _arg0
;
9919 PyObject
* _argo0
= 0;
9920 PyObject
* _obj1
= 0;
9921 char *_kwnames
[] = { "self","file", NULL
};
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9934 _arg1
= wxString_in_helper(_obj1
);
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) return NULL
;
9944 } Py_INCREF(Py_None
);
9945 _resultobj
= Py_None
;
9953 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9954 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
* _resultobj
;
9956 wxFileHistory
* _arg0
;
9958 PyObject
* _argo0
= 0;
9959 char *_kwnames
[] = { "self","i", NULL
};
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) return NULL
;
9977 } Py_INCREF(Py_None
);
9978 _resultobj
= Py_None
;
9982 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9983 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
* _resultobj
;
9986 wxFileHistory
* _arg0
;
9987 PyObject
* _argo0
= 0;
9988 char *_kwnames
[] = { "self", NULL
};
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) return NULL
;
10006 } _resultobj
= Py_BuildValue("i",_result
);
10010 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10011 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
* _resultobj
;
10013 wxFileHistory
* _arg0
;
10015 PyObject
* _argo0
= 0;
10016 PyObject
* _argo1
= 0;
10017 char *_kwnames
[] = { "self","menu", NULL
};
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 wxFileHistory_UseMenu(_arg0
,_arg1
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) return NULL
;
10042 } Py_INCREF(Py_None
);
10043 _resultobj
= Py_None
;
10047 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10048 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
* _resultobj
;
10050 wxFileHistory
* _arg0
;
10052 PyObject
* _argo0
= 0;
10053 PyObject
* _argo1
= 0;
10054 char *_kwnames
[] = { "self","menu", NULL
};
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10067 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10068 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) return NULL
;
10079 } Py_INCREF(Py_None
);
10080 _resultobj
= Py_None
;
10084 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10085 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
* _resultobj
;
10087 wxFileHistory
* _arg0
;
10088 wxConfigBase
* _arg1
;
10089 PyObject
* _argo0
= 0;
10090 PyObject
* _argo1
= 0;
10091 char *_kwnames
[] = { "self","config", NULL
};
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10104 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 wxFileHistory_Load(_arg0
,*_arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) return NULL
;
10115 } Py_INCREF(Py_None
);
10116 _resultobj
= Py_None
;
10120 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10121 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
* _resultobj
;
10123 wxFileHistory
* _arg0
;
10124 wxConfigBase
* _arg1
;
10125 PyObject
* _argo0
= 0;
10126 PyObject
* _argo1
= 0;
10127 char *_kwnames
[] = { "self","config", NULL
};
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10140 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 wxFileHistory_Save(_arg0
,*_arg1
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) return NULL
;
10151 } Py_INCREF(Py_None
);
10152 _resultobj
= Py_None
;
10156 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10157 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
* _resultobj
;
10159 wxFileHistory
* _arg0
;
10160 PyObject
* _argo0
= 0;
10161 char *_kwnames
[] = { "self", NULL
};
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 wxFileHistory_AddFilesToMenu(_arg0
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) return NULL
;
10179 } Py_INCREF(Py_None
);
10180 _resultobj
= Py_None
;
10184 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10185 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
* _resultobj
;
10187 wxFileHistory
* _arg0
;
10189 PyObject
* _argo0
= 0;
10190 PyObject
* _argo1
= 0;
10191 char *_kwnames
[] = { "self","menu", NULL
};
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } Py_INCREF(Py_None
);
10217 _resultobj
= Py_None
;
10221 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10222 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
* _resultobj
;
10224 wxString
* _result
;
10225 wxFileHistory
* _arg0
;
10227 PyObject
* _argo0
= 0;
10228 char *_kwnames
[] = { "self","i", NULL
};
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) return NULL
;
10248 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10250 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10259 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10260 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
* _resultobj
;
10263 wxFileHistory
* _arg0
;
10264 PyObject
* _argo0
= 0;
10265 char *_kwnames
[] = { "self", NULL
};
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 _result
= (int )wxFileHistory_GetCount(_arg0
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) return NULL
;
10283 } _resultobj
= Py_BuildValue("i",_result
);
10287 static void *SwigwxEffectsTowxObject(void *ptr
) {
10290 src
= (wxEffects
*) ptr
;
10291 dest
= (wxObject
*) src
;
10292 return (void *) dest
;
10295 #define new_wxEffects() (new wxEffects())
10296 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
* _resultobj
;
10298 wxEffects
* _result
;
10299 char *_kwnames
[] = { NULL
};
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 _result
= (wxEffects
*)new_wxEffects();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) return NULL
;
10312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10313 _resultobj
= Py_BuildValue("s",_ptemp
);
10315 Py_INCREF(Py_None
);
10316 _resultobj
= Py_None
;
10321 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10322 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
* _resultobj
;
10324 wxColour
* _result
;
10326 PyObject
* _argo0
= 0;
10327 char *_kwnames
[] = { "self", NULL
};
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) return NULL
;
10346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10347 _resultobj
= Py_BuildValue("s",_ptemp
);
10351 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10352 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
* _resultobj
;
10354 wxColour
* _result
;
10356 PyObject
* _argo0
= 0;
10357 char *_kwnames
[] = { "self", NULL
};
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) return NULL
;
10376 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10377 _resultobj
= Py_BuildValue("s",_ptemp
);
10381 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10382 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
* _resultobj
;
10384 wxColour
* _result
;
10386 PyObject
* _argo0
= 0;
10387 char *_kwnames
[] = { "self", NULL
};
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) return NULL
;
10406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10407 _resultobj
= Py_BuildValue("s",_ptemp
);
10411 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10412 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
* _resultobj
;
10414 wxColour
* _result
;
10416 PyObject
* _argo0
= 0;
10417 char *_kwnames
[] = { "self", NULL
};
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) return NULL
;
10436 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10437 _resultobj
= Py_BuildValue("s",_ptemp
);
10441 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10442 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
* _resultobj
;
10444 wxColour
* _result
;
10446 PyObject
* _argo0
= 0;
10447 char *_kwnames
[] = { "self", NULL
};
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) return NULL
;
10466 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10467 _resultobj
= Py_BuildValue("s",_ptemp
);
10471 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10472 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
* _resultobj
;
10476 PyObject
* _argo0
= 0;
10478 PyObject
* _obj1
= 0;
10479 char *_kwnames
[] = { "self","c", NULL
};
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10493 if (! wxColour_helper(_obj1
, &_arg1
))
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) return NULL
;
10502 } Py_INCREF(Py_None
);
10503 _resultobj
= Py_None
;
10507 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10508 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
* _resultobj
;
10512 PyObject
* _argo0
= 0;
10514 PyObject
* _obj1
= 0;
10515 char *_kwnames
[] = { "self","c", NULL
};
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10529 if (! wxColour_helper(_obj1
, &_arg1
))
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) return NULL
;
10538 } Py_INCREF(Py_None
);
10539 _resultobj
= Py_None
;
10543 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10544 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
* _resultobj
;
10548 PyObject
* _argo0
= 0;
10550 PyObject
* _obj1
= 0;
10551 char *_kwnames
[] = { "self","c", NULL
};
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10565 if (! wxColour_helper(_obj1
, &_arg1
))
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) return NULL
;
10574 } Py_INCREF(Py_None
);
10575 _resultobj
= Py_None
;
10579 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10580 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
* _resultobj
;
10584 PyObject
* _argo0
= 0;
10586 PyObject
* _obj1
= 0;
10587 char *_kwnames
[] = { "self","c", NULL
};
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10601 if (! wxColour_helper(_obj1
, &_arg1
))
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) return NULL
;
10610 } Py_INCREF(Py_None
);
10611 _resultobj
= Py_None
;
10615 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10616 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
* _resultobj
;
10620 PyObject
* _argo0
= 0;
10622 PyObject
* _obj1
= 0;
10623 char *_kwnames
[] = { "self","c", NULL
};
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10637 if (! wxColour_helper(_obj1
, &_arg1
))
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) return NULL
;
10646 } Py_INCREF(Py_None
);
10647 _resultobj
= Py_None
;
10651 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10652 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
* _resultobj
;
10660 PyObject
* _argo0
= 0;
10662 PyObject
* _obj1
= 0;
10664 PyObject
* _obj2
= 0;
10666 PyObject
* _obj3
= 0;
10668 PyObject
* _obj4
= 0;
10670 PyObject
* _obj5
= 0;
10671 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10685 if (! wxColour_helper(_obj1
, &_arg1
))
10690 if (! wxColour_helper(_obj2
, &_arg2
))
10695 if (! wxColour_helper(_obj3
, &_arg3
))
10700 if (! wxColour_helper(_obj4
, &_arg4
))
10705 if (! wxColour_helper(_obj5
, &_arg5
))
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) return NULL
;
10714 } Py_INCREF(Py_None
);
10715 _resultobj
= Py_None
;
10719 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10720 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
* _resultobj
;
10725 int _arg3
= (int ) 1;
10726 PyObject
* _argo0
= 0;
10727 PyObject
* _argo1
= 0;
10729 PyObject
* _obj2
= 0;
10730 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10743 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10750 if (! wxRect_helper(_obj2
, &_arg2
))
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) return NULL
;
10759 } Py_INCREF(Py_None
);
10760 _resultobj
= Py_None
;
10764 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10765 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
* _resultobj
;
10772 PyObject
* _argo0
= 0;
10774 PyObject
* _obj1
= 0;
10775 PyObject
* _argo2
= 0;
10776 PyObject
* _argo3
= 0;
10777 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
10783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10791 if (! wxRect_helper(_obj1
, &_arg1
))
10795 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
10801 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
10802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) return NULL
;
10812 } _resultobj
= Py_BuildValue("i",_result
);
10816 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
10817 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
* _resultobj
;
10819 wxSingleInstanceChecker
* _result
;
10821 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
10822 PyObject
* _obj0
= 0;
10823 PyObject
* _obj1
= 0;
10824 char *_kwnames
[] = { "name","path", NULL
};
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
10831 _arg0
= wxString_in_helper(_obj0
);
10837 _arg1
= wxString_in_helper(_obj1
);
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) return NULL
;
10848 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10849 _resultobj
= Py_BuildValue("s",_ptemp
);
10851 Py_INCREF(Py_None
);
10852 _resultobj
= Py_None
;
10865 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
10866 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
* _resultobj
;
10868 wxSingleInstanceChecker
* _result
;
10869 char *_kwnames
[] = { NULL
};
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) return NULL
;
10882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10883 _resultobj
= Py_BuildValue("s",_ptemp
);
10885 Py_INCREF(Py_None
);
10886 _resultobj
= Py_None
;
10891 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
10892 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
* _resultobj
;
10894 wxSingleInstanceChecker
* _arg0
;
10895 PyObject
* _argo0
= 0;
10896 char *_kwnames
[] = { "self", NULL
};
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
10902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 delete_wxSingleInstanceChecker(_arg0
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) return NULL
;
10914 } Py_INCREF(Py_None
);
10915 _resultobj
= Py_None
;
10919 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
10920 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
* _resultobj
;
10923 wxSingleInstanceChecker
* _arg0
;
10925 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10926 PyObject
* _argo0
= 0;
10927 PyObject
* _obj1
= 0;
10928 PyObject
* _obj2
= 0;
10929 char *_kwnames
[] = { "self","name","path", NULL
};
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
10942 _arg1
= wxString_in_helper(_obj1
);
10948 _arg2
= wxString_in_helper(_obj2
);
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) return NULL
;
10958 } _resultobj
= Py_BuildValue("i",_result
);
10970 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
10971 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
* _resultobj
;
10974 wxSingleInstanceChecker
* _arg0
;
10975 PyObject
* _argo0
= 0;
10976 char *_kwnames
[] = { "self", NULL
};
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
10982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) return NULL
;
10994 } _resultobj
= Py_BuildValue("i",_result
);
10998 static PyMethodDef misc2cMethods
[] = {
10999 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11324 * This table is used by the pointer type-checker
11326 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11327 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11328 { "_signed_long","_long",0},
11329 { "_wxPrintQuality","_wxCoord",0},
11330 { "_wxPrintQuality","_int",0},
11331 { "_wxPrintQuality","_signed_int",0},
11332 { "_wxPrintQuality","_unsigned_int",0},
11333 { "_wxPrintQuality","_wxWindowID",0},
11334 { "_wxPrintQuality","_uint",0},
11335 { "_wxPrintQuality","_EBool",0},
11336 { "_wxPrintQuality","_size_t",0},
11337 { "_wxPrintQuality","_time_t",0},
11338 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11339 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11340 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11341 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11342 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11343 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11344 { "_byte","_unsigned_char",0},
11345 { "_long","_unsigned_long",0},
11346 { "_long","_signed_long",0},
11347 { "_size_t","_wxCoord",0},
11348 { "_size_t","_wxPrintQuality",0},
11349 { "_size_t","_time_t",0},
11350 { "_size_t","_unsigned_int",0},
11351 { "_size_t","_int",0},
11352 { "_size_t","_wxWindowID",0},
11353 { "_size_t","_uint",0},
11354 { "_uint","_wxCoord",0},
11355 { "_uint","_wxPrintQuality",0},
11356 { "_uint","_time_t",0},
11357 { "_uint","_size_t",0},
11358 { "_uint","_unsigned_int",0},
11359 { "_uint","_int",0},
11360 { "_uint","_wxWindowID",0},
11361 { "_wxChar","_char",0},
11362 { "_char","_wxChar",0},
11363 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11364 { "_EBool","_wxCoord",0},
11365 { "_EBool","_wxPrintQuality",0},
11366 { "_EBool","_signed_int",0},
11367 { "_EBool","_int",0},
11368 { "_EBool","_wxWindowID",0},
11369 { "_unsigned_long","_long",0},
11370 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11371 { "_signed_int","_wxCoord",0},
11372 { "_signed_int","_wxPrintQuality",0},
11373 { "_signed_int","_EBool",0},
11374 { "_signed_int","_wxWindowID",0},
11375 { "_signed_int","_int",0},
11376 { "_WXTYPE","_wxDateTime_t",0},
11377 { "_WXTYPE","_short",0},
11378 { "_WXTYPE","_signed_short",0},
11379 { "_WXTYPE","_unsigned_short",0},
11380 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11381 { "_unsigned_short","_wxDateTime_t",0},
11382 { "_unsigned_short","_WXTYPE",0},
11383 { "_unsigned_short","_short",0},
11384 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11385 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11386 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11387 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11388 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11389 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11390 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11391 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11392 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11393 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11394 { "_signed_short","_WXTYPE",0},
11395 { "_signed_short","_short",0},
11396 { "_unsigned_char","_byte",0},
11397 { "_unsigned_int","_wxCoord",0},
11398 { "_unsigned_int","_wxPrintQuality",0},
11399 { "_unsigned_int","_time_t",0},
11400 { "_unsigned_int","_size_t",0},
11401 { "_unsigned_int","_uint",0},
11402 { "_unsigned_int","_wxWindowID",0},
11403 { "_unsigned_int","_int",0},
11404 { "_short","_wxDateTime_t",0},
11405 { "_short","_WXTYPE",0},
11406 { "_short","_unsigned_short",0},
11407 { "_short","_signed_short",0},
11408 { "_wxWindowID","_wxCoord",0},
11409 { "_wxWindowID","_wxPrintQuality",0},
11410 { "_wxWindowID","_time_t",0},
11411 { "_wxWindowID","_size_t",0},
11412 { "_wxWindowID","_EBool",0},
11413 { "_wxWindowID","_uint",0},
11414 { "_wxWindowID","_int",0},
11415 { "_wxWindowID","_signed_int",0},
11416 { "_wxWindowID","_unsigned_int",0},
11417 { "_int","_wxCoord",0},
11418 { "_int","_wxPrintQuality",0},
11419 { "_int","_time_t",0},
11420 { "_int","_size_t",0},
11421 { "_int","_EBool",0},
11422 { "_int","_uint",0},
11423 { "_int","_wxWindowID",0},
11424 { "_int","_unsigned_int",0},
11425 { "_int","_signed_int",0},
11426 { "_wxDateTime_t","_unsigned_short",0},
11427 { "_wxDateTime_t","_short",0},
11428 { "_wxDateTime_t","_WXTYPE",0},
11429 { "_time_t","_wxCoord",0},
11430 { "_time_t","_wxPrintQuality",0},
11431 { "_time_t","_unsigned_int",0},
11432 { "_time_t","_int",0},
11433 { "_time_t","_wxWindowID",0},
11434 { "_time_t","_uint",0},
11435 { "_time_t","_size_t",0},
11436 { "_wxCoord","_int",0},
11437 { "_wxCoord","_signed_int",0},
11438 { "_wxCoord","_unsigned_int",0},
11439 { "_wxCoord","_wxWindowID",0},
11440 { "_wxCoord","_uint",0},
11441 { "_wxCoord","_EBool",0},
11442 { "_wxCoord","_size_t",0},
11443 { "_wxCoord","_time_t",0},
11444 { "_wxCoord","_wxPrintQuality",0},
11445 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11448 static PyObject
*SWIG_globals
;
11452 SWIGEXPORT(void) initmisc2c() {
11454 SWIG_globals
= SWIG_newvarlink();
11455 m
= Py_InitModule("misc2c", misc2cMethods
);
11456 d
= PyModule_GetDict(m
);
11457 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11458 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11459 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11460 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11461 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11462 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11463 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11464 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11465 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11466 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11467 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11468 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11469 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11470 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11471 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11472 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11473 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11474 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11475 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11476 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11477 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11478 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11479 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11480 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11481 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11482 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11483 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11484 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11485 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11486 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11487 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11488 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11489 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11490 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11491 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11492 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11493 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11494 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11495 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11496 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11497 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11498 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11499 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11500 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11501 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11502 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11503 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11504 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11505 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11506 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11507 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11508 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11509 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11510 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11511 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11512 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11513 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11514 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11515 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11516 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11517 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11518 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11519 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11520 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11521 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11522 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11523 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11524 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11525 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11526 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11527 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11528 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11529 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11530 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11531 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11532 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11533 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11534 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11535 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11536 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11537 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11538 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11539 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11540 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11541 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11542 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11543 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11544 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11545 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11546 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11547 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11548 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11549 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11550 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11551 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11552 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11553 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11554 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11555 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11556 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11557 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11558 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11559 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11560 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11561 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11562 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11563 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11564 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11565 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11566 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11567 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11568 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11569 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11570 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11571 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11572 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11573 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11574 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11575 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11576 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11577 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11578 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11579 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11580 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11581 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11582 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11583 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11584 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11585 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11586 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11587 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11588 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11589 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11590 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11591 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11592 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11593 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11594 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11595 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11596 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11597 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11598 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11599 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11600 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11601 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11602 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11603 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11604 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11605 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11607 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11608 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11609 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11613 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11614 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);