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>
75 #include <wx/sysopt.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(FileSelectorPromptStr
);
106 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
107 DECLARE_DEF_STRING(DirSelectorPromptStr
);
108 static const wxString
wxPyEmptyString(wxT(""));
110 int wxCaret_GetBlinkTime() {
111 return wxCaret::GetBlinkTime();
114 void wxCaret_SetBlinkTime(int milliseconds
) {
115 wxCaret::SetBlinkTime(milliseconds
);
118 bool wxThread_IsMain() {
119 #ifdef WXP_WITH_THREAD
120 return wxThread::IsMain();
126 class wxPyTipProvider
: public wxTipProvider
{
128 wxPyTipProvider(size_t currentTip
)
129 : wxTipProvider(currentTip
) {}
131 DEC_PYCALLBACK_STRING__pure(GetTip
);
132 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
136 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
137 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
139 #include <wx/generic/dragimgg.h>
141 // A wxLog class that can be derived from in wxPython
142 class wxPyLog
: public wxLog
{
144 wxPyLog() : wxLog() {}
146 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
148 wxPyBeginBlockThreads();
149 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
150 PyObject
* s
= wx2PyString(szString
);
151 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
154 wxPyEndBlockThreads();
156 wxLog::DoLog(level
, szString
, t
);
159 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
161 wxPyBeginBlockThreads();
162 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
163 PyObject
* s
= wx2PyString(szString
);
164 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
167 wxPyEndBlockThreads();
169 wxLog::DoLogString(szString
, t
);
174 // C++ version of wxProcess derived class
176 class wxPyProcess
: public wxProcess
{
178 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
179 : wxProcess(parent
, id
)
182 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
187 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
190 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
191 // A C++ stub class for wxJoystick for platforms that don't have it.
192 class wxJoystick
: public wxObject
{
194 wxJoystick(int joystick
= wxJOYSTICK1
) {
195 wxPyBeginBlockThreads();
196 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
197 wxPyEndBlockThreads();
199 wxPoint
GetPosition() { return wxPoint(-1,-1); }
200 int GetZPosition() { return -1; }
201 int GetButtonState() { return -1; }
202 int GetPOVPosition() { return -1; }
203 int GetPOVCTSPosition() { return -1; }
204 int GetRudderPosition() { return -1; }
205 int GetUPosition() { return -1; }
206 int GetVPosition() { return -1; }
207 int GetMovementThreshold() { return -1; }
208 void SetMovementThreshold(int threshold
) {}
210 bool IsOk(void) { return FALSE
; }
211 int GetNumberJoysticks() { return -1; }
212 int GetManufacturerId() { return -1; }
213 int GetProductId() { return -1; }
214 wxString
GetProductName() { return ""; }
215 int GetXMin() { return -1; }
216 int GetYMin() { return -1; }
217 int GetZMin() { return -1; }
218 int GetXMax() { return -1; }
219 int GetYMax() { return -1; }
220 int GetZMax() { return -1; }
221 int GetNumberButtons() { return -1; }
222 int GetNumberAxes() { return -1; }
223 int GetMaxButtons() { return -1; }
224 int GetMaxAxes() { return -1; }
225 int GetPollingMin() { return -1; }
226 int GetPollingMax() { return -1; }
227 int GetRudderMin() { return -1; }
228 int GetRudderMax() { return -1; }
229 int GetUMin() { return -1; }
230 int GetUMax() { return -1; }
231 int GetVMin() { return -1; }
232 int GetVMax() { return -1; }
234 bool HasRudder() { return FALSE
; }
235 bool HasZ() { return FALSE
; }
236 bool HasU() { return FALSE
; }
237 bool HasV() { return FALSE
; }
238 bool HasPOV() { return FALSE
; }
239 bool HasPOV4Dir() { return FALSE
; }
240 bool HasPOVCTS() { return FALSE
; }
242 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
243 bool ReleaseCapture() { return FALSE
; }
248 // A C++ stub class for wxWave for platforms that don't have it.
249 class wxWave
: public wxObject
252 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
253 wxPyBeginBlockThreads();
254 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
255 wxPyEndBlockThreads();
257 wxWave(int size
, const wxByte
* data
) {
258 wxPyBeginBlockThreads();
259 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
260 wxPyEndBlockThreads();
265 bool IsOk() const { return FALSE
; }
266 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
270 // Implementations of some alternate "constructors"
271 wxWave
* wxWaveData(const wxString
& data
) {
272 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
276 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
280 #include <wx/artprov.h>
282 DECLARE_DEF_STRING(ART_OTHER
);
284 // Python aware wxArtProvider
285 class wxPyArtProvider
: public wxArtProvider
{
288 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
289 const wxArtClient
& client
,
290 const wxSize
& size
) {
291 wxBitmap rval
= wxNullBitmap
;
292 wxPyBeginBlockThreads();
293 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
294 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
298 s1
= wx2PyString(id
);
299 s2
= wx2PyString(client
);
300 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
305 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
310 wxPyEndBlockThreads();
317 #include <wx/docview.h>
321 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
324 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
325 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
326 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
327 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
328 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
329 int _arg5
= (int ) 0;
330 wxWindow
* _arg6
= (wxWindow
*) NULL
;
331 int _arg7
= (int ) -1;
332 int _arg8
= (int ) -1;
333 PyObject
* _obj0
= 0;
334 PyObject
* _obj1
= 0;
335 PyObject
* _obj2
= 0;
336 PyObject
* _obj3
= 0;
337 PyObject
* _obj4
= 0;
338 PyObject
* _argo6
= 0;
339 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
346 _arg0
= wxString_in_helper(_obj0
);
352 _arg1
= wxString_in_helper(_obj1
);
358 _arg2
= wxString_in_helper(_obj2
);
364 _arg3
= wxString_in_helper(_obj3
);
370 _arg4
= wxString_in_helper(_obj4
);
375 if (_argo6
== Py_None
) { _arg6
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
383 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
385 wxPyEndAllowThreads(__tstate
);
386 if (PyErr_Occurred()) return NULL
;
389 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
420 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
425 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
426 wxWindow
* _arg3
= (wxWindow
*) NULL
;
427 PyObject
* _obj0
= 0;
428 PyObject
* _obj1
= 0;
429 PyObject
* _obj2
= 0;
430 PyObject
* _argo3
= 0;
431 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
437 _arg0
= wxString_in_helper(_obj0
);
442 _arg1
= wxString_in_helper(_obj1
);
448 _arg2
= wxString_in_helper(_obj2
);
453 if (_argo3
== Py_None
) { _arg3
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
461 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
463 wxPyEndAllowThreads(__tstate
);
464 if (PyErr_Occurred()) return NULL
;
467 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
469 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
490 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
495 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
496 wxWindow
* _arg3
= (wxWindow
*) NULL
;
497 PyObject
* _obj0
= 0;
498 PyObject
* _obj1
= 0;
499 PyObject
* _obj2
= 0;
500 PyObject
* _argo3
= 0;
501 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
507 _arg0
= wxString_in_helper(_obj0
);
512 _arg1
= wxString_in_helper(_obj1
);
518 _arg2
= wxString_in_helper(_obj2
);
523 if (_argo3
== Py_None
) { _arg3
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
531 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
533 wxPyEndAllowThreads(__tstate
);
534 if (PyErr_Occurred()) return NULL
;
537 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
539 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
560 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
563 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
564 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
565 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
566 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
567 wxWindow
* _arg4
= (wxWindow
*) NULL
;
568 PyObject
* _obj0
= 0;
569 PyObject
* _obj1
= 0;
571 PyObject
* _obj3
= 0;
572 PyObject
* _argo4
= 0;
573 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
580 _arg0
= wxString_in_helper(_obj0
);
586 _arg1
= wxString_in_helper(_obj1
);
593 if (! wxPoint_helper(_obj3
, &_arg3
))
597 if (_argo4
== Py_None
) { _arg4
= NULL
; }
598 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) return NULL
;
611 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
630 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
635 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
636 wxWindow
* _arg3
= (wxWindow
*) NULL
;
637 int _arg4
= (int ) -1;
638 int _arg5
= (int ) -1;
639 bool _arg6
= (bool ) TRUE
;
640 PyObject
* _obj0
= 0;
641 PyObject
* _obj1
= 0;
642 PyObject
* _obj2
= 0;
643 PyObject
* _argo3
= 0;
644 int tempbool6
= (int) TRUE
;
645 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
651 _arg0
= wxString_in_helper(_obj0
);
657 _arg1
= wxString_in_helper(_obj1
);
663 _arg2
= wxString_in_helper(_obj2
);
668 if (_argo3
== Py_None
) { _arg3
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
674 _arg6
= (bool ) tempbool6
;
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) return NULL
;
683 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
685 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
706 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
710 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
711 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
712 wxWindow
* _arg3
= (wxWindow
*) NULL
;
713 PyObject
* _obj0
= 0;
714 PyObject
* _obj1
= 0;
715 PyObject
* _obj2
= 0;
716 PyObject
* _argo3
= 0;
717 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
723 _arg0
= wxString_in_helper(_obj0
);
729 _arg1
= wxString_in_helper(_obj1
);
735 _arg2
= wxString_in_helper(_obj2
);
740 if (_argo3
== Py_None
) { _arg3
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
754 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
756 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
777 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
784 wxWindow
* _arg4
= (wxWindow
*) NULL
;
785 int _arg5
= (int ) -1;
786 int _arg6
= (int ) -1;
787 bool _arg7
= (bool ) TRUE
;
788 int _arg8
= (int ) 150;
789 int _arg9
= (int ) 200;
790 PyObject
* _obj0
= 0;
791 PyObject
* _obj1
= 0;
792 PyObject
* _obj3
= 0;
793 PyObject
* _argo4
= 0;
794 int tempbool7
= (int) TRUE
;
795 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
801 _arg0
= wxString_in_helper(_obj0
);
806 _arg1
= wxString_in_helper(_obj1
);
812 _arg3
= wxString_LIST_helper(_obj3
);
818 if (_argo4
== Py_None
) { _arg4
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
824 _arg7
= (bool ) tempbool7
;
827 _arg2
= PyList_Size(_obj3
);
834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
835 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
837 wxPyEndAllowThreads(__tstate
);
838 if (PyErr_Occurred()) return NULL
;
841 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
843 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
863 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
870 wxWindow
* _arg4
= (wxWindow
*) NULL
;
871 int _arg5
= (int ) -1;
872 int _arg6
= (int ) -1;
873 bool _arg7
= (bool ) TRUE
;
874 int _arg8
= (int ) 150;
875 int _arg9
= (int ) 200;
876 PyObject
* _obj0
= 0;
877 PyObject
* _obj1
= 0;
878 PyObject
* _obj3
= 0;
879 PyObject
* _argo4
= 0;
880 int tempbool7
= (int) TRUE
;
881 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
887 _arg0
= wxString_in_helper(_obj0
);
892 _arg1
= wxString_in_helper(_obj1
);
898 _arg3
= wxString_LIST_helper(_obj3
);
904 if (_argo4
== Py_None
) { _arg4
= NULL
; }
905 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
910 _arg7
= (bool ) tempbool7
;
913 _arg2
= PyList_Size(_obj3
);
920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
921 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
923 wxPyEndAllowThreads(__tstate
);
924 if (PyErr_Occurred()) return NULL
;
925 } _resultobj
= Py_BuildValue("i",_result
);
940 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 PyObject
* _resultobj
;
944 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
945 int _arg2
= (int ) wxOK
|wxCENTRE
;
946 wxWindow
* _arg3
= (wxWindow
*) NULL
;
947 int _arg4
= (int ) -1;
948 int _arg5
= (int ) -1;
949 PyObject
* _obj0
= 0;
950 PyObject
* _obj1
= 0;
951 PyObject
* _argo3
= 0;
952 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
958 _arg0
= wxString_in_helper(_obj0
);
964 _arg1
= wxString_in_helper(_obj1
);
969 if (_argo3
== Py_None
) { _arg3
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } _resultobj
= Py_BuildValue("i",_result
);
993 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
1000 long _arg4
= (long ) 0;
1001 long _arg5
= (long ) 100;
1002 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1003 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1004 PyObject
* _obj0
= 0;
1005 PyObject
* _obj1
= 0;
1006 PyObject
* _obj2
= 0;
1007 PyObject
* _argo6
= 0;
1009 PyObject
* _obj7
= 0;
1010 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1016 _arg0
= wxString_in_helper(_obj0
);
1021 _arg1
= wxString_in_helper(_obj1
);
1026 _arg2
= wxString_in_helper(_obj2
);
1031 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1040 if (! wxPoint_helper(_obj7
, &_arg7
))
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) return NULL
;
1049 } _resultobj
= Py_BuildValue("l",_result
);
1065 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1068 char *_kwnames
[] = { NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 _result
= (bool )wxColourDisplay();
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } _resultobj
= Py_BuildValue("i",_result
);
1083 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1086 char *_kwnames
[] = { NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 _result
= (int )wxDisplayDepth();
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) return NULL
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1101 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1104 char *_kwnames
[] = { NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 _result
= (int )wxGetDisplayDepth();
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) return NULL
;
1115 } _resultobj
= Py_BuildValue("i",_result
);
1119 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1125 char *_kwnames
[] = { NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 wxDisplaySize(_arg0
,_arg1
);
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) return NULL
;
1142 } Py_INCREF(Py_None
);
1143 _resultobj
= Py_None
;
1146 o
= PyInt_FromLong((long) (*_arg0
));
1147 _resultobj
= t_output_helper(_resultobj
, o
);
1151 o
= PyInt_FromLong((long) (*_arg1
));
1152 _resultobj
= t_output_helper(_resultobj
, o
);
1157 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1160 char *_kwnames
[] = { NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 _result
= new wxSize (wxGetDisplaySize());
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) return NULL
;
1172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1173 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1183 char *_kwnames
[] = { NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1196 wxDisplaySizeMM(_arg0
,_arg1
);
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) return NULL
;
1200 } Py_INCREF(Py_None
);
1201 _resultobj
= Py_None
;
1204 o
= PyInt_FromLong((long) (*_arg0
));
1205 _resultobj
= t_output_helper(_resultobj
, o
);
1209 o
= PyInt_FromLong((long) (*_arg1
));
1210 _resultobj
= t_output_helper(_resultobj
, o
);
1215 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1218 char *_kwnames
[] = { NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 _result
= new wxSize (wxGetDisplaySizeMM());
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1235 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1245 char *_kwnames
[] = { NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) return NULL
;
1268 } Py_INCREF(Py_None
);
1269 _resultobj
= Py_None
;
1272 o
= PyInt_FromLong((long) (*_arg0
));
1273 _resultobj
= t_output_helper(_resultobj
, o
);
1277 o
= PyInt_FromLong((long) (*_arg1
));
1278 _resultobj
= t_output_helper(_resultobj
, o
);
1282 o
= PyInt_FromLong((long) (*_arg2
));
1283 _resultobj
= t_output_helper(_resultobj
, o
);
1287 o
= PyInt_FromLong((long) (*_arg3
));
1288 _resultobj
= t_output_helper(_resultobj
, o
);
1293 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1296 char *_kwnames
[] = { NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 _result
= new wxRect (wxGetClientDisplayRect());
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) return NULL
;
1308 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1309 _resultobj
= Py_BuildValue("s",_ptemp
);
1313 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "cursor", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1323 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 wxSetCursor(*_arg0
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "cursor", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 wxBeginBusyCursor(_arg0
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 char *_kwnames
[] = { NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 _result
= (wxWindow
*)wxGetActiveWindow();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1384 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1389 PyObject
* _obj0
= 0;
1390 char *_kwnames
[] = { "pt", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1397 if (! wxPoint_helper(_obj0
, &_arg0
))
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1410 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1415 PyObject
* _obj0
= 0;
1416 char *_kwnames
[] = { "pt", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1423 if (! wxPoint_helper(_obj0
, &_arg0
))
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1436 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "win", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1463 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1466 char *_kwnames
[] = { NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 _result
= (int )wxCaret_GetBlinkTime();
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } _resultobj
= Py_BuildValue("i",_result
);
1481 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1484 char *_kwnames
[] = { "milliseconds", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 wxCaret_SetBlinkTime(_arg0
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) return NULL
;
1495 } Py_INCREF(Py_None
);
1496 _resultobj
= Py_None
;
1500 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1503 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1504 bool _arg1
= (bool ) FALSE
;
1505 PyObject
* _argo0
= 0;
1506 int tempbool1
= (int) FALSE
;
1507 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1519 _arg1
= (bool ) tempbool1
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) return NULL
;
1526 } _resultobj
= Py_BuildValue("i",_result
);
1530 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1532 wxEvtHandler
* _arg0
;
1534 PyObject
* _argo0
= 0;
1535 PyObject
* _argo1
= 0;
1536 char *_kwnames
[] = { "dest","event", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1549 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 wxPostEvent(_arg0
,*_arg1
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } Py_INCREF(Py_None
);
1561 _resultobj
= Py_None
;
1565 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 char *_kwnames
[] = { NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) return NULL
;
1578 } Py_INCREF(Py_None
);
1579 _resultobj
= Py_None
;
1583 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1585 char *_kwnames
[] = { NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) return NULL
;
1596 } Py_INCREF(Py_None
);
1597 _resultobj
= Py_None
;
1601 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1603 char *_kwnames
[] = { NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) return NULL
;
1614 } Py_INCREF(Py_None
);
1615 _resultobj
= Py_None
;
1619 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1622 char *_kwnames
[] = { NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 _result
= (bool )wxThread_IsMain();
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) return NULL
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1641 wxTipProvider
* _arg1
;
1642 bool _arg2
= (bool ) TRUE
;
1643 PyObject
* _argo0
= 0;
1644 PyObject
* _argo1
= 0;
1645 int tempbool2
= (int) TRUE
;
1646 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1665 _arg2
= (bool ) tempbool2
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) return NULL
;
1672 } _resultobj
= Py_BuildValue("i",_result
);
1676 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1678 wxTipProvider
* _result
;
1681 PyObject
* _obj0
= 0;
1682 char *_kwnames
[] = { "filename","currentTip", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1689 _arg0
= wxString_in_helper(_obj0
);
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) return NULL
;
1700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1701 _resultobj
= Py_BuildValue("s",_ptemp
);
1704 _resultobj
= Py_None
;
1713 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1715 unsigned long _result
;
1716 char *_kwnames
[] = { NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 _result
= (unsigned long )wxSysErrorCode();
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) return NULL
;
1727 } _resultobj
= Py_BuildValue("l",_result
);
1731 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1734 unsigned long _arg0
= (unsigned long ) 0;
1735 char *_kwnames
[] = { "nErrCode", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 _result
= new wxString (wxSysErrorMsg(_arg0
));
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) return NULL
;
1748 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1750 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1759 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1762 PyObject
* _obj0
= 0;
1763 char *_kwnames
[] = { "msg", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1769 _arg0
= wxString_in_helper(_obj0
);
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxLogFatalError(*_arg0
);
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) return NULL
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1788 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
* _resultobj
;
1791 PyObject
* _obj0
= 0;
1792 char *_kwnames
[] = { "msg", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1798 _arg0
= wxString_in_helper(_obj0
);
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } Py_INCREF(Py_None
);
1809 _resultobj
= Py_None
;
1817 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
* _resultobj
;
1820 PyObject
* _obj0
= 0;
1821 char *_kwnames
[] = { "msg", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1827 _arg0
= wxString_in_helper(_obj0
);
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 wxLogWarning(*_arg0
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) return NULL
;
1837 } Py_INCREF(Py_None
);
1838 _resultobj
= Py_None
;
1846 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
* _resultobj
;
1849 PyObject
* _obj0
= 0;
1850 char *_kwnames
[] = { "msg", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1856 _arg0
= wxString_in_helper(_obj0
);
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 wxLogMessage(*_arg0
);
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) return NULL
;
1866 } Py_INCREF(Py_None
);
1867 _resultobj
= Py_None
;
1875 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1878 PyObject
* _obj0
= 0;
1879 char *_kwnames
[] = { "msg", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1885 _arg0
= wxString_in_helper(_obj0
);
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) return NULL
;
1895 } Py_INCREF(Py_None
);
1896 _resultobj
= Py_None
;
1904 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1907 PyObject
* _obj0
= 0;
1908 char *_kwnames
[] = { "msg", NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1914 _arg0
= wxString_in_helper(_obj0
);
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1924 } Py_INCREF(Py_None
);
1925 _resultobj
= Py_None
;
1933 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1936 PyObject
* _obj0
= 0;
1937 char *_kwnames
[] = { "msg", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1943 _arg0
= wxString_in_helper(_obj0
);
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 wxLogVerbose(*_arg0
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) return NULL
;
1953 } Py_INCREF(Py_None
);
1954 _resultobj
= Py_None
;
1962 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1965 PyObject
* _obj0
= 0;
1966 char *_kwnames
[] = { "msg", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
1972 _arg0
= wxString_in_helper(_obj0
);
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 wxLogStatus(*_arg0
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) return NULL
;
1982 } Py_INCREF(Py_None
);
1983 _resultobj
= Py_None
;
1991 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1995 PyObject
* _argo0
= 0;
1996 PyObject
* _obj1
= 0;
1997 char *_kwnames
[] = { "pFrame","msg", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2010 _arg1
= wxString_in_helper(_obj1
);
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 wxLogStatus(_arg0
,*_arg1
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2029 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2032 PyObject
* _obj0
= 0;
2033 char *_kwnames
[] = { "msg", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2039 _arg0
= wxString_in_helper(_obj0
);
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 wxLogSysError(*_arg0
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2058 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2061 PyObject
* _obj0
= 0;
2062 char *_kwnames
[] = { "msg", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2068 _arg0
= wxString_in_helper(_obj0
);
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2087 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2091 PyObject
* _obj0
= 0;
2092 PyObject
* _obj1
= 0;
2093 char *_kwnames
[] = { "mask","msg", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2099 _arg0
= wxString_in_helper(_obj0
);
2104 _arg1
= wxString_in_helper(_obj1
);
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 wxLogTrace(*_arg0
,*_arg1
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) return NULL
;
2114 } Py_INCREF(Py_None
);
2115 _resultobj
= Py_None
;
2127 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2129 unsigned long _arg0
;
2131 PyObject
* _obj1
= 0;
2132 char *_kwnames
[] = { "level","msg", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2138 _arg1
= wxString_in_helper(_obj1
);
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 wxLogGeneric(_arg0
,*_arg1
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2157 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2161 PyObject
* _obj0
= 0;
2162 PyObject
* _obj1
= 0;
2163 char *_kwnames
[] = { "title","text", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2169 _arg0
= wxString_in_helper(_obj0
);
2174 _arg1
= wxString_in_helper(_obj1
);
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 wxSafeShowMessage(*_arg0
,*_arg1
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2184 } Py_INCREF(Py_None
);
2185 _resultobj
= Py_None
;
2197 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2201 int _arg1
= (int ) (wxEXEC_ASYNC
);
2202 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2203 PyObject
* _obj0
= 0;
2204 PyObject
* _argo2
= 0;
2205 char *_kwnames
[] = { "command","flags","process", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2211 _arg0
= wxString_in_helper(_obj0
);
2216 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2217 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) return NULL
;
2228 } _resultobj
= Py_BuildValue("l",_result
);
2236 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2240 PyObject
* _obj0
= 0;
2241 char *_kwnames
[] = { "data", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2248 _arg0
= wxString_in_helper(_obj0
);
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 _result
= (wxWave
*)wxWaveData(*_arg0
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2260 _resultobj
= Py_BuildValue("s",_ptemp
);
2263 _resultobj
= Py_None
;
2272 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2274 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2278 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2282 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2283 pyobj
= PyString_FromString(ptemp
);
2287 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2290 wxSystemColour _arg0
;
2291 char *_kwnames
[] = { "index", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2304 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2312 char *_kwnames
[] = { "index", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) return NULL
;
2324 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2325 _resultobj
= Py_BuildValue("s",_ptemp
);
2329 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2332 wxSystemMetric _arg0
;
2333 char *_kwnames
[] = { "index", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) return NULL
;
2344 } _resultobj
= Py_BuildValue("i",_result
);
2348 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2351 wxSystemFeature _arg0
;
2352 char *_kwnames
[] = { "index", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) return NULL
;
2363 } _resultobj
= Py_BuildValue("i",_result
);
2367 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2369 wxSystemScreenType _result
;
2370 char *_kwnames
[] = { NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) return NULL
;
2381 } _resultobj
= Py_BuildValue("i",_result
);
2385 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxSystemScreenType _arg0
;
2388 char *_kwnames
[] = { "screen", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 wxSystemSettings::SetScreenType(_arg0
);
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) return NULL
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 static void *SwigwxSystemOptionsTowxObject(void *ptr
) {
2405 wxSystemOptions
*src
;
2407 src
= (wxSystemOptions
*) ptr
;
2408 dest
= (wxObject
*) src
;
2409 return (void *) dest
;
2412 #define new_wxSystemOptions() (new wxSystemOptions())
2413 static PyObject
*_wrap_new_wxSystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2415 wxSystemOptions
* _result
;
2416 char *_kwnames
[] = { NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSystemOptions",_kwnames
))
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 _result
= (wxSystemOptions
*)new_wxSystemOptions();
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) return NULL
;
2429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSystemOptions_p");
2430 _resultobj
= Py_BuildValue("s",_ptemp
);
2433 _resultobj
= Py_None
;
2438 static PyObject
*_wrap_wxSystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
* _resultobj
;
2442 PyObject
* _obj0
= 0;
2443 PyObject
* _obj1
= 0;
2444 char *_kwnames
[] = { "name","value", NULL
};
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSystemOptions_SetOption",_kwnames
,&_obj0
,&_obj1
))
2450 _arg0
= wxString_in_helper(_obj0
);
2455 _arg1
= wxString_in_helper(_obj1
);
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 wxSystemOptions::SetOption(*_arg0
,*_arg1
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2478 static PyObject
*_wrap_wxSystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2482 PyObject
* _obj0
= 0;
2483 char *_kwnames
[] = { "name","value", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSystemOptions_SetOptionInt",_kwnames
,&_obj0
,&_arg1
))
2489 _arg0
= wxString_in_helper(_obj0
);
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 wxSystemOptions::SetOption(*_arg0
,_arg1
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2499 } Py_INCREF(Py_None
);
2500 _resultobj
= Py_None
;
2508 static PyObject
*_wrap_wxSystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2512 PyObject
* _obj0
= 0;
2513 char *_kwnames
[] = { "name", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOption",_kwnames
,&_obj0
))
2519 _arg0
= wxString_in_helper(_obj0
);
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 _result
= new wxString (wxSystemOptions::GetOption(*_arg0
));
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) return NULL
;
2531 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2546 static PyObject
*_wrap_wxSystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2550 PyObject
* _obj0
= 0;
2551 char *_kwnames
[] = { "name", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOptionInt",_kwnames
,&_obj0
))
2557 _arg0
= wxString_in_helper(_obj0
);
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 _result
= (int )wxSystemOptions::GetOptionInt(*_arg0
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) return NULL
;
2567 } _resultobj
= Py_BuildValue("i",_result
);
2575 static PyObject
*_wrap_wxSystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2579 PyObject
* _obj0
= 0;
2580 char *_kwnames
[] = { "name", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_HasOption",_kwnames
,&_obj0
))
2586 _arg0
= wxString_in_helper(_obj0
);
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 _result
= (bool )wxSystemOptions::HasOption(*_arg0
);
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) return NULL
;
2596 } _resultobj
= Py_BuildValue("i",_result
);
2604 static void *SwigwxToolTipTowxObject(void *ptr
) {
2607 src
= (wxToolTip
*) ptr
;
2608 dest
= (wxObject
*) src
;
2609 return (void *) dest
;
2612 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2613 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2615 wxToolTip
* _result
;
2617 PyObject
* _obj0
= 0;
2618 char *_kwnames
[] = { "tip", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2625 _arg0
= wxString_in_helper(_obj0
);
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2637 _resultobj
= Py_BuildValue("s",_ptemp
);
2640 _resultobj
= Py_None
;
2649 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2650 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2654 PyObject
* _argo0
= 0;
2655 PyObject
* _obj1
= 0;
2656 char *_kwnames
[] = { "self","tip", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2669 _arg1
= wxString_in_helper(_obj1
);
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 wxToolTip_SetTip(_arg0
,*_arg1
);
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) return NULL
;
2679 } Py_INCREF(Py_None
);
2680 _resultobj
= Py_None
;
2688 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2689 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2694 char *_kwnames
[] = { "self", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2714 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2716 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2725 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2726 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2730 PyObject
* _argo0
= 0;
2731 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) return NULL
;
2749 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2753 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
* _resultobj
;
2757 char *_kwnames
[] = { "flag", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2762 _arg0
= (bool ) tempbool0
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 wxToolTip::Enable(_arg0
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) return NULL
;
2769 } Py_INCREF(Py_None
);
2770 _resultobj
= Py_None
;
2774 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2777 char *_kwnames
[] = { "milliseconds", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 wxToolTip::SetDelay(_arg0
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) return NULL
;
2788 } Py_INCREF(Py_None
);
2789 _resultobj
= Py_None
;
2793 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2794 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
* _resultobj
;
2799 PyObject
* _argo0
= 0;
2801 PyObject
* _obj1
= 0;
2802 char *_kwnames
[] = { "window","size", NULL
};
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2817 if (! wxSize_helper(_obj1
, &_arg1
))
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) return NULL
;
2827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2828 _resultobj
= Py_BuildValue("s",_ptemp
);
2831 _resultobj
= Py_None
;
2836 #define delete_wxCaret(_swigobj) (delete _swigobj)
2837 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2840 PyObject
* _argo0
= 0;
2841 char *_kwnames
[] = { "self", NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 delete_wxCaret(_arg0
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) return NULL
;
2859 } Py_INCREF(Py_None
);
2860 _resultobj
= Py_None
;
2864 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2865 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 _result
= (bool )wxCaret_IsOk(_arg0
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) return NULL
;
2888 } _resultobj
= Py_BuildValue("i",_result
);
2892 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2893 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2897 PyObject
* _argo0
= 0;
2898 char *_kwnames
[] = { "self", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 _result
= (bool )wxCaret_IsVisible(_arg0
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) return NULL
;
2916 } _resultobj
= Py_BuildValue("i",_result
);
2920 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2921 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2928 PyObject
* _argo0
= 0;
2929 char *_kwnames
[] = { "self", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2957 o
= PyInt_FromLong((long) (*_arg1
));
2958 _resultobj
= t_output_helper(_resultobj
, o
);
2962 o
= PyInt_FromLong((long) (*_arg2
));
2963 _resultobj
= t_output_helper(_resultobj
, o
);
2968 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2969 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) return NULL
;
2993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2994 _resultobj
= Py_BuildValue("s",_ptemp
);
2998 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2999 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self", NULL
};
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) return NULL
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3035 o
= PyInt_FromLong((long) (*_arg1
));
3036 _resultobj
= t_output_helper(_resultobj
, o
);
3040 o
= PyInt_FromLong((long) (*_arg2
));
3041 _resultobj
= t_output_helper(_resultobj
, o
);
3046 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3047 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3076 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3077 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3104 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3105 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self","x","y", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) return NULL
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3135 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3139 PyObject
* _argo0
= 0;
3141 PyObject
* _obj1
= 0;
3142 char *_kwnames
[] = { "self","pt", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3156 if (! wxPoint_helper(_obj1
, &_arg1
))
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxCaret_Move(_arg0
,*_arg1
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3171 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3176 PyObject
* _argo0
= 0;
3177 char *_kwnames
[] = { "self","width","height", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) return NULL
;
3195 } Py_INCREF(Py_None
);
3196 _resultobj
= Py_None
;
3200 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3201 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
* _resultobj
;
3205 PyObject
* _argo0
= 0;
3207 PyObject
* _obj1
= 0;
3208 char *_kwnames
[] = { "self","size", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3222 if (! wxSize_helper(_obj1
, &_arg1
))
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 wxCaret_SetSize(_arg0
,*_arg1
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3231 } Py_INCREF(Py_None
);
3232 _resultobj
= Py_None
;
3236 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3237 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3240 int _arg1
= (int ) TRUE
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self","show", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 wxCaret_Show(_arg0
,_arg1
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3260 } Py_INCREF(Py_None
);
3261 _resultobj
= Py_None
;
3265 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3266 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxCaret_Hide(_arg0
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) return NULL
;
3288 } Py_INCREF(Py_None
);
3289 _resultobj
= Py_None
;
3293 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3294 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3296 wxBusyCursor
* _result
;
3297 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3298 PyObject
* _argo0
= 0;
3299 char *_kwnames
[] = { "cursor", NULL
};
3303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) return NULL
;
3319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3320 _resultobj
= Py_BuildValue("s",_ptemp
);
3323 _resultobj
= Py_None
;
3328 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3329 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
* _resultobj
;
3331 wxBusyCursor
* _arg0
;
3332 PyObject
* _argo0
= 0;
3333 char *_kwnames
[] = { "self", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 delete_wxBusyCursor(_arg0
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) return NULL
;
3351 } Py_INCREF(Py_None
);
3352 _resultobj
= Py_None
;
3356 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3357 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3359 wxWindowDisabler
* _result
;
3360 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "winToSkip", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) return NULL
;
3382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3383 _resultobj
= Py_BuildValue("s",_ptemp
);
3386 _resultobj
= Py_None
;
3391 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3392 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
* _resultobj
;
3394 wxWindowDisabler
* _arg0
;
3395 PyObject
* _argo0
= 0;
3396 char *_kwnames
[] = { "self", NULL
};
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 delete_wxWindowDisabler(_arg0
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) return NULL
;
3414 } Py_INCREF(Py_None
);
3415 _resultobj
= Py_None
;
3419 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3420 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3422 wxMutexGuiLocker
* _result
;
3423 char *_kwnames
[] = { NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3437 _resultobj
= Py_BuildValue("s",_ptemp
);
3440 _resultobj
= Py_None
;
3445 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3446 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3448 wxMutexGuiLocker
* _arg0
;
3449 PyObject
* _argo0
= 0;
3450 char *_kwnames
[] = { "self", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 delete_wxMutexGuiLocker(_arg0
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 } Py_INCREF(Py_None
);
3469 _resultobj
= Py_None
;
3473 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3474 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3476 wxTipProvider
* _arg0
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "self", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 delete_wxTipProvider(_arg0
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) return NULL
;
3496 } Py_INCREF(Py_None
);
3497 _resultobj
= Py_None
;
3501 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3502 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3505 wxTipProvider
* _arg0
;
3506 PyObject
* _argo0
= 0;
3507 char *_kwnames
[] = { "self", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3527 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3538 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3539 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3542 wxTipProvider
* _arg0
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3567 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3570 wxTipProvider
* _arg0
;
3572 PyObject
* _argo0
= 0;
3573 PyObject
* _obj1
= 0;
3574 char *_kwnames
[] = { "self","tip", NULL
};
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3587 _arg1
= wxString_in_helper(_obj1
);
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) return NULL
;
3599 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3601 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3614 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3615 wxPyTipProvider
*src
;
3616 wxTipProvider
*dest
;
3617 src
= (wxPyTipProvider
*) ptr
;
3618 dest
= (wxTipProvider
*) src
;
3619 return (void *) dest
;
3622 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3623 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3625 wxPyTipProvider
* _result
;
3627 char *_kwnames
[] = { "currentTip", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) return NULL
;
3640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3641 _resultobj
= Py_BuildValue("s",_ptemp
);
3644 _resultobj
= Py_None
;
3649 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3650 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
* _resultobj
;
3652 wxPyTipProvider
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 PyObject
* _obj1
= 0;
3657 PyObject
* _obj2
= 0;
3658 char *_kwnames
[] = { "self","self","_class", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) return NULL
;
3682 } Py_INCREF(Py_None
);
3683 _resultobj
= Py_None
;
3687 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3688 wxGenericDragImage
*src
;
3690 src
= (wxGenericDragImage
*) ptr
;
3691 dest
= (wxObject
*) src
;
3692 return (void *) dest
;
3695 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3696 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3698 wxGenericDragImage
* _result
;
3700 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3701 PyObject
* _argo0
= 0;
3702 PyObject
* _argo1
= 0;
3703 char *_kwnames
[] = { "image","cursor", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3710 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3716 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3729 _resultobj
= Py_BuildValue("s",_ptemp
);
3732 _resultobj
= Py_None
;
3737 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3738 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3740 wxGenericDragImage
* _result
;
3742 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3743 PyObject
* _argo0
= 0;
3744 PyObject
* _argo1
= 0;
3745 char *_kwnames
[] = { "image","cursor", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3752 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3758 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) return NULL
;
3770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3771 _resultobj
= Py_BuildValue("s",_ptemp
);
3774 _resultobj
= Py_None
;
3779 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3780 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3782 wxGenericDragImage
* _result
;
3784 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3785 PyObject
* _obj0
= 0;
3786 PyObject
* _argo1
= 0;
3787 char *_kwnames
[] = { "str","cursor", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3794 _arg0
= wxString_in_helper(_obj0
);
3799 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) return NULL
;
3811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3812 _resultobj
= Py_BuildValue("s",_ptemp
);
3815 _resultobj
= Py_None
;
3824 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3825 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3827 wxGenericDragImage
* _result
;
3829 wxTreeItemId
* _arg1
;
3830 PyObject
* _argo0
= 0;
3831 PyObject
* _argo1
= 0;
3832 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3839 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3845 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) return NULL
;
3857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3858 _resultobj
= Py_BuildValue("s",_ptemp
);
3861 _resultobj
= Py_None
;
3866 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxGenericDragImage
* _result
;
3872 PyObject
* _argo0
= 0;
3873 char *_kwnames
[] = { "listCtrl","id", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3880 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) return NULL
;
3892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3893 _resultobj
= Py_BuildValue("s",_ptemp
);
3896 _resultobj
= Py_None
;
3901 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3902 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3904 wxGenericDragImage
* _arg0
;
3905 PyObject
* _argo0
= 0;
3906 char *_kwnames
[] = { "self", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 delete_wxGenericDragImage(_arg0
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) return NULL
;
3924 } Py_INCREF(Py_None
);
3925 _resultobj
= Py_None
;
3929 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3930 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3932 wxGenericDragImage
* _arg0
;
3934 PyObject
* _argo0
= 0;
3935 PyObject
* _argo1
= 0;
3936 char *_kwnames
[] = { "self","bitmap", NULL
};
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) return NULL
;
3961 } Py_INCREF(Py_None
);
3962 _resultobj
= Py_None
;
3966 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3967 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3970 wxGenericDragImage
* _arg0
;
3973 bool _arg3
= (bool ) FALSE
;
3974 wxRect
* _arg4
= (wxRect
*) NULL
;
3975 PyObject
* _argo0
= 0;
3977 PyObject
* _obj1
= 0;
3978 PyObject
* _argo2
= 0;
3979 int tempbool3
= (int) FALSE
;
3981 PyObject
* _obj4
= 0;
3982 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3996 if (! wxPoint_helper(_obj1
, &_arg1
))
4000 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
4006 _arg3
= (bool ) tempbool3
;
4010 if (! wxRect_helper(_obj4
, &_arg4
))
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) return NULL
;
4019 } _resultobj
= Py_BuildValue("i",_result
);
4023 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4024 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4027 wxGenericDragImage
* _arg0
;
4031 PyObject
* _argo0
= 0;
4033 PyObject
* _obj1
= 0;
4034 PyObject
* _argo2
= 0;
4035 PyObject
* _argo3
= 0;
4036 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
4050 if (! wxPoint_helper(_obj1
, &_arg1
))
4054 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4061 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4062 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) return NULL
;
4073 } _resultobj
= Py_BuildValue("i",_result
);
4077 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4078 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4081 wxGenericDragImage
* _arg0
;
4082 PyObject
* _argo0
= 0;
4083 char *_kwnames
[] = { "self", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) return NULL
;
4101 } _resultobj
= Py_BuildValue("i",_result
);
4105 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4106 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
* _resultobj
;
4109 wxGenericDragImage
* _arg0
;
4111 PyObject
* _argo0
= 0;
4113 PyObject
* _obj1
= 0;
4114 char *_kwnames
[] = { "self","pt", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4128 if (! wxPoint_helper(_obj1
, &_arg1
))
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) return NULL
;
4137 } _resultobj
= Py_BuildValue("i",_result
);
4141 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4142 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4145 wxGenericDragImage
* _arg0
;
4146 PyObject
* _argo0
= 0;
4147 char *_kwnames
[] = { "self", NULL
};
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 _result
= (bool )wxDragImage_Show(_arg0
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) return NULL
;
4165 } _resultobj
= Py_BuildValue("i",_result
);
4169 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4170 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4173 wxGenericDragImage
* _arg0
;
4174 PyObject
* _argo0
= 0;
4175 char *_kwnames
[] = { "self", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 _result
= (bool )wxDragImage_Hide(_arg0
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) return NULL
;
4193 } _resultobj
= Py_BuildValue("i",_result
);
4197 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4198 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4201 wxGenericDragImage
* _arg0
;
4203 PyObject
* _argo0
= 0;
4205 PyObject
* _obj1
= 0;
4206 char *_kwnames
[] = { "self","pos", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4221 if (! wxPoint_helper(_obj1
, &_arg1
))
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) return NULL
;
4230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4231 _resultobj
= Py_BuildValue("s",_ptemp
);
4235 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4236 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4239 wxGenericDragImage
* _arg0
;
4244 PyObject
* _argo0
= 0;
4246 PyObject
* _obj1
= 0;
4248 PyObject
* _obj2
= 0;
4251 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4265 if (! wxPoint_helper(_obj1
, &_arg1
))
4270 if (! wxPoint_helper(_obj2
, &_arg2
))
4273 _arg3
= (bool ) tempbool3
;
4274 _arg4
= (bool ) tempbool4
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } _resultobj
= Py_BuildValue("i",_result
);
4285 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4288 src
= (wxPyTimer
*) ptr
;
4289 dest
= (wxObject
*) src
;
4290 return (void *) dest
;
4293 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4294 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4296 wxPyTimer
* _result
;
4298 PyObject
* _obj0
= 0;
4299 char *_kwnames
[] = { "notify", NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) return NULL
;
4315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4316 _resultobj
= Py_BuildValue("s",_ptemp
);
4319 _resultobj
= Py_None
;
4324 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4325 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
* _resultobj
;
4328 PyObject
* _argo0
= 0;
4329 char *_kwnames
[] = { "self", NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 delete_wxPyTimer(_arg0
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) return NULL
;
4347 } Py_INCREF(Py_None
);
4348 _resultobj
= Py_None
;
4352 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4353 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4357 PyObject
* _argo0
= 0;
4358 char *_kwnames
[] = { "self", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) return NULL
;
4376 } _resultobj
= Py_BuildValue("i",_result
);
4380 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4381 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4385 PyObject
* _argo0
= 0;
4386 char *_kwnames
[] = { "self", NULL
};
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) return NULL
;
4404 } _resultobj
= Py_BuildValue("i",_result
);
4408 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4409 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4413 PyObject
* _argo0
= 0;
4414 char *_kwnames
[] = { "self", NULL
};
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) return NULL
;
4432 } _resultobj
= Py_BuildValue("i",_result
);
4436 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4437 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4440 wxEvtHandler
* _arg1
;
4441 int _arg2
= (int ) -1;
4442 PyObject
* _argo0
= 0;
4443 PyObject
* _argo1
= 0;
4444 char *_kwnames
[] = { "self","owner","id", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) return NULL
;
4469 } Py_INCREF(Py_None
);
4470 _resultobj
= Py_None
;
4474 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4475 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
* _resultobj
;
4479 int _arg1
= (int ) -1;
4480 int _arg2
= (int ) FALSE
;
4481 PyObject
* _argo0
= 0;
4482 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) return NULL
;
4500 } _resultobj
= Py_BuildValue("i",_result
);
4504 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4505 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4508 PyObject
* _argo0
= 0;
4509 char *_kwnames
[] = { "self", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 wxPyTimer_Stop(_arg0
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 #define new_wxStopWatch() (new wxStopWatch())
4533 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 wxStopWatch
* _result
;
4536 char *_kwnames
[] = { NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 _result
= (wxStopWatch
*)new_wxStopWatch();
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) return NULL
;
4549 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4550 _resultobj
= Py_BuildValue("s",_ptemp
);
4553 _resultobj
= Py_None
;
4558 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4559 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
* _resultobj
;
4561 wxStopWatch
* _arg0
;
4562 PyObject
* _argo0
= 0;
4563 char *_kwnames
[] = { "self", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 delete_wxStopWatch(_arg0
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) return NULL
;
4581 } Py_INCREF(Py_None
);
4582 _resultobj
= Py_None
;
4586 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4587 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4589 wxStopWatch
* _arg0
;
4590 long _arg1
= (long ) 0;
4591 PyObject
* _argo0
= 0;
4592 char *_kwnames
[] = { "self","t", NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 wxStopWatch_Start(_arg0
,_arg1
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4610 } Py_INCREF(Py_None
);
4611 _resultobj
= Py_None
;
4615 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4616 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4618 wxStopWatch
* _arg0
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 wxStopWatch_Pause(_arg0
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) return NULL
;
4638 } Py_INCREF(Py_None
);
4639 _resultobj
= Py_None
;
4643 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4644 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4646 wxStopWatch
* _arg0
;
4647 PyObject
* _argo0
= 0;
4648 char *_kwnames
[] = { "self", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 wxStopWatch_Resume(_arg0
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) return NULL
;
4666 } Py_INCREF(Py_None
);
4667 _resultobj
= Py_None
;
4671 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4672 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4675 wxStopWatch
* _arg0
;
4676 PyObject
* _argo0
= 0;
4677 char *_kwnames
[] = { "self", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 _result
= (long )wxStopWatch_Time(_arg0
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) return NULL
;
4695 } _resultobj
= Py_BuildValue("l",_result
);
4699 #define new_wxLog() (new wxLog())
4700 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
* _resultobj
;
4703 char *_kwnames
[] = { NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 _result
= (wxLog
*)new_wxLog();
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) return NULL
;
4716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4717 _resultobj
= Py_BuildValue("s",_ptemp
);
4720 _resultobj
= Py_None
;
4725 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4728 char *_kwnames
[] = { NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 _result
= (bool )wxLog::IsEnabled();
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) return NULL
;
4739 } _resultobj
= Py_BuildValue("i",_result
);
4743 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4746 bool _arg0
= (bool ) TRUE
;
4747 int tempbool0
= (int) TRUE
;
4748 char *_kwnames
[] = { "doIt", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4753 _arg0
= (bool ) tempbool0
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 _result
= (bool )wxLog::EnableLogging(_arg0
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4760 } _resultobj
= Py_BuildValue("i",_result
);
4764 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4766 unsigned long _arg0
;
4768 int _arg2
= (int ) 0;
4769 PyObject
* _obj1
= 0;
4770 char *_kwnames
[] = { "level","szString","t", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4776 _arg1
= wxString_in_helper(_obj1
);
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4786 } Py_INCREF(Py_None
);
4787 _resultobj
= Py_None
;
4795 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4796 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
* _resultobj
;
4799 PyObject
* _argo0
= 0;
4800 char *_kwnames
[] = { "self", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4818 } Py_INCREF(Py_None
);
4819 _resultobj
= Py_None
;
4823 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 char *_kwnames
[] = { NULL
};
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 wxLog::FlushActive();
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) return NULL
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4841 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4844 char *_kwnames
[] = { NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 _result
= (wxLog
*)wxLog::GetActiveTarget();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) return NULL
;
4857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4858 _resultobj
= Py_BuildValue("s",_ptemp
);
4861 _resultobj
= Py_None
;
4866 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4870 PyObject
* _argo0
= 0;
4871 char *_kwnames
[] = { "pLogger", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) return NULL
;
4891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4892 _resultobj
= Py_BuildValue("s",_ptemp
);
4895 _resultobj
= Py_None
;
4900 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4902 char *_kwnames
[] = { NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) return NULL
;
4913 } Py_INCREF(Py_None
);
4914 _resultobj
= Py_None
;
4918 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4920 char *_kwnames
[] = { NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) return NULL
;
4931 } Py_INCREF(Py_None
);
4932 _resultobj
= Py_None
;
4936 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4938 bool _arg0
= (bool ) TRUE
;
4939 int tempbool0
= (int) TRUE
;
4940 char *_kwnames
[] = { "bVerbose", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4945 _arg0
= (bool ) tempbool0
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxLog::SetVerbose(_arg0
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4957 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
* _resultobj
;
4959 char *_kwnames
[] = { NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 wxLog::DontCreateOnDemand();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) return NULL
;
4970 } Py_INCREF(Py_None
);
4971 _resultobj
= Py_None
;
4975 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
* _resultobj
;
4978 char *_kwnames
[] = { "ulMask", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 wxLog::SetTraceMask(_arg0
);
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) return NULL
;
4989 } Py_INCREF(Py_None
);
4990 _resultobj
= Py_None
;
4994 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4997 PyObject
* _obj0
= 0;
4998 char *_kwnames
[] = { "str", NULL
};
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5004 _arg0
= wxString_in_helper(_obj0
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 wxLog::AddTraceMask(*_arg0
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) return NULL
;
5014 } Py_INCREF(Py_None
);
5015 _resultobj
= Py_None
;
5023 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5026 PyObject
* _obj0
= 0;
5027 char *_kwnames
[] = { "str", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5033 _arg0
= wxString_in_helper(_obj0
);
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 wxLog::RemoveTraceMask(*_arg0
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) return NULL
;
5043 } Py_INCREF(Py_None
);
5044 _resultobj
= Py_None
;
5052 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 char *_kwnames
[] = { NULL
};
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 wxLog::ClearTraceMasks();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) return NULL
;
5065 } Py_INCREF(Py_None
);
5066 _resultobj
= Py_None
;
5070 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
* _resultobj
;
5072 wxArrayString
* _result
;
5073 char *_kwnames
[] = { NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5082 _result
= (wxArrayString
*) &_result_ref
;
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) return NULL
;
5087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5088 _resultobj
= Py_BuildValue("s",_ptemp
);
5091 _resultobj
= Py_None
;
5096 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5099 PyObject
* _obj0
= 0;
5100 char *_kwnames
[] = { "ts", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5106 _arg0
= wxString_in_helper(_obj0
);
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 wxLog::SetTimestamp(*_arg0
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5116 } Py_INCREF(Py_None
);
5117 _resultobj
= Py_None
;
5125 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5128 char *_kwnames
[] = { NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 const wxString
& _result_ref
= wxLog::GetTimestamp();
5136 _result
= (wxString
*) &_result_ref
;
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) return NULL
;
5142 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5144 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5150 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5151 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
* _resultobj
;
5155 PyObject
* _argo0
= 0;
5156 char *_kwnames
[] = { "self", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 _result
= (bool )wxLog_GetVerbose(_arg0
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5174 } _resultobj
= Py_BuildValue("i",_result
);
5178 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5180 unsigned long _result
;
5181 char *_kwnames
[] = { NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 _result
= (unsigned long )wxLog::GetTraceMask();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) return NULL
;
5192 } _resultobj
= Py_BuildValue("l",_result
);
5196 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5200 PyObject
* _obj0
= 0;
5201 char *_kwnames
[] = { "mask", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5207 _arg0
= wxString_in_helper(_obj0
);
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) return NULL
;
5217 } _resultobj
= Py_BuildValue("i",_result
);
5225 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
* _resultobj
;
5227 unsigned long _arg0
;
5228 char *_kwnames
[] = { "logLevel", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 wxLog::SetLogLevel(_arg0
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) return NULL
;
5239 } Py_INCREF(Py_None
);
5240 _resultobj
= Py_None
;
5244 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
* _resultobj
;
5246 unsigned long _result
;
5247 char *_kwnames
[] = { NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 _result
= (unsigned long )wxLog::GetLogLevel();
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5258 } _resultobj
= Py_BuildValue("l",_result
);
5262 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5264 wxLog::TimeStamp(&msg
);
5267 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) return NULL
;
5292 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5294 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5303 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5306 src
= (wxLogStderr
*) ptr
;
5307 dest
= (wxLog
*) src
;
5308 return (void *) dest
;
5311 #define new_wxLogStderr() (new wxLogStderr())
5312 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5314 wxLogStderr
* _result
;
5315 char *_kwnames
[] = { NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 _result
= (wxLogStderr
*)new_wxLogStderr();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) return NULL
;
5328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5329 _resultobj
= Py_BuildValue("s",_ptemp
);
5332 _resultobj
= Py_None
;
5337 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5340 src
= (wxLogTextCtrl
*) ptr
;
5341 dest
= (wxLog
*) src
;
5342 return (void *) dest
;
5345 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5346 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5348 wxLogTextCtrl
* _result
;
5350 PyObject
* _argo0
= 0;
5351 char *_kwnames
[] = { "pTextCtrl", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5372 _resultobj
= Py_BuildValue("s",_ptemp
);
5375 _resultobj
= Py_None
;
5380 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5383 src
= (wxLogGui
*) ptr
;
5384 dest
= (wxLog
*) src
;
5385 return (void *) dest
;
5388 #define new_wxLogGui() (new wxLogGui())
5389 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5392 char *_kwnames
[] = { NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 _result
= (wxLogGui
*)new_wxLogGui();
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) return NULL
;
5405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5406 _resultobj
= Py_BuildValue("s",_ptemp
);
5409 _resultobj
= Py_None
;
5414 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5417 src
= (wxLogWindow
*) ptr
;
5418 dest
= (wxLog
*) src
;
5419 return (void *) dest
;
5422 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5423 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5425 wxLogWindow
* _result
;
5428 bool _arg2
= (bool ) TRUE
;
5429 bool _arg3
= (bool ) TRUE
;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _obj1
= 0;
5432 int tempbool2
= (int) TRUE
;
5433 int tempbool3
= (int) TRUE
;
5434 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5448 _arg1
= wxString_in_helper(_obj1
);
5452 _arg2
= (bool ) tempbool2
;
5453 _arg3
= (bool ) tempbool3
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) return NULL
;
5461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5462 _resultobj
= Py_BuildValue("s",_ptemp
);
5465 _resultobj
= Py_None
;
5474 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5475 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5477 wxLogWindow
* _arg0
;
5478 bool _arg1
= (bool ) TRUE
;
5479 PyObject
* _argo0
= 0;
5480 int tempbool1
= (int) TRUE
;
5481 char *_kwnames
[] = { "self","bShow", NULL
};
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5493 _arg1
= (bool ) tempbool1
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 wxLogWindow_Show(_arg0
,_arg1
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) return NULL
;
5500 } Py_INCREF(Py_None
);
5501 _resultobj
= Py_None
;
5505 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5506 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5509 wxLogWindow
* _arg0
;
5510 PyObject
* _argo0
= 0;
5511 char *_kwnames
[] = { "self", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) return NULL
;
5529 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5533 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5534 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
* _resultobj
;
5537 wxLogWindow
* _arg0
;
5538 PyObject
* _argo0
= 0;
5539 char *_kwnames
[] = { "self", NULL
};
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) return NULL
;
5559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5560 _resultobj
= Py_BuildValue("s",_ptemp
);
5563 _resultobj
= Py_None
;
5568 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5569 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5572 wxLogWindow
* _arg0
;
5573 PyObject
* _argo0
= 0;
5574 char *_kwnames
[] = { "self", NULL
};
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) return NULL
;
5592 } _resultobj
= Py_BuildValue("i",_result
);
5596 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5597 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5599 wxLogWindow
* _arg0
;
5601 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self","bDoPass", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5615 _arg1
= (bool ) tempbool1
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 wxLogWindow_PassMessages(_arg0
,_arg1
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) return NULL
;
5622 } Py_INCREF(Py_None
);
5623 _resultobj
= Py_None
;
5627 static void *SwigwxLogChainTowxLog(void *ptr
) {
5630 src
= (wxLogChain
*) ptr
;
5631 dest
= (wxLog
*) src
;
5632 return (void *) dest
;
5635 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5636 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5638 wxLogChain
* _result
;
5640 PyObject
* _argo0
= 0;
5641 char *_kwnames
[] = { "logger", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) return NULL
;
5661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5662 _resultobj
= Py_BuildValue("s",_ptemp
);
5665 _resultobj
= Py_None
;
5670 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5671 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5675 PyObject
* _argo0
= 0;
5676 PyObject
* _argo1
= 0;
5677 char *_kwnames
[] = { "self","logger", NULL
};
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 wxLogChain_SetLog(_arg0
,_arg1
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) return NULL
;
5702 } Py_INCREF(Py_None
);
5703 _resultobj
= Py_None
;
5707 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5708 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5714 char *_kwnames
[] = { "self","bDoPass", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5726 _arg1
= (bool ) tempbool1
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 wxLogChain_PassMessages(_arg0
,_arg1
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) return NULL
;
5733 } Py_INCREF(Py_None
);
5734 _resultobj
= Py_None
;
5738 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5739 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5743 PyObject
* _argo0
= 0;
5744 char *_kwnames
[] = { "self", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) return NULL
;
5762 } _resultobj
= Py_BuildValue("i",_result
);
5766 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5767 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) return NULL
;
5792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5793 _resultobj
= Py_BuildValue("s",_ptemp
);
5796 _resultobj
= Py_None
;
5801 #define new_wxLogNull() (new wxLogNull())
5802 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5804 wxLogNull
* _result
;
5805 char *_kwnames
[] = { NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 _result
= (wxLogNull
*)new_wxLogNull();
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) return NULL
;
5818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5819 _resultobj
= Py_BuildValue("s",_ptemp
);
5822 _resultobj
= Py_None
;
5827 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5828 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
* _resultobj
;
5831 PyObject
* _argo0
= 0;
5832 char *_kwnames
[] = { "self", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 delete_wxLogNull(_arg0
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) return NULL
;
5850 } Py_INCREF(Py_None
);
5851 _resultobj
= Py_None
;
5855 static void *SwigwxPyLogTowxLog(void *ptr
) {
5858 src
= (wxPyLog
*) ptr
;
5859 dest
= (wxLog
*) src
;
5860 return (void *) dest
;
5863 #define new_wxPyLog() (new wxPyLog())
5864 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5867 char *_kwnames
[] = { NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 _result
= (wxPyLog
*)new_wxPyLog();
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) return NULL
;
5880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5881 _resultobj
= Py_BuildValue("s",_ptemp
);
5884 _resultobj
= Py_None
;
5889 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5890 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
* _resultobj
;
5895 PyObject
* _argo0
= 0;
5896 PyObject
* _obj1
= 0;
5897 PyObject
* _obj2
= 0;
5898 char *_kwnames
[] = { "self","self","_class", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) return NULL
;
5922 } Py_INCREF(Py_None
);
5923 _resultobj
= Py_None
;
5927 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5928 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxPyLog_Destroy(_arg0
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) return NULL
;
5950 } Py_INCREF(Py_None
);
5951 _resultobj
= Py_None
;
5955 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5956 wxProcessEvent
*src
;
5958 src
= (wxProcessEvent
*) ptr
;
5959 dest
= (wxEvent
*) src
;
5960 return (void *) dest
;
5963 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5964 wxProcessEvent
*src
;
5966 src
= (wxProcessEvent
*) ptr
;
5967 dest
= (wxObject
*) src
;
5968 return (void *) dest
;
5971 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5972 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5974 wxProcessEvent
* _result
;
5975 int _arg0
= (int ) 0;
5976 int _arg1
= (int ) 0;
5977 int _arg2
= (int ) 0;
5978 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) return NULL
;
5991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5992 _resultobj
= Py_BuildValue("s",_ptemp
);
5995 _resultobj
= Py_None
;
6000 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
6001 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
* _resultobj
;
6004 wxProcessEvent
* _arg0
;
6005 PyObject
* _argo0
= 0;
6006 char *_kwnames
[] = { "self", NULL
};
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
6012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 _result
= (int )wxProcessEvent_GetPid(_arg0
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) return NULL
;
6024 } _resultobj
= Py_BuildValue("i",_result
);
6028 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6029 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6032 wxProcessEvent
* _arg0
;
6033 PyObject
* _argo0
= 0;
6034 char *_kwnames
[] = { "self", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) return NULL
;
6052 } _resultobj
= Py_BuildValue("i",_result
);
6056 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6057 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6060 wxProcessEvent
* _arg0
;
6062 PyObject
* _argo0
= 0;
6063 char *_kwnames
[] = { "self","m_pid", NULL
};
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6077 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) return NULL
;
6081 } _resultobj
= Py_BuildValue("i",_result
);
6085 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6086 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6089 wxProcessEvent
* _arg0
;
6090 PyObject
* _argo0
= 0;
6091 char *_kwnames
[] = { "self", NULL
};
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) return NULL
;
6109 } _resultobj
= Py_BuildValue("i",_result
);
6113 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6114 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6117 wxProcessEvent
* _arg0
;
6119 PyObject
* _argo0
= 0;
6120 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) return NULL
;
6138 } _resultobj
= Py_BuildValue("i",_result
);
6142 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6143 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
* _resultobj
;
6146 wxProcessEvent
* _arg0
;
6147 PyObject
* _argo0
= 0;
6148 char *_kwnames
[] = { "self", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) return NULL
;
6166 } _resultobj
= Py_BuildValue("i",_result
);
6170 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6173 src
= (wxPyProcess
*) ptr
;
6174 dest
= (wxEvtHandler
*) src
;
6175 return (void *) dest
;
6178 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6181 src
= (wxPyProcess
*) ptr
;
6182 dest
= (wxObject
*) src
;
6183 return (void *) dest
;
6186 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
* _resultobj
;
6188 wxKillError _result
;
6190 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6191 char *_kwnames
[] = { "pid","sig", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) return NULL
;
6202 } _resultobj
= Py_BuildValue("i",_result
);
6206 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
* _resultobj
;
6210 char *_kwnames
[] = { "pid", NULL
};
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 _result
= (bool )wxPyProcess::Exists(_arg0
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) return NULL
;
6221 } _resultobj
= Py_BuildValue("i",_result
);
6225 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6227 wxPyProcess
* _result
;
6229 int _arg1
= (int ) wxEXEC_ASYNC
;
6230 PyObject
* _obj0
= 0;
6231 char *_kwnames
[] = { "cmd","flags", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6238 _arg0
= wxString_in_helper(_obj0
);
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) return NULL
;
6249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6250 _resultobj
= Py_BuildValue("s",_ptemp
);
6253 _resultobj
= Py_None
;
6262 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6263 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
* _resultobj
;
6265 wxPyProcess
* _result
;
6266 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6267 int _arg1
= (int ) -1;
6268 PyObject
* _argo0
= 0;
6269 char *_kwnames
[] = { "parent","id", NULL
};
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) return NULL
;
6289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6290 _resultobj
= Py_BuildValue("s",_ptemp
);
6293 _resultobj
= Py_None
;
6298 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6299 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6301 wxPyProcess
* _arg0
;
6302 PyObject
* _argo0
= 0;
6303 char *_kwnames
[] = { "self", NULL
};
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 wxPyProcess_Destroy(_arg0
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) return NULL
;
6321 } Py_INCREF(Py_None
);
6322 _resultobj
= Py_None
;
6326 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6327 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6329 wxPyProcess
* _arg0
;
6332 PyObject
* _argo0
= 0;
6333 PyObject
* _obj1
= 0;
6334 PyObject
* _obj2
= 0;
6335 char *_kwnames
[] = { "self","self","_class", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) return NULL
;
6359 } Py_INCREF(Py_None
);
6360 _resultobj
= Py_None
;
6364 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6365 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
* _resultobj
;
6367 wxPyProcess
* _arg0
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self","pid","status", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) return NULL
;
6389 } Py_INCREF(Py_None
);
6390 _resultobj
= Py_None
;
6394 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6395 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
* _resultobj
;
6397 wxPyProcess
* _arg0
;
6398 PyObject
* _argo0
= 0;
6399 char *_kwnames
[] = { "self", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 wxProcess_Redirect(_arg0
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) return NULL
;
6417 } Py_INCREF(Py_None
);
6418 _resultobj
= Py_None
;
6422 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6423 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6426 wxPyProcess
* _arg0
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } _resultobj
= Py_BuildValue("i",_result
);
6450 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6451 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6453 wxPyProcess
* _arg0
;
6454 PyObject
* _argo0
= 0;
6455 char *_kwnames
[] = { "self", NULL
};
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 wxProcess_Detach(_arg0
);
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) return NULL
;
6473 } Py_INCREF(Py_None
);
6474 _resultobj
= Py_None
;
6478 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6479 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6481 wxInputStream
* _result
;
6482 wxPyProcess
* _arg0
;
6483 PyObject
* _argo0
= 0;
6484 char *_kwnames
[] = { "self", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) return NULL
;
6503 wxPyInputStream
* _ptr
= NULL
;
6506 _ptr
= new wxPyInputStream(_result
);
6508 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6513 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6514 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
* _resultobj
;
6516 wxInputStream
* _result
;
6517 wxPyProcess
* _arg0
;
6518 PyObject
* _argo0
= 0;
6519 char *_kwnames
[] = { "self", NULL
};
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) return NULL
;
6538 wxPyInputStream
* _ptr
= NULL
;
6541 _ptr
= new wxPyInputStream(_result
);
6543 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6548 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6549 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6551 wxOutputStream
* _result
;
6552 wxPyProcess
* _arg0
;
6553 PyObject
* _argo0
= 0;
6554 char *_kwnames
[] = { "self", NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) return NULL
;
6574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6575 _resultobj
= Py_BuildValue("s",_ptemp
);
6578 _resultobj
= Py_None
;
6583 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6584 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
* _resultobj
;
6586 wxPyProcess
* _arg0
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 wxProcess_CloseOutput(_arg0
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) return NULL
;
6606 } Py_INCREF(Py_None
);
6607 _resultobj
= Py_None
;
6611 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6612 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6615 wxPyProcess
* _arg0
;
6616 PyObject
* _argo0
= 0;
6617 char *_kwnames
[] = { "self", NULL
};
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) return NULL
;
6635 } _resultobj
= Py_BuildValue("i",_result
);
6639 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6640 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6643 wxPyProcess
* _arg0
;
6644 PyObject
* _argo0
= 0;
6645 char *_kwnames
[] = { "self", NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) return NULL
;
6663 } _resultobj
= Py_BuildValue("i",_result
);
6667 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6668 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
* _resultobj
;
6671 wxPyProcess
* _arg0
;
6672 PyObject
* _argo0
= 0;
6673 char *_kwnames
[] = { "self", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) return NULL
;
6691 } _resultobj
= Py_BuildValue("i",_result
);
6695 static void *SwigwxJoystickTowxObject(void *ptr
) {
6698 src
= (wxJoystick
*) ptr
;
6699 dest
= (wxObject
*) src
;
6700 return (void *) dest
;
6703 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6704 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6706 wxJoystick
* _result
;
6707 int _arg0
= (int ) (wxJOYSTICK1
);
6708 char *_kwnames
[] = { "joystick", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6722 _resultobj
= Py_BuildValue("s",_ptemp
);
6725 _resultobj
= Py_None
;
6730 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6731 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
* _resultobj
;
6734 PyObject
* _argo0
= 0;
6735 char *_kwnames
[] = { "self", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 delete_wxJoystick(_arg0
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) return NULL
;
6753 } Py_INCREF(Py_None
);
6754 _resultobj
= Py_None
;
6758 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6759 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
* _resultobj
;
6763 PyObject
* _argo0
= 0;
6764 char *_kwnames
[] = { "self", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) return NULL
;
6783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6784 _resultobj
= Py_BuildValue("s",_ptemp
);
6788 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6789 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6793 PyObject
* _argo0
= 0;
6794 char *_kwnames
[] = { "self", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) return NULL
;
6812 } _resultobj
= Py_BuildValue("i",_result
);
6816 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6817 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6821 PyObject
* _argo0
= 0;
6822 char *_kwnames
[] = { "self", NULL
};
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) return NULL
;
6840 } _resultobj
= Py_BuildValue("i",_result
);
6844 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6845 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6849 PyObject
* _argo0
= 0;
6850 char *_kwnames
[] = { "self", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) return NULL
;
6868 } _resultobj
= Py_BuildValue("i",_result
);
6872 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6873 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6877 PyObject
* _argo0
= 0;
6878 char *_kwnames
[] = { "self", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) return NULL
;
6896 } _resultobj
= Py_BuildValue("i",_result
);
6900 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6901 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6905 PyObject
* _argo0
= 0;
6906 char *_kwnames
[] = { "self", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6924 } _resultobj
= Py_BuildValue("i",_result
);
6928 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6929 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) return NULL
;
6952 } _resultobj
= Py_BuildValue("i",_result
);
6956 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6957 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) return NULL
;
6980 } _resultobj
= Py_BuildValue("i",_result
);
6984 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6985 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } _resultobj
= Py_BuildValue("i",_result
);
7012 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
7013 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self","threshold", NULL
};
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
7024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) return NULL
;
7036 } Py_INCREF(Py_None
);
7037 _resultobj
= Py_None
;
7041 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7042 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7046 PyObject
* _argo0
= 0;
7047 char *_kwnames
[] = { "self", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 _result
= (bool )wxJoystick_IsOk(_arg0
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7065 } _resultobj
= Py_BuildValue("i",_result
);
7069 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7070 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7074 PyObject
* _argo0
= 0;
7075 char *_kwnames
[] = { "self", NULL
};
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) return NULL
;
7093 } _resultobj
= Py_BuildValue("i",_result
);
7097 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7098 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
* _resultobj
;
7102 PyObject
* _argo0
= 0;
7103 char *_kwnames
[] = { "self", NULL
};
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) return NULL
;
7121 } _resultobj
= Py_BuildValue("i",_result
);
7125 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7126 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7130 PyObject
* _argo0
= 0;
7131 char *_kwnames
[] = { "self", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 _result
= (int )wxJoystick_GetProductId(_arg0
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) return NULL
;
7149 } _resultobj
= Py_BuildValue("i",_result
);
7153 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7154 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7179 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7181 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7190 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7191 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7195 PyObject
* _argo0
= 0;
7196 char *_kwnames
[] = { "self", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 _result
= (int )wxJoystick_GetXMin(_arg0
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) return NULL
;
7214 } _resultobj
= Py_BuildValue("i",_result
);
7218 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7219 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
* _resultobj
;
7223 PyObject
* _argo0
= 0;
7224 char *_kwnames
[] = { "self", NULL
};
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 _result
= (int )wxJoystick_GetYMin(_arg0
);
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) return NULL
;
7242 } _resultobj
= Py_BuildValue("i",_result
);
7246 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7247 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7251 PyObject
* _argo0
= 0;
7252 char *_kwnames
[] = { "self", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 _result
= (int )wxJoystick_GetZMin(_arg0
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) return NULL
;
7270 } _resultobj
= Py_BuildValue("i",_result
);
7274 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7275 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
* _resultobj
;
7279 PyObject
* _argo0
= 0;
7280 char *_kwnames
[] = { "self", NULL
};
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 _result
= (int )wxJoystick_GetXMax(_arg0
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) return NULL
;
7298 } _resultobj
= Py_BuildValue("i",_result
);
7302 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7303 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
* _resultobj
;
7307 PyObject
* _argo0
= 0;
7308 char *_kwnames
[] = { "self", NULL
};
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 _result
= (int )wxJoystick_GetYMax(_arg0
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) return NULL
;
7326 } _resultobj
= Py_BuildValue("i",_result
);
7330 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7331 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7335 PyObject
* _argo0
= 0;
7336 char *_kwnames
[] = { "self", NULL
};
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 _result
= (int )wxJoystick_GetZMax(_arg0
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) return NULL
;
7354 } _resultobj
= Py_BuildValue("i",_result
);
7358 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7359 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) return NULL
;
7382 } _resultobj
= Py_BuildValue("i",_result
);
7386 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7387 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 PyObject
* _argo0
= 0;
7392 char *_kwnames
[] = { "self", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } _resultobj
= Py_BuildValue("i",_result
);
7414 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7415 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
* _resultobj
;
7419 PyObject
* _argo0
= 0;
7420 char *_kwnames
[] = { "self", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) return NULL
;
7438 } _resultobj
= Py_BuildValue("i",_result
);
7442 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7443 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7447 PyObject
* _argo0
= 0;
7448 char *_kwnames
[] = { "self", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) return NULL
;
7466 } _resultobj
= Py_BuildValue("i",_result
);
7470 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7471 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
* _resultobj
;
7475 PyObject
* _argo0
= 0;
7476 char *_kwnames
[] = { "self", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) return NULL
;
7494 } _resultobj
= Py_BuildValue("i",_result
);
7498 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7499 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
* _resultobj
;
7503 PyObject
* _argo0
= 0;
7504 char *_kwnames
[] = { "self", NULL
};
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) return NULL
;
7522 } _resultobj
= Py_BuildValue("i",_result
);
7526 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7527 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
* _resultobj
;
7531 PyObject
* _argo0
= 0;
7532 char *_kwnames
[] = { "self", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) return NULL
;
7550 } _resultobj
= Py_BuildValue("i",_result
);
7554 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7555 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
* _resultobj
;
7559 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) return NULL
;
7578 } _resultobj
= Py_BuildValue("i",_result
);
7582 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7583 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7587 PyObject
* _argo0
= 0;
7588 char *_kwnames
[] = { "self", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 _result
= (int )wxJoystick_GetUMin(_arg0
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) return NULL
;
7606 } _resultobj
= Py_BuildValue("i",_result
);
7610 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7611 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
* _resultobj
;
7615 PyObject
* _argo0
= 0;
7616 char *_kwnames
[] = { "self", NULL
};
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 _result
= (int )wxJoystick_GetUMax(_arg0
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) return NULL
;
7634 } _resultobj
= Py_BuildValue("i",_result
);
7638 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7639 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
* _resultobj
;
7643 PyObject
* _argo0
= 0;
7644 char *_kwnames
[] = { "self", NULL
};
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 _result
= (int )wxJoystick_GetVMin(_arg0
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) return NULL
;
7662 } _resultobj
= Py_BuildValue("i",_result
);
7666 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7667 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
* _resultobj
;
7671 PyObject
* _argo0
= 0;
7672 char *_kwnames
[] = { "self", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 _result
= (int )wxJoystick_GetVMax(_arg0
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) return NULL
;
7690 } _resultobj
= Py_BuildValue("i",_result
);
7694 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7695 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
* _resultobj
;
7699 PyObject
* _argo0
= 0;
7700 char *_kwnames
[] = { "self", NULL
};
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) return NULL
;
7718 } _resultobj
= Py_BuildValue("i",_result
);
7722 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7723 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
* _resultobj
;
7727 PyObject
* _argo0
= 0;
7728 char *_kwnames
[] = { "self", NULL
};
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 _result
= (bool )wxJoystick_HasZ(_arg0
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } _resultobj
= Py_BuildValue("i",_result
);
7750 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7751 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7755 PyObject
* _argo0
= 0;
7756 char *_kwnames
[] = { "self", NULL
};
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 _result
= (bool )wxJoystick_HasU(_arg0
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) return NULL
;
7774 } _resultobj
= Py_BuildValue("i",_result
);
7778 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7779 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
* _resultobj
;
7783 PyObject
* _argo0
= 0;
7784 char *_kwnames
[] = { "self", NULL
};
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 _result
= (bool )wxJoystick_HasV(_arg0
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) return NULL
;
7802 } _resultobj
= Py_BuildValue("i",_result
);
7806 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7807 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
* _resultobj
;
7811 PyObject
* _argo0
= 0;
7812 char *_kwnames
[] = { "self", NULL
};
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) return NULL
;
7830 } _resultobj
= Py_BuildValue("i",_result
);
7834 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7835 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
* _resultobj
;
7839 PyObject
* _argo0
= 0;
7840 char *_kwnames
[] = { "self", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) return NULL
;
7858 } _resultobj
= Py_BuildValue("i",_result
);
7862 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7863 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
* _resultobj
;
7867 PyObject
* _argo0
= 0;
7868 char *_kwnames
[] = { "self", NULL
};
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) return NULL
;
7886 } _resultobj
= Py_BuildValue("i",_result
);
7890 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7891 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
* _resultobj
;
7896 int _arg2
= (int ) 0;
7897 PyObject
* _argo0
= 0;
7898 PyObject
* _argo1
= 0;
7899 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) return NULL
;
7924 } _resultobj
= Py_BuildValue("i",_result
);
7928 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7929 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
* _resultobj
;
7933 PyObject
* _argo0
= 0;
7934 char *_kwnames
[] = { "self", NULL
};
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) return NULL
;
7952 } _resultobj
= Py_BuildValue("i",_result
);
7956 static void *SwigwxWaveTowxObject(void *ptr
) {
7959 src
= (wxWave
*) ptr
;
7960 dest
= (wxObject
*) src
;
7961 return (void *) dest
;
7964 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7965 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7969 bool _arg1
= (bool ) FALSE
;
7970 PyObject
* _obj0
= 0;
7971 int tempbool1
= (int) FALSE
;
7972 char *_kwnames
[] = { "fileName","isResource", NULL
};
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7979 _arg0
= wxString_in_helper(_obj0
);
7983 _arg1
= (bool ) tempbool1
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) return NULL
;
7991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7992 _resultobj
= Py_BuildValue("s",_ptemp
);
7995 _resultobj
= Py_None
;
8004 #define delete_wxWave(_swigobj) (delete _swigobj)
8005 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8008 PyObject
* _argo0
= 0;
8009 char *_kwnames
[] = { "self", NULL
};
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
8015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 delete_wxWave(_arg0
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) return NULL
;
8027 } Py_INCREF(Py_None
);
8028 _resultobj
= Py_None
;
8032 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8033 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8037 PyObject
* _argo0
= 0;
8038 char *_kwnames
[] = { "self", NULL
};
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 _result
= (bool )wxWave_IsOk(_arg0
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) return NULL
;
8056 } _resultobj
= Py_BuildValue("i",_result
);
8060 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8061 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8065 bool _arg1
= (bool ) TRUE
;
8066 bool _arg2
= (bool ) FALSE
;
8067 PyObject
* _argo0
= 0;
8068 int tempbool1
= (int) TRUE
;
8069 int tempbool2
= (int) FALSE
;
8070 char *_kwnames
[] = { "self","async","looped", NULL
};
8073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8082 _arg1
= (bool ) tempbool1
;
8083 _arg2
= (bool ) tempbool2
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) return NULL
;
8090 } _resultobj
= Py_BuildValue("i",_result
);
8094 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8095 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
* _resultobj
;
8097 wxFileTypeInfo
* _result
;
8102 PyObject
* _obj0
= 0;
8103 PyObject
* _obj1
= 0;
8104 PyObject
* _obj2
= 0;
8105 PyObject
* _obj3
= 0;
8106 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
8113 _arg0
= wxString_in_helper(_obj0
);
8118 _arg1
= wxString_in_helper(_obj1
);
8123 _arg2
= wxString_in_helper(_obj2
);
8128 _arg3
= wxString_in_helper(_obj3
);
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) return NULL
;
8139 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8140 _resultobj
= Py_BuildValue("s",_ptemp
);
8143 _resultobj
= Py_None
;
8164 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8165 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8167 wxFileTypeInfo
* _result
;
8168 wxArrayString
* _arg0
;
8169 PyObject
* _obj0
= 0;
8170 char *_kwnames
[] = { "sArray", NULL
};
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8177 if (! PySequence_Check(_obj0
)) {
8178 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8181 _arg0
= new wxArrayString
;
8182 int i
, len
=PySequence_Length(_obj0
);
8183 for (i
=0; i
<len
; i
++) {
8184 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8186 PyObject
* str
= PyObject_Unicode(item
);
8188 PyObject
* str
= PyObject_Str(item
);
8190 _arg0
->Add(Py2wxString(str
));
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) return NULL
;
8202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8203 _resultobj
= Py_BuildValue("s",_ptemp
);
8206 _resultobj
= Py_None
;
8215 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8216 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
* _resultobj
;
8218 wxFileTypeInfo
* _result
;
8219 char *_kwnames
[] = { NULL
};
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8233 _resultobj
= Py_BuildValue("s",_ptemp
);
8236 _resultobj
= Py_None
;
8241 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8242 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
* _resultobj
;
8245 wxFileTypeInfo
* _arg0
;
8246 PyObject
* _argo0
= 0;
8247 char *_kwnames
[] = { "self", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) return NULL
;
8265 } _resultobj
= Py_BuildValue("i",_result
);
8269 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8270 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
* _resultobj
;
8272 wxFileTypeInfo
* _arg0
;
8274 int _arg2
= (int ) 0;
8275 PyObject
* _argo0
= 0;
8276 PyObject
* _obj1
= 0;
8277 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8290 _arg1
= wxString_in_helper(_obj1
);
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) return NULL
;
8300 } Py_INCREF(Py_None
);
8301 _resultobj
= Py_None
;
8309 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8310 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
* _resultobj
;
8312 wxFileTypeInfo
* _arg0
;
8314 PyObject
* _argo0
= 0;
8315 PyObject
* _obj1
= 0;
8316 char *_kwnames
[] = { "self","shortDesc", NULL
};
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8329 _arg1
= wxString_in_helper(_obj1
);
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) return NULL
;
8339 } Py_INCREF(Py_None
);
8340 _resultobj
= Py_None
;
8348 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8349 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
* _resultobj
;
8352 wxFileTypeInfo
* _arg0
;
8353 PyObject
* _argo0
= 0;
8354 char *_kwnames
[] = { "self", NULL
};
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8369 _result
= (wxString
*) &_result_ref
;
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) return NULL
;
8375 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8377 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8383 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8384 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(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_GetOpenCommand",_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_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_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_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8419 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(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_GetPrintCommand",_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_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8439 _result
= (wxString
*) &_result_ref
;
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) return NULL
;
8445 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8447 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8453 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8454 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
* _resultobj
;
8457 wxFileTypeInfo
* _arg0
;
8458 PyObject
* _argo0
= 0;
8459 char *_kwnames
[] = { "self", NULL
};
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8474 _result
= (wxString
*) &_result_ref
;
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) return NULL
;
8480 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8482 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8488 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8489 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
* _resultobj
;
8492 wxFileTypeInfo
* _arg0
;
8493 PyObject
* _argo0
= 0;
8494 char *_kwnames
[] = { "self", NULL
};
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8509 _result
= (wxString
*) &_result_ref
;
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) return NULL
;
8515 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8517 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8523 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8524 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8525 return wxArrayString2PyList_helper(arr
);
8527 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
* _resultobj
;
8530 wxFileTypeInfo
* _arg0
;
8531 PyObject
* _argo0
= 0;
8532 char *_kwnames
[] = { "self", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) return NULL
;
8551 _resultobj
= _result
;
8556 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8557 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8560 wxFileTypeInfo
* _arg0
;
8561 PyObject
* _argo0
= 0;
8562 char *_kwnames
[] = { "self", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) return NULL
;
8580 } _resultobj
= Py_BuildValue("i",_result
);
8584 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8585 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
* _resultobj
;
8588 wxFileTypeInfo
* _arg0
;
8589 PyObject
* _argo0
= 0;
8590 char *_kwnames
[] = { "self", NULL
};
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8605 _result
= (wxString
*) &_result_ref
;
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) return NULL
;
8611 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8619 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8620 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
* _resultobj
;
8623 wxFileTypeInfo
* _arg0
;
8624 PyObject
* _argo0
= 0;
8625 char *_kwnames
[] = { "self", NULL
};
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8641 wxPyEndAllowThreads(__tstate
);
8642 if (PyErr_Occurred()) return NULL
;
8643 } _resultobj
= Py_BuildValue("i",_result
);
8647 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8648 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
* _resultobj
;
8650 wxFileType
* _result
;
8651 wxFileTypeInfo
* _arg0
;
8652 PyObject
* _argo0
= 0;
8653 char *_kwnames
[] = { "ftInfo", NULL
};
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8660 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) return NULL
;
8672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8673 _resultobj
= Py_BuildValue("s",_ptemp
);
8676 _resultobj
= Py_None
;
8681 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8683 if (self
->GetMimeType(&str
)) {
8685 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8687 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8693 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
* _resultobj
;
8697 PyObject
* _argo0
= 0;
8698 char *_kwnames
[] = { "self", NULL
};
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) return NULL
;
8717 _resultobj
= _result
;
8722 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8724 if (self
->GetMimeTypes(arr
))
8725 return wxArrayString2PyList_helper(arr
);
8729 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
* _resultobj
;
8733 PyObject
* _argo0
= 0;
8734 char *_kwnames
[] = { "self", NULL
};
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) return NULL
;
8753 _resultobj
= _result
;
8758 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8760 if (self
->GetExtensions(arr
))
8761 return wxArrayString2PyList_helper(arr
);
8765 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
* _resultobj
;
8769 PyObject
* _argo0
= 0;
8770 char *_kwnames
[] = { "self", NULL
};
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) return NULL
;
8789 _resultobj
= _result
;
8794 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8796 if (self
->GetIcon(&loc
))
8797 return new wxIcon(loc
);
8801 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
* _resultobj
;
8805 PyObject
* _argo0
= 0;
8806 char *_kwnames
[] = { "self", NULL
};
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) return NULL
;
8826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8827 _resultobj
= Py_BuildValue("s",_ptemp
);
8830 _resultobj
= Py_None
;
8835 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8837 if (self
->GetIcon(&loc
)) {
8838 wxString iconFile
= loc
.GetFileName();
8841 iconIndex
= loc
.GetIndex();
8843 // Make a tuple and put the values in it
8844 wxPyBeginBlockThreads();
8845 PyObject
* tuple
= PyTuple_New(3);
8846 PyTuple_SetItem(tuple
, 0,
8847 wxPyConstructObject(new wxIcon(loc
), wxT("wxIcon"), TRUE
));
8849 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8851 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8853 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8854 wxPyEndBlockThreads();
8860 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
* _resultobj
;
8864 PyObject
* _argo0
= 0;
8865 char *_kwnames
[] = { "self", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) return NULL
;
8884 _resultobj
= _result
;
8889 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8891 if (self
->GetDescription(&str
)) {
8893 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8895 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8900 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
* _resultobj
;
8904 PyObject
* _argo0
= 0;
8905 char *_kwnames
[] = { "self", NULL
};
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) return NULL
;
8924 _resultobj
= _result
;
8929 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8931 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8933 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8935 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8940 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
* _resultobj
;
8945 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8946 PyObject
* _argo0
= 0;
8947 PyObject
* _obj1
= 0;
8948 PyObject
* _obj2
= 0;
8949 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8962 _arg1
= wxString_in_helper(_obj1
);
8968 _arg2
= wxString_in_helper(_obj2
);
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) return NULL
;
8979 _resultobj
= _result
;
8992 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8994 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8996 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8998 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9003 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
* _resultobj
;
9008 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9009 PyObject
* _argo0
= 0;
9010 PyObject
* _obj1
= 0;
9011 PyObject
* _obj2
= 0;
9012 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
9025 _arg1
= wxString_in_helper(_obj1
);
9031 _arg2
= wxString_in_helper(_obj2
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) return NULL
;
9042 _resultobj
= _result
;
9055 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9056 wxArrayString verbs
;
9057 wxArrayString commands
;
9058 if (self
->GetAllCommands(&verbs
, &commands
,
9059 wxFileType::MessageParameters(filename
, mimetype
))) {
9060 wxPyBeginBlockThreads();
9061 PyObject
* tuple
= PyTuple_New(2);
9062 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
9063 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
9064 wxPyEndBlockThreads();
9070 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
* _resultobj
;
9075 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9076 PyObject
* _argo0
= 0;
9077 PyObject
* _obj1
= 0;
9078 PyObject
* _obj2
= 0;
9079 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9092 _arg1
= wxString_in_helper(_obj1
);
9098 _arg2
= wxString_in_helper(_obj2
);
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) return NULL
;
9109 _resultobj
= _result
;
9122 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9123 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
* _resultobj
;
9129 bool _arg3
= (bool ) TRUE
;
9130 PyObject
* _argo0
= 0;
9131 PyObject
* _obj1
= 0;
9132 PyObject
* _obj2
= 0;
9133 int tempbool3
= (int) TRUE
;
9134 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9147 _arg1
= wxString_in_helper(_obj1
);
9152 _arg2
= wxString_in_helper(_obj2
);
9156 _arg3
= (bool ) tempbool3
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) return NULL
;
9163 } _resultobj
= Py_BuildValue("i",_result
);
9175 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9176 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
* _resultobj
;
9180 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9181 int _arg2
= (int ) 0;
9182 PyObject
* _argo0
= 0;
9183 PyObject
* _obj1
= 0;
9184 char *_kwnames
[] = { "self","cmd","index", NULL
};
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9198 _arg1
= wxString_in_helper(_obj1
);
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) return NULL
;
9208 } _resultobj
= Py_BuildValue("i",_result
);
9216 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9217 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
* _resultobj
;
9221 PyObject
* _argo0
= 0;
9222 char *_kwnames
[] = { "self", NULL
};
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 _result
= (bool )wxFileType_Unassociate(_arg0
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) return NULL
;
9240 } _resultobj
= Py_BuildValue("i",_result
);
9244 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
* _resultobj
;
9248 wxFileType::MessageParameters
* _arg1
;
9249 PyObject
* _obj0
= 0;
9250 PyObject
* _argo1
= 0;
9251 char *_kwnames
[] = { "command","params", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9257 _arg0
= wxString_in_helper(_obj0
);
9262 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) return NULL
;
9275 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9277 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9290 #define delete_wxFileType(_swigobj) (delete _swigobj)
9291 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
* _resultobj
;
9294 PyObject
* _argo0
= 0;
9295 char *_kwnames
[] = { "self", NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 delete_wxFileType(_arg0
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) return NULL
;
9313 } Py_INCREF(Py_None
);
9314 _resultobj
= Py_None
;
9318 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9323 PyObject
* _obj0
= 0;
9324 PyObject
* _obj1
= 0;
9325 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9331 _arg0
= wxString_in_helper(_obj0
);
9336 _arg1
= wxString_in_helper(_obj1
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) return NULL
;
9346 } _resultobj
= Py_BuildValue("i",_result
);
9358 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9359 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
* _resultobj
;
9361 wxMimeTypesManager
* _result
;
9362 char *_kwnames
[] = { NULL
};
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) return NULL
;
9375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9376 _resultobj
= Py_BuildValue("s",_ptemp
);
9379 _resultobj
= Py_None
;
9384 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9385 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
* _resultobj
;
9387 wxMimeTypesManager
* _arg0
;
9388 int _arg1
= (int ) (wxMAILCAP_ALL
);
9389 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9390 PyObject
* _argo0
= 0;
9391 PyObject
* _obj2
= 0;
9392 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9406 _arg2
= wxString_in_helper(_obj2
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) return NULL
;
9416 } Py_INCREF(Py_None
);
9417 _resultobj
= Py_None
;
9425 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9426 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
* _resultobj
;
9428 wxMimeTypesManager
* _arg0
;
9429 PyObject
* _argo0
= 0;
9430 char *_kwnames
[] = { "self", NULL
};
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 wxMimeTypesManager_ClearData(_arg0
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) return NULL
;
9448 } Py_INCREF(Py_None
);
9449 _resultobj
= Py_None
;
9453 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9454 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9456 wxFileType
* _result
;
9457 wxMimeTypesManager
* _arg0
;
9459 PyObject
* _argo0
= 0;
9460 PyObject
* _obj1
= 0;
9461 char *_kwnames
[] = { "self","ext", NULL
};
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9475 _arg1
= wxString_in_helper(_obj1
);
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) return NULL
;
9486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9487 _resultobj
= Py_BuildValue("s",_ptemp
);
9490 _resultobj
= Py_None
;
9499 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9500 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
* _resultobj
;
9502 wxFileType
* _result
;
9503 wxMimeTypesManager
* _arg0
;
9505 PyObject
* _argo0
= 0;
9506 PyObject
* _obj1
= 0;
9507 char *_kwnames
[] = { "self","mimeType", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9521 _arg1
= wxString_in_helper(_obj1
);
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) return NULL
;
9532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9533 _resultobj
= Py_BuildValue("s",_ptemp
);
9536 _resultobj
= Py_None
;
9545 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9546 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
* _resultobj
;
9549 wxMimeTypesManager
* _arg0
;
9551 bool _arg2
= (bool ) FALSE
;
9552 PyObject
* _argo0
= 0;
9553 PyObject
* _obj1
= 0;
9554 int tempbool2
= (int) FALSE
;
9555 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9568 _arg1
= wxString_in_helper(_obj1
);
9572 _arg2
= (bool ) tempbool2
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) return NULL
;
9579 } _resultobj
= Py_BuildValue("i",_result
);
9587 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9588 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
* _resultobj
;
9591 wxMimeTypesManager
* _arg0
;
9593 PyObject
* _argo0
= 0;
9594 PyObject
* _obj1
= 0;
9595 char *_kwnames
[] = { "self","filename", NULL
};
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9608 _arg1
= wxString_in_helper(_obj1
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) return NULL
;
9618 } _resultobj
= Py_BuildValue("i",_result
);
9626 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9628 self
->EnumAllFileTypes(arr
);
9629 return wxArrayString2PyList_helper(arr
);
9631 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
* _resultobj
;
9634 wxMimeTypesManager
* _arg0
;
9635 PyObject
* _argo0
= 0;
9636 char *_kwnames
[] = { "self", NULL
};
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) return NULL
;
9655 _resultobj
= _result
;
9660 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9661 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
* _resultobj
;
9663 wxMimeTypesManager
* _arg0
;
9664 wxFileTypeInfo
* _arg1
;
9665 PyObject
* _argo0
= 0;
9666 PyObject
* _argo1
= 0;
9667 char *_kwnames
[] = { "self","ft", NULL
};
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9680 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) return NULL
;
9691 } Py_INCREF(Py_None
);
9692 _resultobj
= Py_None
;
9696 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9697 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
* _resultobj
;
9699 wxFileType
* _result
;
9700 wxMimeTypesManager
* _arg0
;
9701 wxFileTypeInfo
* _arg1
;
9702 PyObject
* _argo0
= 0;
9703 PyObject
* _argo1
= 0;
9704 char *_kwnames
[] = { "self","ftInfo", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9718 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) return NULL
;
9730 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9731 _resultobj
= Py_BuildValue("s",_ptemp
);
9734 _resultobj
= Py_None
;
9739 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9740 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
* _resultobj
;
9743 wxMimeTypesManager
* _arg0
;
9745 PyObject
* _argo0
= 0;
9746 PyObject
* _argo1
= 0;
9747 char *_kwnames
[] = { "self","ft", NULL
};
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) return NULL
;
9772 } _resultobj
= Py_BuildValue("i",_result
);
9776 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9777 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
* _resultobj
;
9779 wxMimeTypesManager
* _arg0
;
9780 PyObject
* _argo0
= 0;
9781 char *_kwnames
[] = { "self", NULL
};
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 delete_wxMimeTypesManager(_arg0
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) return NULL
;
9799 } Py_INCREF(Py_None
);
9800 _resultobj
= Py_None
;
9804 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9805 wxPyArtProvider
*src
;
9807 src
= (wxPyArtProvider
*) ptr
;
9808 dest
= (wxObject
*) src
;
9809 return (void *) dest
;
9812 #define new_wxArtProvider() (new wxPyArtProvider())
9813 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
* _resultobj
;
9815 wxPyArtProvider
* _result
;
9816 char *_kwnames
[] = { NULL
};
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) return NULL
;
9829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9830 _resultobj
= Py_BuildValue("s",_ptemp
);
9833 _resultobj
= Py_None
;
9838 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9839 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
* _resultobj
;
9841 wxPyArtProvider
* _arg0
;
9844 PyObject
* _argo0
= 0;
9845 PyObject
* _obj1
= 0;
9846 PyObject
* _obj2
= 0;
9847 char *_kwnames
[] = { "self","self","_class", NULL
};
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) return NULL
;
9871 } Py_INCREF(Py_None
);
9872 _resultobj
= Py_None
;
9876 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
* _resultobj
;
9878 wxPyArtProvider
* _arg0
;
9879 PyObject
* _argo0
= 0;
9880 char *_kwnames
[] = { "provider", NULL
};
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxPyArtProvider::PushProvider(_arg0
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) return NULL
;
9898 } Py_INCREF(Py_None
);
9899 _resultobj
= Py_None
;
9903 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
* _resultobj
;
9906 char *_kwnames
[] = { NULL
};
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 _result
= (bool )wxPyArtProvider::PopProvider();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) return NULL
;
9917 } _resultobj
= Py_BuildValue("i",_result
);
9921 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
* _resultobj
;
9924 wxPyArtProvider
* _arg0
;
9925 PyObject
* _argo0
= 0;
9926 char *_kwnames
[] = { "provider", NULL
};
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) return NULL
;
9944 } _resultobj
= Py_BuildValue("i",_result
);
9948 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
* _resultobj
;
9952 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9953 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9954 PyObject
* _obj0
= 0;
9955 PyObject
* _obj1
= 0;
9957 PyObject
* _obj2
= 0;
9958 char *_kwnames
[] = { "id","client","size", NULL
};
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9965 _arg0
= wxString_in_helper(_obj0
);
9971 _arg1
= wxString_in_helper(_obj1
);
9978 if (! wxSize_helper(_obj2
, &_arg2
))
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) return NULL
;
9987 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9988 _resultobj
= Py_BuildValue("s",_ptemp
);
10000 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
* _resultobj
;
10004 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10005 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10006 PyObject
* _obj0
= 0;
10007 PyObject
* _obj1
= 0;
10009 PyObject
* _obj2
= 0;
10010 char *_kwnames
[] = { "id","client","size", NULL
};
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10017 _arg0
= wxString_in_helper(_obj0
);
10023 _arg1
= wxString_in_helper(_obj1
);
10030 if (! wxSize_helper(_obj2
, &_arg2
))
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) return NULL
;
10039 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
10040 _resultobj
= Py_BuildValue("s",_ptemp
);
10052 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10053 wxFileHistory
*src
;
10055 src
= (wxFileHistory
*) ptr
;
10056 dest
= (wxObject
*) src
;
10057 return (void *) dest
;
10060 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10061 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
* _resultobj
;
10063 wxFileHistory
* _result
;
10064 int _arg0
= (int ) 9;
10065 char *_kwnames
[] = { "maxFiles", NULL
};
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) return NULL
;
10078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10079 _resultobj
= Py_BuildValue("s",_ptemp
);
10081 Py_INCREF(Py_None
);
10082 _resultobj
= Py_None
;
10087 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10088 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
* _resultobj
;
10090 wxFileHistory
* _arg0
;
10091 PyObject
* _argo0
= 0;
10092 char *_kwnames
[] = { "self", NULL
};
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 delete_wxFileHistory(_arg0
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) return NULL
;
10110 } Py_INCREF(Py_None
);
10111 _resultobj
= Py_None
;
10115 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10116 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
* _resultobj
;
10118 wxFileHistory
* _arg0
;
10120 PyObject
* _argo0
= 0;
10121 PyObject
* _obj1
= 0;
10122 char *_kwnames
[] = { "self","file", NULL
};
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10135 _arg1
= wxString_in_helper(_obj1
);
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) return NULL
;
10145 } Py_INCREF(Py_None
);
10146 _resultobj
= Py_None
;
10154 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10155 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
* _resultobj
;
10157 wxFileHistory
* _arg0
;
10159 PyObject
* _argo0
= 0;
10160 char *_kwnames
[] = { "self","i", NULL
};
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) return NULL
;
10178 } Py_INCREF(Py_None
);
10179 _resultobj
= Py_None
;
10183 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10184 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
* _resultobj
;
10187 wxFileHistory
* _arg0
;
10188 PyObject
* _argo0
= 0;
10189 char *_kwnames
[] = { "self", NULL
};
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) return NULL
;
10207 } _resultobj
= Py_BuildValue("i",_result
);
10211 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10212 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
* _resultobj
;
10214 wxFileHistory
* _arg0
;
10216 PyObject
* _argo0
= 0;
10217 PyObject
* _argo1
= 0;
10218 char *_kwnames
[] = { "self","menu", NULL
};
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 wxFileHistory_UseMenu(_arg0
,_arg1
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) return NULL
;
10243 } Py_INCREF(Py_None
);
10244 _resultobj
= Py_None
;
10248 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10249 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
* _resultobj
;
10251 wxFileHistory
* _arg0
;
10253 PyObject
* _argo0
= 0;
10254 PyObject
* _argo1
= 0;
10255 char *_kwnames
[] = { "self","menu", NULL
};
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) return NULL
;
10280 } Py_INCREF(Py_None
);
10281 _resultobj
= Py_None
;
10285 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10286 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
* _resultobj
;
10288 wxFileHistory
* _arg0
;
10289 wxConfigBase
* _arg1
;
10290 PyObject
* _argo0
= 0;
10291 PyObject
* _argo1
= 0;
10292 char *_kwnames
[] = { "self","config", NULL
};
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10305 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 wxFileHistory_Load(_arg0
,*_arg1
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) return NULL
;
10316 } Py_INCREF(Py_None
);
10317 _resultobj
= Py_None
;
10321 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10322 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
* _resultobj
;
10324 wxFileHistory
* _arg0
;
10325 wxConfigBase
* _arg1
;
10326 PyObject
* _argo0
= 0;
10327 PyObject
* _argo1
= 0;
10328 char *_kwnames
[] = { "self","config", NULL
};
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10341 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 wxFileHistory_Save(_arg0
,*_arg1
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) return NULL
;
10352 } Py_INCREF(Py_None
);
10353 _resultobj
= Py_None
;
10357 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10358 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
* _resultobj
;
10360 wxFileHistory
* _arg0
;
10361 PyObject
* _argo0
= 0;
10362 char *_kwnames
[] = { "self", NULL
};
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 wxFileHistory_AddFilesToMenu(_arg0
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) return NULL
;
10380 } Py_INCREF(Py_None
);
10381 _resultobj
= Py_None
;
10385 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10386 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
* _resultobj
;
10388 wxFileHistory
* _arg0
;
10390 PyObject
* _argo0
= 0;
10391 PyObject
* _argo1
= 0;
10392 char *_kwnames
[] = { "self","menu", NULL
};
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10405 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10406 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) return NULL
;
10417 } Py_INCREF(Py_None
);
10418 _resultobj
= Py_None
;
10422 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10423 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
* _resultobj
;
10425 wxString
* _result
;
10426 wxFileHistory
* _arg0
;
10428 PyObject
* _argo0
= 0;
10429 char *_kwnames
[] = { "self","i", NULL
};
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) return NULL
;
10449 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10451 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10460 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10461 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
* _resultobj
;
10464 wxFileHistory
* _arg0
;
10465 PyObject
* _argo0
= 0;
10466 char *_kwnames
[] = { "self", NULL
};
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 _result
= (int )wxFileHistory_GetCount(_arg0
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) return NULL
;
10484 } _resultobj
= Py_BuildValue("i",_result
);
10488 static void *SwigwxEffectsTowxObject(void *ptr
) {
10491 src
= (wxEffects
*) ptr
;
10492 dest
= (wxObject
*) src
;
10493 return (void *) dest
;
10496 #define new_wxEffects() (new wxEffects())
10497 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
* _resultobj
;
10499 wxEffects
* _result
;
10500 char *_kwnames
[] = { NULL
};
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 _result
= (wxEffects
*)new_wxEffects();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) return NULL
;
10513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10514 _resultobj
= Py_BuildValue("s",_ptemp
);
10516 Py_INCREF(Py_None
);
10517 _resultobj
= Py_None
;
10522 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10523 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
* _resultobj
;
10525 wxColour
* _result
;
10527 PyObject
* _argo0
= 0;
10528 char *_kwnames
[] = { "self", NULL
};
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) return NULL
;
10547 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10548 _resultobj
= Py_BuildValue("s",_ptemp
);
10552 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10553 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
* _resultobj
;
10555 wxColour
* _result
;
10557 PyObject
* _argo0
= 0;
10558 char *_kwnames
[] = { "self", NULL
};
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) return NULL
;
10577 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10578 _resultobj
= Py_BuildValue("s",_ptemp
);
10582 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10583 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
* _resultobj
;
10585 wxColour
* _result
;
10587 PyObject
* _argo0
= 0;
10588 char *_kwnames
[] = { "self", NULL
};
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) return NULL
;
10607 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10608 _resultobj
= Py_BuildValue("s",_ptemp
);
10612 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10613 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
* _resultobj
;
10615 wxColour
* _result
;
10617 PyObject
* _argo0
= 0;
10618 char *_kwnames
[] = { "self", NULL
};
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) return NULL
;
10637 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10638 _resultobj
= Py_BuildValue("s",_ptemp
);
10642 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10643 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
* _resultobj
;
10645 wxColour
* _result
;
10647 PyObject
* _argo0
= 0;
10648 char *_kwnames
[] = { "self", NULL
};
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) return NULL
;
10667 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10668 _resultobj
= Py_BuildValue("s",_ptemp
);
10672 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10673 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
* _resultobj
;
10677 PyObject
* _argo0
= 0;
10679 PyObject
* _obj1
= 0;
10680 char *_kwnames
[] = { "self","c", NULL
};
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10694 if (! wxColour_helper(_obj1
, &_arg1
))
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) return NULL
;
10703 } Py_INCREF(Py_None
);
10704 _resultobj
= Py_None
;
10708 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10709 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
* _resultobj
;
10713 PyObject
* _argo0
= 0;
10715 PyObject
* _obj1
= 0;
10716 char *_kwnames
[] = { "self","c", NULL
};
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10730 if (! wxColour_helper(_obj1
, &_arg1
))
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) return NULL
;
10739 } Py_INCREF(Py_None
);
10740 _resultobj
= Py_None
;
10744 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10745 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
* _resultobj
;
10749 PyObject
* _argo0
= 0;
10751 PyObject
* _obj1
= 0;
10752 char *_kwnames
[] = { "self","c", NULL
};
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10766 if (! wxColour_helper(_obj1
, &_arg1
))
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) return NULL
;
10775 } Py_INCREF(Py_None
);
10776 _resultobj
= Py_None
;
10780 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10781 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
* _resultobj
;
10785 PyObject
* _argo0
= 0;
10787 PyObject
* _obj1
= 0;
10788 char *_kwnames
[] = { "self","c", NULL
};
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10802 if (! wxColour_helper(_obj1
, &_arg1
))
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) return NULL
;
10811 } Py_INCREF(Py_None
);
10812 _resultobj
= Py_None
;
10816 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10817 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
* _resultobj
;
10821 PyObject
* _argo0
= 0;
10823 PyObject
* _obj1
= 0;
10824 char *_kwnames
[] = { "self","c", NULL
};
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10838 if (! wxColour_helper(_obj1
, &_arg1
))
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) return NULL
;
10847 } Py_INCREF(Py_None
);
10848 _resultobj
= Py_None
;
10852 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10853 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
* _resultobj
;
10861 PyObject
* _argo0
= 0;
10863 PyObject
* _obj1
= 0;
10865 PyObject
* _obj2
= 0;
10867 PyObject
* _obj3
= 0;
10869 PyObject
* _obj4
= 0;
10871 PyObject
* _obj5
= 0;
10872 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10886 if (! wxColour_helper(_obj1
, &_arg1
))
10891 if (! wxColour_helper(_obj2
, &_arg2
))
10896 if (! wxColour_helper(_obj3
, &_arg3
))
10901 if (! wxColour_helper(_obj4
, &_arg4
))
10906 if (! wxColour_helper(_obj5
, &_arg5
))
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) return NULL
;
10915 } Py_INCREF(Py_None
);
10916 _resultobj
= Py_None
;
10920 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10921 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
* _resultobj
;
10926 int _arg3
= (int ) 1;
10927 PyObject
* _argo0
= 0;
10928 PyObject
* _argo1
= 0;
10930 PyObject
* _obj2
= 0;
10931 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10944 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10951 if (! wxRect_helper(_obj2
, &_arg2
))
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) return NULL
;
10960 } Py_INCREF(Py_None
);
10961 _resultobj
= Py_None
;
10965 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10966 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
* _resultobj
;
10973 PyObject
* _argo0
= 0;
10975 PyObject
* _obj1
= 0;
10976 PyObject
* _argo2
= 0;
10977 PyObject
* _argo3
= 0;
10978 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
10984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10992 if (! wxRect_helper(_obj1
, &_arg1
))
10996 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
11002 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) return NULL
;
11013 } _resultobj
= Py_BuildValue("i",_result
);
11017 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11018 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
* _resultobj
;
11020 wxSingleInstanceChecker
* _result
;
11022 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11023 PyObject
* _obj0
= 0;
11024 PyObject
* _obj1
= 0;
11025 char *_kwnames
[] = { "name","path", NULL
};
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11032 _arg0
= wxString_in_helper(_obj0
);
11038 _arg1
= wxString_in_helper(_obj1
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) return NULL
;
11049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11050 _resultobj
= Py_BuildValue("s",_ptemp
);
11052 Py_INCREF(Py_None
);
11053 _resultobj
= Py_None
;
11066 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11067 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
* _resultobj
;
11069 wxSingleInstanceChecker
* _result
;
11070 char *_kwnames
[] = { NULL
};
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) return NULL
;
11083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11084 _resultobj
= Py_BuildValue("s",_ptemp
);
11086 Py_INCREF(Py_None
);
11087 _resultobj
= Py_None
;
11092 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11093 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
* _resultobj
;
11095 wxSingleInstanceChecker
* _arg0
;
11096 PyObject
* _argo0
= 0;
11097 char *_kwnames
[] = { "self", NULL
};
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 delete_wxSingleInstanceChecker(_arg0
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) return NULL
;
11115 } Py_INCREF(Py_None
);
11116 _resultobj
= Py_None
;
11120 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11121 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
* _resultobj
;
11124 wxSingleInstanceChecker
* _arg0
;
11126 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11127 PyObject
* _argo0
= 0;
11128 PyObject
* _obj1
= 0;
11129 PyObject
* _obj2
= 0;
11130 char *_kwnames
[] = { "self","name","path", NULL
};
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11143 _arg1
= wxString_in_helper(_obj1
);
11149 _arg2
= wxString_in_helper(_obj2
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) return NULL
;
11159 } _resultobj
= Py_BuildValue("i",_result
);
11171 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11172 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
* _resultobj
;
11175 wxSingleInstanceChecker
* _arg0
;
11176 PyObject
* _argo0
= 0;
11177 char *_kwnames
[] = { "self", NULL
};
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) return NULL
;
11195 } _resultobj
= Py_BuildValue("i",_result
);
11199 static PyMethodDef misc2cMethods
[] = {
11200 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxSystemOptions_HasOption", (PyCFunction
) _wrap_wxSystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxSystemOptions_GetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxSystemOptions_GetOption", (PyCFunction
) _wrap_wxSystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxSystemOptions_SetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxSystemOptions_SetOption", (PyCFunction
) _wrap_wxSystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "new_wxSystemOptions", (PyCFunction
) _wrap_new_wxSystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11531 * This table is used by the pointer type-checker
11533 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11534 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11535 { "_signed_long","_long",0},
11536 { "_wxPrintQuality","_wxCoord",0},
11537 { "_wxPrintQuality","_int",0},
11538 { "_wxPrintQuality","_signed_int",0},
11539 { "_wxPrintQuality","_unsigned_int",0},
11540 { "_wxPrintQuality","_wxWindowID",0},
11541 { "_wxPrintQuality","_uint",0},
11542 { "_wxPrintQuality","_EBool",0},
11543 { "_wxPrintQuality","_size_t",0},
11544 { "_wxPrintQuality","_time_t",0},
11545 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11546 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11547 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11548 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11549 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11550 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11551 { "_byte","_unsigned_char",0},
11552 { "_long","_unsigned_long",0},
11553 { "_long","_signed_long",0},
11554 { "_size_t","_wxCoord",0},
11555 { "_size_t","_wxPrintQuality",0},
11556 { "_size_t","_time_t",0},
11557 { "_size_t","_unsigned_int",0},
11558 { "_size_t","_int",0},
11559 { "_size_t","_wxWindowID",0},
11560 { "_size_t","_uint",0},
11561 { "_uint","_wxCoord",0},
11562 { "_uint","_wxPrintQuality",0},
11563 { "_uint","_time_t",0},
11564 { "_uint","_size_t",0},
11565 { "_uint","_unsigned_int",0},
11566 { "_uint","_int",0},
11567 { "_uint","_wxWindowID",0},
11568 { "_wxChar","_char",0},
11569 { "_char","_wxChar",0},
11570 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11571 { "_EBool","_wxCoord",0},
11572 { "_EBool","_wxPrintQuality",0},
11573 { "_EBool","_signed_int",0},
11574 { "_EBool","_int",0},
11575 { "_EBool","_wxWindowID",0},
11576 { "_unsigned_long","_long",0},
11577 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11578 { "_signed_int","_wxCoord",0},
11579 { "_signed_int","_wxPrintQuality",0},
11580 { "_signed_int","_EBool",0},
11581 { "_signed_int","_wxWindowID",0},
11582 { "_signed_int","_int",0},
11583 { "_WXTYPE","_wxDateTime_t",0},
11584 { "_WXTYPE","_short",0},
11585 { "_WXTYPE","_signed_short",0},
11586 { "_WXTYPE","_unsigned_short",0},
11587 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11588 { "_unsigned_short","_wxDateTime_t",0},
11589 { "_unsigned_short","_WXTYPE",0},
11590 { "_unsigned_short","_short",0},
11591 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11592 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11593 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11594 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11595 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11596 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11597 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11598 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11599 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11600 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11601 { "_wxObject","_wxSystemOptions",SwigwxSystemOptionsTowxObject
},
11602 { "_signed_short","_WXTYPE",0},
11603 { "_signed_short","_short",0},
11604 { "_unsigned_char","_byte",0},
11605 { "_unsigned_int","_wxCoord",0},
11606 { "_unsigned_int","_wxPrintQuality",0},
11607 { "_unsigned_int","_time_t",0},
11608 { "_unsigned_int","_size_t",0},
11609 { "_unsigned_int","_uint",0},
11610 { "_unsigned_int","_wxWindowID",0},
11611 { "_unsigned_int","_int",0},
11612 { "_short","_wxDateTime_t",0},
11613 { "_short","_WXTYPE",0},
11614 { "_short","_unsigned_short",0},
11615 { "_short","_signed_short",0},
11616 { "_wxWindowID","_wxCoord",0},
11617 { "_wxWindowID","_wxPrintQuality",0},
11618 { "_wxWindowID","_time_t",0},
11619 { "_wxWindowID","_size_t",0},
11620 { "_wxWindowID","_EBool",0},
11621 { "_wxWindowID","_uint",0},
11622 { "_wxWindowID","_int",0},
11623 { "_wxWindowID","_signed_int",0},
11624 { "_wxWindowID","_unsigned_int",0},
11625 { "_int","_wxCoord",0},
11626 { "_int","_wxPrintQuality",0},
11627 { "_int","_time_t",0},
11628 { "_int","_size_t",0},
11629 { "_int","_EBool",0},
11630 { "_int","_uint",0},
11631 { "_int","_wxWindowID",0},
11632 { "_int","_unsigned_int",0},
11633 { "_int","_signed_int",0},
11634 { "_wxDateTime_t","_unsigned_short",0},
11635 { "_wxDateTime_t","_short",0},
11636 { "_wxDateTime_t","_WXTYPE",0},
11637 { "_time_t","_wxCoord",0},
11638 { "_time_t","_wxPrintQuality",0},
11639 { "_time_t","_unsigned_int",0},
11640 { "_time_t","_int",0},
11641 { "_time_t","_wxWindowID",0},
11642 { "_time_t","_uint",0},
11643 { "_time_t","_size_t",0},
11644 { "_wxCoord","_int",0},
11645 { "_wxCoord","_signed_int",0},
11646 { "_wxCoord","_unsigned_int",0},
11647 { "_wxCoord","_wxWindowID",0},
11648 { "_wxCoord","_uint",0},
11649 { "_wxCoord","_EBool",0},
11650 { "_wxCoord","_size_t",0},
11651 { "_wxCoord","_time_t",0},
11652 { "_wxCoord","_wxPrintQuality",0},
11653 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11656 static PyObject
*SWIG_globals
;
11660 SWIGEXPORT(void) initmisc2c() {
11662 SWIG_globals
= SWIG_newvarlink();
11663 m
= Py_InitModule("misc2c", misc2cMethods
);
11664 d
= PyModule_GetDict(m
);
11665 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11666 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11667 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11668 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11669 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11670 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11671 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11672 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11673 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11674 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11675 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11676 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11677 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11678 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11679 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11680 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11681 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11682 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11683 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11684 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11685 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11686 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11687 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11688 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11689 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11690 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11691 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11692 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11693 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11694 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11695 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11696 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11697 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11698 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11699 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11700 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11701 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11702 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11703 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11704 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11705 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11706 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11707 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11708 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11709 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11710 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11711 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11712 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11713 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11714 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11715 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11716 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11717 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11718 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11719 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11720 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11721 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11722 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11723 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11724 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11725 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11726 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11727 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11728 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11729 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11730 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11731 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11732 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11733 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11734 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11735 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11736 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11737 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11738 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11739 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11740 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11741 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11742 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11743 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11744 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11745 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11746 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11747 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11748 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11749 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11750 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11751 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11752 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11753 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11754 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11755 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11756 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11757 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11758 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11759 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11760 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11761 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11762 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11763 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11764 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11765 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11766 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11767 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11768 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11769 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11770 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11771 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11772 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11773 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11774 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11775 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11776 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11777 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11778 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11779 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11780 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11781 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11782 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11783 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11784 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11785 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11786 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11787 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11788 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11789 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11790 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11791 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11792 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11793 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11794 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11795 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11796 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11797 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11798 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11799 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11800 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11801 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11802 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11803 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11804 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11805 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11806 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11807 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11808 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11809 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11810 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11811 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11812 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11813 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11815 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11816 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11817 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11821 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11822 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);