2 * FILE : src/mac/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>
320 #include <wx/msw/private.h>
324 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
)
327 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
328 // ::SendMessage(GetHwndOf(window), WM_PRINTCLIENT, (long)GetHdcOf(dc),
329 // PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN );
336 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
339 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
340 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
341 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
342 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
343 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
344 int _arg5
= (int ) 0;
345 wxWindow
* _arg6
= (wxWindow
*) NULL
;
346 int _arg7
= (int ) -1;
347 int _arg8
= (int ) -1;
348 PyObject
* _obj0
= 0;
349 PyObject
* _obj1
= 0;
350 PyObject
* _obj2
= 0;
351 PyObject
* _obj3
= 0;
352 PyObject
* _obj4
= 0;
353 PyObject
* _argo6
= 0;
354 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
361 _arg0
= wxString_in_helper(_obj0
);
367 _arg1
= wxString_in_helper(_obj1
);
373 _arg2
= wxString_in_helper(_obj2
);
379 _arg3
= wxString_in_helper(_obj3
);
385 _arg4
= wxString_in_helper(_obj4
);
390 if (_argo6
== Py_None
) { _arg6
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
398 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
400 wxPyEndAllowThreads(__tstate
);
401 if (PyErr_Occurred()) return NULL
;
404 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
406 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
435 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
440 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
441 wxWindow
* _arg3
= (wxWindow
*) NULL
;
442 PyObject
* _obj0
= 0;
443 PyObject
* _obj1
= 0;
444 PyObject
* _obj2
= 0;
445 PyObject
* _argo3
= 0;
446 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
452 _arg0
= wxString_in_helper(_obj0
);
457 _arg1
= wxString_in_helper(_obj1
);
463 _arg2
= wxString_in_helper(_obj2
);
468 if (_argo3
== Py_None
) { _arg3
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
482 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
484 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
505 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
510 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
511 wxWindow
* _arg3
= (wxWindow
*) NULL
;
512 PyObject
* _obj0
= 0;
513 PyObject
* _obj1
= 0;
514 PyObject
* _obj2
= 0;
515 PyObject
* _argo3
= 0;
516 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
522 _arg0
= wxString_in_helper(_obj0
);
527 _arg1
= wxString_in_helper(_obj1
);
533 _arg2
= wxString_in_helper(_obj2
);
538 if (_argo3
== Py_None
) { _arg3
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
546 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
548 wxPyEndAllowThreads(__tstate
);
549 if (PyErr_Occurred()) return NULL
;
552 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
554 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
575 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
578 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
579 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
580 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
581 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
582 wxWindow
* _arg4
= (wxWindow
*) NULL
;
583 PyObject
* _obj0
= 0;
584 PyObject
* _obj1
= 0;
586 PyObject
* _obj3
= 0;
587 PyObject
* _argo4
= 0;
588 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
595 _arg0
= wxString_in_helper(_obj0
);
601 _arg1
= wxString_in_helper(_obj1
);
608 if (! wxPoint_helper(_obj3
, &_arg3
))
612 if (_argo4
== Py_None
) { _arg4
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
626 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
628 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
645 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
646 PyObject
* _resultobj
;
649 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
650 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
651 wxWindow
* _arg3
= (wxWindow
*) NULL
;
652 int _arg4
= (int ) -1;
653 int _arg5
= (int ) -1;
654 bool _arg6
= (bool ) TRUE
;
655 PyObject
* _obj0
= 0;
656 PyObject
* _obj1
= 0;
657 PyObject
* _obj2
= 0;
658 PyObject
* _argo3
= 0;
659 int tempbool6
= (int) TRUE
;
660 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
666 _arg0
= wxString_in_helper(_obj0
);
672 _arg1
= wxString_in_helper(_obj1
);
678 _arg2
= wxString_in_helper(_obj2
);
683 if (_argo3
== Py_None
) { _arg3
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
689 _arg6
= (bool ) tempbool6
;
691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
692 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
694 wxPyEndAllowThreads(__tstate
);
695 if (PyErr_Occurred()) return NULL
;
698 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
700 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
721 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
725 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
726 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
727 wxWindow
* _arg3
= (wxWindow
*) NULL
;
728 PyObject
* _obj0
= 0;
729 PyObject
* _obj1
= 0;
730 PyObject
* _obj2
= 0;
731 PyObject
* _argo3
= 0;
732 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
738 _arg0
= wxString_in_helper(_obj0
);
744 _arg1
= wxString_in_helper(_obj1
);
750 _arg2
= wxString_in_helper(_obj2
);
755 if (_argo3
== Py_None
) { _arg3
= NULL
; }
756 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
769 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
771 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
792 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
799 wxWindow
* _arg4
= (wxWindow
*) NULL
;
800 int _arg5
= (int ) -1;
801 int _arg6
= (int ) -1;
802 bool _arg7
= (bool ) TRUE
;
803 int _arg8
= (int ) 150;
804 int _arg9
= (int ) 200;
805 PyObject
* _obj0
= 0;
806 PyObject
* _obj1
= 0;
807 PyObject
* _obj3
= 0;
808 PyObject
* _argo4
= 0;
809 int tempbool7
= (int) TRUE
;
810 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
816 _arg0
= wxString_in_helper(_obj0
);
821 _arg1
= wxString_in_helper(_obj1
);
827 _arg3
= wxString_LIST_helper(_obj3
);
833 if (_argo4
== Py_None
) { _arg4
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
839 _arg7
= (bool ) tempbool7
;
842 _arg2
= PyList_Size(_obj3
);
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) return NULL
;
856 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
858 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
878 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 PyObject
* _resultobj
;
885 wxWindow
* _arg4
= (wxWindow
*) NULL
;
886 int _arg5
= (int ) -1;
887 int _arg6
= (int ) -1;
888 bool _arg7
= (bool ) TRUE
;
889 int _arg8
= (int ) 150;
890 int _arg9
= (int ) 200;
891 PyObject
* _obj0
= 0;
892 PyObject
* _obj1
= 0;
893 PyObject
* _obj3
= 0;
894 PyObject
* _argo4
= 0;
895 int tempbool7
= (int) TRUE
;
896 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
902 _arg0
= wxString_in_helper(_obj0
);
907 _arg1
= wxString_in_helper(_obj1
);
913 _arg3
= wxString_LIST_helper(_obj3
);
919 if (_argo4
== Py_None
) { _arg4
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
925 _arg7
= (bool ) tempbool7
;
928 _arg2
= PyList_Size(_obj3
);
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) return NULL
;
940 } _resultobj
= Py_BuildValue("i",_result
);
955 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
959 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
960 int _arg2
= (int ) wxOK
|wxCENTRE
;
961 wxWindow
* _arg3
= (wxWindow
*) NULL
;
962 int _arg4
= (int ) -1;
963 int _arg5
= (int ) -1;
964 PyObject
* _obj0
= 0;
965 PyObject
* _obj1
= 0;
966 PyObject
* _argo3
= 0;
967 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
973 _arg0
= wxString_in_helper(_obj0
);
979 _arg1
= wxString_in_helper(_obj1
);
984 if (_argo3
== Py_None
) { _arg3
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 } _resultobj
= Py_BuildValue("i",_result
);
1008 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1015 long _arg4
= (long ) 0;
1016 long _arg5
= (long ) 100;
1017 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1018 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1019 PyObject
* _obj0
= 0;
1020 PyObject
* _obj1
= 0;
1021 PyObject
* _obj2
= 0;
1022 PyObject
* _argo6
= 0;
1024 PyObject
* _obj7
= 0;
1025 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1031 _arg0
= wxString_in_helper(_obj0
);
1036 _arg1
= wxString_in_helper(_obj1
);
1041 _arg2
= wxString_in_helper(_obj2
);
1046 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1055 if (! wxPoint_helper(_obj7
, &_arg7
))
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) return NULL
;
1064 } _resultobj
= Py_BuildValue("l",_result
);
1080 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1083 char *_kwnames
[] = { NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1090 _result
= (bool )wxColourDisplay();
1092 wxPyEndAllowThreads(__tstate
);
1093 if (PyErr_Occurred()) return NULL
;
1094 } _resultobj
= Py_BuildValue("i",_result
);
1098 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 char *_kwnames
[] = { NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1108 _result
= (int )wxDisplayDepth();
1110 wxPyEndAllowThreads(__tstate
);
1111 if (PyErr_Occurred()) return NULL
;
1112 } _resultobj
= Py_BuildValue("i",_result
);
1116 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 char *_kwnames
[] = { NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= (int )wxGetDisplayDepth();
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } _resultobj
= Py_BuildValue("i",_result
);
1134 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1140 char *_kwnames
[] = { NULL
};
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 wxDisplaySize(_arg0
,_arg1
);
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) return NULL
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1161 o
= PyInt_FromLong((long) (*_arg0
));
1162 _resultobj
= t_output_helper(_resultobj
, o
);
1166 o
= PyInt_FromLong((long) (*_arg1
));
1167 _resultobj
= t_output_helper(_resultobj
, o
);
1172 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 char *_kwnames
[] = { NULL
};
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 _result
= new wxSize (wxGetDisplaySize());
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) return NULL
;
1187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1188 _resultobj
= Py_BuildValue("s",_ptemp
);
1192 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1198 char *_kwnames
[] = { NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1211 wxDisplaySizeMM(_arg0
,_arg1
);
1213 wxPyEndAllowThreads(__tstate
);
1214 if (PyErr_Occurred()) return NULL
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1219 o
= PyInt_FromLong((long) (*_arg0
));
1220 _resultobj
= t_output_helper(_resultobj
, o
);
1224 o
= PyInt_FromLong((long) (*_arg1
));
1225 _resultobj
= t_output_helper(_resultobj
, o
);
1230 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1233 char *_kwnames
[] = { NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1241 _result
= new wxSize (wxGetDisplaySizeMM());
1243 wxPyEndAllowThreads(__tstate
);
1244 if (PyErr_Occurred()) return NULL
;
1245 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1246 _resultobj
= Py_BuildValue("s",_ptemp
);
1250 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
* _resultobj
;
1260 char *_kwnames
[] = { NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) return NULL
;
1283 } Py_INCREF(Py_None
);
1284 _resultobj
= Py_None
;
1287 o
= PyInt_FromLong((long) (*_arg0
));
1288 _resultobj
= t_output_helper(_resultobj
, o
);
1292 o
= PyInt_FromLong((long) (*_arg1
));
1293 _resultobj
= t_output_helper(_resultobj
, o
);
1297 o
= PyInt_FromLong((long) (*_arg2
));
1298 _resultobj
= t_output_helper(_resultobj
, o
);
1302 o
= PyInt_FromLong((long) (*_arg3
));
1303 _resultobj
= t_output_helper(_resultobj
, o
);
1308 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1311 char *_kwnames
[] = { NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 _result
= new wxRect (wxGetClientDisplayRect());
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) return NULL
;
1323 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1324 _resultobj
= Py_BuildValue("s",_ptemp
);
1328 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1331 PyObject
* _argo0
= 0;
1332 char *_kwnames
[] = { "cursor", NULL
};
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1338 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 wxSetCursor(*_arg0
);
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) return NULL
;
1349 } Py_INCREF(Py_None
);
1350 _resultobj
= Py_None
;
1354 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1356 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1357 PyObject
* _argo0
= 0;
1358 char *_kwnames
[] = { "cursor", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 wxBeginBusyCursor(_arg0
);
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) return NULL
;
1376 } Py_INCREF(Py_None
);
1377 _resultobj
= Py_None
;
1381 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1384 char *_kwnames
[] = { NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 _result
= (wxWindow
*)wxGetActiveWindow();
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1399 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1404 PyObject
* _obj0
= 0;
1405 char *_kwnames
[] = { "pt", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1412 if (! wxPoint_helper(_obj0
, &_arg0
))
1416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1417 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1419 wxPyEndAllowThreads(__tstate
);
1420 if (PyErr_Occurred()) return NULL
;
1421 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1425 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
* _resultobj
;
1430 PyObject
* _obj0
= 0;
1431 char *_kwnames
[] = { "pt", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1438 if (! wxPoint_helper(_obj0
, &_arg0
))
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) return NULL
;
1447 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1451 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "win", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1474 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1478 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1481 char *_kwnames
[] = { NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 _result
= (int )wxCaret_GetBlinkTime();
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) return NULL
;
1492 } _resultobj
= Py_BuildValue("i",_result
);
1496 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1499 char *_kwnames
[] = { "milliseconds", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 wxCaret_SetBlinkTime(_arg0
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } Py_INCREF(Py_None
);
1511 _resultobj
= Py_None
;
1515 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1518 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1519 bool _arg1
= (bool ) FALSE
;
1520 PyObject
* _argo0
= 0;
1521 int tempbool1
= (int) FALSE
;
1522 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1534 _arg1
= (bool ) tempbool1
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } _resultobj
= Py_BuildValue("i",_result
);
1545 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1547 wxEvtHandler
* _arg0
;
1549 PyObject
* _argo0
= 0;
1550 PyObject
* _argo1
= 0;
1551 char *_kwnames
[] = { "dest","event", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1564 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 wxPostEvent(_arg0
,*_arg1
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) return NULL
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1582 char *_kwnames
[] = { NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) return NULL
;
1593 } Py_INCREF(Py_None
);
1594 _resultobj
= Py_None
;
1598 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1600 char *_kwnames
[] = { NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) return NULL
;
1611 } Py_INCREF(Py_None
);
1612 _resultobj
= Py_None
;
1616 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1618 char *_kwnames
[] = { NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) return NULL
;
1629 } Py_INCREF(Py_None
);
1630 _resultobj
= Py_None
;
1634 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1637 char *_kwnames
[] = { NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 _result
= (bool )wxThread_IsMain();
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) return NULL
;
1648 } _resultobj
= Py_BuildValue("i",_result
);
1652 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1656 wxTipProvider
* _arg1
;
1657 bool _arg2
= (bool ) TRUE
;
1658 PyObject
* _argo0
= 0;
1659 PyObject
* _argo1
= 0;
1660 int tempbool2
= (int) TRUE
;
1661 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1680 _arg2
= (bool ) tempbool2
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) return NULL
;
1687 } _resultobj
= Py_BuildValue("i",_result
);
1691 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1693 wxTipProvider
* _result
;
1696 PyObject
* _obj0
= 0;
1697 char *_kwnames
[] = { "filename","currentTip", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1704 _arg0
= wxString_in_helper(_obj0
);
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) return NULL
;
1715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1716 _resultobj
= Py_BuildValue("s",_ptemp
);
1719 _resultobj
= Py_None
;
1728 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1730 unsigned long _result
;
1731 char *_kwnames
[] = { NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 _result
= (unsigned long )wxSysErrorCode();
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) return NULL
;
1742 } _resultobj
= Py_BuildValue("l",_result
);
1746 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1749 unsigned long _arg0
= (unsigned long ) 0;
1750 char *_kwnames
[] = { "nErrCode", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 _result
= new wxString (wxSysErrorMsg(_arg0
));
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1763 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1765 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1774 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1777 PyObject
* _obj0
= 0;
1778 char *_kwnames
[] = { "msg", NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1784 _arg0
= wxString_in_helper(_obj0
);
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 wxLogFatalError(*_arg0
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) return NULL
;
1794 } Py_INCREF(Py_None
);
1795 _resultobj
= Py_None
;
1803 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1806 PyObject
* _obj0
= 0;
1807 char *_kwnames
[] = { "msg", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1813 _arg0
= wxString_in_helper(_obj0
);
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1832 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1835 PyObject
* _obj0
= 0;
1836 char *_kwnames
[] = { "msg", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1842 _arg0
= wxString_in_helper(_obj0
);
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 wxLogWarning(*_arg0
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) return NULL
;
1852 } Py_INCREF(Py_None
);
1853 _resultobj
= Py_None
;
1861 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1864 PyObject
* _obj0
= 0;
1865 char *_kwnames
[] = { "msg", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1871 _arg0
= wxString_in_helper(_obj0
);
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 wxLogMessage(*_arg0
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) return NULL
;
1881 } Py_INCREF(Py_None
);
1882 _resultobj
= Py_None
;
1890 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1893 PyObject
* _obj0
= 0;
1894 char *_kwnames
[] = { "msg", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1900 _arg0
= wxString_in_helper(_obj0
);
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1919 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1922 PyObject
* _obj0
= 0;
1923 char *_kwnames
[] = { "msg", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1929 _arg0
= wxString_in_helper(_obj0
);
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) return NULL
;
1939 } Py_INCREF(Py_None
);
1940 _resultobj
= Py_None
;
1948 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1951 PyObject
* _obj0
= 0;
1952 char *_kwnames
[] = { "msg", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1958 _arg0
= wxString_in_helper(_obj0
);
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 wxLogVerbose(*_arg0
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1977 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1980 PyObject
* _obj0
= 0;
1981 char *_kwnames
[] = { "msg", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
1987 _arg0
= wxString_in_helper(_obj0
);
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxLogStatus(*_arg0
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) return NULL
;
1997 } Py_INCREF(Py_None
);
1998 _resultobj
= Py_None
;
2006 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2010 PyObject
* _argo0
= 0;
2011 PyObject
* _obj1
= 0;
2012 char *_kwnames
[] = { "pFrame","msg", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2025 _arg1
= wxString_in_helper(_obj1
);
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 wxLogStatus(_arg0
,*_arg1
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) return NULL
;
2035 } Py_INCREF(Py_None
);
2036 _resultobj
= Py_None
;
2044 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2047 PyObject
* _obj0
= 0;
2048 char *_kwnames
[] = { "msg", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2054 _arg0
= wxString_in_helper(_obj0
);
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 wxLogSysError(*_arg0
);
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) return NULL
;
2064 } Py_INCREF(Py_None
);
2065 _resultobj
= Py_None
;
2073 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2076 PyObject
* _obj0
= 0;
2077 char *_kwnames
[] = { "msg", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2083 _arg0
= wxString_in_helper(_obj0
);
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) return NULL
;
2093 } Py_INCREF(Py_None
);
2094 _resultobj
= Py_None
;
2102 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2106 PyObject
* _obj0
= 0;
2107 PyObject
* _obj1
= 0;
2108 char *_kwnames
[] = { "mask","msg", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2114 _arg0
= wxString_in_helper(_obj0
);
2119 _arg1
= wxString_in_helper(_obj1
);
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 wxLogTrace(*_arg0
,*_arg1
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2142 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2144 unsigned long _arg0
;
2146 PyObject
* _obj1
= 0;
2147 char *_kwnames
[] = { "level","msg", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2153 _arg1
= wxString_in_helper(_obj1
);
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 wxLogGeneric(_arg0
,*_arg1
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2163 } Py_INCREF(Py_None
);
2164 _resultobj
= Py_None
;
2172 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2176 PyObject
* _obj0
= 0;
2177 PyObject
* _obj1
= 0;
2178 char *_kwnames
[] = { "title","text", NULL
};
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2184 _arg0
= wxString_in_helper(_obj0
);
2189 _arg1
= wxString_in_helper(_obj1
);
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 wxSafeShowMessage(*_arg0
,*_arg1
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) return NULL
;
2199 } Py_INCREF(Py_None
);
2200 _resultobj
= Py_None
;
2212 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2216 int _arg1
= (int ) (wxEXEC_ASYNC
);
2217 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2218 PyObject
* _obj0
= 0;
2219 PyObject
* _argo2
= 0;
2220 char *_kwnames
[] = { "command","flags","process", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2226 _arg0
= wxString_in_helper(_obj0
);
2231 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) return NULL
;
2243 } _resultobj
= Py_BuildValue("l",_result
);
2251 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2255 PyObject
* _obj0
= 0;
2256 char *_kwnames
[] = { "data", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2263 _arg0
= wxString_in_helper(_obj0
);
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 _result
= (wxWave
*)wxWaveData(*_arg0
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2275 _resultobj
= Py_BuildValue("s",_ptemp
);
2278 _resultobj
= Py_None
;
2287 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2289 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2293 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2297 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2298 pyobj
= PyString_FromString(ptemp
);
2302 static PyObject
*_wrap_wxDrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2306 PyObject
* _argo0
= 0;
2307 PyObject
* _argo1
= 0;
2308 char *_kwnames
[] = { "window","dc", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDrawWindowOnDC",_kwnames
,&_argo0
,&_argo1
))
2314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDrawWindowOnDC. Expected _wxWindow_p.");
2321 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDrawWindowOnDC. Expected _wxDC_p.");
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 wxDrawWindowOnDC(_arg0
,*_arg1
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) return NULL
;
2332 } Py_INCREF(Py_None
);
2333 _resultobj
= Py_None
;
2337 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2340 wxSystemColour _arg0
;
2341 char *_kwnames
[] = { "index", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) return NULL
;
2353 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2354 _resultobj
= Py_BuildValue("s",_ptemp
);
2358 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2362 char *_kwnames
[] = { "index", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) return NULL
;
2374 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2375 _resultobj
= Py_BuildValue("s",_ptemp
);
2379 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2382 wxSystemMetric _arg0
;
2383 char *_kwnames
[] = { "index", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) return NULL
;
2394 } _resultobj
= Py_BuildValue("i",_result
);
2398 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2401 wxSystemFeature _arg0
;
2402 char *_kwnames
[] = { "index", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) return NULL
;
2413 } _resultobj
= Py_BuildValue("i",_result
);
2417 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2419 wxSystemScreenType _result
;
2420 char *_kwnames
[] = { NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2431 } _resultobj
= Py_BuildValue("i",_result
);
2435 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2437 wxSystemScreenType _arg0
;
2438 char *_kwnames
[] = { "screen", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 wxSystemSettings::SetScreenType(_arg0
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) return NULL
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2454 static void *SwigwxSystemOptionsTowxObject(void *ptr
) {
2455 wxSystemOptions
*src
;
2457 src
= (wxSystemOptions
*) ptr
;
2458 dest
= (wxObject
*) src
;
2459 return (void *) dest
;
2462 #define new_wxSystemOptions() (new wxSystemOptions())
2463 static PyObject
*_wrap_new_wxSystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2465 wxSystemOptions
* _result
;
2466 char *_kwnames
[] = { NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSystemOptions",_kwnames
))
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 _result
= (wxSystemOptions
*)new_wxSystemOptions();
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) return NULL
;
2479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSystemOptions_p");
2480 _resultobj
= Py_BuildValue("s",_ptemp
);
2483 _resultobj
= Py_None
;
2488 static PyObject
*_wrap_wxSystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2492 PyObject
* _obj0
= 0;
2493 PyObject
* _obj1
= 0;
2494 char *_kwnames
[] = { "name","value", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSystemOptions_SetOption",_kwnames
,&_obj0
,&_obj1
))
2500 _arg0
= wxString_in_helper(_obj0
);
2505 _arg1
= wxString_in_helper(_obj1
);
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 wxSystemOptions::SetOption(*_arg0
,*_arg1
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) return NULL
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2528 static PyObject
*_wrap_wxSystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2532 PyObject
* _obj0
= 0;
2533 char *_kwnames
[] = { "name","value", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSystemOptions_SetOptionInt",_kwnames
,&_obj0
,&_arg1
))
2539 _arg0
= wxString_in_helper(_obj0
);
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 wxSystemOptions::SetOption(*_arg0
,_arg1
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) return NULL
;
2549 } Py_INCREF(Py_None
);
2550 _resultobj
= Py_None
;
2558 static PyObject
*_wrap_wxSystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2562 PyObject
* _obj0
= 0;
2563 char *_kwnames
[] = { "name", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOption",_kwnames
,&_obj0
))
2569 _arg0
= wxString_in_helper(_obj0
);
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 _result
= new wxString (wxSystemOptions::GetOption(*_arg0
));
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) return NULL
;
2581 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2583 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2596 static PyObject
*_wrap_wxSystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2600 PyObject
* _obj0
= 0;
2601 char *_kwnames
[] = { "name", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOptionInt",_kwnames
,&_obj0
))
2607 _arg0
= wxString_in_helper(_obj0
);
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 _result
= (int )wxSystemOptions::GetOptionInt(*_arg0
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) return NULL
;
2617 } _resultobj
= Py_BuildValue("i",_result
);
2625 static PyObject
*_wrap_wxSystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2629 PyObject
* _obj0
= 0;
2630 char *_kwnames
[] = { "name", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_HasOption",_kwnames
,&_obj0
))
2636 _arg0
= wxString_in_helper(_obj0
);
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 _result
= (bool )wxSystemOptions::HasOption(*_arg0
);
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) return NULL
;
2646 } _resultobj
= Py_BuildValue("i",_result
);
2654 static void *SwigwxToolTipTowxObject(void *ptr
) {
2657 src
= (wxToolTip
*) ptr
;
2658 dest
= (wxObject
*) src
;
2659 return (void *) dest
;
2662 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2663 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2665 wxToolTip
* _result
;
2667 PyObject
* _obj0
= 0;
2668 char *_kwnames
[] = { "tip", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2675 _arg0
= wxString_in_helper(_obj0
);
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) return NULL
;
2686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2687 _resultobj
= Py_BuildValue("s",_ptemp
);
2690 _resultobj
= Py_None
;
2699 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2700 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2704 PyObject
* _argo0
= 0;
2705 PyObject
* _obj1
= 0;
2706 char *_kwnames
[] = { "self","tip", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2719 _arg1
= wxString_in_helper(_obj1
);
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 wxToolTip_SetTip(_arg0
,*_arg1
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) return NULL
;
2729 } Py_INCREF(Py_None
);
2730 _resultobj
= Py_None
;
2738 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2739 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2743 PyObject
* _argo0
= 0;
2744 char *_kwnames
[] = { "self", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) return NULL
;
2764 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2766 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2775 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2776 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2780 PyObject
* _argo0
= 0;
2781 char *_kwnames
[] = { "self", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) return NULL
;
2799 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2803 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2807 char *_kwnames
[] = { "flag", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2812 _arg0
= (bool ) tempbool0
;
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 wxToolTip::Enable(_arg0
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2827 char *_kwnames
[] = { "milliseconds", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 wxToolTip::SetDelay(_arg0
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) return NULL
;
2838 } Py_INCREF(Py_None
);
2839 _resultobj
= Py_None
;
2843 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2844 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2849 PyObject
* _argo0
= 0;
2851 PyObject
* _obj1
= 0;
2852 char *_kwnames
[] = { "window","size", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2867 if (! wxSize_helper(_obj1
, &_arg1
))
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2878 _resultobj
= Py_BuildValue("s",_ptemp
);
2881 _resultobj
= Py_None
;
2886 #define delete_wxCaret(_swigobj) (delete _swigobj)
2887 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 delete_wxCaret(_arg0
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) return NULL
;
2909 } Py_INCREF(Py_None
);
2910 _resultobj
= Py_None
;
2914 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2915 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2919 PyObject
* _argo0
= 0;
2920 char *_kwnames
[] = { "self", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 _result
= (bool )wxCaret_IsOk(_arg0
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) return NULL
;
2938 } _resultobj
= Py_BuildValue("i",_result
);
2942 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2943 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 _result
= (bool )wxCaret_IsVisible(_arg0
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2971 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2978 PyObject
* _argo0
= 0;
2979 char *_kwnames
[] = { "self", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3003 } Py_INCREF(Py_None
);
3004 _resultobj
= Py_None
;
3007 o
= PyInt_FromLong((long) (*_arg1
));
3008 _resultobj
= t_output_helper(_resultobj
, o
);
3012 o
= PyInt_FromLong((long) (*_arg2
));
3013 _resultobj
= t_output_helper(_resultobj
, o
);
3018 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
3019 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3023 PyObject
* _argo0
= 0;
3024 char *_kwnames
[] = { "self", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3044 _resultobj
= Py_BuildValue("s",_ptemp
);
3048 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3049 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) return NULL
;
3081 } Py_INCREF(Py_None
);
3082 _resultobj
= Py_None
;
3085 o
= PyInt_FromLong((long) (*_arg1
));
3086 _resultobj
= t_output_helper(_resultobj
, o
);
3090 o
= PyInt_FromLong((long) (*_arg2
));
3091 _resultobj
= t_output_helper(_resultobj
, o
);
3096 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3097 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3101 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) return NULL
;
3121 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3122 _resultobj
= Py_BuildValue("s",_ptemp
);
3126 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3127 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3131 PyObject
* _argo0
= 0;
3132 char *_kwnames
[] = { "self", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) return NULL
;
3150 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3154 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3155 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3160 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "self","x","y", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) return NULL
;
3179 } Py_INCREF(Py_None
);
3180 _resultobj
= Py_None
;
3184 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3185 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3189 PyObject
* _argo0
= 0;
3191 PyObject
* _obj1
= 0;
3192 char *_kwnames
[] = { "self","pt", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3206 if (! wxPoint_helper(_obj1
, &_arg1
))
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 wxCaret_Move(_arg0
,*_arg1
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) return NULL
;
3215 } Py_INCREF(Py_None
);
3216 _resultobj
= Py_None
;
3220 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3221 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self","width","height", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3251 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3255 PyObject
* _argo0
= 0;
3257 PyObject
* _obj1
= 0;
3258 char *_kwnames
[] = { "self","size", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3272 if (! wxSize_helper(_obj1
, &_arg1
))
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 wxCaret_SetSize(_arg0
,*_arg1
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 } Py_INCREF(Py_None
);
3282 _resultobj
= Py_None
;
3286 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3287 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3290 int _arg1
= (int ) TRUE
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self","show", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxCaret_Show(_arg0
,_arg1
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3316 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 wxCaret_Hide(_arg0
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) return NULL
;
3338 } Py_INCREF(Py_None
);
3339 _resultobj
= Py_None
;
3343 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3344 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3346 wxBusyCursor
* _result
;
3347 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3348 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "cursor", NULL
};
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) return NULL
;
3369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3370 _resultobj
= Py_BuildValue("s",_ptemp
);
3373 _resultobj
= Py_None
;
3378 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3379 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3381 wxBusyCursor
* _arg0
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 delete_wxBusyCursor(_arg0
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) return NULL
;
3401 } Py_INCREF(Py_None
);
3402 _resultobj
= Py_None
;
3406 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3407 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3409 wxWindowDisabler
* _result
;
3410 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3411 PyObject
* _argo0
= 0;
3412 char *_kwnames
[] = { "winToSkip", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) return NULL
;
3432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3433 _resultobj
= Py_BuildValue("s",_ptemp
);
3436 _resultobj
= Py_None
;
3441 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3442 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3444 wxWindowDisabler
* _arg0
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 delete_wxWindowDisabler(_arg0
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) return NULL
;
3464 } Py_INCREF(Py_None
);
3465 _resultobj
= Py_None
;
3469 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3470 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3472 wxMutexGuiLocker
* _result
;
3473 char *_kwnames
[] = { NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) return NULL
;
3486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3487 _resultobj
= Py_BuildValue("s",_ptemp
);
3490 _resultobj
= Py_None
;
3495 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3496 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3498 wxMutexGuiLocker
* _arg0
;
3499 PyObject
* _argo0
= 0;
3500 char *_kwnames
[] = { "self", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 delete_wxMutexGuiLocker(_arg0
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) return NULL
;
3518 } Py_INCREF(Py_None
);
3519 _resultobj
= Py_None
;
3523 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3524 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxTipProvider
* _arg0
;
3527 PyObject
* _argo0
= 0;
3528 char *_kwnames
[] = { "self", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 delete_wxTipProvider(_arg0
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3546 } Py_INCREF(Py_None
);
3547 _resultobj
= Py_None
;
3551 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3552 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3555 wxTipProvider
* _arg0
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3577 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3588 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3589 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
* _resultobj
;
3592 wxTipProvider
* _arg0
;
3593 PyObject
* _argo0
= 0;
3594 char *_kwnames
[] = { "self", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) return NULL
;
3612 } _resultobj
= Py_BuildValue("i",_result
);
3616 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3617 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
* _resultobj
;
3620 wxTipProvider
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 PyObject
* _obj1
= 0;
3624 char *_kwnames
[] = { "self","tip", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3637 _arg1
= wxString_in_helper(_obj1
);
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) return NULL
;
3649 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3664 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3665 wxPyTipProvider
*src
;
3666 wxTipProvider
*dest
;
3667 src
= (wxPyTipProvider
*) ptr
;
3668 dest
= (wxTipProvider
*) src
;
3669 return (void *) dest
;
3672 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3673 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3675 wxPyTipProvider
* _result
;
3677 char *_kwnames
[] = { "currentTip", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) return NULL
;
3690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3691 _resultobj
= Py_BuildValue("s",_ptemp
);
3694 _resultobj
= Py_None
;
3699 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3700 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3702 wxPyTipProvider
* _arg0
;
3705 PyObject
* _argo0
= 0;
3706 PyObject
* _obj1
= 0;
3707 PyObject
* _obj2
= 0;
3708 char *_kwnames
[] = { "self","self","_class", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) return NULL
;
3732 } Py_INCREF(Py_None
);
3733 _resultobj
= Py_None
;
3737 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3738 wxGenericDragImage
*src
;
3740 src
= (wxGenericDragImage
*) ptr
;
3741 dest
= (wxObject
*) src
;
3742 return (void *) dest
;
3745 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3746 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3748 wxGenericDragImage
* _result
;
3750 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3751 PyObject
* _argo0
= 0;
3752 PyObject
* _argo1
= 0;
3753 char *_kwnames
[] = { "image","cursor", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3760 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3766 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) return NULL
;
3778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3779 _resultobj
= Py_BuildValue("s",_ptemp
);
3782 _resultobj
= Py_None
;
3787 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3788 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
* _resultobj
;
3790 wxGenericDragImage
* _result
;
3792 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3793 PyObject
* _argo0
= 0;
3794 PyObject
* _argo1
= 0;
3795 char *_kwnames
[] = { "image","cursor", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3802 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3808 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3821 _resultobj
= Py_BuildValue("s",_ptemp
);
3824 _resultobj
= Py_None
;
3829 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3830 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3832 wxGenericDragImage
* _result
;
3834 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3835 PyObject
* _obj0
= 0;
3836 PyObject
* _argo1
= 0;
3837 char *_kwnames
[] = { "str","cursor", NULL
};
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3844 _arg0
= wxString_in_helper(_obj0
);
3849 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) return NULL
;
3861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3862 _resultobj
= Py_BuildValue("s",_ptemp
);
3865 _resultobj
= Py_None
;
3874 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3875 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3877 wxGenericDragImage
* _result
;
3879 wxTreeItemId
* _arg1
;
3880 PyObject
* _argo0
= 0;
3881 PyObject
* _argo1
= 0;
3882 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3889 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3895 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) return NULL
;
3907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3908 _resultobj
= Py_BuildValue("s",_ptemp
);
3911 _resultobj
= Py_None
;
3916 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3917 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3919 wxGenericDragImage
* _result
;
3922 PyObject
* _argo0
= 0;
3923 char *_kwnames
[] = { "listCtrl","id", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3930 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) return NULL
;
3942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3943 _resultobj
= Py_BuildValue("s",_ptemp
);
3946 _resultobj
= Py_None
;
3951 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3952 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3954 wxGenericDragImage
* _arg0
;
3955 PyObject
* _argo0
= 0;
3956 char *_kwnames
[] = { "self", NULL
};
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 delete_wxGenericDragImage(_arg0
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) return NULL
;
3974 } Py_INCREF(Py_None
);
3975 _resultobj
= Py_None
;
3979 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3980 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3982 wxGenericDragImage
* _arg0
;
3984 PyObject
* _argo0
= 0;
3985 PyObject
* _argo1
= 0;
3986 char *_kwnames
[] = { "self","bitmap", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4011 } Py_INCREF(Py_None
);
4012 _resultobj
= Py_None
;
4016 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4017 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4020 wxGenericDragImage
* _arg0
;
4023 bool _arg3
= (bool ) FALSE
;
4024 wxRect
* _arg4
= (wxRect
*) NULL
;
4025 PyObject
* _argo0
= 0;
4027 PyObject
* _obj1
= 0;
4028 PyObject
* _argo2
= 0;
4029 int tempbool3
= (int) FALSE
;
4031 PyObject
* _obj4
= 0;
4032 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
4046 if (! wxPoint_helper(_obj1
, &_arg1
))
4050 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
4056 _arg3
= (bool ) tempbool3
;
4060 if (! wxRect_helper(_obj4
, &_arg4
))
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) return NULL
;
4069 } _resultobj
= Py_BuildValue("i",_result
);
4073 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4074 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4077 wxGenericDragImage
* _arg0
;
4081 PyObject
* _argo0
= 0;
4083 PyObject
* _obj1
= 0;
4084 PyObject
* _argo2
= 0;
4085 PyObject
* _argo3
= 0;
4086 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
4100 if (! wxPoint_helper(_obj1
, &_arg1
))
4104 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4111 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } _resultobj
= Py_BuildValue("i",_result
);
4127 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4128 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4131 wxGenericDragImage
* _arg0
;
4132 PyObject
* _argo0
= 0;
4133 char *_kwnames
[] = { "self", NULL
};
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) return NULL
;
4151 } _resultobj
= Py_BuildValue("i",_result
);
4155 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4156 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
* _resultobj
;
4159 wxGenericDragImage
* _arg0
;
4161 PyObject
* _argo0
= 0;
4163 PyObject
* _obj1
= 0;
4164 char *_kwnames
[] = { "self","pt", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4178 if (! wxPoint_helper(_obj1
, &_arg1
))
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) return NULL
;
4187 } _resultobj
= Py_BuildValue("i",_result
);
4191 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4192 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4195 wxGenericDragImage
* _arg0
;
4196 PyObject
* _argo0
= 0;
4197 char *_kwnames
[] = { "self", NULL
};
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 _result
= (bool )wxDragImage_Show(_arg0
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4215 } _resultobj
= Py_BuildValue("i",_result
);
4219 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4220 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4223 wxGenericDragImage
* _arg0
;
4224 PyObject
* _argo0
= 0;
4225 char *_kwnames
[] = { "self", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 _result
= (bool )wxDragImage_Hide(_arg0
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) return NULL
;
4243 } _resultobj
= Py_BuildValue("i",_result
);
4247 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4248 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4251 wxGenericDragImage
* _arg0
;
4253 PyObject
* _argo0
= 0;
4255 PyObject
* _obj1
= 0;
4256 char *_kwnames
[] = { "self","pos", NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4271 if (! wxPoint_helper(_obj1
, &_arg1
))
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) return NULL
;
4280 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4281 _resultobj
= Py_BuildValue("s",_ptemp
);
4285 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4286 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4289 wxGenericDragImage
* _arg0
;
4294 PyObject
* _argo0
= 0;
4296 PyObject
* _obj1
= 0;
4298 PyObject
* _obj2
= 0;
4301 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4315 if (! wxPoint_helper(_obj1
, &_arg1
))
4320 if (! wxPoint_helper(_obj2
, &_arg2
))
4323 _arg3
= (bool ) tempbool3
;
4324 _arg4
= (bool ) tempbool4
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) return NULL
;
4331 } _resultobj
= Py_BuildValue("i",_result
);
4335 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4338 src
= (wxPyTimer
*) ptr
;
4339 dest
= (wxObject
*) src
;
4340 return (void *) dest
;
4343 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4344 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4346 wxPyTimer
* _result
;
4348 PyObject
* _obj0
= 0;
4349 char *_kwnames
[] = { "notify", NULL
};
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) return NULL
;
4365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4366 _resultobj
= Py_BuildValue("s",_ptemp
);
4369 _resultobj
= Py_None
;
4374 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4375 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
* _resultobj
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 delete_wxPyTimer(_arg0
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) return NULL
;
4397 } Py_INCREF(Py_None
);
4398 _resultobj
= Py_None
;
4402 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4403 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4426 } _resultobj
= Py_BuildValue("i",_result
);
4430 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4431 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) return NULL
;
4454 } _resultobj
= Py_BuildValue("i",_result
);
4458 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4459 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4463 PyObject
* _argo0
= 0;
4464 char *_kwnames
[] = { "self", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) return NULL
;
4482 } _resultobj
= Py_BuildValue("i",_result
);
4486 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4487 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 wxEvtHandler
* _arg1
;
4491 int _arg2
= (int ) -1;
4492 PyObject
* _argo0
= 0;
4493 PyObject
* _argo1
= 0;
4494 char *_kwnames
[] = { "self","owner","id", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4507 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) return NULL
;
4519 } Py_INCREF(Py_None
);
4520 _resultobj
= Py_None
;
4524 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4525 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4529 int _arg1
= (int ) -1;
4530 int _arg2
= (int ) FALSE
;
4531 PyObject
* _argo0
= 0;
4532 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) return NULL
;
4550 } _resultobj
= Py_BuildValue("i",_result
);
4554 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4555 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4558 PyObject
* _argo0
= 0;
4559 char *_kwnames
[] = { "self", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 wxPyTimer_Stop(_arg0
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4577 } Py_INCREF(Py_None
);
4578 _resultobj
= Py_None
;
4582 #define new_wxStopWatch() (new wxStopWatch())
4583 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4585 wxStopWatch
* _result
;
4586 char *_kwnames
[] = { NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 _result
= (wxStopWatch
*)new_wxStopWatch();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) return NULL
;
4599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4600 _resultobj
= Py_BuildValue("s",_ptemp
);
4603 _resultobj
= Py_None
;
4608 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4609 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4611 wxStopWatch
* _arg0
;
4612 PyObject
* _argo0
= 0;
4613 char *_kwnames
[] = { "self", NULL
};
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 delete_wxStopWatch(_arg0
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) return NULL
;
4631 } Py_INCREF(Py_None
);
4632 _resultobj
= Py_None
;
4636 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4637 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4639 wxStopWatch
* _arg0
;
4640 long _arg1
= (long ) 0;
4641 PyObject
* _argo0
= 0;
4642 char *_kwnames
[] = { "self","t", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxStopWatch_Start(_arg0
,_arg1
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 } Py_INCREF(Py_None
);
4661 _resultobj
= Py_None
;
4665 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4666 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4668 wxStopWatch
* _arg0
;
4669 PyObject
* _argo0
= 0;
4670 char *_kwnames
[] = { "self", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 wxStopWatch_Pause(_arg0
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4694 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4696 wxStopWatch
* _arg0
;
4697 PyObject
* _argo0
= 0;
4698 char *_kwnames
[] = { "self", NULL
};
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 wxStopWatch_Resume(_arg0
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4716 } Py_INCREF(Py_None
);
4717 _resultobj
= Py_None
;
4721 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4722 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4725 wxStopWatch
* _arg0
;
4726 PyObject
* _argo0
= 0;
4727 char *_kwnames
[] = { "self", NULL
};
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 _result
= (long )wxStopWatch_Time(_arg0
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4745 } _resultobj
= Py_BuildValue("l",_result
);
4749 #define new_wxLog() (new wxLog())
4750 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4753 char *_kwnames
[] = { NULL
};
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 _result
= (wxLog
*)new_wxLog();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) return NULL
;
4766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4767 _resultobj
= Py_BuildValue("s",_ptemp
);
4770 _resultobj
= Py_None
;
4775 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4778 char *_kwnames
[] = { NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 _result
= (bool )wxLog::IsEnabled();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) return NULL
;
4789 } _resultobj
= Py_BuildValue("i",_result
);
4793 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4796 bool _arg0
= (bool ) TRUE
;
4797 int tempbool0
= (int) TRUE
;
4798 char *_kwnames
[] = { "doIt", NULL
};
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4803 _arg0
= (bool ) tempbool0
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 _result
= (bool )wxLog::EnableLogging(_arg0
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) return NULL
;
4810 } _resultobj
= Py_BuildValue("i",_result
);
4814 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4816 unsigned long _arg0
;
4818 int _arg2
= (int ) 0;
4819 PyObject
* _obj1
= 0;
4820 char *_kwnames
[] = { "level","szString","t", NULL
};
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4826 _arg1
= wxString_in_helper(_obj1
);
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) return NULL
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4845 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4846 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4849 PyObject
* _argo0
= 0;
4850 char *_kwnames
[] = { "self", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) return NULL
;
4868 } Py_INCREF(Py_None
);
4869 _resultobj
= Py_None
;
4873 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
* _resultobj
;
4875 char *_kwnames
[] = { NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 wxLog::FlushActive();
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) return NULL
;
4886 } Py_INCREF(Py_None
);
4887 _resultobj
= Py_None
;
4891 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4894 char *_kwnames
[] = { NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 _result
= (wxLog
*)wxLog::GetActiveTarget();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4908 _resultobj
= Py_BuildValue("s",_ptemp
);
4911 _resultobj
= Py_None
;
4916 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4920 PyObject
* _argo0
= 0;
4921 char *_kwnames
[] = { "pLogger", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) return NULL
;
4941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4942 _resultobj
= Py_BuildValue("s",_ptemp
);
4945 _resultobj
= Py_None
;
4950 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4952 char *_kwnames
[] = { NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) return NULL
;
4963 } Py_INCREF(Py_None
);
4964 _resultobj
= Py_None
;
4968 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
* _resultobj
;
4970 char *_kwnames
[] = { NULL
};
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) return NULL
;
4981 } Py_INCREF(Py_None
);
4982 _resultobj
= Py_None
;
4986 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
* _resultobj
;
4988 bool _arg0
= (bool ) TRUE
;
4989 int tempbool0
= (int) TRUE
;
4990 char *_kwnames
[] = { "bVerbose", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4995 _arg0
= (bool ) tempbool0
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 wxLog::SetVerbose(_arg0
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) return NULL
;
5002 } Py_INCREF(Py_None
);
5003 _resultobj
= Py_None
;
5007 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5009 char *_kwnames
[] = { NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 wxLog::DontCreateOnDemand();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) return NULL
;
5020 } Py_INCREF(Py_None
);
5021 _resultobj
= Py_None
;
5025 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
* _resultobj
;
5028 char *_kwnames
[] = { "ulMask", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 wxLog::SetTraceMask(_arg0
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 } Py_INCREF(Py_None
);
5040 _resultobj
= Py_None
;
5044 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5047 PyObject
* _obj0
= 0;
5048 char *_kwnames
[] = { "str", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5054 _arg0
= wxString_in_helper(_obj0
);
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 wxLog::AddTraceMask(*_arg0
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) return NULL
;
5064 } Py_INCREF(Py_None
);
5065 _resultobj
= Py_None
;
5073 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5076 PyObject
* _obj0
= 0;
5077 char *_kwnames
[] = { "str", NULL
};
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5083 _arg0
= wxString_in_helper(_obj0
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxLog::RemoveTraceMask(*_arg0
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) return NULL
;
5093 } Py_INCREF(Py_None
);
5094 _resultobj
= Py_None
;
5102 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5104 char *_kwnames
[] = { NULL
};
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 wxLog::ClearTraceMasks();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) return NULL
;
5115 } Py_INCREF(Py_None
);
5116 _resultobj
= Py_None
;
5120 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5122 wxArrayString
* _result
;
5123 char *_kwnames
[] = { NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5132 _result
= (wxArrayString
*) &_result_ref
;
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) return NULL
;
5137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5138 _resultobj
= Py_BuildValue("s",_ptemp
);
5141 _resultobj
= Py_None
;
5146 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5149 PyObject
* _obj0
= 0;
5150 char *_kwnames
[] = { "ts", NULL
};
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5156 _arg0
= wxString_in_helper(_obj0
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 wxLog::SetTimestamp(*_arg0
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) return NULL
;
5166 } Py_INCREF(Py_None
);
5167 _resultobj
= Py_None
;
5175 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
* _resultobj
;
5178 char *_kwnames
[] = { NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 const wxString
& _result_ref
= wxLog::GetTimestamp();
5186 _result
= (wxString
*) &_result_ref
;
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) return NULL
;
5192 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5194 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5200 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5201 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5205 PyObject
* _argo0
= 0;
5206 char *_kwnames
[] = { "self", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 _result
= (bool )wxLog_GetVerbose(_arg0
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) return NULL
;
5224 } _resultobj
= Py_BuildValue("i",_result
);
5228 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
* _resultobj
;
5230 unsigned long _result
;
5231 char *_kwnames
[] = { NULL
};
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 _result
= (unsigned long )wxLog::GetTraceMask();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) return NULL
;
5242 } _resultobj
= Py_BuildValue("l",_result
);
5246 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5250 PyObject
* _obj0
= 0;
5251 char *_kwnames
[] = { "mask", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5257 _arg0
= wxString_in_helper(_obj0
);
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) return NULL
;
5267 } _resultobj
= Py_BuildValue("i",_result
);
5275 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5277 unsigned long _arg0
;
5278 char *_kwnames
[] = { "logLevel", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 wxLog::SetLogLevel(_arg0
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) return NULL
;
5289 } Py_INCREF(Py_None
);
5290 _resultobj
= Py_None
;
5294 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5296 unsigned long _result
;
5297 char *_kwnames
[] = { NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 _result
= (unsigned long )wxLog::GetLogLevel();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) return NULL
;
5308 } _resultobj
= Py_BuildValue("l",_result
);
5312 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5314 wxLog::TimeStamp(&msg
);
5317 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
* _resultobj
;
5321 PyObject
* _argo0
= 0;
5322 char *_kwnames
[] = { "self", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) return NULL
;
5342 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5344 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5353 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5356 src
= (wxLogStderr
*) ptr
;
5357 dest
= (wxLog
*) src
;
5358 return (void *) dest
;
5361 #define new_wxLogStderr() (new wxLogStderr())
5362 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
* _resultobj
;
5364 wxLogStderr
* _result
;
5365 char *_kwnames
[] = { NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 _result
= (wxLogStderr
*)new_wxLogStderr();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) return NULL
;
5378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5379 _resultobj
= Py_BuildValue("s",_ptemp
);
5382 _resultobj
= Py_None
;
5387 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5390 src
= (wxLogTextCtrl
*) ptr
;
5391 dest
= (wxLog
*) src
;
5392 return (void *) dest
;
5395 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5396 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5398 wxLogTextCtrl
* _result
;
5400 PyObject
* _argo0
= 0;
5401 char *_kwnames
[] = { "pTextCtrl", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5422 _resultobj
= Py_BuildValue("s",_ptemp
);
5425 _resultobj
= Py_None
;
5430 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5433 src
= (wxLogGui
*) ptr
;
5434 dest
= (wxLog
*) src
;
5435 return (void *) dest
;
5438 #define new_wxLogGui() (new wxLogGui())
5439 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5442 char *_kwnames
[] = { NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 _result
= (wxLogGui
*)new_wxLogGui();
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) return NULL
;
5455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5456 _resultobj
= Py_BuildValue("s",_ptemp
);
5459 _resultobj
= Py_None
;
5464 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5467 src
= (wxLogWindow
*) ptr
;
5468 dest
= (wxLog
*) src
;
5469 return (void *) dest
;
5472 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5473 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5475 wxLogWindow
* _result
;
5478 bool _arg2
= (bool ) TRUE
;
5479 bool _arg3
= (bool ) TRUE
;
5480 PyObject
* _argo0
= 0;
5481 PyObject
* _obj1
= 0;
5482 int tempbool2
= (int) TRUE
;
5483 int tempbool3
= (int) TRUE
;
5484 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5498 _arg1
= wxString_in_helper(_obj1
);
5502 _arg2
= (bool ) tempbool2
;
5503 _arg3
= (bool ) tempbool3
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) return NULL
;
5511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5512 _resultobj
= Py_BuildValue("s",_ptemp
);
5515 _resultobj
= Py_None
;
5524 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5525 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
* _resultobj
;
5527 wxLogWindow
* _arg0
;
5528 bool _arg1
= (bool ) TRUE
;
5529 PyObject
* _argo0
= 0;
5530 int tempbool1
= (int) TRUE
;
5531 char *_kwnames
[] = { "self","bShow", NULL
};
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5543 _arg1
= (bool ) tempbool1
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxLogWindow_Show(_arg0
,_arg1
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) return NULL
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5555 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5556 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5559 wxLogWindow
* _arg0
;
5560 PyObject
* _argo0
= 0;
5561 char *_kwnames
[] = { "self", NULL
};
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) return NULL
;
5579 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5583 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5584 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5587 wxLogWindow
* _arg0
;
5588 PyObject
* _argo0
= 0;
5589 char *_kwnames
[] = { "self", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) return NULL
;
5609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5610 _resultobj
= Py_BuildValue("s",_ptemp
);
5613 _resultobj
= Py_None
;
5618 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5619 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5622 wxLogWindow
* _arg0
;
5623 PyObject
* _argo0
= 0;
5624 char *_kwnames
[] = { "self", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) return NULL
;
5642 } _resultobj
= Py_BuildValue("i",_result
);
5646 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5647 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
* _resultobj
;
5649 wxLogWindow
* _arg0
;
5651 PyObject
* _argo0
= 0;
5653 char *_kwnames
[] = { "self","bDoPass", NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5665 _arg1
= (bool ) tempbool1
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 wxLogWindow_PassMessages(_arg0
,_arg1
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) return NULL
;
5672 } Py_INCREF(Py_None
);
5673 _resultobj
= Py_None
;
5677 static void *SwigwxLogChainTowxLog(void *ptr
) {
5680 src
= (wxLogChain
*) ptr
;
5681 dest
= (wxLog
*) src
;
5682 return (void *) dest
;
5685 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5686 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5688 wxLogChain
* _result
;
5690 PyObject
* _argo0
= 0;
5691 char *_kwnames
[] = { "logger", NULL
};
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) return NULL
;
5711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5712 _resultobj
= Py_BuildValue("s",_ptemp
);
5715 _resultobj
= Py_None
;
5720 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5721 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5725 PyObject
* _argo0
= 0;
5726 PyObject
* _argo1
= 0;
5727 char *_kwnames
[] = { "self","logger", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 wxLogChain_SetLog(_arg0
,_arg1
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) return NULL
;
5752 } Py_INCREF(Py_None
);
5753 _resultobj
= Py_None
;
5757 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5758 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5762 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self","bDoPass", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5776 _arg1
= (bool ) tempbool1
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 wxLogChain_PassMessages(_arg0
,_arg1
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) return NULL
;
5783 } Py_INCREF(Py_None
);
5784 _resultobj
= Py_None
;
5788 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5789 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5793 PyObject
* _argo0
= 0;
5794 char *_kwnames
[] = { "self", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) return NULL
;
5812 } _resultobj
= Py_BuildValue("i",_result
);
5816 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5817 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5821 PyObject
* _argo0
= 0;
5822 char *_kwnames
[] = { "self", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) return NULL
;
5842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5843 _resultobj
= Py_BuildValue("s",_ptemp
);
5846 _resultobj
= Py_None
;
5851 #define new_wxLogNull() (new wxLogNull())
5852 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
* _resultobj
;
5854 wxLogNull
* _result
;
5855 char *_kwnames
[] = { NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 _result
= (wxLogNull
*)new_wxLogNull();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) return NULL
;
5868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5869 _resultobj
= Py_BuildValue("s",_ptemp
);
5872 _resultobj
= Py_None
;
5877 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5878 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5881 PyObject
* _argo0
= 0;
5882 char *_kwnames
[] = { "self", NULL
};
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 delete_wxLogNull(_arg0
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) return NULL
;
5900 } Py_INCREF(Py_None
);
5901 _resultobj
= Py_None
;
5905 static void *SwigwxPyLogTowxLog(void *ptr
) {
5908 src
= (wxPyLog
*) ptr
;
5909 dest
= (wxLog
*) src
;
5910 return (void *) dest
;
5913 #define new_wxPyLog() (new wxPyLog())
5914 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5917 char *_kwnames
[] = { NULL
};
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 _result
= (wxPyLog
*)new_wxPyLog();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) return NULL
;
5930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5931 _resultobj
= Py_BuildValue("s",_ptemp
);
5934 _resultobj
= Py_None
;
5939 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5940 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
* _resultobj
;
5945 PyObject
* _argo0
= 0;
5946 PyObject
* _obj1
= 0;
5947 PyObject
* _obj2
= 0;
5948 char *_kwnames
[] = { "self","self","_class", NULL
};
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) return NULL
;
5972 } Py_INCREF(Py_None
);
5973 _resultobj
= Py_None
;
5977 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5978 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5981 PyObject
* _argo0
= 0;
5982 char *_kwnames
[] = { "self", NULL
};
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxPyLog_Destroy(_arg0
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) return NULL
;
6000 } Py_INCREF(Py_None
);
6001 _resultobj
= Py_None
;
6005 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
6006 wxProcessEvent
*src
;
6008 src
= (wxProcessEvent
*) ptr
;
6009 dest
= (wxEvent
*) src
;
6010 return (void *) dest
;
6013 static void *SwigwxProcessEventTowxObject(void *ptr
) {
6014 wxProcessEvent
*src
;
6016 src
= (wxProcessEvent
*) ptr
;
6017 dest
= (wxObject
*) src
;
6018 return (void *) dest
;
6021 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
6022 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6024 wxProcessEvent
* _result
;
6025 int _arg0
= (int ) 0;
6026 int _arg1
= (int ) 0;
6027 int _arg2
= (int ) 0;
6028 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) return NULL
;
6041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
6042 _resultobj
= Py_BuildValue("s",_ptemp
);
6045 _resultobj
= Py_None
;
6050 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
6051 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
* _resultobj
;
6054 wxProcessEvent
* _arg0
;
6055 PyObject
* _argo0
= 0;
6056 char *_kwnames
[] = { "self", NULL
};
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
6062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 _result
= (int )wxProcessEvent_GetPid(_arg0
);
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) return NULL
;
6074 } _resultobj
= Py_BuildValue("i",_result
);
6078 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6079 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
* _resultobj
;
6082 wxProcessEvent
* _arg0
;
6083 PyObject
* _argo0
= 0;
6084 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) return NULL
;
6102 } _resultobj
= Py_BuildValue("i",_result
);
6106 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6107 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6110 wxProcessEvent
* _arg0
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self","m_pid", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) return NULL
;
6131 } _resultobj
= Py_BuildValue("i",_result
);
6135 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6136 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6139 wxProcessEvent
* _arg0
;
6140 PyObject
* _argo0
= 0;
6141 char *_kwnames
[] = { "self", NULL
};
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) return NULL
;
6159 } _resultobj
= Py_BuildValue("i",_result
);
6163 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6164 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6167 wxProcessEvent
* _arg0
;
6169 PyObject
* _argo0
= 0;
6170 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } _resultobj
= Py_BuildValue("i",_result
);
6192 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6193 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
* _resultobj
;
6196 wxProcessEvent
* _arg0
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) return NULL
;
6216 } _resultobj
= Py_BuildValue("i",_result
);
6220 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6223 src
= (wxPyProcess
*) ptr
;
6224 dest
= (wxEvtHandler
*) src
;
6225 return (void *) dest
;
6228 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6231 src
= (wxPyProcess
*) ptr
;
6232 dest
= (wxObject
*) src
;
6233 return (void *) dest
;
6236 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6238 wxKillError _result
;
6240 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6241 char *_kwnames
[] = { "pid","sig", NULL
};
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) return NULL
;
6252 } _resultobj
= Py_BuildValue("i",_result
);
6256 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
* _resultobj
;
6260 char *_kwnames
[] = { "pid", NULL
};
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 _result
= (bool )wxPyProcess::Exists(_arg0
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) return NULL
;
6271 } _resultobj
= Py_BuildValue("i",_result
);
6275 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
* _resultobj
;
6277 wxPyProcess
* _result
;
6279 int _arg1
= (int ) wxEXEC_ASYNC
;
6280 PyObject
* _obj0
= 0;
6281 char *_kwnames
[] = { "cmd","flags", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6288 _arg0
= wxString_in_helper(_obj0
);
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) return NULL
;
6299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6300 _resultobj
= Py_BuildValue("s",_ptemp
);
6303 _resultobj
= Py_None
;
6312 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6313 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxPyProcess
* _result
;
6316 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6317 int _arg1
= (int ) -1;
6318 PyObject
* _argo0
= 0;
6319 char *_kwnames
[] = { "parent","id", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6340 _resultobj
= Py_BuildValue("s",_ptemp
);
6343 _resultobj
= Py_None
;
6348 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6349 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6351 wxPyProcess
* _arg0
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 wxPyProcess_Destroy(_arg0
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) return NULL
;
6371 } Py_INCREF(Py_None
);
6372 _resultobj
= Py_None
;
6376 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6377 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
* _resultobj
;
6379 wxPyProcess
* _arg0
;
6382 PyObject
* _argo0
= 0;
6383 PyObject
* _obj1
= 0;
6384 PyObject
* _obj2
= 0;
6385 char *_kwnames
[] = { "self","self","_class", NULL
};
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) return NULL
;
6409 } Py_INCREF(Py_None
);
6410 _resultobj
= Py_None
;
6414 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6415 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6417 wxPyProcess
* _arg0
;
6420 PyObject
* _argo0
= 0;
6421 char *_kwnames
[] = { "self","pid","status", NULL
};
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) return NULL
;
6439 } Py_INCREF(Py_None
);
6440 _resultobj
= Py_None
;
6444 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6445 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6447 wxPyProcess
* _arg0
;
6448 PyObject
* _argo0
= 0;
6449 char *_kwnames
[] = { "self", NULL
};
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 wxProcess_Redirect(_arg0
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) return NULL
;
6467 } Py_INCREF(Py_None
);
6468 _resultobj
= Py_None
;
6472 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6473 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6476 wxPyProcess
* _arg0
;
6477 PyObject
* _argo0
= 0;
6478 char *_kwnames
[] = { "self", NULL
};
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) return NULL
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6500 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6501 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6503 wxPyProcess
* _arg0
;
6504 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 wxProcess_Detach(_arg0
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) return NULL
;
6523 } Py_INCREF(Py_None
);
6524 _resultobj
= Py_None
;
6528 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6529 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6531 wxInputStream
* _result
;
6532 wxPyProcess
* _arg0
;
6533 PyObject
* _argo0
= 0;
6534 char *_kwnames
[] = { "self", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) return NULL
;
6553 wxPyInputStream
* _ptr
= NULL
;
6556 _ptr
= new wxPyInputStream(_result
);
6558 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6563 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6564 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6566 wxInputStream
* _result
;
6567 wxPyProcess
* _arg0
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) return NULL
;
6588 wxPyInputStream
* _ptr
= NULL
;
6591 _ptr
= new wxPyInputStream(_result
);
6593 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6598 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6599 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6601 wxOutputStream
* _result
;
6602 wxPyProcess
* _arg0
;
6603 PyObject
* _argo0
= 0;
6604 char *_kwnames
[] = { "self", NULL
};
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) return NULL
;
6624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6625 _resultobj
= Py_BuildValue("s",_ptemp
);
6628 _resultobj
= Py_None
;
6633 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6634 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
* _resultobj
;
6636 wxPyProcess
* _arg0
;
6637 PyObject
* _argo0
= 0;
6638 char *_kwnames
[] = { "self", NULL
};
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 wxProcess_CloseOutput(_arg0
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) return NULL
;
6656 } Py_INCREF(Py_None
);
6657 _resultobj
= Py_None
;
6661 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6662 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
* _resultobj
;
6665 wxPyProcess
* _arg0
;
6666 PyObject
* _argo0
= 0;
6667 char *_kwnames
[] = { "self", NULL
};
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) return NULL
;
6685 } _resultobj
= Py_BuildValue("i",_result
);
6689 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6690 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
* _resultobj
;
6693 wxPyProcess
* _arg0
;
6694 PyObject
* _argo0
= 0;
6695 char *_kwnames
[] = { "self", NULL
};
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) return NULL
;
6713 } _resultobj
= Py_BuildValue("i",_result
);
6717 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6718 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
* _resultobj
;
6721 wxPyProcess
* _arg0
;
6722 PyObject
* _argo0
= 0;
6723 char *_kwnames
[] = { "self", NULL
};
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) return NULL
;
6741 } _resultobj
= Py_BuildValue("i",_result
);
6745 static void *SwigwxJoystickTowxObject(void *ptr
) {
6748 src
= (wxJoystick
*) ptr
;
6749 dest
= (wxObject
*) src
;
6750 return (void *) dest
;
6753 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6754 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6756 wxJoystick
* _result
;
6757 int _arg0
= (int ) (wxJOYSTICK1
);
6758 char *_kwnames
[] = { "joystick", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) return NULL
;
6771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6772 _resultobj
= Py_BuildValue("s",_ptemp
);
6775 _resultobj
= Py_None
;
6780 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6781 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
* _resultobj
;
6784 PyObject
* _argo0
= 0;
6785 char *_kwnames
[] = { "self", NULL
};
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 delete_wxJoystick(_arg0
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) return NULL
;
6803 } Py_INCREF(Py_None
);
6804 _resultobj
= Py_None
;
6808 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6809 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6813 PyObject
* _argo0
= 0;
6814 char *_kwnames
[] = { "self", NULL
};
6818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) return NULL
;
6833 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6834 _resultobj
= Py_BuildValue("s",_ptemp
);
6838 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6839 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6843 PyObject
* _argo0
= 0;
6844 char *_kwnames
[] = { "self", NULL
};
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) return NULL
;
6862 } _resultobj
= Py_BuildValue("i",_result
);
6866 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6867 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
* _resultobj
;
6871 PyObject
* _argo0
= 0;
6872 char *_kwnames
[] = { "self", NULL
};
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) return NULL
;
6890 } _resultobj
= Py_BuildValue("i",_result
);
6894 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6895 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
* _resultobj
;
6899 PyObject
* _argo0
= 0;
6900 char *_kwnames
[] = { "self", NULL
};
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) return NULL
;
6918 } _resultobj
= Py_BuildValue("i",_result
);
6922 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6923 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6927 PyObject
* _argo0
= 0;
6928 char *_kwnames
[] = { "self", NULL
};
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) return NULL
;
6946 } _resultobj
= Py_BuildValue("i",_result
);
6950 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6951 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
* _resultobj
;
6955 PyObject
* _argo0
= 0;
6956 char *_kwnames
[] = { "self", NULL
};
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) return NULL
;
6974 } _resultobj
= Py_BuildValue("i",_result
);
6978 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6979 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6983 PyObject
* _argo0
= 0;
6984 char *_kwnames
[] = { "self", NULL
};
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6998 _result
= (int )wxJoystick_GetUPosition(_arg0
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) return NULL
;
7002 } _resultobj
= Py_BuildValue("i",_result
);
7006 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
7007 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7011 PyObject
* _argo0
= 0;
7012 char *_kwnames
[] = { "self", NULL
};
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
7018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 _result
= (int )wxJoystick_GetVPosition(_arg0
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) return NULL
;
7030 } _resultobj
= Py_BuildValue("i",_result
);
7034 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
7035 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) return NULL
;
7058 } _resultobj
= Py_BuildValue("i",_result
);
7062 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
7063 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
* _resultobj
;
7067 PyObject
* _argo0
= 0;
7068 char *_kwnames
[] = { "self","threshold", NULL
};
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
7074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) return NULL
;
7086 } Py_INCREF(Py_None
);
7087 _resultobj
= Py_None
;
7091 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7092 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
* _resultobj
;
7096 PyObject
* _argo0
= 0;
7097 char *_kwnames
[] = { "self", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 _result
= (bool )wxJoystick_IsOk(_arg0
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) return NULL
;
7115 } _resultobj
= Py_BuildValue("i",_result
);
7119 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7120 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) return NULL
;
7143 } _resultobj
= Py_BuildValue("i",_result
);
7147 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7148 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) return NULL
;
7171 } _resultobj
= Py_BuildValue("i",_result
);
7175 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7176 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7180 PyObject
* _argo0
= 0;
7181 char *_kwnames
[] = { "self", NULL
};
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 _result
= (int )wxJoystick_GetProductId(_arg0
);
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) return NULL
;
7199 } _resultobj
= Py_BuildValue("i",_result
);
7203 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7204 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7208 PyObject
* _argo0
= 0;
7209 char *_kwnames
[] = { "self", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7229 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7231 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7240 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7241 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
* _resultobj
;
7245 PyObject
* _argo0
= 0;
7246 char *_kwnames
[] = { "self", NULL
};
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 _result
= (int )wxJoystick_GetXMin(_arg0
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) return NULL
;
7264 } _resultobj
= Py_BuildValue("i",_result
);
7268 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7269 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
* _resultobj
;
7273 PyObject
* _argo0
= 0;
7274 char *_kwnames
[] = { "self", NULL
};
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 _result
= (int )wxJoystick_GetYMin(_arg0
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) return NULL
;
7292 } _resultobj
= Py_BuildValue("i",_result
);
7296 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7297 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
* _resultobj
;
7301 PyObject
* _argo0
= 0;
7302 char *_kwnames
[] = { "self", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 _result
= (int )wxJoystick_GetZMin(_arg0
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) return NULL
;
7320 } _resultobj
= Py_BuildValue("i",_result
);
7324 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7325 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
* _resultobj
;
7329 PyObject
* _argo0
= 0;
7330 char *_kwnames
[] = { "self", NULL
};
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 _result
= (int )wxJoystick_GetXMax(_arg0
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) return NULL
;
7348 } _resultobj
= Py_BuildValue("i",_result
);
7352 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7353 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
* _resultobj
;
7357 PyObject
* _argo0
= 0;
7358 char *_kwnames
[] = { "self", NULL
};
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 _result
= (int )wxJoystick_GetYMax(_arg0
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) return NULL
;
7376 } _resultobj
= Py_BuildValue("i",_result
);
7380 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7381 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
* _resultobj
;
7385 PyObject
* _argo0
= 0;
7386 char *_kwnames
[] = { "self", NULL
};
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 _result
= (int )wxJoystick_GetZMax(_arg0
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) return NULL
;
7404 } _resultobj
= Py_BuildValue("i",_result
);
7408 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7409 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
* _resultobj
;
7413 PyObject
* _argo0
= 0;
7414 char *_kwnames
[] = { "self", NULL
};
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) return NULL
;
7432 } _resultobj
= Py_BuildValue("i",_result
);
7436 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7437 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
* _resultobj
;
7441 PyObject
* _argo0
= 0;
7442 char *_kwnames
[] = { "self", NULL
};
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) return NULL
;
7460 } _resultobj
= Py_BuildValue("i",_result
);
7464 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7465 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
* _resultobj
;
7469 PyObject
* _argo0
= 0;
7470 char *_kwnames
[] = { "self", NULL
};
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) return NULL
;
7488 } _resultobj
= Py_BuildValue("i",_result
);
7492 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7493 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
* _resultobj
;
7497 PyObject
* _argo0
= 0;
7498 char *_kwnames
[] = { "self", NULL
};
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) return NULL
;
7516 } _resultobj
= Py_BuildValue("i",_result
);
7520 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7521 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
* _resultobj
;
7525 PyObject
* _argo0
= 0;
7526 char *_kwnames
[] = { "self", NULL
};
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) return NULL
;
7544 } _resultobj
= Py_BuildValue("i",_result
);
7548 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7549 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
* _resultobj
;
7553 PyObject
* _argo0
= 0;
7554 char *_kwnames
[] = { "self", NULL
};
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) return NULL
;
7572 } _resultobj
= Py_BuildValue("i",_result
);
7576 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7577 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
* _resultobj
;
7581 PyObject
* _argo0
= 0;
7582 char *_kwnames
[] = { "self", NULL
};
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) return NULL
;
7600 } _resultobj
= Py_BuildValue("i",_result
);
7604 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7605 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
* _resultobj
;
7609 PyObject
* _argo0
= 0;
7610 char *_kwnames
[] = { "self", NULL
};
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) return NULL
;
7628 } _resultobj
= Py_BuildValue("i",_result
);
7632 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7633 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
* _resultobj
;
7637 PyObject
* _argo0
= 0;
7638 char *_kwnames
[] = { "self", NULL
};
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 _result
= (int )wxJoystick_GetUMin(_arg0
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) return NULL
;
7656 } _resultobj
= Py_BuildValue("i",_result
);
7660 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7661 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
* _resultobj
;
7665 PyObject
* _argo0
= 0;
7666 char *_kwnames
[] = { "self", NULL
};
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 _result
= (int )wxJoystick_GetUMax(_arg0
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) return NULL
;
7684 } _resultobj
= Py_BuildValue("i",_result
);
7688 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7689 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
* _resultobj
;
7693 PyObject
* _argo0
= 0;
7694 char *_kwnames
[] = { "self", NULL
};
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 _result
= (int )wxJoystick_GetVMin(_arg0
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) return NULL
;
7712 } _resultobj
= Py_BuildValue("i",_result
);
7716 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7717 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
* _resultobj
;
7721 PyObject
* _argo0
= 0;
7722 char *_kwnames
[] = { "self", NULL
};
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 _result
= (int )wxJoystick_GetVMax(_arg0
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) return NULL
;
7740 } _resultobj
= Py_BuildValue("i",_result
);
7744 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7745 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
* _resultobj
;
7749 PyObject
* _argo0
= 0;
7750 char *_kwnames
[] = { "self", NULL
};
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) return NULL
;
7768 } _resultobj
= Py_BuildValue("i",_result
);
7772 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7773 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
* _resultobj
;
7777 PyObject
* _argo0
= 0;
7778 char *_kwnames
[] = { "self", NULL
};
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 _result
= (bool )wxJoystick_HasZ(_arg0
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) return NULL
;
7796 } _resultobj
= Py_BuildValue("i",_result
);
7800 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7801 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
* _resultobj
;
7805 PyObject
* _argo0
= 0;
7806 char *_kwnames
[] = { "self", NULL
};
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 _result
= (bool )wxJoystick_HasU(_arg0
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) return NULL
;
7824 } _resultobj
= Py_BuildValue("i",_result
);
7828 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7829 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
* _resultobj
;
7833 PyObject
* _argo0
= 0;
7834 char *_kwnames
[] = { "self", NULL
};
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 _result
= (bool )wxJoystick_HasV(_arg0
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) return NULL
;
7852 } _resultobj
= Py_BuildValue("i",_result
);
7856 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7857 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
* _resultobj
;
7861 PyObject
* _argo0
= 0;
7862 char *_kwnames
[] = { "self", NULL
};
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) return NULL
;
7880 } _resultobj
= Py_BuildValue("i",_result
);
7884 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7885 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
* _resultobj
;
7889 PyObject
* _argo0
= 0;
7890 char *_kwnames
[] = { "self", NULL
};
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) return NULL
;
7908 } _resultobj
= Py_BuildValue("i",_result
);
7912 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7913 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
* _resultobj
;
7917 PyObject
* _argo0
= 0;
7918 char *_kwnames
[] = { "self", NULL
};
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) return NULL
;
7936 } _resultobj
= Py_BuildValue("i",_result
);
7940 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7941 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
* _resultobj
;
7946 int _arg2
= (int ) 0;
7947 PyObject
* _argo0
= 0;
7948 PyObject
* _argo1
= 0;
7949 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) return NULL
;
7974 } _resultobj
= Py_BuildValue("i",_result
);
7978 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7979 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
* _resultobj
;
7983 PyObject
* _argo0
= 0;
7984 char *_kwnames
[] = { "self", NULL
};
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8002 } _resultobj
= Py_BuildValue("i",_result
);
8006 static void *SwigwxWaveTowxObject(void *ptr
) {
8009 src
= (wxWave
*) ptr
;
8010 dest
= (wxObject
*) src
;
8011 return (void *) dest
;
8014 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
8015 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
* _resultobj
;
8019 bool _arg1
= (bool ) FALSE
;
8020 PyObject
* _obj0
= 0;
8021 int tempbool1
= (int) FALSE
;
8022 char *_kwnames
[] = { "fileName","isResource", NULL
};
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
8029 _arg0
= wxString_in_helper(_obj0
);
8033 _arg1
= (bool ) tempbool1
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) return NULL
;
8041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
8042 _resultobj
= Py_BuildValue("s",_ptemp
);
8045 _resultobj
= Py_None
;
8054 #define delete_wxWave(_swigobj) (delete _swigobj)
8055 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
* _resultobj
;
8058 PyObject
* _argo0
= 0;
8059 char *_kwnames
[] = { "self", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
8065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 delete_wxWave(_arg0
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) return NULL
;
8077 } Py_INCREF(Py_None
);
8078 _resultobj
= Py_None
;
8082 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8083 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8087 PyObject
* _argo0
= 0;
8088 char *_kwnames
[] = { "self", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 _result
= (bool )wxWave_IsOk(_arg0
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) return NULL
;
8106 } _resultobj
= Py_BuildValue("i",_result
);
8110 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8111 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8115 bool _arg1
= (bool ) TRUE
;
8116 bool _arg2
= (bool ) FALSE
;
8117 PyObject
* _argo0
= 0;
8118 int tempbool1
= (int) TRUE
;
8119 int tempbool2
= (int) FALSE
;
8120 char *_kwnames
[] = { "self","async","looped", NULL
};
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8132 _arg1
= (bool ) tempbool1
;
8133 _arg2
= (bool ) tempbool2
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) return NULL
;
8140 } _resultobj
= Py_BuildValue("i",_result
);
8144 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8145 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
* _resultobj
;
8147 wxFileTypeInfo
* _result
;
8152 PyObject
* _obj0
= 0;
8153 PyObject
* _obj1
= 0;
8154 PyObject
* _obj2
= 0;
8155 PyObject
* _obj3
= 0;
8156 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
8163 _arg0
= wxString_in_helper(_obj0
);
8168 _arg1
= wxString_in_helper(_obj1
);
8173 _arg2
= wxString_in_helper(_obj2
);
8178 _arg3
= wxString_in_helper(_obj3
);
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) return NULL
;
8189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8190 _resultobj
= Py_BuildValue("s",_ptemp
);
8193 _resultobj
= Py_None
;
8214 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8215 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
* _resultobj
;
8217 wxFileTypeInfo
* _result
;
8218 wxArrayString
* _arg0
;
8219 PyObject
* _obj0
= 0;
8220 char *_kwnames
[] = { "sArray", NULL
};
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8227 if (! PySequence_Check(_obj0
)) {
8228 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8231 _arg0
= new wxArrayString
;
8232 int i
, len
=PySequence_Length(_obj0
);
8233 for (i
=0; i
<len
; i
++) {
8234 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8236 PyObject
* str
= PyObject_Unicode(item
);
8238 PyObject
* str
= PyObject_Str(item
);
8240 _arg0
->Add(Py2wxString(str
));
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) return NULL
;
8252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8253 _resultobj
= Py_BuildValue("s",_ptemp
);
8256 _resultobj
= Py_None
;
8265 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8266 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
* _resultobj
;
8268 wxFileTypeInfo
* _result
;
8269 char *_kwnames
[] = { NULL
};
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) return NULL
;
8282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8283 _resultobj
= Py_BuildValue("s",_ptemp
);
8286 _resultobj
= Py_None
;
8291 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8292 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
* _resultobj
;
8295 wxFileTypeInfo
* _arg0
;
8296 PyObject
* _argo0
= 0;
8297 char *_kwnames
[] = { "self", NULL
};
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) return NULL
;
8315 } _resultobj
= Py_BuildValue("i",_result
);
8319 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8320 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
* _resultobj
;
8322 wxFileTypeInfo
* _arg0
;
8324 int _arg2
= (int ) 0;
8325 PyObject
* _argo0
= 0;
8326 PyObject
* _obj1
= 0;
8327 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8340 _arg1
= wxString_in_helper(_obj1
);
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) return NULL
;
8350 } Py_INCREF(Py_None
);
8351 _resultobj
= Py_None
;
8359 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8360 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
* _resultobj
;
8362 wxFileTypeInfo
* _arg0
;
8364 PyObject
* _argo0
= 0;
8365 PyObject
* _obj1
= 0;
8366 char *_kwnames
[] = { "self","shortDesc", NULL
};
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8379 _arg1
= wxString_in_helper(_obj1
);
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) return NULL
;
8389 } Py_INCREF(Py_None
);
8390 _resultobj
= Py_None
;
8398 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8399 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8402 wxFileTypeInfo
* _arg0
;
8403 PyObject
* _argo0
= 0;
8404 char *_kwnames
[] = { "self", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8419 _result
= (wxString
*) &_result_ref
;
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) return NULL
;
8425 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8427 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8433 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8434 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
* _resultobj
;
8437 wxFileTypeInfo
* _arg0
;
8438 PyObject
* _argo0
= 0;
8439 char *_kwnames
[] = { "self", NULL
};
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8454 _result
= (wxString
*) &_result_ref
;
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) return NULL
;
8460 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8462 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8468 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8469 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
* _resultobj
;
8472 wxFileTypeInfo
* _arg0
;
8473 PyObject
* _argo0
= 0;
8474 char *_kwnames
[] = { "self", NULL
};
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8489 _result
= (wxString
*) &_result_ref
;
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) return NULL
;
8495 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8503 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8504 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
* _resultobj
;
8507 wxFileTypeInfo
* _arg0
;
8508 PyObject
* _argo0
= 0;
8509 char *_kwnames
[] = { "self", NULL
};
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8524 _result
= (wxString
*) &_result_ref
;
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) return NULL
;
8530 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8532 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8538 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8539 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
* _resultobj
;
8542 wxFileTypeInfo
* _arg0
;
8543 PyObject
* _argo0
= 0;
8544 char *_kwnames
[] = { "self", NULL
};
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8559 _result
= (wxString
*) &_result_ref
;
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) return NULL
;
8565 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8567 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8573 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8574 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8575 return wxArrayString2PyList_helper(arr
);
8577 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
* _resultobj
;
8580 wxFileTypeInfo
* _arg0
;
8581 PyObject
* _argo0
= 0;
8582 char *_kwnames
[] = { "self", NULL
};
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) return NULL
;
8601 _resultobj
= _result
;
8606 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8607 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
* _resultobj
;
8610 wxFileTypeInfo
* _arg0
;
8611 PyObject
* _argo0
= 0;
8612 char *_kwnames
[] = { "self", NULL
};
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) return NULL
;
8630 } _resultobj
= Py_BuildValue("i",_result
);
8634 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8635 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
* _resultobj
;
8638 wxFileTypeInfo
* _arg0
;
8639 PyObject
* _argo0
= 0;
8640 char *_kwnames
[] = { "self", NULL
};
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8655 _result
= (wxString
*) &_result_ref
;
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) return NULL
;
8661 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8663 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8669 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8670 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
* _resultobj
;
8673 wxFileTypeInfo
* _arg0
;
8674 PyObject
* _argo0
= 0;
8675 char *_kwnames
[] = { "self", NULL
};
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) return NULL
;
8693 } _resultobj
= Py_BuildValue("i",_result
);
8697 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8698 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
* _resultobj
;
8700 wxFileType
* _result
;
8701 wxFileTypeInfo
* _arg0
;
8702 PyObject
* _argo0
= 0;
8703 char *_kwnames
[] = { "ftInfo", NULL
};
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8710 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) return NULL
;
8722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8723 _resultobj
= Py_BuildValue("s",_ptemp
);
8726 _resultobj
= Py_None
;
8731 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8733 if (self
->GetMimeType(&str
)) {
8735 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8737 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8743 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
* _resultobj
;
8747 PyObject
* _argo0
= 0;
8748 char *_kwnames
[] = { "self", NULL
};
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) return NULL
;
8767 _resultobj
= _result
;
8772 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8774 if (self
->GetMimeTypes(arr
))
8775 return wxArrayString2PyList_helper(arr
);
8779 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
* _resultobj
;
8783 PyObject
* _argo0
= 0;
8784 char *_kwnames
[] = { "self", NULL
};
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) return NULL
;
8803 _resultobj
= _result
;
8808 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8810 if (self
->GetExtensions(arr
))
8811 return wxArrayString2PyList_helper(arr
);
8815 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
* _resultobj
;
8819 PyObject
* _argo0
= 0;
8820 char *_kwnames
[] = { "self", NULL
};
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) return NULL
;
8839 _resultobj
= _result
;
8844 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8846 if (self
->GetIcon(&loc
))
8847 return new wxIcon(loc
);
8851 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
* _resultobj
;
8855 PyObject
* _argo0
= 0;
8856 char *_kwnames
[] = { "self", NULL
};
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) return NULL
;
8876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8877 _resultobj
= Py_BuildValue("s",_ptemp
);
8880 _resultobj
= Py_None
;
8885 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8887 if (self
->GetIcon(&loc
)) {
8888 wxString iconFile
= loc
.GetFileName();
8891 iconIndex
= loc
.GetIndex();
8893 // Make a tuple and put the values in it
8894 wxPyBeginBlockThreads();
8895 PyObject
* tuple
= PyTuple_New(3);
8896 PyTuple_SetItem(tuple
, 0,
8897 wxPyConstructObject(new wxIcon(loc
), wxT("wxIcon"), TRUE
));
8899 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8901 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8903 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8904 wxPyEndBlockThreads();
8910 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
* _resultobj
;
8914 PyObject
* _argo0
= 0;
8915 char *_kwnames
[] = { "self", NULL
};
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) return NULL
;
8934 _resultobj
= _result
;
8939 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8941 if (self
->GetDescription(&str
)) {
8943 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8945 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8950 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
* _resultobj
;
8954 PyObject
* _argo0
= 0;
8955 char *_kwnames
[] = { "self", NULL
};
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) return NULL
;
8974 _resultobj
= _result
;
8979 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8981 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8983 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8985 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8990 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
* _resultobj
;
8995 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8996 PyObject
* _argo0
= 0;
8997 PyObject
* _obj1
= 0;
8998 PyObject
* _obj2
= 0;
8999 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
9012 _arg1
= wxString_in_helper(_obj1
);
9018 _arg2
= wxString_in_helper(_obj2
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) return NULL
;
9029 _resultobj
= _result
;
9042 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9044 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9046 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9048 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9053 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
* _resultobj
;
9058 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9059 PyObject
* _argo0
= 0;
9060 PyObject
* _obj1
= 0;
9061 PyObject
* _obj2
= 0;
9062 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
9075 _arg1
= wxString_in_helper(_obj1
);
9081 _arg2
= wxString_in_helper(_obj2
);
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) return NULL
;
9092 _resultobj
= _result
;
9105 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9106 wxArrayString verbs
;
9107 wxArrayString commands
;
9108 if (self
->GetAllCommands(&verbs
, &commands
,
9109 wxFileType::MessageParameters(filename
, mimetype
))) {
9110 wxPyBeginBlockThreads();
9111 PyObject
* tuple
= PyTuple_New(2);
9112 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
9113 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
9114 wxPyEndBlockThreads();
9120 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
* _resultobj
;
9125 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9126 PyObject
* _argo0
= 0;
9127 PyObject
* _obj1
= 0;
9128 PyObject
* _obj2
= 0;
9129 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9142 _arg1
= wxString_in_helper(_obj1
);
9148 _arg2
= wxString_in_helper(_obj2
);
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) return NULL
;
9159 _resultobj
= _result
;
9172 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9173 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
* _resultobj
;
9179 bool _arg3
= (bool ) TRUE
;
9180 PyObject
* _argo0
= 0;
9181 PyObject
* _obj1
= 0;
9182 PyObject
* _obj2
= 0;
9183 int tempbool3
= (int) TRUE
;
9184 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
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_SetCommand. Expected _wxFileType_p.");
9197 _arg1
= wxString_in_helper(_obj1
);
9202 _arg2
= wxString_in_helper(_obj2
);
9206 _arg3
= (bool ) tempbool3
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) return NULL
;
9213 } _resultobj
= Py_BuildValue("i",_result
);
9225 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9226 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
* _resultobj
;
9230 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9231 int _arg2
= (int ) 0;
9232 PyObject
* _argo0
= 0;
9233 PyObject
* _obj1
= 0;
9234 char *_kwnames
[] = { "self","cmd","index", NULL
};
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9248 _arg1
= wxString_in_helper(_obj1
);
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) return NULL
;
9258 } _resultobj
= Py_BuildValue("i",_result
);
9266 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9267 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
* _resultobj
;
9271 PyObject
* _argo0
= 0;
9272 char *_kwnames
[] = { "self", NULL
};
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 _result
= (bool )wxFileType_Unassociate(_arg0
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) return NULL
;
9290 } _resultobj
= Py_BuildValue("i",_result
);
9294 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
* _resultobj
;
9298 wxFileType::MessageParameters
* _arg1
;
9299 PyObject
* _obj0
= 0;
9300 PyObject
* _argo1
= 0;
9301 char *_kwnames
[] = { "command","params", NULL
};
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9307 _arg0
= wxString_in_helper(_obj0
);
9312 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) return NULL
;
9325 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9327 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9340 #define delete_wxFileType(_swigobj) (delete _swigobj)
9341 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
* _resultobj
;
9344 PyObject
* _argo0
= 0;
9345 char *_kwnames
[] = { "self", NULL
};
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 delete_wxFileType(_arg0
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) return NULL
;
9363 } Py_INCREF(Py_None
);
9364 _resultobj
= Py_None
;
9368 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
* _resultobj
;
9373 PyObject
* _obj0
= 0;
9374 PyObject
* _obj1
= 0;
9375 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9381 _arg0
= wxString_in_helper(_obj0
);
9386 _arg1
= wxString_in_helper(_obj1
);
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) return NULL
;
9396 } _resultobj
= Py_BuildValue("i",_result
);
9408 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9409 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
* _resultobj
;
9411 wxMimeTypesManager
* _result
;
9412 char *_kwnames
[] = { NULL
};
9416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) return NULL
;
9425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9426 _resultobj
= Py_BuildValue("s",_ptemp
);
9429 _resultobj
= Py_None
;
9434 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9435 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
* _resultobj
;
9437 wxMimeTypesManager
* _arg0
;
9438 int _arg1
= (int ) (wxMAILCAP_ALL
);
9439 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9440 PyObject
* _argo0
= 0;
9441 PyObject
* _obj2
= 0;
9442 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9456 _arg2
= wxString_in_helper(_obj2
);
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) return NULL
;
9466 } Py_INCREF(Py_None
);
9467 _resultobj
= Py_None
;
9475 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9476 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
* _resultobj
;
9478 wxMimeTypesManager
* _arg0
;
9479 PyObject
* _argo0
= 0;
9480 char *_kwnames
[] = { "self", NULL
};
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 wxMimeTypesManager_ClearData(_arg0
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) return NULL
;
9498 } Py_INCREF(Py_None
);
9499 _resultobj
= Py_None
;
9503 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9504 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
* _resultobj
;
9506 wxFileType
* _result
;
9507 wxMimeTypesManager
* _arg0
;
9509 PyObject
* _argo0
= 0;
9510 PyObject
* _obj1
= 0;
9511 char *_kwnames
[] = { "self","ext", NULL
};
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9525 _arg1
= wxString_in_helper(_obj1
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) return NULL
;
9536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9537 _resultobj
= Py_BuildValue("s",_ptemp
);
9540 _resultobj
= Py_None
;
9549 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9550 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
* _resultobj
;
9552 wxFileType
* _result
;
9553 wxMimeTypesManager
* _arg0
;
9555 PyObject
* _argo0
= 0;
9556 PyObject
* _obj1
= 0;
9557 char *_kwnames
[] = { "self","mimeType", NULL
};
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9571 _arg1
= wxString_in_helper(_obj1
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) return NULL
;
9582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9583 _resultobj
= Py_BuildValue("s",_ptemp
);
9586 _resultobj
= Py_None
;
9595 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9596 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
* _resultobj
;
9599 wxMimeTypesManager
* _arg0
;
9601 bool _arg2
= (bool ) FALSE
;
9602 PyObject
* _argo0
= 0;
9603 PyObject
* _obj1
= 0;
9604 int tempbool2
= (int) FALSE
;
9605 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9618 _arg1
= wxString_in_helper(_obj1
);
9622 _arg2
= (bool ) tempbool2
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) return NULL
;
9629 } _resultobj
= Py_BuildValue("i",_result
);
9637 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9638 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
* _resultobj
;
9641 wxMimeTypesManager
* _arg0
;
9643 PyObject
* _argo0
= 0;
9644 PyObject
* _obj1
= 0;
9645 char *_kwnames
[] = { "self","filename", NULL
};
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9658 _arg1
= wxString_in_helper(_obj1
);
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) return NULL
;
9668 } _resultobj
= Py_BuildValue("i",_result
);
9676 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9678 self
->EnumAllFileTypes(arr
);
9679 return wxArrayString2PyList_helper(arr
);
9681 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
* _resultobj
;
9684 wxMimeTypesManager
* _arg0
;
9685 PyObject
* _argo0
= 0;
9686 char *_kwnames
[] = { "self", NULL
};
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) return NULL
;
9705 _resultobj
= _result
;
9710 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9711 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
* _resultobj
;
9713 wxMimeTypesManager
* _arg0
;
9714 wxFileTypeInfo
* _arg1
;
9715 PyObject
* _argo0
= 0;
9716 PyObject
* _argo1
= 0;
9717 char *_kwnames
[] = { "self","ft", NULL
};
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9730 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) return NULL
;
9741 } Py_INCREF(Py_None
);
9742 _resultobj
= Py_None
;
9746 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9747 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
* _resultobj
;
9749 wxFileType
* _result
;
9750 wxMimeTypesManager
* _arg0
;
9751 wxFileTypeInfo
* _arg1
;
9752 PyObject
* _argo0
= 0;
9753 PyObject
* _argo1
= 0;
9754 char *_kwnames
[] = { "self","ftInfo", NULL
};
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9768 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) return NULL
;
9780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9781 _resultobj
= Py_BuildValue("s",_ptemp
);
9784 _resultobj
= Py_None
;
9789 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9790 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
* _resultobj
;
9793 wxMimeTypesManager
* _arg0
;
9795 PyObject
* _argo0
= 0;
9796 PyObject
* _argo1
= 0;
9797 char *_kwnames
[] = { "self","ft", NULL
};
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9810 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9811 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) return NULL
;
9822 } _resultobj
= Py_BuildValue("i",_result
);
9826 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9827 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
* _resultobj
;
9829 wxMimeTypesManager
* _arg0
;
9830 PyObject
* _argo0
= 0;
9831 char *_kwnames
[] = { "self", NULL
};
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 delete_wxMimeTypesManager(_arg0
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) return NULL
;
9849 } Py_INCREF(Py_None
);
9850 _resultobj
= Py_None
;
9854 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9855 wxPyArtProvider
*src
;
9857 src
= (wxPyArtProvider
*) ptr
;
9858 dest
= (wxObject
*) src
;
9859 return (void *) dest
;
9862 #define new_wxArtProvider() (new wxPyArtProvider())
9863 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
* _resultobj
;
9865 wxPyArtProvider
* _result
;
9866 char *_kwnames
[] = { NULL
};
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) return NULL
;
9879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9880 _resultobj
= Py_BuildValue("s",_ptemp
);
9883 _resultobj
= Py_None
;
9888 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9889 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
* _resultobj
;
9891 wxPyArtProvider
* _arg0
;
9894 PyObject
* _argo0
= 0;
9895 PyObject
* _obj1
= 0;
9896 PyObject
* _obj2
= 0;
9897 char *_kwnames
[] = { "self","self","_class", NULL
};
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) return NULL
;
9921 } Py_INCREF(Py_None
);
9922 _resultobj
= Py_None
;
9926 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
* _resultobj
;
9928 wxPyArtProvider
* _arg0
;
9929 PyObject
* _argo0
= 0;
9930 char *_kwnames
[] = { "provider", NULL
};
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxPyArtProvider::PushProvider(_arg0
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) return NULL
;
9948 } Py_INCREF(Py_None
);
9949 _resultobj
= Py_None
;
9953 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
* _resultobj
;
9956 char *_kwnames
[] = { NULL
};
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 _result
= (bool )wxPyArtProvider::PopProvider();
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) return NULL
;
9967 } _resultobj
= Py_BuildValue("i",_result
);
9971 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
* _resultobj
;
9974 wxPyArtProvider
* _arg0
;
9975 PyObject
* _argo0
= 0;
9976 char *_kwnames
[] = { "provider", NULL
};
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) return NULL
;
9994 } _resultobj
= Py_BuildValue("i",_result
);
9998 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
* _resultobj
;
10000 wxBitmap
* _result
;
10002 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10003 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10004 PyObject
* _obj0
= 0;
10005 PyObject
* _obj1
= 0;
10007 PyObject
* _obj2
= 0;
10008 char *_kwnames
[] = { "id","client","size", NULL
};
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10015 _arg0
= wxString_in_helper(_obj0
);
10021 _arg1
= wxString_in_helper(_obj1
);
10028 if (! wxSize_helper(_obj2
, &_arg2
))
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) return NULL
;
10037 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10038 _resultobj
= Py_BuildValue("s",_ptemp
);
10050 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
* _resultobj
;
10054 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10055 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10056 PyObject
* _obj0
= 0;
10057 PyObject
* _obj1
= 0;
10059 PyObject
* _obj2
= 0;
10060 char *_kwnames
[] = { "id","client","size", NULL
};
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10067 _arg0
= wxString_in_helper(_obj0
);
10073 _arg1
= wxString_in_helper(_obj1
);
10080 if (! wxSize_helper(_obj2
, &_arg2
))
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) return NULL
;
10089 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
10090 _resultobj
= Py_BuildValue("s",_ptemp
);
10102 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10103 wxFileHistory
*src
;
10105 src
= (wxFileHistory
*) ptr
;
10106 dest
= (wxObject
*) src
;
10107 return (void *) dest
;
10110 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10111 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
* _resultobj
;
10113 wxFileHistory
* _result
;
10114 int _arg0
= (int ) 9;
10115 char *_kwnames
[] = { "maxFiles", NULL
};
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) return NULL
;
10128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10129 _resultobj
= Py_BuildValue("s",_ptemp
);
10131 Py_INCREF(Py_None
);
10132 _resultobj
= Py_None
;
10137 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10138 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
* _resultobj
;
10140 wxFileHistory
* _arg0
;
10141 PyObject
* _argo0
= 0;
10142 char *_kwnames
[] = { "self", NULL
};
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 delete_wxFileHistory(_arg0
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) return NULL
;
10160 } Py_INCREF(Py_None
);
10161 _resultobj
= Py_None
;
10165 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10166 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
* _resultobj
;
10168 wxFileHistory
* _arg0
;
10170 PyObject
* _argo0
= 0;
10171 PyObject
* _obj1
= 0;
10172 char *_kwnames
[] = { "self","file", NULL
};
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10185 _arg1
= wxString_in_helper(_obj1
);
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) return NULL
;
10195 } Py_INCREF(Py_None
);
10196 _resultobj
= Py_None
;
10204 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10205 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
* _resultobj
;
10207 wxFileHistory
* _arg0
;
10209 PyObject
* _argo0
= 0;
10210 char *_kwnames
[] = { "self","i", NULL
};
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) return NULL
;
10228 } Py_INCREF(Py_None
);
10229 _resultobj
= Py_None
;
10233 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10234 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
* _resultobj
;
10237 wxFileHistory
* _arg0
;
10238 PyObject
* _argo0
= 0;
10239 char *_kwnames
[] = { "self", NULL
};
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) return NULL
;
10257 } _resultobj
= Py_BuildValue("i",_result
);
10261 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10262 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
* _resultobj
;
10264 wxFileHistory
* _arg0
;
10266 PyObject
* _argo0
= 0;
10267 PyObject
* _argo1
= 0;
10268 char *_kwnames
[] = { "self","menu", NULL
};
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10281 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10282 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 wxFileHistory_UseMenu(_arg0
,_arg1
);
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) return NULL
;
10293 } Py_INCREF(Py_None
);
10294 _resultobj
= Py_None
;
10298 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10299 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
* _resultobj
;
10301 wxFileHistory
* _arg0
;
10303 PyObject
* _argo0
= 0;
10304 PyObject
* _argo1
= 0;
10305 char *_kwnames
[] = { "self","menu", NULL
};
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10318 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10319 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) return NULL
;
10330 } Py_INCREF(Py_None
);
10331 _resultobj
= Py_None
;
10335 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10336 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
* _resultobj
;
10338 wxFileHistory
* _arg0
;
10339 wxConfigBase
* _arg1
;
10340 PyObject
* _argo0
= 0;
10341 PyObject
* _argo1
= 0;
10342 char *_kwnames
[] = { "self","config", NULL
};
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10355 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 wxFileHistory_Load(_arg0
,*_arg1
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) return NULL
;
10366 } Py_INCREF(Py_None
);
10367 _resultobj
= Py_None
;
10371 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10372 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
* _resultobj
;
10374 wxFileHistory
* _arg0
;
10375 wxConfigBase
* _arg1
;
10376 PyObject
* _argo0
= 0;
10377 PyObject
* _argo1
= 0;
10378 char *_kwnames
[] = { "self","config", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10391 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 wxFileHistory_Save(_arg0
,*_arg1
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) return NULL
;
10402 } Py_INCREF(Py_None
);
10403 _resultobj
= Py_None
;
10407 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10408 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
* _resultobj
;
10410 wxFileHistory
* _arg0
;
10411 PyObject
* _argo0
= 0;
10412 char *_kwnames
[] = { "self", NULL
};
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 wxFileHistory_AddFilesToMenu(_arg0
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) return NULL
;
10430 } Py_INCREF(Py_None
);
10431 _resultobj
= Py_None
;
10435 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10436 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
* _resultobj
;
10438 wxFileHistory
* _arg0
;
10440 PyObject
* _argo0
= 0;
10441 PyObject
* _argo1
= 0;
10442 char *_kwnames
[] = { "self","menu", NULL
};
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) return NULL
;
10467 } Py_INCREF(Py_None
);
10468 _resultobj
= Py_None
;
10472 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10473 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
* _resultobj
;
10475 wxString
* _result
;
10476 wxFileHistory
* _arg0
;
10478 PyObject
* _argo0
= 0;
10479 char *_kwnames
[] = { "self","i", NULL
};
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) return NULL
;
10499 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10501 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10510 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10511 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
* _resultobj
;
10514 wxFileHistory
* _arg0
;
10515 PyObject
* _argo0
= 0;
10516 char *_kwnames
[] = { "self", NULL
};
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 _result
= (int )wxFileHistory_GetCount(_arg0
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) return NULL
;
10534 } _resultobj
= Py_BuildValue("i",_result
);
10538 static void *SwigwxEffectsTowxObject(void *ptr
) {
10541 src
= (wxEffects
*) ptr
;
10542 dest
= (wxObject
*) src
;
10543 return (void *) dest
;
10546 #define new_wxEffects() (new wxEffects())
10547 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
* _resultobj
;
10549 wxEffects
* _result
;
10550 char *_kwnames
[] = { NULL
};
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 _result
= (wxEffects
*)new_wxEffects();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) return NULL
;
10563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10564 _resultobj
= Py_BuildValue("s",_ptemp
);
10566 Py_INCREF(Py_None
);
10567 _resultobj
= Py_None
;
10572 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10573 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
* _resultobj
;
10575 wxColour
* _result
;
10577 PyObject
* _argo0
= 0;
10578 char *_kwnames
[] = { "self", NULL
};
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) return NULL
;
10597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10598 _resultobj
= Py_BuildValue("s",_ptemp
);
10602 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10603 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
* _resultobj
;
10605 wxColour
* _result
;
10607 PyObject
* _argo0
= 0;
10608 char *_kwnames
[] = { "self", NULL
};
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) return NULL
;
10627 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10628 _resultobj
= Py_BuildValue("s",_ptemp
);
10632 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10633 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
* _resultobj
;
10635 wxColour
* _result
;
10637 PyObject
* _argo0
= 0;
10638 char *_kwnames
[] = { "self", NULL
};
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) return NULL
;
10657 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10658 _resultobj
= Py_BuildValue("s",_ptemp
);
10662 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10663 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
* _resultobj
;
10665 wxColour
* _result
;
10667 PyObject
* _argo0
= 0;
10668 char *_kwnames
[] = { "self", NULL
};
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) return NULL
;
10687 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10688 _resultobj
= Py_BuildValue("s",_ptemp
);
10692 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10693 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
* _resultobj
;
10695 wxColour
* _result
;
10697 PyObject
* _argo0
= 0;
10698 char *_kwnames
[] = { "self", NULL
};
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) return NULL
;
10717 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10718 _resultobj
= Py_BuildValue("s",_ptemp
);
10722 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10723 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
* _resultobj
;
10727 PyObject
* _argo0
= 0;
10729 PyObject
* _obj1
= 0;
10730 char *_kwnames
[] = { "self","c", NULL
};
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10744 if (! wxColour_helper(_obj1
, &_arg1
))
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) return NULL
;
10753 } Py_INCREF(Py_None
);
10754 _resultobj
= Py_None
;
10758 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10759 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
* _resultobj
;
10763 PyObject
* _argo0
= 0;
10765 PyObject
* _obj1
= 0;
10766 char *_kwnames
[] = { "self","c", NULL
};
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10780 if (! wxColour_helper(_obj1
, &_arg1
))
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) return NULL
;
10789 } Py_INCREF(Py_None
);
10790 _resultobj
= Py_None
;
10794 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10795 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
* _resultobj
;
10799 PyObject
* _argo0
= 0;
10801 PyObject
* _obj1
= 0;
10802 char *_kwnames
[] = { "self","c", NULL
};
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10816 if (! wxColour_helper(_obj1
, &_arg1
))
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) return NULL
;
10825 } Py_INCREF(Py_None
);
10826 _resultobj
= Py_None
;
10830 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10831 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
* _resultobj
;
10835 PyObject
* _argo0
= 0;
10837 PyObject
* _obj1
= 0;
10838 char *_kwnames
[] = { "self","c", NULL
};
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10852 if (! wxColour_helper(_obj1
, &_arg1
))
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) return NULL
;
10861 } Py_INCREF(Py_None
);
10862 _resultobj
= Py_None
;
10866 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10867 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
* _resultobj
;
10871 PyObject
* _argo0
= 0;
10873 PyObject
* _obj1
= 0;
10874 char *_kwnames
[] = { "self","c", NULL
};
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10888 if (! wxColour_helper(_obj1
, &_arg1
))
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) return NULL
;
10897 } Py_INCREF(Py_None
);
10898 _resultobj
= Py_None
;
10902 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10903 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
* _resultobj
;
10911 PyObject
* _argo0
= 0;
10913 PyObject
* _obj1
= 0;
10915 PyObject
* _obj2
= 0;
10917 PyObject
* _obj3
= 0;
10919 PyObject
* _obj4
= 0;
10921 PyObject
* _obj5
= 0;
10922 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10936 if (! wxColour_helper(_obj1
, &_arg1
))
10941 if (! wxColour_helper(_obj2
, &_arg2
))
10946 if (! wxColour_helper(_obj3
, &_arg3
))
10951 if (! wxColour_helper(_obj4
, &_arg4
))
10956 if (! wxColour_helper(_obj5
, &_arg5
))
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) return NULL
;
10965 } Py_INCREF(Py_None
);
10966 _resultobj
= Py_None
;
10970 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10971 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
* _resultobj
;
10976 int _arg3
= (int ) 1;
10977 PyObject
* _argo0
= 0;
10978 PyObject
* _argo1
= 0;
10980 PyObject
* _obj2
= 0;
10981 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10994 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
11001 if (! wxRect_helper(_obj2
, &_arg2
))
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) return NULL
;
11010 } Py_INCREF(Py_None
);
11011 _resultobj
= Py_None
;
11015 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
11016 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
* _resultobj
;
11023 PyObject
* _argo0
= 0;
11025 PyObject
* _obj1
= 0;
11026 PyObject
* _argo2
= 0;
11027 PyObject
* _argo3
= 0;
11028 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
11042 if (! wxRect_helper(_obj1
, &_arg1
))
11046 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
11052 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) return NULL
;
11063 } _resultobj
= Py_BuildValue("i",_result
);
11067 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11068 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
* _resultobj
;
11070 wxSingleInstanceChecker
* _result
;
11072 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11073 PyObject
* _obj0
= 0;
11074 PyObject
* _obj1
= 0;
11075 char *_kwnames
[] = { "name","path", NULL
};
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11082 _arg0
= wxString_in_helper(_obj0
);
11088 _arg1
= wxString_in_helper(_obj1
);
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) return NULL
;
11099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11100 _resultobj
= Py_BuildValue("s",_ptemp
);
11102 Py_INCREF(Py_None
);
11103 _resultobj
= Py_None
;
11116 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11117 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
* _resultobj
;
11119 wxSingleInstanceChecker
* _result
;
11120 char *_kwnames
[] = { NULL
};
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) return NULL
;
11133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11134 _resultobj
= Py_BuildValue("s",_ptemp
);
11136 Py_INCREF(Py_None
);
11137 _resultobj
= Py_None
;
11142 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11143 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
* _resultobj
;
11145 wxSingleInstanceChecker
* _arg0
;
11146 PyObject
* _argo0
= 0;
11147 char *_kwnames
[] = { "self", NULL
};
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 delete_wxSingleInstanceChecker(_arg0
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) return NULL
;
11165 } Py_INCREF(Py_None
);
11166 _resultobj
= Py_None
;
11170 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11171 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
* _resultobj
;
11174 wxSingleInstanceChecker
* _arg0
;
11176 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11177 PyObject
* _argo0
= 0;
11178 PyObject
* _obj1
= 0;
11179 PyObject
* _obj2
= 0;
11180 char *_kwnames
[] = { "self","name","path", NULL
};
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11193 _arg1
= wxString_in_helper(_obj1
);
11199 _arg2
= wxString_in_helper(_obj2
);
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) return NULL
;
11209 } _resultobj
= Py_BuildValue("i",_result
);
11221 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11222 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
* _resultobj
;
11225 wxSingleInstanceChecker
* _arg0
;
11226 PyObject
* _argo0
= 0;
11227 char *_kwnames
[] = { "self", NULL
};
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) return NULL
;
11245 } _resultobj
= Py_BuildValue("i",_result
);
11249 static PyMethodDef misc2cMethods
[] = {
11250 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxSystemOptions_HasOption", (PyCFunction
) _wrap_wxSystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxSystemOptions_GetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxSystemOptions_GetOption", (PyCFunction
) _wrap_wxSystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxSystemOptions_SetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxSystemOptions_SetOption", (PyCFunction
) _wrap_wxSystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "new_wxSystemOptions", (PyCFunction
) _wrap_new_wxSystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxDrawWindowOnDC", (PyCFunction
) _wrap_wxDrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11582 * This table is used by the pointer type-checker
11584 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11585 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11586 { "_signed_long","_long",0},
11587 { "_wxPrintQuality","_wxCoord",0},
11588 { "_wxPrintQuality","_int",0},
11589 { "_wxPrintQuality","_signed_int",0},
11590 { "_wxPrintQuality","_unsigned_int",0},
11591 { "_wxPrintQuality","_wxWindowID",0},
11592 { "_wxPrintQuality","_uint",0},
11593 { "_wxPrintQuality","_EBool",0},
11594 { "_wxPrintQuality","_size_t",0},
11595 { "_wxPrintQuality","_time_t",0},
11596 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11597 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11598 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11599 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11600 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11601 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11602 { "_byte","_unsigned_char",0},
11603 { "_long","_unsigned_long",0},
11604 { "_long","_signed_long",0},
11605 { "_size_t","_wxCoord",0},
11606 { "_size_t","_wxPrintQuality",0},
11607 { "_size_t","_time_t",0},
11608 { "_size_t","_unsigned_int",0},
11609 { "_size_t","_int",0},
11610 { "_size_t","_wxWindowID",0},
11611 { "_size_t","_uint",0},
11612 { "_uint","_wxCoord",0},
11613 { "_uint","_wxPrintQuality",0},
11614 { "_uint","_time_t",0},
11615 { "_uint","_size_t",0},
11616 { "_uint","_unsigned_int",0},
11617 { "_uint","_int",0},
11618 { "_uint","_wxWindowID",0},
11619 { "_wxChar","_char",0},
11620 { "_char","_wxChar",0},
11621 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11622 { "_EBool","_wxCoord",0},
11623 { "_EBool","_wxPrintQuality",0},
11624 { "_EBool","_signed_int",0},
11625 { "_EBool","_int",0},
11626 { "_EBool","_wxWindowID",0},
11627 { "_unsigned_long","_long",0},
11628 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11629 { "_signed_int","_wxCoord",0},
11630 { "_signed_int","_wxPrintQuality",0},
11631 { "_signed_int","_EBool",0},
11632 { "_signed_int","_wxWindowID",0},
11633 { "_signed_int","_int",0},
11634 { "_WXTYPE","_wxDateTime_t",0},
11635 { "_WXTYPE","_short",0},
11636 { "_WXTYPE","_signed_short",0},
11637 { "_WXTYPE","_unsigned_short",0},
11638 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11639 { "_unsigned_short","_wxDateTime_t",0},
11640 { "_unsigned_short","_WXTYPE",0},
11641 { "_unsigned_short","_short",0},
11642 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11643 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11644 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11645 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11646 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11647 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11648 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11649 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11650 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11651 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11652 { "_wxObject","_wxSystemOptions",SwigwxSystemOptionsTowxObject
},
11653 { "_signed_short","_WXTYPE",0},
11654 { "_signed_short","_short",0},
11655 { "_unsigned_char","_byte",0},
11656 { "_unsigned_int","_wxCoord",0},
11657 { "_unsigned_int","_wxPrintQuality",0},
11658 { "_unsigned_int","_time_t",0},
11659 { "_unsigned_int","_size_t",0},
11660 { "_unsigned_int","_uint",0},
11661 { "_unsigned_int","_wxWindowID",0},
11662 { "_unsigned_int","_int",0},
11663 { "_short","_wxDateTime_t",0},
11664 { "_short","_WXTYPE",0},
11665 { "_short","_unsigned_short",0},
11666 { "_short","_signed_short",0},
11667 { "_wxWindowID","_wxCoord",0},
11668 { "_wxWindowID","_wxPrintQuality",0},
11669 { "_wxWindowID","_time_t",0},
11670 { "_wxWindowID","_size_t",0},
11671 { "_wxWindowID","_EBool",0},
11672 { "_wxWindowID","_uint",0},
11673 { "_wxWindowID","_int",0},
11674 { "_wxWindowID","_signed_int",0},
11675 { "_wxWindowID","_unsigned_int",0},
11676 { "_int","_wxCoord",0},
11677 { "_int","_wxPrintQuality",0},
11678 { "_int","_time_t",0},
11679 { "_int","_size_t",0},
11680 { "_int","_EBool",0},
11681 { "_int","_uint",0},
11682 { "_int","_wxWindowID",0},
11683 { "_int","_unsigned_int",0},
11684 { "_int","_signed_int",0},
11685 { "_wxDateTime_t","_unsigned_short",0},
11686 { "_wxDateTime_t","_short",0},
11687 { "_wxDateTime_t","_WXTYPE",0},
11688 { "_time_t","_wxCoord",0},
11689 { "_time_t","_wxPrintQuality",0},
11690 { "_time_t","_unsigned_int",0},
11691 { "_time_t","_int",0},
11692 { "_time_t","_wxWindowID",0},
11693 { "_time_t","_uint",0},
11694 { "_time_t","_size_t",0},
11695 { "_wxCoord","_int",0},
11696 { "_wxCoord","_signed_int",0},
11697 { "_wxCoord","_unsigned_int",0},
11698 { "_wxCoord","_wxWindowID",0},
11699 { "_wxCoord","_uint",0},
11700 { "_wxCoord","_EBool",0},
11701 { "_wxCoord","_size_t",0},
11702 { "_wxCoord","_time_t",0},
11703 { "_wxCoord","_wxPrintQuality",0},
11704 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11707 static PyObject
*SWIG_globals
;
11711 SWIGEXPORT(void) initmisc2c() {
11713 SWIG_globals
= SWIG_newvarlink();
11714 m
= Py_InitModule("misc2c", misc2cMethods
);
11715 d
= PyModule_GetDict(m
);
11716 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11717 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11718 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11719 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11720 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11721 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11722 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11723 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11724 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11725 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11726 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11727 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11728 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11729 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11730 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11731 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11732 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11733 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11734 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11735 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11736 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11737 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11738 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11739 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11740 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11741 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11742 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11743 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11744 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11745 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11746 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11747 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11748 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11749 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11750 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11751 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11752 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11753 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11754 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11755 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11756 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11757 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11758 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11759 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11760 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11761 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11762 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11763 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11764 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11765 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11766 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11767 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11768 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11769 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11770 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11771 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11772 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11773 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11774 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11775 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11776 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11777 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11778 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11779 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11780 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11781 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11782 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11783 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11784 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11785 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11786 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11787 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11788 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11789 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11790 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11791 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11792 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11793 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11794 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11795 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11796 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11797 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11798 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11799 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11800 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11801 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11802 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11803 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11804 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11805 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11806 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11807 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11808 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11809 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11810 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11811 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11812 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11813 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11814 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11815 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11816 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11817 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11818 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11819 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11820 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11821 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11822 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11823 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11824 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11825 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11826 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11827 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11828 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11829 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11830 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11831 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11832 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11833 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11834 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11835 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11836 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11837 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11838 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11839 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11840 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11841 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11842 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11843 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11844 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11845 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11846 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11847 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11848 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11849 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11850 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11851 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11852 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11853 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11854 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11855 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11856 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11857 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11858 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11859 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11860 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11861 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11862 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11863 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11864 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11866 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11867 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11868 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11872 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11873 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);