2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmisc2c
55 #define SWIG_name "misc2c"
58 #include "pyistream.h"
59 #include <wx/tooltip.h>
61 #include <wx/tipdlg.h>
62 #include <wx/process.h>
64 #if wxUSE_JOYSTICK || defined(__WXMSW__)
65 #include <wx/joystick.h>
68 #if wxUSE_WAVE || defined(__WXMSW__)
72 #include <wx/mimetype.h>
73 #include <wx/snglinst.h>
74 #include <wx/effects.h>
75 #include <wx/sysopt.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(FileSelectorPromptStr
);
106 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
107 DECLARE_DEF_STRING(DirSelectorPromptStr
);
108 static const wxString
wxPyEmptyString(wxT(""));
110 int wxCaret_GetBlinkTime() {
111 return wxCaret::GetBlinkTime();
114 void wxCaret_SetBlinkTime(int milliseconds
) {
115 wxCaret::SetBlinkTime(milliseconds
);
118 bool wxThread_IsMain() {
119 #ifdef WXP_WITH_THREAD
120 return wxThread::IsMain();
126 class wxPyTipProvider
: public wxTipProvider
{
128 wxPyTipProvider(size_t currentTip
)
129 : wxTipProvider(currentTip
) {}
131 DEC_PYCALLBACK_STRING__pure(GetTip
);
132 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
136 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
137 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
139 #include <wx/generic/dragimgg.h>
141 // A wxLog class that can be derived from in wxPython
142 class wxPyLog
: public wxLog
{
144 wxPyLog() : wxLog() {}
146 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
148 wxPyBeginBlockThreads();
149 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
150 PyObject
* s
= wx2PyString(szString
);
151 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
154 wxPyEndBlockThreads();
156 wxLog::DoLog(level
, szString
, t
);
159 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
161 wxPyBeginBlockThreads();
162 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
163 PyObject
* s
= wx2PyString(szString
);
164 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
167 wxPyEndBlockThreads();
169 wxLog::DoLogString(szString
, t
);
174 // C++ version of wxProcess derived class
176 class wxPyProcess
: public wxProcess
{
178 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
179 : wxProcess(parent
, id
)
182 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
187 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
190 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
191 // A C++ stub class for wxJoystick for platforms that don't have it.
192 class wxJoystick
: public wxObject
{
194 wxJoystick(int joystick
= wxJOYSTICK1
) {
195 wxPyBeginBlockThreads();
196 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
197 wxPyEndBlockThreads();
199 wxPoint
GetPosition() { return wxPoint(-1,-1); }
200 int GetZPosition() { return -1; }
201 int GetButtonState() { return -1; }
202 int GetPOVPosition() { return -1; }
203 int GetPOVCTSPosition() { return -1; }
204 int GetRudderPosition() { return -1; }
205 int GetUPosition() { return -1; }
206 int GetVPosition() { return -1; }
207 int GetMovementThreshold() { return -1; }
208 void SetMovementThreshold(int threshold
) {}
210 bool IsOk(void) { return FALSE
; }
211 int GetNumberJoysticks() { return -1; }
212 int GetManufacturerId() { return -1; }
213 int GetProductId() { return -1; }
214 wxString
GetProductName() { return ""; }
215 int GetXMin() { return -1; }
216 int GetYMin() { return -1; }
217 int GetZMin() { return -1; }
218 int GetXMax() { return -1; }
219 int GetYMax() { return -1; }
220 int GetZMax() { return -1; }
221 int GetNumberButtons() { return -1; }
222 int GetNumberAxes() { return -1; }
223 int GetMaxButtons() { return -1; }
224 int GetMaxAxes() { return -1; }
225 int GetPollingMin() { return -1; }
226 int GetPollingMax() { return -1; }
227 int GetRudderMin() { return -1; }
228 int GetRudderMax() { return -1; }
229 int GetUMin() { return -1; }
230 int GetUMax() { return -1; }
231 int GetVMin() { return -1; }
232 int GetVMax() { return -1; }
234 bool HasRudder() { return FALSE
; }
235 bool HasZ() { return FALSE
; }
236 bool HasU() { return FALSE
; }
237 bool HasV() { return FALSE
; }
238 bool HasPOV() { return FALSE
; }
239 bool HasPOV4Dir() { return FALSE
; }
240 bool HasPOVCTS() { return FALSE
; }
242 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
243 bool ReleaseCapture() { return FALSE
; }
248 // A C++ stub class for wxWave for platforms that don't have it.
249 class wxWave
: public wxObject
252 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
253 wxPyBeginBlockThreads();
254 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
255 wxPyEndBlockThreads();
257 wxWave(int size
, const wxByte
* data
) {
258 wxPyBeginBlockThreads();
259 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
260 wxPyEndBlockThreads();
265 bool IsOk() const { return FALSE
; }
266 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
270 // Implementations of some alternate "constructors"
271 wxWave
* wxWaveData(const wxString
& data
) {
272 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
276 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
280 #include <wx/artprov.h>
282 DECLARE_DEF_STRING(ART_OTHER
);
284 // Python aware wxArtProvider
285 class wxPyArtProvider
: public wxArtProvider
{
288 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
289 const wxArtClient
& client
,
290 const wxSize
& size
) {
291 wxBitmap rval
= wxNullBitmap
;
292 wxPyBeginBlockThreads();
293 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
294 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
298 s1
= wx2PyString(id
);
299 s2
= wx2PyString(client
);
300 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
305 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
310 wxPyEndBlockThreads();
317 #include <wx/docview.h>
321 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
322 PyObject
* _resultobj
;
324 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
325 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
326 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
327 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
328 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
329 int _arg5
= (int ) 0;
330 wxWindow
* _arg6
= (wxWindow
*) NULL
;
331 int _arg7
= (int ) -1;
332 int _arg8
= (int ) -1;
333 PyObject
* _obj0
= 0;
334 PyObject
* _obj1
= 0;
335 PyObject
* _obj2
= 0;
336 PyObject
* _obj3
= 0;
337 PyObject
* _obj4
= 0;
338 PyObject
* _argo6
= 0;
339 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
346 _arg0
= wxString_in_helper(_obj0
);
352 _arg1
= wxString_in_helper(_obj1
);
358 _arg2
= wxString_in_helper(_obj2
);
364 _arg3
= wxString_in_helper(_obj3
);
370 _arg4
= wxString_in_helper(_obj4
);
375 if (_argo6
== Py_None
) { _arg6
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
383 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
385 wxPyEndAllowThreads(__tstate
);
386 if (PyErr_Occurred()) return NULL
;
389 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
420 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
425 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
426 wxWindow
* _arg3
= (wxWindow
*) NULL
;
427 PyObject
* _obj0
= 0;
428 PyObject
* _obj1
= 0;
429 PyObject
* _obj2
= 0;
430 PyObject
* _argo3
= 0;
431 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
437 _arg0
= wxString_in_helper(_obj0
);
442 _arg1
= wxString_in_helper(_obj1
);
448 _arg2
= wxString_in_helper(_obj2
);
453 if (_argo3
== Py_None
) { _arg3
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
461 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
463 wxPyEndAllowThreads(__tstate
);
464 if (PyErr_Occurred()) return NULL
;
467 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
469 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
490 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
495 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
496 wxWindow
* _arg3
= (wxWindow
*) NULL
;
497 PyObject
* _obj0
= 0;
498 PyObject
* _obj1
= 0;
499 PyObject
* _obj2
= 0;
500 PyObject
* _argo3
= 0;
501 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
507 _arg0
= wxString_in_helper(_obj0
);
512 _arg1
= wxString_in_helper(_obj1
);
518 _arg2
= wxString_in_helper(_obj2
);
523 if (_argo3
== Py_None
) { _arg3
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
531 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
533 wxPyEndAllowThreads(__tstate
);
534 if (PyErr_Occurred()) return NULL
;
537 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
539 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
560 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
563 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
564 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
565 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
566 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
567 wxWindow
* _arg4
= (wxWindow
*) NULL
;
568 PyObject
* _obj0
= 0;
569 PyObject
* _obj1
= 0;
571 PyObject
* _obj3
= 0;
572 PyObject
* _argo4
= 0;
573 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
580 _arg0
= wxString_in_helper(_obj0
);
586 _arg1
= wxString_in_helper(_obj1
);
593 if (! wxPoint_helper(_obj3
, &_arg3
))
597 if (_argo4
== Py_None
) { _arg4
= NULL
; }
598 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) return NULL
;
611 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
630 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
635 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
636 wxWindow
* _arg3
= (wxWindow
*) NULL
;
637 int _arg4
= (int ) -1;
638 int _arg5
= (int ) -1;
639 bool _arg6
= (bool ) TRUE
;
640 PyObject
* _obj0
= 0;
641 PyObject
* _obj1
= 0;
642 PyObject
* _obj2
= 0;
643 PyObject
* _argo3
= 0;
644 int tempbool6
= (int) TRUE
;
645 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
651 _arg0
= wxString_in_helper(_obj0
);
657 _arg1
= wxString_in_helper(_obj1
);
663 _arg2
= wxString_in_helper(_obj2
);
668 if (_argo3
== Py_None
) { _arg3
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
674 _arg6
= (bool ) tempbool6
;
676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
677 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
679 wxPyEndAllowThreads(__tstate
);
680 if (PyErr_Occurred()) return NULL
;
683 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
685 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
706 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
710 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
711 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
712 wxWindow
* _arg3
= (wxWindow
*) NULL
;
713 PyObject
* _obj0
= 0;
714 PyObject
* _obj1
= 0;
715 PyObject
* _obj2
= 0;
716 PyObject
* _argo3
= 0;
717 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
723 _arg0
= wxString_in_helper(_obj0
);
729 _arg1
= wxString_in_helper(_obj1
);
735 _arg2
= wxString_in_helper(_obj2
);
740 if (_argo3
== Py_None
) { _arg3
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
754 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
756 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
777 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
784 wxWindow
* _arg4
= (wxWindow
*) NULL
;
785 int _arg5
= (int ) -1;
786 int _arg6
= (int ) -1;
787 bool _arg7
= (bool ) TRUE
;
788 int _arg8
= (int ) 150;
789 int _arg9
= (int ) 200;
790 PyObject
* _obj0
= 0;
791 PyObject
* _obj1
= 0;
792 PyObject
* _obj3
= 0;
793 PyObject
* _argo4
= 0;
794 int tempbool7
= (int) TRUE
;
795 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
801 _arg0
= wxString_in_helper(_obj0
);
806 _arg1
= wxString_in_helper(_obj1
);
812 _arg3
= wxString_LIST_helper(_obj3
);
818 if (_argo4
== Py_None
) { _arg4
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
824 _arg7
= (bool ) tempbool7
;
827 _arg2
= PyList_Size(_obj3
);
834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
835 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
837 wxPyEndAllowThreads(__tstate
);
838 if (PyErr_Occurred()) return NULL
;
841 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
843 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
863 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 PyObject
* _resultobj
;
870 wxWindow
* _arg4
= (wxWindow
*) NULL
;
871 int _arg5
= (int ) -1;
872 int _arg6
= (int ) -1;
873 bool _arg7
= (bool ) TRUE
;
874 int _arg8
= (int ) 150;
875 int _arg9
= (int ) 200;
876 PyObject
* _obj0
= 0;
877 PyObject
* _obj1
= 0;
878 PyObject
* _obj3
= 0;
879 PyObject
* _argo4
= 0;
880 int tempbool7
= (int) TRUE
;
881 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
887 _arg0
= wxString_in_helper(_obj0
);
892 _arg1
= wxString_in_helper(_obj1
);
898 _arg3
= wxString_LIST_helper(_obj3
);
904 if (_argo4
== Py_None
) { _arg4
= NULL
; }
905 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
910 _arg7
= (bool ) tempbool7
;
913 _arg2
= PyList_Size(_obj3
);
920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
921 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
923 wxPyEndAllowThreads(__tstate
);
924 if (PyErr_Occurred()) return NULL
;
925 } _resultobj
= Py_BuildValue("i",_result
);
940 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 PyObject
* _resultobj
;
944 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
945 int _arg2
= (int ) wxOK
|wxCENTRE
;
946 wxWindow
* _arg3
= (wxWindow
*) NULL
;
947 int _arg4
= (int ) -1;
948 int _arg5
= (int ) -1;
949 PyObject
* _obj0
= 0;
950 PyObject
* _obj1
= 0;
951 PyObject
* _argo3
= 0;
952 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
958 _arg0
= wxString_in_helper(_obj0
);
964 _arg1
= wxString_in_helper(_obj1
);
969 if (_argo3
== Py_None
) { _arg3
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } _resultobj
= Py_BuildValue("i",_result
);
993 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
1000 long _arg4
= (long ) 0;
1001 long _arg5
= (long ) 100;
1002 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1003 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1004 PyObject
* _obj0
= 0;
1005 PyObject
* _obj1
= 0;
1006 PyObject
* _obj2
= 0;
1007 PyObject
* _argo6
= 0;
1009 PyObject
* _obj7
= 0;
1010 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1016 _arg0
= wxString_in_helper(_obj0
);
1021 _arg1
= wxString_in_helper(_obj1
);
1026 _arg2
= wxString_in_helper(_obj2
);
1031 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1040 if (! wxPoint_helper(_obj7
, &_arg7
))
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) return NULL
;
1049 } _resultobj
= Py_BuildValue("l",_result
);
1065 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1068 char *_kwnames
[] = { NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 _result
= (bool )wxColourDisplay();
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1079 } _resultobj
= Py_BuildValue("i",_result
);
1083 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1086 char *_kwnames
[] = { NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 _result
= (int )wxDisplayDepth();
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) return NULL
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1101 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1104 char *_kwnames
[] = { NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 _result
= (int )wxGetDisplayDepth();
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) return NULL
;
1115 } _resultobj
= Py_BuildValue("i",_result
);
1119 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
* _resultobj
;
1125 char *_kwnames
[] = { NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 wxDisplaySize(_arg0
,_arg1
);
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) return NULL
;
1142 } Py_INCREF(Py_None
);
1143 _resultobj
= Py_None
;
1146 o
= PyInt_FromLong((long) (*_arg0
));
1147 _resultobj
= t_output_helper(_resultobj
, o
);
1151 o
= PyInt_FromLong((long) (*_arg1
));
1152 _resultobj
= t_output_helper(_resultobj
, o
);
1157 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1160 char *_kwnames
[] = { NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1168 _result
= new wxSize (wxGetDisplaySize());
1170 wxPyEndAllowThreads(__tstate
);
1171 if (PyErr_Occurred()) return NULL
;
1172 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1173 _resultobj
= Py_BuildValue("s",_ptemp
);
1177 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1183 char *_kwnames
[] = { NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1196 wxDisplaySizeMM(_arg0
,_arg1
);
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) return NULL
;
1200 } Py_INCREF(Py_None
);
1201 _resultobj
= Py_None
;
1204 o
= PyInt_FromLong((long) (*_arg0
));
1205 _resultobj
= t_output_helper(_resultobj
, o
);
1209 o
= PyInt_FromLong((long) (*_arg1
));
1210 _resultobj
= t_output_helper(_resultobj
, o
);
1215 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1218 char *_kwnames
[] = { NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 _result
= new wxSize (wxGetDisplaySizeMM());
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1235 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1245 char *_kwnames
[] = { NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) return NULL
;
1268 } Py_INCREF(Py_None
);
1269 _resultobj
= Py_None
;
1272 o
= PyInt_FromLong((long) (*_arg0
));
1273 _resultobj
= t_output_helper(_resultobj
, o
);
1277 o
= PyInt_FromLong((long) (*_arg1
));
1278 _resultobj
= t_output_helper(_resultobj
, o
);
1282 o
= PyInt_FromLong((long) (*_arg2
));
1283 _resultobj
= t_output_helper(_resultobj
, o
);
1287 o
= PyInt_FromLong((long) (*_arg3
));
1288 _resultobj
= t_output_helper(_resultobj
, o
);
1293 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1296 char *_kwnames
[] = { NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 _result
= new wxRect (wxGetClientDisplayRect());
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) return NULL
;
1308 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1309 _resultobj
= Py_BuildValue("s",_ptemp
);
1313 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1316 PyObject
* _argo0
= 0;
1317 char *_kwnames
[] = { "cursor", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1323 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 wxSetCursor(*_arg0
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "cursor", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 wxBeginBusyCursor(_arg0
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 char *_kwnames
[] = { NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 _result
= (wxWindow
*)wxGetActiveWindow();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1384 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1389 PyObject
* _obj0
= 0;
1390 char *_kwnames
[] = { "pt", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1397 if (! wxPoint_helper(_obj0
, &_arg0
))
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1410 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1415 PyObject
* _obj0
= 0;
1416 char *_kwnames
[] = { "pt", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1423 if (! wxPoint_helper(_obj0
, &_arg0
))
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1436 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "wnd", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (bool )wxCheckForInterrupt(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } _resultobj
= Py_BuildValue("i",_result
);
1463 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1467 PyObject
* _argo0
= 0;
1468 char *_kwnames
[] = { "win", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1490 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1493 char *_kwnames
[] = { NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 _result
= (int )wxCaret_GetBlinkTime();
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) return NULL
;
1504 } _resultobj
= Py_BuildValue("i",_result
);
1508 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1511 char *_kwnames
[] = { "milliseconds", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 wxCaret_SetBlinkTime(_arg0
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) return NULL
;
1522 } Py_INCREF(Py_None
);
1523 _resultobj
= Py_None
;
1527 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
* _resultobj
;
1530 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1531 bool _arg1
= (bool ) FALSE
;
1532 PyObject
* _argo0
= 0;
1533 int tempbool1
= (int) FALSE
;
1534 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1546 _arg1
= (bool ) tempbool1
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) return NULL
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1557 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxEvtHandler
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 PyObject
* _argo1
= 0;
1563 char *_kwnames
[] = { "dest","event", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1576 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 wxPostEvent(_arg0
,*_arg1
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) return NULL
;
1587 } Py_INCREF(Py_None
);
1588 _resultobj
= Py_None
;
1592 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1594 char *_kwnames
[] = { NULL
};
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1605 } Py_INCREF(Py_None
);
1606 _resultobj
= Py_None
;
1610 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 char *_kwnames
[] = { NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 wxWakeUpMainThread();
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } Py_INCREF(Py_None
);
1624 _resultobj
= Py_None
;
1628 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1630 char *_kwnames
[] = { NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) return NULL
;
1641 } Py_INCREF(Py_None
);
1642 _resultobj
= Py_None
;
1646 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1648 char *_kwnames
[] = { NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) return NULL
;
1659 } Py_INCREF(Py_None
);
1660 _resultobj
= Py_None
;
1664 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1667 char *_kwnames
[] = { NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 _result
= (bool )wxThread_IsMain();
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } _resultobj
= Py_BuildValue("i",_result
);
1682 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1686 wxTipProvider
* _arg1
;
1687 bool _arg2
= (bool ) TRUE
;
1688 PyObject
* _argo0
= 0;
1689 PyObject
* _argo1
= 0;
1690 int tempbool2
= (int) TRUE
;
1691 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1710 _arg2
= (bool ) tempbool2
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) return NULL
;
1717 } _resultobj
= Py_BuildValue("i",_result
);
1721 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 wxTipProvider
* _result
;
1726 PyObject
* _obj0
= 0;
1727 char *_kwnames
[] = { "filename","currentTip", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1734 _arg0
= wxString_in_helper(_obj0
);
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) return NULL
;
1745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1746 _resultobj
= Py_BuildValue("s",_ptemp
);
1749 _resultobj
= Py_None
;
1758 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1760 unsigned long _result
;
1761 char *_kwnames
[] = { NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 _result
= (unsigned long )wxSysErrorCode();
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) return NULL
;
1772 } _resultobj
= Py_BuildValue("l",_result
);
1776 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1779 unsigned long _arg0
= (unsigned long ) 0;
1780 char *_kwnames
[] = { "nErrCode", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 _result
= new wxString (wxSysErrorMsg(_arg0
));
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1793 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1795 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1804 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 PyObject
* _obj0
= 0;
1808 char *_kwnames
[] = { "msg", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1814 _arg0
= wxString_in_helper(_obj0
);
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 wxLogFatalError(*_arg0
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) return NULL
;
1824 } Py_INCREF(Py_None
);
1825 _resultobj
= Py_None
;
1833 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1836 PyObject
* _obj0
= 0;
1837 char *_kwnames
[] = { "msg", NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1843 _arg0
= wxString_in_helper(_obj0
);
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) return NULL
;
1853 } Py_INCREF(Py_None
);
1854 _resultobj
= Py_None
;
1862 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1865 PyObject
* _obj0
= 0;
1866 char *_kwnames
[] = { "msg", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1872 _arg0
= wxString_in_helper(_obj0
);
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 wxLogWarning(*_arg0
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) return NULL
;
1882 } Py_INCREF(Py_None
);
1883 _resultobj
= Py_None
;
1891 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1894 PyObject
* _obj0
= 0;
1895 char *_kwnames
[] = { "msg", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1901 _arg0
= wxString_in_helper(_obj0
);
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 wxLogMessage(*_arg0
);
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) return NULL
;
1911 } Py_INCREF(Py_None
);
1912 _resultobj
= Py_None
;
1920 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1923 PyObject
* _obj0
= 0;
1924 char *_kwnames
[] = { "msg", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1930 _arg0
= wxString_in_helper(_obj0
);
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) return NULL
;
1940 } Py_INCREF(Py_None
);
1941 _resultobj
= Py_None
;
1949 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1952 PyObject
* _obj0
= 0;
1953 char *_kwnames
[] = { "msg", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1959 _arg0
= wxString_in_helper(_obj0
);
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) return NULL
;
1969 } Py_INCREF(Py_None
);
1970 _resultobj
= Py_None
;
1978 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1981 PyObject
* _obj0
= 0;
1982 char *_kwnames
[] = { "msg", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1988 _arg0
= wxString_in_helper(_obj0
);
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 wxLogVerbose(*_arg0
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) return NULL
;
1998 } Py_INCREF(Py_None
);
1999 _resultobj
= Py_None
;
2007 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2010 PyObject
* _obj0
= 0;
2011 char *_kwnames
[] = { "msg", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2017 _arg0
= wxString_in_helper(_obj0
);
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 wxLogStatus(*_arg0
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2036 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2040 PyObject
* _argo0
= 0;
2041 PyObject
* _obj1
= 0;
2042 char *_kwnames
[] = { "pFrame","msg", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2055 _arg1
= wxString_in_helper(_obj1
);
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 wxLogStatus(_arg0
,*_arg1
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2065 } Py_INCREF(Py_None
);
2066 _resultobj
= Py_None
;
2074 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2077 PyObject
* _obj0
= 0;
2078 char *_kwnames
[] = { "msg", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2084 _arg0
= wxString_in_helper(_obj0
);
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 wxLogSysError(*_arg0
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) return NULL
;
2094 } Py_INCREF(Py_None
);
2095 _resultobj
= Py_None
;
2103 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2106 PyObject
* _obj0
= 0;
2107 char *_kwnames
[] = { "msg", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2113 _arg0
= wxString_in_helper(_obj0
);
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) return NULL
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2132 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2136 PyObject
* _obj0
= 0;
2137 PyObject
* _obj1
= 0;
2138 char *_kwnames
[] = { "mask","msg", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2144 _arg0
= wxString_in_helper(_obj0
);
2149 _arg1
= wxString_in_helper(_obj1
);
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 wxLogTrace(*_arg0
,*_arg1
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2159 } Py_INCREF(Py_None
);
2160 _resultobj
= Py_None
;
2172 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2174 unsigned long _arg0
;
2176 PyObject
* _obj1
= 0;
2177 char *_kwnames
[] = { "level","msg", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2183 _arg1
= wxString_in_helper(_obj1
);
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 wxLogGeneric(_arg0
,*_arg1
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } Py_INCREF(Py_None
);
2194 _resultobj
= Py_None
;
2202 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2206 PyObject
* _obj0
= 0;
2207 PyObject
* _obj1
= 0;
2208 char *_kwnames
[] = { "title","text", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2214 _arg0
= wxString_in_helper(_obj0
);
2219 _arg1
= wxString_in_helper(_obj1
);
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 wxSafeShowMessage(*_arg0
,*_arg1
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) return NULL
;
2229 } Py_INCREF(Py_None
);
2230 _resultobj
= Py_None
;
2242 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2246 int _arg1
= (int ) (wxEXEC_ASYNC
);
2247 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2248 PyObject
* _obj0
= 0;
2249 PyObject
* _argo2
= 0;
2250 char *_kwnames
[] = { "command","flags","process", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2256 _arg0
= wxString_in_helper(_obj0
);
2261 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } _resultobj
= Py_BuildValue("l",_result
);
2281 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2285 PyObject
* _obj0
= 0;
2286 char *_kwnames
[] = { "data", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2293 _arg0
= wxString_in_helper(_obj0
);
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= (wxWave
*)wxWaveData(*_arg0
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2305 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 _resultobj
= Py_None
;
2317 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2319 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2323 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2327 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2328 pyobj
= PyString_FromString(ptemp
);
2332 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2335 wxSystemColour _arg0
;
2336 char *_kwnames
[] = { "index", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) return NULL
;
2348 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2349 _resultobj
= Py_BuildValue("s",_ptemp
);
2353 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2357 char *_kwnames
[] = { "index", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) return NULL
;
2369 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2370 _resultobj
= Py_BuildValue("s",_ptemp
);
2374 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2377 wxSystemMetric _arg0
;
2378 char *_kwnames
[] = { "index", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 } _resultobj
= Py_BuildValue("i",_result
);
2393 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
* _resultobj
;
2396 wxSystemFeature _arg0
;
2397 char *_kwnames
[] = { "index", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) return NULL
;
2408 } _resultobj
= Py_BuildValue("i",_result
);
2412 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2414 wxSystemScreenType _result
;
2415 char *_kwnames
[] = { NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2426 } _resultobj
= Py_BuildValue("i",_result
);
2430 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2432 wxSystemScreenType _arg0
;
2433 char *_kwnames
[] = { "screen", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 wxSystemSettings::SetScreenType(_arg0
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) return NULL
;
2444 } Py_INCREF(Py_None
);
2445 _resultobj
= Py_None
;
2449 static void *SwigwxSystemOptionsTowxObject(void *ptr
) {
2450 wxSystemOptions
*src
;
2452 src
= (wxSystemOptions
*) ptr
;
2453 dest
= (wxObject
*) src
;
2454 return (void *) dest
;
2457 #define new_wxSystemOptions() (new wxSystemOptions())
2458 static PyObject
*_wrap_new_wxSystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2460 wxSystemOptions
* _result
;
2461 char *_kwnames
[] = { NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSystemOptions",_kwnames
))
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 _result
= (wxSystemOptions
*)new_wxSystemOptions();
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSystemOptions_p");
2475 _resultobj
= Py_BuildValue("s",_ptemp
);
2478 _resultobj
= Py_None
;
2483 static PyObject
*_wrap_wxSystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2487 PyObject
* _obj0
= 0;
2488 PyObject
* _obj1
= 0;
2489 char *_kwnames
[] = { "name","value", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSystemOptions_SetOption",_kwnames
,&_obj0
,&_obj1
))
2495 _arg0
= wxString_in_helper(_obj0
);
2500 _arg1
= wxString_in_helper(_obj1
);
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 wxSystemOptions::SetOption(*_arg0
,*_arg1
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) return NULL
;
2510 } Py_INCREF(Py_None
);
2511 _resultobj
= Py_None
;
2523 static PyObject
*_wrap_wxSystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
* _resultobj
;
2527 PyObject
* _obj0
= 0;
2528 char *_kwnames
[] = { "name","value", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSystemOptions_SetOptionInt",_kwnames
,&_obj0
,&_arg1
))
2534 _arg0
= wxString_in_helper(_obj0
);
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 wxSystemOptions::SetOption(*_arg0
,_arg1
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) return NULL
;
2544 } Py_INCREF(Py_None
);
2545 _resultobj
= Py_None
;
2553 static PyObject
*_wrap_wxSystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2557 PyObject
* _obj0
= 0;
2558 char *_kwnames
[] = { "name", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOption",_kwnames
,&_obj0
))
2564 _arg0
= wxString_in_helper(_obj0
);
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 _result
= new wxString (wxSystemOptions::GetOption(*_arg0
));
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2576 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2578 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2591 static PyObject
*_wrap_wxSystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
* _resultobj
;
2595 PyObject
* _obj0
= 0;
2596 char *_kwnames
[] = { "name", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOptionInt",_kwnames
,&_obj0
))
2602 _arg0
= wxString_in_helper(_obj0
);
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 _result
= (int )wxSystemOptions::GetOptionInt(*_arg0
);
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) return NULL
;
2612 } _resultobj
= Py_BuildValue("i",_result
);
2620 static PyObject
*_wrap_wxSystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2624 PyObject
* _obj0
= 0;
2625 char *_kwnames
[] = { "name", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_HasOption",_kwnames
,&_obj0
))
2631 _arg0
= wxString_in_helper(_obj0
);
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 _result
= (bool )wxSystemOptions::HasOption(*_arg0
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } _resultobj
= Py_BuildValue("i",_result
);
2649 static void *SwigwxToolTipTowxObject(void *ptr
) {
2652 src
= (wxToolTip
*) ptr
;
2653 dest
= (wxObject
*) src
;
2654 return (void *) dest
;
2657 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2658 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2660 wxToolTip
* _result
;
2662 PyObject
* _obj0
= 0;
2663 char *_kwnames
[] = { "tip", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2670 _arg0
= wxString_in_helper(_obj0
);
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) return NULL
;
2681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2682 _resultobj
= Py_BuildValue("s",_ptemp
);
2685 _resultobj
= Py_None
;
2694 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2695 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
* _resultobj
;
2699 PyObject
* _argo0
= 0;
2700 PyObject
* _obj1
= 0;
2701 char *_kwnames
[] = { "self","tip", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2714 _arg1
= wxString_in_helper(_obj1
);
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 wxToolTip_SetTip(_arg0
,*_arg1
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2724 } Py_INCREF(Py_None
);
2725 _resultobj
= Py_None
;
2733 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2734 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2759 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2770 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2771 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) return NULL
;
2794 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2798 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2802 char *_kwnames
[] = { "flag", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2807 _arg0
= (bool ) tempbool0
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 wxToolTip::Enable(_arg0
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2819 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2822 char *_kwnames
[] = { "milliseconds", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 wxToolTip::SetDelay(_arg0
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 } Py_INCREF(Py_None
);
2834 _resultobj
= Py_None
;
2838 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2839 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2844 PyObject
* _argo0
= 0;
2846 PyObject
* _obj1
= 0;
2847 char *_kwnames
[] = { "window","size", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2862 if (! wxSize_helper(_obj1
, &_arg1
))
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2876 _resultobj
= Py_None
;
2881 #define delete_wxCaret(_swigobj) (delete _swigobj)
2882 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2885 PyObject
* _argo0
= 0;
2886 char *_kwnames
[] = { "self", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 delete_wxCaret(_arg0
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) return NULL
;
2904 } Py_INCREF(Py_None
);
2905 _resultobj
= Py_None
;
2909 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2910 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2914 PyObject
* _argo0
= 0;
2915 char *_kwnames
[] = { "self", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 _result
= (bool )wxCaret_IsOk(_arg0
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) return NULL
;
2933 } _resultobj
= Py_BuildValue("i",_result
);
2937 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2938 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2942 PyObject
* _argo0
= 0;
2943 char *_kwnames
[] = { "self", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 _result
= (bool )wxCaret_IsVisible(_arg0
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2961 } _resultobj
= Py_BuildValue("i",_result
);
2965 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2966 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2998 } Py_INCREF(Py_None
);
2999 _resultobj
= Py_None
;
3002 o
= PyInt_FromLong((long) (*_arg1
));
3003 _resultobj
= t_output_helper(_resultobj
, o
);
3007 o
= PyInt_FromLong((long) (*_arg2
));
3008 _resultobj
= t_output_helper(_resultobj
, o
);
3013 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
3014 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
3026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) return NULL
;
3038 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3039 _resultobj
= Py_BuildValue("s",_ptemp
);
3043 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3044 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3076 } Py_INCREF(Py_None
);
3077 _resultobj
= Py_None
;
3080 o
= PyInt_FromLong((long) (*_arg1
));
3081 _resultobj
= t_output_helper(_resultobj
, o
);
3085 o
= PyInt_FromLong((long) (*_arg2
));
3086 _resultobj
= t_output_helper(_resultobj
, o
);
3091 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3092 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
* _resultobj
;
3096 PyObject
* _argo0
= 0;
3097 char *_kwnames
[] = { "self", NULL
};
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) return NULL
;
3116 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3117 _resultobj
= Py_BuildValue("s",_ptemp
);
3121 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3122 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
* _resultobj
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) return NULL
;
3145 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3149 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3150 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3155 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self","x","y", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) return NULL
;
3174 } Py_INCREF(Py_None
);
3175 _resultobj
= Py_None
;
3179 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3180 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3184 PyObject
* _argo0
= 0;
3186 PyObject
* _obj1
= 0;
3187 char *_kwnames
[] = { "self","pt", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3201 if (! wxPoint_helper(_obj1
, &_arg1
))
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 wxCaret_Move(_arg0
,*_arg1
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3216 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self","width","height", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3246 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3252 PyObject
* _obj1
= 0;
3253 char *_kwnames
[] = { "self","size", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3267 if (! wxSize_helper(_obj1
, &_arg1
))
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxCaret_SetSize(_arg0
,*_arg1
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) return NULL
;
3276 } Py_INCREF(Py_None
);
3277 _resultobj
= Py_None
;
3281 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3282 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
* _resultobj
;
3285 int _arg1
= (int ) TRUE
;
3286 PyObject
* _argo0
= 0;
3287 char *_kwnames
[] = { "self","show", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 wxCaret_Show(_arg0
,_arg1
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) return NULL
;
3305 } Py_INCREF(Py_None
);
3306 _resultobj
= Py_None
;
3310 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3311 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 wxCaret_Hide(_arg0
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) return NULL
;
3333 } Py_INCREF(Py_None
);
3334 _resultobj
= Py_None
;
3338 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3339 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3341 wxBusyCursor
* _result
;
3342 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "cursor", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3365 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 _resultobj
= Py_None
;
3373 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3374 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxBusyCursor
* _arg0
;
3377 PyObject
* _argo0
= 0;
3378 char *_kwnames
[] = { "self", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 delete_wxBusyCursor(_arg0
);
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) return NULL
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3402 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxWindowDisabler
* _result
;
3405 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "winToSkip", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3428 _resultobj
= Py_BuildValue("s",_ptemp
);
3431 _resultobj
= Py_None
;
3436 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3437 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3439 wxWindowDisabler
* _arg0
;
3440 PyObject
* _argo0
= 0;
3441 char *_kwnames
[] = { "self", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 delete_wxWindowDisabler(_arg0
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) return NULL
;
3459 } Py_INCREF(Py_None
);
3460 _resultobj
= Py_None
;
3464 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3465 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3467 wxMutexGuiLocker
* _result
;
3468 char *_kwnames
[] = { NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 _resultobj
= Py_None
;
3490 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3491 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3493 wxMutexGuiLocker
* _arg0
;
3494 PyObject
* _argo0
= 0;
3495 char *_kwnames
[] = { "self", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 delete_wxMutexGuiLocker(_arg0
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) return NULL
;
3513 } Py_INCREF(Py_None
);
3514 _resultobj
= Py_None
;
3518 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3519 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
* _resultobj
;
3521 wxTipProvider
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 delete_wxTipProvider(_arg0
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) return NULL
;
3541 } Py_INCREF(Py_None
);
3542 _resultobj
= Py_None
;
3546 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3547 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3550 wxTipProvider
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3572 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3574 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3583 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3584 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3587 wxTipProvider
* _arg0
;
3588 PyObject
* _argo0
= 0;
3589 char *_kwnames
[] = { "self", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) return NULL
;
3607 } _resultobj
= Py_BuildValue("i",_result
);
3611 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3612 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
* _resultobj
;
3615 wxTipProvider
* _arg0
;
3617 PyObject
* _argo0
= 0;
3618 PyObject
* _obj1
= 0;
3619 char *_kwnames
[] = { "self","tip", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3632 _arg1
= wxString_in_helper(_obj1
);
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3644 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3646 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3659 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3660 wxPyTipProvider
*src
;
3661 wxTipProvider
*dest
;
3662 src
= (wxPyTipProvider
*) ptr
;
3663 dest
= (wxTipProvider
*) src
;
3664 return (void *) dest
;
3667 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3668 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3670 wxPyTipProvider
* _result
;
3672 char *_kwnames
[] = { "currentTip", NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) return NULL
;
3685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3686 _resultobj
= Py_BuildValue("s",_ptemp
);
3689 _resultobj
= Py_None
;
3694 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3695 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3697 wxPyTipProvider
* _arg0
;
3700 PyObject
* _argo0
= 0;
3701 PyObject
* _obj1
= 0;
3702 PyObject
* _obj2
= 0;
3703 char *_kwnames
[] = { "self","self","_class", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3733 wxGenericDragImage
*src
;
3735 src
= (wxGenericDragImage
*) ptr
;
3736 dest
= (wxObject
*) src
;
3737 return (void *) dest
;
3740 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3741 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3743 wxGenericDragImage
* _result
;
3745 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3746 PyObject
* _argo0
= 0;
3747 PyObject
* _argo1
= 0;
3748 char *_kwnames
[] = { "image","cursor", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3755 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3761 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) return NULL
;
3773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3774 _resultobj
= Py_BuildValue("s",_ptemp
);
3777 _resultobj
= Py_None
;
3782 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3783 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3785 wxGenericDragImage
* _result
;
3787 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3788 PyObject
* _argo0
= 0;
3789 PyObject
* _argo1
= 0;
3790 char *_kwnames
[] = { "image","cursor", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3797 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3803 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) return NULL
;
3815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3816 _resultobj
= Py_BuildValue("s",_ptemp
);
3819 _resultobj
= Py_None
;
3824 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3825 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3827 wxGenericDragImage
* _result
;
3829 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3830 PyObject
* _obj0
= 0;
3831 PyObject
* _argo1
= 0;
3832 char *_kwnames
[] = { "str","cursor", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3839 _arg0
= wxString_in_helper(_obj0
);
3844 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) return NULL
;
3856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3857 _resultobj
= Py_BuildValue("s",_ptemp
);
3860 _resultobj
= Py_None
;
3869 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3870 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3872 wxGenericDragImage
* _result
;
3874 wxTreeItemId
* _arg1
;
3875 PyObject
* _argo0
= 0;
3876 PyObject
* _argo1
= 0;
3877 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3884 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3890 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) return NULL
;
3902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3903 _resultobj
= Py_BuildValue("s",_ptemp
);
3906 _resultobj
= Py_None
;
3911 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3912 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3914 wxGenericDragImage
* _result
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "listCtrl","id", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3925 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3938 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 _resultobj
= Py_None
;
3946 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3947 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3949 wxGenericDragImage
* _arg0
;
3950 PyObject
* _argo0
= 0;
3951 char *_kwnames
[] = { "self", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 delete_wxGenericDragImage(_arg0
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) return NULL
;
3969 } Py_INCREF(Py_None
);
3970 _resultobj
= Py_None
;
3974 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3975 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3977 wxGenericDragImage
* _arg0
;
3979 PyObject
* _argo0
= 0;
3980 PyObject
* _argo1
= 0;
3981 char *_kwnames
[] = { "self","bitmap", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) return NULL
;
4006 } Py_INCREF(Py_None
);
4007 _resultobj
= Py_None
;
4011 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4012 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4015 wxGenericDragImage
* _arg0
;
4018 bool _arg3
= (bool ) FALSE
;
4019 wxRect
* _arg4
= (wxRect
*) NULL
;
4020 PyObject
* _argo0
= 0;
4022 PyObject
* _obj1
= 0;
4023 PyObject
* _argo2
= 0;
4024 int tempbool3
= (int) FALSE
;
4026 PyObject
* _obj4
= 0;
4027 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
4041 if (! wxPoint_helper(_obj1
, &_arg1
))
4045 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
4051 _arg3
= (bool ) tempbool3
;
4055 if (! wxRect_helper(_obj4
, &_arg4
))
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4064 } _resultobj
= Py_BuildValue("i",_result
);
4068 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4069 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4072 wxGenericDragImage
* _arg0
;
4076 PyObject
* _argo0
= 0;
4078 PyObject
* _obj1
= 0;
4079 PyObject
* _argo2
= 0;
4080 PyObject
* _argo3
= 0;
4081 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
4095 if (! wxPoint_helper(_obj1
, &_arg1
))
4099 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4106 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) return NULL
;
4118 } _resultobj
= Py_BuildValue("i",_result
);
4122 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4123 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4126 wxGenericDragImage
* _arg0
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } _resultobj
= Py_BuildValue("i",_result
);
4150 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4151 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4154 wxGenericDragImage
* _arg0
;
4156 PyObject
* _argo0
= 0;
4158 PyObject
* _obj1
= 0;
4159 char *_kwnames
[] = { "self","pt", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4173 if (! wxPoint_helper(_obj1
, &_arg1
))
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) return NULL
;
4182 } _resultobj
= Py_BuildValue("i",_result
);
4186 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4187 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4190 wxGenericDragImage
* _arg0
;
4191 PyObject
* _argo0
= 0;
4192 char *_kwnames
[] = { "self", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 _result
= (bool )wxDragImage_Show(_arg0
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) return NULL
;
4210 } _resultobj
= Py_BuildValue("i",_result
);
4214 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4215 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4218 wxGenericDragImage
* _arg0
;
4219 PyObject
* _argo0
= 0;
4220 char *_kwnames
[] = { "self", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 _result
= (bool )wxDragImage_Hide(_arg0
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4238 } _resultobj
= Py_BuildValue("i",_result
);
4242 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4243 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
* _resultobj
;
4246 wxGenericDragImage
* _arg0
;
4248 PyObject
* _argo0
= 0;
4250 PyObject
* _obj1
= 0;
4251 char *_kwnames
[] = { "self","pos", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4266 if (! wxPoint_helper(_obj1
, &_arg1
))
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) return NULL
;
4275 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4276 _resultobj
= Py_BuildValue("s",_ptemp
);
4280 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4281 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4284 wxGenericDragImage
* _arg0
;
4289 PyObject
* _argo0
= 0;
4291 PyObject
* _obj1
= 0;
4293 PyObject
* _obj2
= 0;
4296 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4310 if (! wxPoint_helper(_obj1
, &_arg1
))
4315 if (! wxPoint_helper(_obj2
, &_arg2
))
4318 _arg3
= (bool ) tempbool3
;
4319 _arg4
= (bool ) tempbool4
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4326 } _resultobj
= Py_BuildValue("i",_result
);
4330 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4333 src
= (wxPyTimer
*) ptr
;
4334 dest
= (wxObject
*) src
;
4335 return (void *) dest
;
4338 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4339 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4341 wxPyTimer
* _result
;
4343 PyObject
* _obj0
= 0;
4344 char *_kwnames
[] = { "notify", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) return NULL
;
4360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4361 _resultobj
= Py_BuildValue("s",_ptemp
);
4364 _resultobj
= Py_None
;
4369 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4370 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 delete_wxPyTimer(_arg0
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } Py_INCREF(Py_None
);
4393 _resultobj
= Py_None
;
4397 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4398 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4402 PyObject
* _argo0
= 0;
4403 char *_kwnames
[] = { "self", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } _resultobj
= Py_BuildValue("i",_result
);
4425 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4426 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4430 PyObject
* _argo0
= 0;
4431 char *_kwnames
[] = { "self", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) return NULL
;
4449 } _resultobj
= Py_BuildValue("i",_result
);
4453 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4454 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4458 PyObject
* _argo0
= 0;
4459 char *_kwnames
[] = { "self", NULL
};
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) return NULL
;
4477 } _resultobj
= Py_BuildValue("i",_result
);
4481 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4482 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
* _resultobj
;
4485 wxEvtHandler
* _arg1
;
4486 int _arg2
= (int ) -1;
4487 PyObject
* _argo0
= 0;
4488 PyObject
* _argo1
= 0;
4489 char *_kwnames
[] = { "self","owner","id", NULL
};
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) return NULL
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4519 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4520 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4524 int _arg1
= (int ) -1;
4525 int _arg2
= (int ) FALSE
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) return NULL
;
4545 } _resultobj
= Py_BuildValue("i",_result
);
4549 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4550 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxPyTimer_Stop(_arg0
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4572 } Py_INCREF(Py_None
);
4573 _resultobj
= Py_None
;
4577 #define new_wxStopWatch() (new wxStopWatch())
4578 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4580 wxStopWatch
* _result
;
4581 char *_kwnames
[] = { NULL
};
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 _result
= (wxStopWatch
*)new_wxStopWatch();
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) return NULL
;
4594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4595 _resultobj
= Py_BuildValue("s",_ptemp
);
4598 _resultobj
= Py_None
;
4603 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4604 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4606 wxStopWatch
* _arg0
;
4607 PyObject
* _argo0
= 0;
4608 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 delete_wxStopWatch(_arg0
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4626 } Py_INCREF(Py_None
);
4627 _resultobj
= Py_None
;
4631 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4632 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4634 wxStopWatch
* _arg0
;
4635 long _arg1
= (long ) 0;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self","t", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 wxStopWatch_Start(_arg0
,_arg1
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) return NULL
;
4655 } Py_INCREF(Py_None
);
4656 _resultobj
= Py_None
;
4660 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4661 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4663 wxStopWatch
* _arg0
;
4664 PyObject
* _argo0
= 0;
4665 char *_kwnames
[] = { "self", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 wxStopWatch_Pause(_arg0
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) return NULL
;
4683 } Py_INCREF(Py_None
);
4684 _resultobj
= Py_None
;
4688 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4689 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
* _resultobj
;
4691 wxStopWatch
* _arg0
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 wxStopWatch_Resume(_arg0
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } Py_INCREF(Py_None
);
4712 _resultobj
= Py_None
;
4716 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4717 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4720 wxStopWatch
* _arg0
;
4721 PyObject
* _argo0
= 0;
4722 char *_kwnames
[] = { "self", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 _result
= (long )wxStopWatch_Time(_arg0
);
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) return NULL
;
4740 } _resultobj
= Py_BuildValue("l",_result
);
4744 #define new_wxLog() (new wxLog())
4745 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
* _resultobj
;
4748 char *_kwnames
[] = { NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 _result
= (wxLog
*)new_wxLog();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4762 _resultobj
= Py_BuildValue("s",_ptemp
);
4765 _resultobj
= Py_None
;
4770 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4773 char *_kwnames
[] = { NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 _result
= (bool )wxLog::IsEnabled();
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) return NULL
;
4784 } _resultobj
= Py_BuildValue("i",_result
);
4788 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4791 bool _arg0
= (bool ) TRUE
;
4792 int tempbool0
= (int) TRUE
;
4793 char *_kwnames
[] = { "doIt", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4798 _arg0
= (bool ) tempbool0
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 _result
= (bool )wxLog::EnableLogging(_arg0
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) return NULL
;
4805 } _resultobj
= Py_BuildValue("i",_result
);
4809 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 unsigned long _arg0
;
4813 int _arg2
= (int ) 0;
4814 PyObject
* _obj1
= 0;
4815 char *_kwnames
[] = { "level","szString","t", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4821 _arg1
= wxString_in_helper(_obj1
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) return NULL
;
4831 } Py_INCREF(Py_None
);
4832 _resultobj
= Py_None
;
4840 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4841 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4844 PyObject
* _argo0
= 0;
4845 char *_kwnames
[] = { "self", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) return NULL
;
4863 } Py_INCREF(Py_None
);
4864 _resultobj
= Py_None
;
4868 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4870 char *_kwnames
[] = { NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 wxLog::FlushActive();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) return NULL
;
4881 } Py_INCREF(Py_None
);
4882 _resultobj
= Py_None
;
4886 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 char *_kwnames
[] = { NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 _result
= (wxLog
*)wxLog::GetActiveTarget();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) return NULL
;
4902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4903 _resultobj
= Py_BuildValue("s",_ptemp
);
4906 _resultobj
= Py_None
;
4911 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4915 PyObject
* _argo0
= 0;
4916 char *_kwnames
[] = { "pLogger", NULL
};
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) return NULL
;
4936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4937 _resultobj
= Py_BuildValue("s",_ptemp
);
4940 _resultobj
= Py_None
;
4945 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
* _resultobj
;
4947 char *_kwnames
[] = { NULL
};
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) return NULL
;
4958 } Py_INCREF(Py_None
);
4959 _resultobj
= Py_None
;
4963 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
* _resultobj
;
4965 char *_kwnames
[] = { NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) return NULL
;
4976 } Py_INCREF(Py_None
);
4977 _resultobj
= Py_None
;
4981 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4983 bool _arg0
= (bool ) TRUE
;
4984 int tempbool0
= (int) TRUE
;
4985 char *_kwnames
[] = { "bVerbose", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4990 _arg0
= (bool ) tempbool0
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxLog::SetVerbose(_arg0
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) return NULL
;
4997 } Py_INCREF(Py_None
);
4998 _resultobj
= Py_None
;
5002 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5004 char *_kwnames
[] = { NULL
};
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 wxLog::DontCreateOnDemand();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) return NULL
;
5015 } Py_INCREF(Py_None
);
5016 _resultobj
= Py_None
;
5020 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5023 char *_kwnames
[] = { "ulMask", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 wxLog::SetTraceMask(_arg0
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) return NULL
;
5034 } Py_INCREF(Py_None
);
5035 _resultobj
= Py_None
;
5039 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
* _resultobj
;
5042 PyObject
* _obj0
= 0;
5043 char *_kwnames
[] = { "str", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5049 _arg0
= wxString_in_helper(_obj0
);
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxLog::AddTraceMask(*_arg0
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) return NULL
;
5059 } Py_INCREF(Py_None
);
5060 _resultobj
= Py_None
;
5068 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5071 PyObject
* _obj0
= 0;
5072 char *_kwnames
[] = { "str", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5078 _arg0
= wxString_in_helper(_obj0
);
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 wxLog::RemoveTraceMask(*_arg0
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) return NULL
;
5088 } Py_INCREF(Py_None
);
5089 _resultobj
= Py_None
;
5097 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5099 char *_kwnames
[] = { NULL
};
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 wxLog::ClearTraceMasks();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) return NULL
;
5110 } Py_INCREF(Py_None
);
5111 _resultobj
= Py_None
;
5115 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5117 wxArrayString
* _result
;
5118 char *_kwnames
[] = { NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5127 _result
= (wxArrayString
*) &_result_ref
;
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5133 _resultobj
= Py_BuildValue("s",_ptemp
);
5136 _resultobj
= Py_None
;
5141 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5144 PyObject
* _obj0
= 0;
5145 char *_kwnames
[] = { "ts", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5151 _arg0
= wxString_in_helper(_obj0
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 wxLog::SetTimestamp(*_arg0
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5161 } Py_INCREF(Py_None
);
5162 _resultobj
= Py_None
;
5170 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
* _resultobj
;
5173 char *_kwnames
[] = { NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 const wxString
& _result_ref
= wxLog::GetTimestamp();
5181 _result
= (wxString
*) &_result_ref
;
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) return NULL
;
5187 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5189 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5195 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5196 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5200 PyObject
* _argo0
= 0;
5201 char *_kwnames
[] = { "self", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 _result
= (bool )wxLog_GetVerbose(_arg0
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5219 } _resultobj
= Py_BuildValue("i",_result
);
5223 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5225 unsigned long _result
;
5226 char *_kwnames
[] = { NULL
};
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 _result
= (unsigned long )wxLog::GetTraceMask();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) return NULL
;
5237 } _resultobj
= Py_BuildValue("l",_result
);
5241 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5245 PyObject
* _obj0
= 0;
5246 char *_kwnames
[] = { "mask", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5252 _arg0
= wxString_in_helper(_obj0
);
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) return NULL
;
5262 } _resultobj
= Py_BuildValue("i",_result
);
5270 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5272 unsigned long _arg0
;
5273 char *_kwnames
[] = { "logLevel", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxLog::SetLogLevel(_arg0
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) return NULL
;
5284 } Py_INCREF(Py_None
);
5285 _resultobj
= Py_None
;
5289 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
* _resultobj
;
5291 unsigned long _result
;
5292 char *_kwnames
[] = { NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 _result
= (unsigned long )wxLog::GetLogLevel();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) return NULL
;
5303 } _resultobj
= Py_BuildValue("l",_result
);
5307 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5309 wxLog::TimeStamp(&msg
);
5312 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5337 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5339 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5348 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5351 src
= (wxLogStderr
*) ptr
;
5352 dest
= (wxLog
*) src
;
5353 return (void *) dest
;
5356 #define new_wxLogStderr() (new wxLogStderr())
5357 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5359 wxLogStderr
* _result
;
5360 char *_kwnames
[] = { NULL
};
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 _result
= (wxLogStderr
*)new_wxLogStderr();
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) return NULL
;
5373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5374 _resultobj
= Py_BuildValue("s",_ptemp
);
5377 _resultobj
= Py_None
;
5382 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5385 src
= (wxLogTextCtrl
*) ptr
;
5386 dest
= (wxLog
*) src
;
5387 return (void *) dest
;
5390 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5391 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5393 wxLogTextCtrl
* _result
;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "pTextCtrl", NULL
};
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) return NULL
;
5416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5417 _resultobj
= Py_BuildValue("s",_ptemp
);
5420 _resultobj
= Py_None
;
5425 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5428 src
= (wxLogGui
*) ptr
;
5429 dest
= (wxLog
*) src
;
5430 return (void *) dest
;
5433 #define new_wxLogGui() (new wxLogGui())
5434 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5437 char *_kwnames
[] = { NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 _result
= (wxLogGui
*)new_wxLogGui();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) return NULL
;
5450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5451 _resultobj
= Py_BuildValue("s",_ptemp
);
5454 _resultobj
= Py_None
;
5459 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5462 src
= (wxLogWindow
*) ptr
;
5463 dest
= (wxLog
*) src
;
5464 return (void *) dest
;
5467 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5468 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5470 wxLogWindow
* _result
;
5473 bool _arg2
= (bool ) TRUE
;
5474 bool _arg3
= (bool ) TRUE
;
5475 PyObject
* _argo0
= 0;
5476 PyObject
* _obj1
= 0;
5477 int tempbool2
= (int) TRUE
;
5478 int tempbool3
= (int) TRUE
;
5479 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5493 _arg1
= wxString_in_helper(_obj1
);
5497 _arg2
= (bool ) tempbool2
;
5498 _arg3
= (bool ) tempbool3
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) return NULL
;
5506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5507 _resultobj
= Py_BuildValue("s",_ptemp
);
5510 _resultobj
= Py_None
;
5519 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5520 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
* _resultobj
;
5522 wxLogWindow
* _arg0
;
5523 bool _arg1
= (bool ) TRUE
;
5524 PyObject
* _argo0
= 0;
5525 int tempbool1
= (int) TRUE
;
5526 char *_kwnames
[] = { "self","bShow", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5538 _arg1
= (bool ) tempbool1
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 wxLogWindow_Show(_arg0
,_arg1
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) return NULL
;
5545 } Py_INCREF(Py_None
);
5546 _resultobj
= Py_None
;
5550 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5551 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
* _resultobj
;
5554 wxLogWindow
* _arg0
;
5555 PyObject
* _argo0
= 0;
5556 char *_kwnames
[] = { "self", NULL
};
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) return NULL
;
5574 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5578 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5579 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
* _resultobj
;
5582 wxLogWindow
* _arg0
;
5583 PyObject
* _argo0
= 0;
5584 char *_kwnames
[] = { "self", NULL
};
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5605 _resultobj
= Py_BuildValue("s",_ptemp
);
5608 _resultobj
= Py_None
;
5613 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5614 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5617 wxLogWindow
* _arg0
;
5618 PyObject
* _argo0
= 0;
5619 char *_kwnames
[] = { "self", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) return NULL
;
5637 } _resultobj
= Py_BuildValue("i",_result
);
5641 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5642 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5644 wxLogWindow
* _arg0
;
5646 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self","bDoPass", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5660 _arg1
= (bool ) tempbool1
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 wxLogWindow_PassMessages(_arg0
,_arg1
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) return NULL
;
5667 } Py_INCREF(Py_None
);
5668 _resultobj
= Py_None
;
5672 static void *SwigwxLogChainTowxLog(void *ptr
) {
5675 src
= (wxLogChain
*) ptr
;
5676 dest
= (wxLog
*) src
;
5677 return (void *) dest
;
5680 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5681 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5683 wxLogChain
* _result
;
5685 PyObject
* _argo0
= 0;
5686 char *_kwnames
[] = { "logger", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) return NULL
;
5706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5707 _resultobj
= Py_BuildValue("s",_ptemp
);
5710 _resultobj
= Py_None
;
5715 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5716 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
* _resultobj
;
5720 PyObject
* _argo0
= 0;
5721 PyObject
* _argo1
= 0;
5722 char *_kwnames
[] = { "self","logger", NULL
};
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 wxLogChain_SetLog(_arg0
,_arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) return NULL
;
5747 } Py_INCREF(Py_None
);
5748 _resultobj
= Py_None
;
5752 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5753 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5757 PyObject
* _argo0
= 0;
5759 char *_kwnames
[] = { "self","bDoPass", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5771 _arg1
= (bool ) tempbool1
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 wxLogChain_PassMessages(_arg0
,_arg1
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) return NULL
;
5778 } Py_INCREF(Py_None
);
5779 _resultobj
= Py_None
;
5783 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5784 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
* _resultobj
;
5788 PyObject
* _argo0
= 0;
5789 char *_kwnames
[] = { "self", NULL
};
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) return NULL
;
5807 } _resultobj
= Py_BuildValue("i",_result
);
5811 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5812 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
* _resultobj
;
5816 PyObject
* _argo0
= 0;
5817 char *_kwnames
[] = { "self", NULL
};
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) return NULL
;
5837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5838 _resultobj
= Py_BuildValue("s",_ptemp
);
5841 _resultobj
= Py_None
;
5846 #define new_wxLogNull() (new wxLogNull())
5847 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5849 wxLogNull
* _result
;
5850 char *_kwnames
[] = { NULL
};
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 _result
= (wxLogNull
*)new_wxLogNull();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) return NULL
;
5863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5864 _resultobj
= Py_BuildValue("s",_ptemp
);
5867 _resultobj
= Py_None
;
5872 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5873 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
* _resultobj
;
5876 PyObject
* _argo0
= 0;
5877 char *_kwnames
[] = { "self", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 delete_wxLogNull(_arg0
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) return NULL
;
5895 } Py_INCREF(Py_None
);
5896 _resultobj
= Py_None
;
5900 static void *SwigwxPyLogTowxLog(void *ptr
) {
5903 src
= (wxPyLog
*) ptr
;
5904 dest
= (wxLog
*) src
;
5905 return (void *) dest
;
5908 #define new_wxPyLog() (new wxPyLog())
5909 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
* _resultobj
;
5912 char *_kwnames
[] = { NULL
};
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 _result
= (wxPyLog
*)new_wxPyLog();
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) return NULL
;
5925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5926 _resultobj
= Py_BuildValue("s",_ptemp
);
5929 _resultobj
= Py_None
;
5934 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5935 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
* _resultobj
;
5940 PyObject
* _argo0
= 0;
5941 PyObject
* _obj1
= 0;
5942 PyObject
* _obj2
= 0;
5943 char *_kwnames
[] = { "self","self","_class", NULL
};
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) return NULL
;
5967 } Py_INCREF(Py_None
);
5968 _resultobj
= Py_None
;
5972 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5973 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 wxPyLog_Destroy(_arg0
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) return NULL
;
5995 } Py_INCREF(Py_None
);
5996 _resultobj
= Py_None
;
6000 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
6001 wxProcessEvent
*src
;
6003 src
= (wxProcessEvent
*) ptr
;
6004 dest
= (wxEvent
*) src
;
6005 return (void *) dest
;
6008 static void *SwigwxProcessEventTowxObject(void *ptr
) {
6009 wxProcessEvent
*src
;
6011 src
= (wxProcessEvent
*) ptr
;
6012 dest
= (wxObject
*) src
;
6013 return (void *) dest
;
6016 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
6017 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6019 wxProcessEvent
* _result
;
6020 int _arg0
= (int ) 0;
6021 int _arg1
= (int ) 0;
6022 int _arg2
= (int ) 0;
6023 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) return NULL
;
6036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
6037 _resultobj
= Py_BuildValue("s",_ptemp
);
6040 _resultobj
= Py_None
;
6045 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
6046 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
* _resultobj
;
6049 wxProcessEvent
* _arg0
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 _result
= (int )wxProcessEvent_GetPid(_arg0
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) return NULL
;
6069 } _resultobj
= Py_BuildValue("i",_result
);
6073 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6074 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6077 wxProcessEvent
* _arg0
;
6078 PyObject
* _argo0
= 0;
6079 char *_kwnames
[] = { "self", NULL
};
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) return NULL
;
6097 } _resultobj
= Py_BuildValue("i",_result
);
6101 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6102 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
* _resultobj
;
6105 wxProcessEvent
* _arg0
;
6107 PyObject
* _argo0
= 0;
6108 char *_kwnames
[] = { "self","m_pid", NULL
};
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) return NULL
;
6126 } _resultobj
= Py_BuildValue("i",_result
);
6130 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6131 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
* _resultobj
;
6134 wxProcessEvent
* _arg0
;
6135 PyObject
* _argo0
= 0;
6136 char *_kwnames
[] = { "self", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) return NULL
;
6154 } _resultobj
= Py_BuildValue("i",_result
);
6158 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6159 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6162 wxProcessEvent
* _arg0
;
6164 PyObject
* _argo0
= 0;
6165 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) return NULL
;
6183 } _resultobj
= Py_BuildValue("i",_result
);
6187 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6188 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
* _resultobj
;
6191 wxProcessEvent
* _arg0
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) return NULL
;
6211 } _resultobj
= Py_BuildValue("i",_result
);
6215 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6218 src
= (wxPyProcess
*) ptr
;
6219 dest
= (wxEvtHandler
*) src
;
6220 return (void *) dest
;
6223 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6226 src
= (wxPyProcess
*) ptr
;
6227 dest
= (wxObject
*) src
;
6228 return (void *) dest
;
6231 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
* _resultobj
;
6233 wxKillError _result
;
6235 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6236 char *_kwnames
[] = { "pid","sig", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) return NULL
;
6247 } _resultobj
= Py_BuildValue("i",_result
);
6251 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
* _resultobj
;
6255 char *_kwnames
[] = { "pid", NULL
};
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 _result
= (bool )wxPyProcess::Exists(_arg0
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) return NULL
;
6266 } _resultobj
= Py_BuildValue("i",_result
);
6270 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6272 wxPyProcess
* _result
;
6274 int _arg1
= (int ) wxEXEC_ASYNC
;
6275 PyObject
* _obj0
= 0;
6276 char *_kwnames
[] = { "cmd","flags", NULL
};
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6283 _arg0
= wxString_in_helper(_obj0
);
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) return NULL
;
6294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6295 _resultobj
= Py_BuildValue("s",_ptemp
);
6298 _resultobj
= Py_None
;
6307 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6308 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6310 wxPyProcess
* _result
;
6311 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6312 int _arg1
= (int ) -1;
6313 PyObject
* _argo0
= 0;
6314 char *_kwnames
[] = { "parent","id", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) return NULL
;
6334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6335 _resultobj
= Py_BuildValue("s",_ptemp
);
6338 _resultobj
= Py_None
;
6343 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6344 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
* _resultobj
;
6346 wxPyProcess
* _arg0
;
6347 PyObject
* _argo0
= 0;
6348 char *_kwnames
[] = { "self", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 wxPyProcess_Destroy(_arg0
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) return NULL
;
6366 } Py_INCREF(Py_None
);
6367 _resultobj
= Py_None
;
6371 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6372 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
* _resultobj
;
6374 wxPyProcess
* _arg0
;
6377 PyObject
* _argo0
= 0;
6378 PyObject
* _obj1
= 0;
6379 PyObject
* _obj2
= 0;
6380 char *_kwnames
[] = { "self","self","_class", NULL
};
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) return NULL
;
6404 } Py_INCREF(Py_None
);
6405 _resultobj
= Py_None
;
6409 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6410 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6412 wxPyProcess
* _arg0
;
6415 PyObject
* _argo0
= 0;
6416 char *_kwnames
[] = { "self","pid","status", NULL
};
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) return NULL
;
6434 } Py_INCREF(Py_None
);
6435 _resultobj
= Py_None
;
6439 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6440 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
* _resultobj
;
6442 wxPyProcess
* _arg0
;
6443 PyObject
* _argo0
= 0;
6444 char *_kwnames
[] = { "self", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 wxProcess_Redirect(_arg0
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) return NULL
;
6462 } Py_INCREF(Py_None
);
6463 _resultobj
= Py_None
;
6467 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6468 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6471 wxPyProcess
* _arg0
;
6472 PyObject
* _argo0
= 0;
6473 char *_kwnames
[] = { "self", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) return NULL
;
6491 } _resultobj
= Py_BuildValue("i",_result
);
6495 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6496 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6498 wxPyProcess
* _arg0
;
6499 PyObject
* _argo0
= 0;
6500 char *_kwnames
[] = { "self", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 wxProcess_Detach(_arg0
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) return NULL
;
6518 } Py_INCREF(Py_None
);
6519 _resultobj
= Py_None
;
6523 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6524 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6526 wxInputStream
* _result
;
6527 wxPyProcess
* _arg0
;
6528 PyObject
* _argo0
= 0;
6529 char *_kwnames
[] = { "self", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) return NULL
;
6548 wxPyInputStream
* _ptr
= NULL
;
6551 _ptr
= new wxPyInputStream(_result
);
6553 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6558 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6559 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6561 wxInputStream
* _result
;
6562 wxPyProcess
* _arg0
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) return NULL
;
6583 wxPyInputStream
* _ptr
= NULL
;
6586 _ptr
= new wxPyInputStream(_result
);
6588 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6593 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6594 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
* _resultobj
;
6596 wxOutputStream
* _result
;
6597 wxPyProcess
* _arg0
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) return NULL
;
6619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6620 _resultobj
= Py_BuildValue("s",_ptemp
);
6623 _resultobj
= Py_None
;
6628 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6629 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6631 wxPyProcess
* _arg0
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 wxProcess_CloseOutput(_arg0
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) return NULL
;
6651 } Py_INCREF(Py_None
);
6652 _resultobj
= Py_None
;
6656 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6657 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
* _resultobj
;
6660 wxPyProcess
* _arg0
;
6661 PyObject
* _argo0
= 0;
6662 char *_kwnames
[] = { "self", NULL
};
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) return NULL
;
6680 } _resultobj
= Py_BuildValue("i",_result
);
6684 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6685 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6688 wxPyProcess
* _arg0
;
6689 PyObject
* _argo0
= 0;
6690 char *_kwnames
[] = { "self", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) return NULL
;
6708 } _resultobj
= Py_BuildValue("i",_result
);
6712 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6713 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6716 wxPyProcess
* _arg0
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) return NULL
;
6736 } _resultobj
= Py_BuildValue("i",_result
);
6740 static void *SwigwxJoystickTowxObject(void *ptr
) {
6743 src
= (wxJoystick
*) ptr
;
6744 dest
= (wxObject
*) src
;
6745 return (void *) dest
;
6748 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6749 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
* _resultobj
;
6751 wxJoystick
* _result
;
6752 int _arg0
= (int ) (wxJOYSTICK1
);
6753 char *_kwnames
[] = { "joystick", NULL
};
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) return NULL
;
6766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6767 _resultobj
= Py_BuildValue("s",_ptemp
);
6770 _resultobj
= Py_None
;
6775 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6776 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
* _resultobj
;
6779 PyObject
* _argo0
= 0;
6780 char *_kwnames
[] = { "self", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 delete_wxJoystick(_arg0
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) return NULL
;
6798 } Py_INCREF(Py_None
);
6799 _resultobj
= Py_None
;
6803 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6804 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6808 PyObject
* _argo0
= 0;
6809 char *_kwnames
[] = { "self", NULL
};
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) return NULL
;
6828 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6829 _resultobj
= Py_BuildValue("s",_ptemp
);
6833 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6834 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) return NULL
;
6857 } _resultobj
= Py_BuildValue("i",_result
);
6861 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6862 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6866 PyObject
* _argo0
= 0;
6867 char *_kwnames
[] = { "self", NULL
};
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) return NULL
;
6885 } _resultobj
= Py_BuildValue("i",_result
);
6889 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6890 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
* _resultobj
;
6894 PyObject
* _argo0
= 0;
6895 char *_kwnames
[] = { "self", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) return NULL
;
6913 } _resultobj
= Py_BuildValue("i",_result
);
6917 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6918 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
* _resultobj
;
6922 PyObject
* _argo0
= 0;
6923 char *_kwnames
[] = { "self", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) return NULL
;
6941 } _resultobj
= Py_BuildValue("i",_result
);
6945 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6946 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
* _resultobj
;
6950 PyObject
* _argo0
= 0;
6951 char *_kwnames
[] = { "self", NULL
};
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) return NULL
;
6969 } _resultobj
= Py_BuildValue("i",_result
);
6973 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6974 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
* _resultobj
;
6978 PyObject
* _argo0
= 0;
6979 char *_kwnames
[] = { "self", NULL
};
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) return NULL
;
6997 } _resultobj
= Py_BuildValue("i",_result
);
7001 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
7002 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
* _resultobj
;
7006 PyObject
* _argo0
= 0;
7007 char *_kwnames
[] = { "self", NULL
};
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
7013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 _result
= (int )wxJoystick_GetVPosition(_arg0
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) return NULL
;
7025 } _resultobj
= Py_BuildValue("i",_result
);
7029 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
7030 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
* _resultobj
;
7034 PyObject
* _argo0
= 0;
7035 char *_kwnames
[] = { "self", NULL
};
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
7041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) return NULL
;
7053 } _resultobj
= Py_BuildValue("i",_result
);
7057 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
7058 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
* _resultobj
;
7062 PyObject
* _argo0
= 0;
7063 char *_kwnames
[] = { "self","threshold", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) return NULL
;
7081 } Py_INCREF(Py_None
);
7082 _resultobj
= Py_None
;
7086 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7087 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
* _resultobj
;
7091 PyObject
* _argo0
= 0;
7092 char *_kwnames
[] = { "self", NULL
};
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 _result
= (bool )wxJoystick_IsOk(_arg0
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) return NULL
;
7110 } _resultobj
= Py_BuildValue("i",_result
);
7114 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7115 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
* _resultobj
;
7119 PyObject
* _argo0
= 0;
7120 char *_kwnames
[] = { "self", NULL
};
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) return NULL
;
7138 } _resultobj
= Py_BuildValue("i",_result
);
7142 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7143 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
* _resultobj
;
7147 PyObject
* _argo0
= 0;
7148 char *_kwnames
[] = { "self", NULL
};
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) return NULL
;
7166 } _resultobj
= Py_BuildValue("i",_result
);
7170 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7171 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
* _resultobj
;
7175 PyObject
* _argo0
= 0;
7176 char *_kwnames
[] = { "self", NULL
};
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 _result
= (int )wxJoystick_GetProductId(_arg0
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) return NULL
;
7194 } _resultobj
= Py_BuildValue("i",_result
);
7198 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7199 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7203 PyObject
* _argo0
= 0;
7204 char *_kwnames
[] = { "self", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) return NULL
;
7224 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7226 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7235 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7236 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7240 PyObject
* _argo0
= 0;
7241 char *_kwnames
[] = { "self", NULL
};
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 _result
= (int )wxJoystick_GetXMin(_arg0
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) return NULL
;
7259 } _resultobj
= Py_BuildValue("i",_result
);
7263 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7264 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
* _resultobj
;
7268 PyObject
* _argo0
= 0;
7269 char *_kwnames
[] = { "self", NULL
};
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 _result
= (int )wxJoystick_GetYMin(_arg0
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) return NULL
;
7287 } _resultobj
= Py_BuildValue("i",_result
);
7291 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7292 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7296 PyObject
* _argo0
= 0;
7297 char *_kwnames
[] = { "self", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 _result
= (int )wxJoystick_GetZMin(_arg0
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) return NULL
;
7315 } _resultobj
= Py_BuildValue("i",_result
);
7319 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7320 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
* _resultobj
;
7324 PyObject
* _argo0
= 0;
7325 char *_kwnames
[] = { "self", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 _result
= (int )wxJoystick_GetXMax(_arg0
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) return NULL
;
7343 } _resultobj
= Py_BuildValue("i",_result
);
7347 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7348 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7352 PyObject
* _argo0
= 0;
7353 char *_kwnames
[] = { "self", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 _result
= (int )wxJoystick_GetYMax(_arg0
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) return NULL
;
7371 } _resultobj
= Py_BuildValue("i",_result
);
7375 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7376 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7381 char *_kwnames
[] = { "self", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 _result
= (int )wxJoystick_GetZMax(_arg0
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) return NULL
;
7399 } _resultobj
= Py_BuildValue("i",_result
);
7403 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7404 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7408 PyObject
* _argo0
= 0;
7409 char *_kwnames
[] = { "self", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) return NULL
;
7427 } _resultobj
= Py_BuildValue("i",_result
);
7431 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7432 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
* _resultobj
;
7436 PyObject
* _argo0
= 0;
7437 char *_kwnames
[] = { "self", NULL
};
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) return NULL
;
7455 } _resultobj
= Py_BuildValue("i",_result
);
7459 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7460 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
* _resultobj
;
7464 PyObject
* _argo0
= 0;
7465 char *_kwnames
[] = { "self", NULL
};
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) return NULL
;
7483 } _resultobj
= Py_BuildValue("i",_result
);
7487 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7488 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
* _resultobj
;
7492 PyObject
* _argo0
= 0;
7493 char *_kwnames
[] = { "self", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) return NULL
;
7511 } _resultobj
= Py_BuildValue("i",_result
);
7515 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7516 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7520 PyObject
* _argo0
= 0;
7521 char *_kwnames
[] = { "self", NULL
};
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) return NULL
;
7539 } _resultobj
= Py_BuildValue("i",_result
);
7543 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7544 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7548 PyObject
* _argo0
= 0;
7549 char *_kwnames
[] = { "self", NULL
};
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) return NULL
;
7567 } _resultobj
= Py_BuildValue("i",_result
);
7571 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7572 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7576 PyObject
* _argo0
= 0;
7577 char *_kwnames
[] = { "self", NULL
};
7580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) return NULL
;
7595 } _resultobj
= Py_BuildValue("i",_result
);
7599 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7600 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
* _resultobj
;
7604 PyObject
* _argo0
= 0;
7605 char *_kwnames
[] = { "self", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) return NULL
;
7623 } _resultobj
= Py_BuildValue("i",_result
);
7627 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7628 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
* _resultobj
;
7632 PyObject
* _argo0
= 0;
7633 char *_kwnames
[] = { "self", NULL
};
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 _result
= (int )wxJoystick_GetUMin(_arg0
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) return NULL
;
7651 } _resultobj
= Py_BuildValue("i",_result
);
7655 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7656 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
* _resultobj
;
7660 PyObject
* _argo0
= 0;
7661 char *_kwnames
[] = { "self", NULL
};
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 _result
= (int )wxJoystick_GetUMax(_arg0
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) return NULL
;
7679 } _resultobj
= Py_BuildValue("i",_result
);
7683 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7684 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
* _resultobj
;
7688 PyObject
* _argo0
= 0;
7689 char *_kwnames
[] = { "self", NULL
};
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 _result
= (int )wxJoystick_GetVMin(_arg0
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) return NULL
;
7707 } _resultobj
= Py_BuildValue("i",_result
);
7711 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7712 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7716 PyObject
* _argo0
= 0;
7717 char *_kwnames
[] = { "self", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 _result
= (int )wxJoystick_GetVMax(_arg0
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) return NULL
;
7735 } _resultobj
= Py_BuildValue("i",_result
);
7739 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7740 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7744 PyObject
* _argo0
= 0;
7745 char *_kwnames
[] = { "self", NULL
};
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) return NULL
;
7763 } _resultobj
= Py_BuildValue("i",_result
);
7767 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7768 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
* _resultobj
;
7772 PyObject
* _argo0
= 0;
7773 char *_kwnames
[] = { "self", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 _result
= (bool )wxJoystick_HasZ(_arg0
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) return NULL
;
7791 } _resultobj
= Py_BuildValue("i",_result
);
7795 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7796 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
* _resultobj
;
7800 PyObject
* _argo0
= 0;
7801 char *_kwnames
[] = { "self", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 _result
= (bool )wxJoystick_HasU(_arg0
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) return NULL
;
7819 } _resultobj
= Py_BuildValue("i",_result
);
7823 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7824 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
* _resultobj
;
7828 PyObject
* _argo0
= 0;
7829 char *_kwnames
[] = { "self", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 _result
= (bool )wxJoystick_HasV(_arg0
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) return NULL
;
7847 } _resultobj
= Py_BuildValue("i",_result
);
7851 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7852 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
* _resultobj
;
7856 PyObject
* _argo0
= 0;
7857 char *_kwnames
[] = { "self", NULL
};
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) return NULL
;
7875 } _resultobj
= Py_BuildValue("i",_result
);
7879 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7880 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
* _resultobj
;
7884 PyObject
* _argo0
= 0;
7885 char *_kwnames
[] = { "self", NULL
};
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) return NULL
;
7903 } _resultobj
= Py_BuildValue("i",_result
);
7907 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7908 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
* _resultobj
;
7912 PyObject
* _argo0
= 0;
7913 char *_kwnames
[] = { "self", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) return NULL
;
7931 } _resultobj
= Py_BuildValue("i",_result
);
7935 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7936 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
* _resultobj
;
7941 int _arg2
= (int ) 0;
7942 PyObject
* _argo0
= 0;
7943 PyObject
* _argo1
= 0;
7944 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) return NULL
;
7969 } _resultobj
= Py_BuildValue("i",_result
);
7973 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7974 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7978 PyObject
* _argo0
= 0;
7979 char *_kwnames
[] = { "self", NULL
};
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) return NULL
;
7997 } _resultobj
= Py_BuildValue("i",_result
);
8001 static void *SwigwxWaveTowxObject(void *ptr
) {
8004 src
= (wxWave
*) ptr
;
8005 dest
= (wxObject
*) src
;
8006 return (void *) dest
;
8009 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
8010 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
* _resultobj
;
8014 bool _arg1
= (bool ) FALSE
;
8015 PyObject
* _obj0
= 0;
8016 int tempbool1
= (int) FALSE
;
8017 char *_kwnames
[] = { "fileName","isResource", NULL
};
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
8024 _arg0
= wxString_in_helper(_obj0
);
8028 _arg1
= (bool ) tempbool1
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) return NULL
;
8036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
8037 _resultobj
= Py_BuildValue("s",_ptemp
);
8040 _resultobj
= Py_None
;
8049 #define delete_wxWave(_swigobj) (delete _swigobj)
8050 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
* _resultobj
;
8053 PyObject
* _argo0
= 0;
8054 char *_kwnames
[] = { "self", NULL
};
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
8060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 delete_wxWave(_arg0
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) return NULL
;
8072 } Py_INCREF(Py_None
);
8073 _resultobj
= Py_None
;
8077 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8078 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
* _resultobj
;
8082 PyObject
* _argo0
= 0;
8083 char *_kwnames
[] = { "self", NULL
};
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 _result
= (bool )wxWave_IsOk(_arg0
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) return NULL
;
8101 } _resultobj
= Py_BuildValue("i",_result
);
8105 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8106 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
* _resultobj
;
8110 bool _arg1
= (bool ) TRUE
;
8111 bool _arg2
= (bool ) FALSE
;
8112 PyObject
* _argo0
= 0;
8113 int tempbool1
= (int) TRUE
;
8114 int tempbool2
= (int) FALSE
;
8115 char *_kwnames
[] = { "self","async","looped", NULL
};
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8127 _arg1
= (bool ) tempbool1
;
8128 _arg2
= (bool ) tempbool2
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) return NULL
;
8135 } _resultobj
= Py_BuildValue("i",_result
);
8139 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8140 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
* _resultobj
;
8142 wxFileTypeInfo
* _result
;
8147 PyObject
* _obj0
= 0;
8148 PyObject
* _obj1
= 0;
8149 PyObject
* _obj2
= 0;
8150 PyObject
* _obj3
= 0;
8151 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
8158 _arg0
= wxString_in_helper(_obj0
);
8163 _arg1
= wxString_in_helper(_obj1
);
8168 _arg2
= wxString_in_helper(_obj2
);
8173 _arg3
= wxString_in_helper(_obj3
);
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) return NULL
;
8184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8185 _resultobj
= Py_BuildValue("s",_ptemp
);
8188 _resultobj
= Py_None
;
8209 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8210 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
* _resultobj
;
8212 wxFileTypeInfo
* _result
;
8213 wxArrayString
* _arg0
;
8214 PyObject
* _obj0
= 0;
8215 char *_kwnames
[] = { "sArray", NULL
};
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8222 if (! PySequence_Check(_obj0
)) {
8223 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8226 _arg0
= new wxArrayString
;
8227 int i
, len
=PySequence_Length(_obj0
);
8228 for (i
=0; i
<len
; i
++) {
8229 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8231 PyObject
* str
= PyObject_Unicode(item
);
8233 PyObject
* str
= PyObject_Str(item
);
8235 _arg0
->Add(Py2wxString(str
));
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) return NULL
;
8247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8248 _resultobj
= Py_BuildValue("s",_ptemp
);
8251 _resultobj
= Py_None
;
8260 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8261 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8263 wxFileTypeInfo
* _result
;
8264 char *_kwnames
[] = { NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) return NULL
;
8277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8278 _resultobj
= Py_BuildValue("s",_ptemp
);
8281 _resultobj
= Py_None
;
8286 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8287 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
* _resultobj
;
8290 wxFileTypeInfo
* _arg0
;
8291 PyObject
* _argo0
= 0;
8292 char *_kwnames
[] = { "self", NULL
};
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) return NULL
;
8310 } _resultobj
= Py_BuildValue("i",_result
);
8314 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8315 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
* _resultobj
;
8317 wxFileTypeInfo
* _arg0
;
8319 int _arg2
= (int ) 0;
8320 PyObject
* _argo0
= 0;
8321 PyObject
* _obj1
= 0;
8322 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8335 _arg1
= wxString_in_helper(_obj1
);
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) return NULL
;
8345 } Py_INCREF(Py_None
);
8346 _resultobj
= Py_None
;
8354 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8355 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
* _resultobj
;
8357 wxFileTypeInfo
* _arg0
;
8359 PyObject
* _argo0
= 0;
8360 PyObject
* _obj1
= 0;
8361 char *_kwnames
[] = { "self","shortDesc", NULL
};
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8374 _arg1
= wxString_in_helper(_obj1
);
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) return NULL
;
8384 } Py_INCREF(Py_None
);
8385 _resultobj
= Py_None
;
8393 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8394 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
* _resultobj
;
8397 wxFileTypeInfo
* _arg0
;
8398 PyObject
* _argo0
= 0;
8399 char *_kwnames
[] = { "self", NULL
};
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8414 _result
= (wxString
*) &_result_ref
;
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) return NULL
;
8420 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8422 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8428 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8429 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
* _resultobj
;
8432 wxFileTypeInfo
* _arg0
;
8433 PyObject
* _argo0
= 0;
8434 char *_kwnames
[] = { "self", NULL
};
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8449 _result
= (wxString
*) &_result_ref
;
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) return NULL
;
8455 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8457 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8463 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8464 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
* _resultobj
;
8467 wxFileTypeInfo
* _arg0
;
8468 PyObject
* _argo0
= 0;
8469 char *_kwnames
[] = { "self", NULL
};
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8484 _result
= (wxString
*) &_result_ref
;
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) return NULL
;
8490 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8492 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8498 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8499 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
* _resultobj
;
8502 wxFileTypeInfo
* _arg0
;
8503 PyObject
* _argo0
= 0;
8504 char *_kwnames
[] = { "self", NULL
};
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8519 _result
= (wxString
*) &_result_ref
;
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) return NULL
;
8525 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8527 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8533 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8534 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
* _resultobj
;
8537 wxFileTypeInfo
* _arg0
;
8538 PyObject
* _argo0
= 0;
8539 char *_kwnames
[] = { "self", NULL
};
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8554 _result
= (wxString
*) &_result_ref
;
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) return NULL
;
8560 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8562 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8568 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8569 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8570 return wxArrayString2PyList_helper(arr
);
8572 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
* _resultobj
;
8575 wxFileTypeInfo
* _arg0
;
8576 PyObject
* _argo0
= 0;
8577 char *_kwnames
[] = { "self", NULL
};
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) return NULL
;
8596 _resultobj
= _result
;
8601 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8602 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
* _resultobj
;
8605 wxFileTypeInfo
* _arg0
;
8606 PyObject
* _argo0
= 0;
8607 char *_kwnames
[] = { "self", NULL
};
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8621 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8623 wxPyEndAllowThreads(__tstate
);
8624 if (PyErr_Occurred()) return NULL
;
8625 } _resultobj
= Py_BuildValue("i",_result
);
8629 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8630 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8633 wxFileTypeInfo
* _arg0
;
8634 PyObject
* _argo0
= 0;
8635 char *_kwnames
[] = { "self", NULL
};
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8650 _result
= (wxString
*) &_result_ref
;
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) return NULL
;
8656 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8658 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8664 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8665 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
* _resultobj
;
8668 wxFileTypeInfo
* _arg0
;
8669 PyObject
* _argo0
= 0;
8670 char *_kwnames
[] = { "self", NULL
};
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) return NULL
;
8688 } _resultobj
= Py_BuildValue("i",_result
);
8692 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8693 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
* _resultobj
;
8695 wxFileType
* _result
;
8696 wxFileTypeInfo
* _arg0
;
8697 PyObject
* _argo0
= 0;
8698 char *_kwnames
[] = { "ftInfo", NULL
};
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8705 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) return NULL
;
8717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8718 _resultobj
= Py_BuildValue("s",_ptemp
);
8721 _resultobj
= Py_None
;
8726 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8728 if (self
->GetMimeType(&str
)) {
8730 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8732 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8738 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
* _resultobj
;
8742 PyObject
* _argo0
= 0;
8743 char *_kwnames
[] = { "self", NULL
};
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) return NULL
;
8762 _resultobj
= _result
;
8767 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8769 if (self
->GetMimeTypes(arr
))
8770 return wxArrayString2PyList_helper(arr
);
8774 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
* _resultobj
;
8778 PyObject
* _argo0
= 0;
8779 char *_kwnames
[] = { "self", NULL
};
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) return NULL
;
8798 _resultobj
= _result
;
8803 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8805 if (self
->GetExtensions(arr
))
8806 return wxArrayString2PyList_helper(arr
);
8810 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
* _resultobj
;
8814 PyObject
* _argo0
= 0;
8815 char *_kwnames
[] = { "self", NULL
};
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) return NULL
;
8834 _resultobj
= _result
;
8839 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8841 if (self
->GetIcon(&loc
))
8842 return new wxIcon(loc
);
8846 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
* _resultobj
;
8850 PyObject
* _argo0
= 0;
8851 char *_kwnames
[] = { "self", NULL
};
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) return NULL
;
8871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8872 _resultobj
= Py_BuildValue("s",_ptemp
);
8875 _resultobj
= Py_None
;
8880 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8882 if (self
->GetIcon(&loc
)) {
8883 wxString iconFile
= loc
.GetFileName();
8886 iconIndex
= loc
.GetIndex();
8888 // Make a tuple and put the values in it
8889 wxPyBeginBlockThreads();
8890 PyObject
* tuple
= PyTuple_New(3);
8891 PyTuple_SetItem(tuple
, 0,
8892 wxPyConstructObject(new wxIcon(loc
), wxT("wxIcon"), TRUE
));
8894 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8896 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8898 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8899 wxPyEndBlockThreads();
8905 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
* _resultobj
;
8909 PyObject
* _argo0
= 0;
8910 char *_kwnames
[] = { "self", NULL
};
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) return NULL
;
8929 _resultobj
= _result
;
8934 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8936 if (self
->GetDescription(&str
)) {
8938 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8940 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8945 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
* _resultobj
;
8949 PyObject
* _argo0
= 0;
8950 char *_kwnames
[] = { "self", NULL
};
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) return NULL
;
8969 _resultobj
= _result
;
8974 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8976 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8978 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8980 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8985 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
* _resultobj
;
8990 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8991 PyObject
* _argo0
= 0;
8992 PyObject
* _obj1
= 0;
8993 PyObject
* _obj2
= 0;
8994 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
9007 _arg1
= wxString_in_helper(_obj1
);
9013 _arg2
= wxString_in_helper(_obj2
);
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) return NULL
;
9024 _resultobj
= _result
;
9037 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9039 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9041 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9043 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9048 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
* _resultobj
;
9053 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9054 PyObject
* _argo0
= 0;
9055 PyObject
* _obj1
= 0;
9056 PyObject
* _obj2
= 0;
9057 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
9070 _arg1
= wxString_in_helper(_obj1
);
9076 _arg2
= wxString_in_helper(_obj2
);
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) return NULL
;
9087 _resultobj
= _result
;
9100 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9101 wxArrayString verbs
;
9102 wxArrayString commands
;
9103 if (self
->GetAllCommands(&verbs
, &commands
,
9104 wxFileType::MessageParameters(filename
, mimetype
))) {
9105 wxPyBeginBlockThreads();
9106 PyObject
* tuple
= PyTuple_New(2);
9107 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
9108 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
9109 wxPyEndBlockThreads();
9115 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
* _resultobj
;
9120 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9121 PyObject
* _argo0
= 0;
9122 PyObject
* _obj1
= 0;
9123 PyObject
* _obj2
= 0;
9124 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9137 _arg1
= wxString_in_helper(_obj1
);
9143 _arg2
= wxString_in_helper(_obj2
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9154 _resultobj
= _result
;
9167 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9168 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
* _resultobj
;
9174 bool _arg3
= (bool ) TRUE
;
9175 PyObject
* _argo0
= 0;
9176 PyObject
* _obj1
= 0;
9177 PyObject
* _obj2
= 0;
9178 int tempbool3
= (int) TRUE
;
9179 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9192 _arg1
= wxString_in_helper(_obj1
);
9197 _arg2
= wxString_in_helper(_obj2
);
9201 _arg3
= (bool ) tempbool3
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) return NULL
;
9208 } _resultobj
= Py_BuildValue("i",_result
);
9220 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9221 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
* _resultobj
;
9225 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9226 int _arg2
= (int ) 0;
9227 PyObject
* _argo0
= 0;
9228 PyObject
* _obj1
= 0;
9229 char *_kwnames
[] = { "self","cmd","index", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9243 _arg1
= wxString_in_helper(_obj1
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) return NULL
;
9253 } _resultobj
= Py_BuildValue("i",_result
);
9261 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9262 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
* _resultobj
;
9266 PyObject
* _argo0
= 0;
9267 char *_kwnames
[] = { "self", NULL
};
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 _result
= (bool )wxFileType_Unassociate(_arg0
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) return NULL
;
9285 } _resultobj
= Py_BuildValue("i",_result
);
9289 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9293 wxFileType::MessageParameters
* _arg1
;
9294 PyObject
* _obj0
= 0;
9295 PyObject
* _argo1
= 0;
9296 char *_kwnames
[] = { "command","params", NULL
};
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9302 _arg0
= wxString_in_helper(_obj0
);
9307 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) return NULL
;
9320 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9322 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9335 #define delete_wxFileType(_swigobj) (delete _swigobj)
9336 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
* _resultobj
;
9339 PyObject
* _argo0
= 0;
9340 char *_kwnames
[] = { "self", NULL
};
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 delete_wxFileType(_arg0
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) return NULL
;
9358 } Py_INCREF(Py_None
);
9359 _resultobj
= Py_None
;
9363 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
* _resultobj
;
9368 PyObject
* _obj0
= 0;
9369 PyObject
* _obj1
= 0;
9370 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9376 _arg0
= wxString_in_helper(_obj0
);
9381 _arg1
= wxString_in_helper(_obj1
);
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) return NULL
;
9391 } _resultobj
= Py_BuildValue("i",_result
);
9403 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9404 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
* _resultobj
;
9406 wxMimeTypesManager
* _result
;
9407 char *_kwnames
[] = { NULL
};
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) return NULL
;
9420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9421 _resultobj
= Py_BuildValue("s",_ptemp
);
9424 _resultobj
= Py_None
;
9429 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9430 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
* _resultobj
;
9432 wxMimeTypesManager
* _arg0
;
9433 int _arg1
= (int ) (wxMAILCAP_ALL
);
9434 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9435 PyObject
* _argo0
= 0;
9436 PyObject
* _obj2
= 0;
9437 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9451 _arg2
= wxString_in_helper(_obj2
);
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) return NULL
;
9461 } Py_INCREF(Py_None
);
9462 _resultobj
= Py_None
;
9470 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9471 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
* _resultobj
;
9473 wxMimeTypesManager
* _arg0
;
9474 PyObject
* _argo0
= 0;
9475 char *_kwnames
[] = { "self", NULL
};
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 wxMimeTypesManager_ClearData(_arg0
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) return NULL
;
9493 } Py_INCREF(Py_None
);
9494 _resultobj
= Py_None
;
9498 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9499 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
* _resultobj
;
9501 wxFileType
* _result
;
9502 wxMimeTypesManager
* _arg0
;
9504 PyObject
* _argo0
= 0;
9505 PyObject
* _obj1
= 0;
9506 char *_kwnames
[] = { "self","ext", NULL
};
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9520 _arg1
= wxString_in_helper(_obj1
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) return NULL
;
9531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9532 _resultobj
= Py_BuildValue("s",_ptemp
);
9535 _resultobj
= Py_None
;
9544 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9545 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
* _resultobj
;
9547 wxFileType
* _result
;
9548 wxMimeTypesManager
* _arg0
;
9550 PyObject
* _argo0
= 0;
9551 PyObject
* _obj1
= 0;
9552 char *_kwnames
[] = { "self","mimeType", NULL
};
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9566 _arg1
= wxString_in_helper(_obj1
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) return NULL
;
9577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9578 _resultobj
= Py_BuildValue("s",_ptemp
);
9581 _resultobj
= Py_None
;
9590 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9591 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
* _resultobj
;
9594 wxMimeTypesManager
* _arg0
;
9596 bool _arg2
= (bool ) FALSE
;
9597 PyObject
* _argo0
= 0;
9598 PyObject
* _obj1
= 0;
9599 int tempbool2
= (int) FALSE
;
9600 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9613 _arg1
= wxString_in_helper(_obj1
);
9617 _arg2
= (bool ) tempbool2
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) return NULL
;
9624 } _resultobj
= Py_BuildValue("i",_result
);
9632 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9633 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9636 wxMimeTypesManager
* _arg0
;
9638 PyObject
* _argo0
= 0;
9639 PyObject
* _obj1
= 0;
9640 char *_kwnames
[] = { "self","filename", NULL
};
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9653 _arg1
= wxString_in_helper(_obj1
);
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) return NULL
;
9663 } _resultobj
= Py_BuildValue("i",_result
);
9671 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9673 self
->EnumAllFileTypes(arr
);
9674 return wxArrayString2PyList_helper(arr
);
9676 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
* _resultobj
;
9679 wxMimeTypesManager
* _arg0
;
9680 PyObject
* _argo0
= 0;
9681 char *_kwnames
[] = { "self", NULL
};
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) return NULL
;
9700 _resultobj
= _result
;
9705 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9706 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
* _resultobj
;
9708 wxMimeTypesManager
* _arg0
;
9709 wxFileTypeInfo
* _arg1
;
9710 PyObject
* _argo0
= 0;
9711 PyObject
* _argo1
= 0;
9712 char *_kwnames
[] = { "self","ft", NULL
};
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9725 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) return NULL
;
9736 } Py_INCREF(Py_None
);
9737 _resultobj
= Py_None
;
9741 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9742 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
* _resultobj
;
9744 wxFileType
* _result
;
9745 wxMimeTypesManager
* _arg0
;
9746 wxFileTypeInfo
* _arg1
;
9747 PyObject
* _argo0
= 0;
9748 PyObject
* _argo1
= 0;
9749 char *_kwnames
[] = { "self","ftInfo", NULL
};
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9763 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) return NULL
;
9775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9776 _resultobj
= Py_BuildValue("s",_ptemp
);
9779 _resultobj
= Py_None
;
9784 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9785 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
* _resultobj
;
9788 wxMimeTypesManager
* _arg0
;
9790 PyObject
* _argo0
= 0;
9791 PyObject
* _argo1
= 0;
9792 char *_kwnames
[] = { "self","ft", NULL
};
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9805 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9806 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) return NULL
;
9817 } _resultobj
= Py_BuildValue("i",_result
);
9821 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9822 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
* _resultobj
;
9824 wxMimeTypesManager
* _arg0
;
9825 PyObject
* _argo0
= 0;
9826 char *_kwnames
[] = { "self", NULL
};
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 delete_wxMimeTypesManager(_arg0
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) return NULL
;
9844 } Py_INCREF(Py_None
);
9845 _resultobj
= Py_None
;
9849 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9850 wxPyArtProvider
*src
;
9852 src
= (wxPyArtProvider
*) ptr
;
9853 dest
= (wxObject
*) src
;
9854 return (void *) dest
;
9857 #define new_wxArtProvider() (new wxPyArtProvider())
9858 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
* _resultobj
;
9860 wxPyArtProvider
* _result
;
9861 char *_kwnames
[] = { NULL
};
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) return NULL
;
9874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9875 _resultobj
= Py_BuildValue("s",_ptemp
);
9878 _resultobj
= Py_None
;
9883 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9884 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
* _resultobj
;
9886 wxPyArtProvider
* _arg0
;
9889 PyObject
* _argo0
= 0;
9890 PyObject
* _obj1
= 0;
9891 PyObject
* _obj2
= 0;
9892 char *_kwnames
[] = { "self","self","_class", NULL
};
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) return NULL
;
9916 } Py_INCREF(Py_None
);
9917 _resultobj
= Py_None
;
9921 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
* _resultobj
;
9923 wxPyArtProvider
* _arg0
;
9924 PyObject
* _argo0
= 0;
9925 char *_kwnames
[] = { "provider", NULL
};
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 wxPyArtProvider::PushProvider(_arg0
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) return NULL
;
9943 } Py_INCREF(Py_None
);
9944 _resultobj
= Py_None
;
9948 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
* _resultobj
;
9951 char *_kwnames
[] = { NULL
};
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 _result
= (bool )wxPyArtProvider::PopProvider();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) return NULL
;
9962 } _resultobj
= Py_BuildValue("i",_result
);
9966 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
* _resultobj
;
9969 wxPyArtProvider
* _arg0
;
9970 PyObject
* _argo0
= 0;
9971 char *_kwnames
[] = { "provider", NULL
};
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) return NULL
;
9989 } _resultobj
= Py_BuildValue("i",_result
);
9993 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
* _resultobj
;
9997 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9998 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9999 PyObject
* _obj0
= 0;
10000 PyObject
* _obj1
= 0;
10002 PyObject
* _obj2
= 0;
10003 char *_kwnames
[] = { "id","client","size", NULL
};
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10010 _arg0
= wxString_in_helper(_obj0
);
10016 _arg1
= wxString_in_helper(_obj1
);
10023 if (! wxSize_helper(_obj2
, &_arg2
))
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) return NULL
;
10032 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10033 _resultobj
= Py_BuildValue("s",_ptemp
);
10045 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
* _resultobj
;
10049 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10050 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10051 PyObject
* _obj0
= 0;
10052 PyObject
* _obj1
= 0;
10054 PyObject
* _obj2
= 0;
10055 char *_kwnames
[] = { "id","client","size", NULL
};
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10062 _arg0
= wxString_in_helper(_obj0
);
10068 _arg1
= wxString_in_helper(_obj1
);
10075 if (! wxSize_helper(_obj2
, &_arg2
))
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) return NULL
;
10084 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
10085 _resultobj
= Py_BuildValue("s",_ptemp
);
10097 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10098 wxFileHistory
*src
;
10100 src
= (wxFileHistory
*) ptr
;
10101 dest
= (wxObject
*) src
;
10102 return (void *) dest
;
10105 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10106 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
* _resultobj
;
10108 wxFileHistory
* _result
;
10109 int _arg0
= (int ) 9;
10110 char *_kwnames
[] = { "maxFiles", NULL
};
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) return NULL
;
10123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10124 _resultobj
= Py_BuildValue("s",_ptemp
);
10126 Py_INCREF(Py_None
);
10127 _resultobj
= Py_None
;
10132 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10133 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
* _resultobj
;
10135 wxFileHistory
* _arg0
;
10136 PyObject
* _argo0
= 0;
10137 char *_kwnames
[] = { "self", NULL
};
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 delete_wxFileHistory(_arg0
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) return NULL
;
10155 } Py_INCREF(Py_None
);
10156 _resultobj
= Py_None
;
10160 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10161 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
* _resultobj
;
10163 wxFileHistory
* _arg0
;
10165 PyObject
* _argo0
= 0;
10166 PyObject
* _obj1
= 0;
10167 char *_kwnames
[] = { "self","file", NULL
};
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10180 _arg1
= wxString_in_helper(_obj1
);
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) return NULL
;
10190 } Py_INCREF(Py_None
);
10191 _resultobj
= Py_None
;
10199 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10200 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
* _resultobj
;
10202 wxFileHistory
* _arg0
;
10204 PyObject
* _argo0
= 0;
10205 char *_kwnames
[] = { "self","i", NULL
};
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10221 wxPyEndAllowThreads(__tstate
);
10222 if (PyErr_Occurred()) return NULL
;
10223 } Py_INCREF(Py_None
);
10224 _resultobj
= Py_None
;
10228 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10229 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
* _resultobj
;
10232 wxFileHistory
* _arg0
;
10233 PyObject
* _argo0
= 0;
10234 char *_kwnames
[] = { "self", NULL
};
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) return NULL
;
10252 } _resultobj
= Py_BuildValue("i",_result
);
10256 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10257 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
* _resultobj
;
10259 wxFileHistory
* _arg0
;
10261 PyObject
* _argo0
= 0;
10262 PyObject
* _argo1
= 0;
10263 char *_kwnames
[] = { "self","menu", NULL
};
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 wxFileHistory_UseMenu(_arg0
,_arg1
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) return NULL
;
10288 } Py_INCREF(Py_None
);
10289 _resultobj
= Py_None
;
10293 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10294 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
* _resultobj
;
10296 wxFileHistory
* _arg0
;
10298 PyObject
* _argo0
= 0;
10299 PyObject
* _argo1
= 0;
10300 char *_kwnames
[] = { "self","menu", NULL
};
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) return NULL
;
10325 } Py_INCREF(Py_None
);
10326 _resultobj
= Py_None
;
10330 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10331 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
* _resultobj
;
10333 wxFileHistory
* _arg0
;
10334 wxConfigBase
* _arg1
;
10335 PyObject
* _argo0
= 0;
10336 PyObject
* _argo1
= 0;
10337 char *_kwnames
[] = { "self","config", NULL
};
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10350 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 wxFileHistory_Load(_arg0
,*_arg1
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) return NULL
;
10361 } Py_INCREF(Py_None
);
10362 _resultobj
= Py_None
;
10366 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10367 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
* _resultobj
;
10369 wxFileHistory
* _arg0
;
10370 wxConfigBase
* _arg1
;
10371 PyObject
* _argo0
= 0;
10372 PyObject
* _argo1
= 0;
10373 char *_kwnames
[] = { "self","config", NULL
};
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10386 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 wxFileHistory_Save(_arg0
,*_arg1
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) return NULL
;
10397 } Py_INCREF(Py_None
);
10398 _resultobj
= Py_None
;
10402 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10403 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
* _resultobj
;
10405 wxFileHistory
* _arg0
;
10406 PyObject
* _argo0
= 0;
10407 char *_kwnames
[] = { "self", NULL
};
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 wxFileHistory_AddFilesToMenu(_arg0
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) return NULL
;
10425 } Py_INCREF(Py_None
);
10426 _resultobj
= Py_None
;
10430 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10431 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
* _resultobj
;
10433 wxFileHistory
* _arg0
;
10435 PyObject
* _argo0
= 0;
10436 PyObject
* _argo1
= 0;
10437 char *_kwnames
[] = { "self","menu", NULL
};
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) return NULL
;
10462 } Py_INCREF(Py_None
);
10463 _resultobj
= Py_None
;
10467 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10468 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
* _resultobj
;
10470 wxString
* _result
;
10471 wxFileHistory
* _arg0
;
10473 PyObject
* _argo0
= 0;
10474 char *_kwnames
[] = { "self","i", NULL
};
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) return NULL
;
10494 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10496 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10505 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10506 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
* _resultobj
;
10509 wxFileHistory
* _arg0
;
10510 PyObject
* _argo0
= 0;
10511 char *_kwnames
[] = { "self", NULL
};
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 _result
= (int )wxFileHistory_GetCount(_arg0
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) return NULL
;
10529 } _resultobj
= Py_BuildValue("i",_result
);
10533 static void *SwigwxEffectsTowxObject(void *ptr
) {
10536 src
= (wxEffects
*) ptr
;
10537 dest
= (wxObject
*) src
;
10538 return (void *) dest
;
10541 #define new_wxEffects() (new wxEffects())
10542 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
* _resultobj
;
10544 wxEffects
* _result
;
10545 char *_kwnames
[] = { NULL
};
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 _result
= (wxEffects
*)new_wxEffects();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) return NULL
;
10558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10559 _resultobj
= Py_BuildValue("s",_ptemp
);
10561 Py_INCREF(Py_None
);
10562 _resultobj
= Py_None
;
10567 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10568 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
* _resultobj
;
10570 wxColour
* _result
;
10572 PyObject
* _argo0
= 0;
10573 char *_kwnames
[] = { "self", NULL
};
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) return NULL
;
10592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10593 _resultobj
= Py_BuildValue("s",_ptemp
);
10597 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10598 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
* _resultobj
;
10600 wxColour
* _result
;
10602 PyObject
* _argo0
= 0;
10603 char *_kwnames
[] = { "self", NULL
};
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) return NULL
;
10622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10623 _resultobj
= Py_BuildValue("s",_ptemp
);
10627 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10628 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
* _resultobj
;
10630 wxColour
* _result
;
10632 PyObject
* _argo0
= 0;
10633 char *_kwnames
[] = { "self", NULL
};
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) return NULL
;
10652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10653 _resultobj
= Py_BuildValue("s",_ptemp
);
10657 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10658 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
* _resultobj
;
10660 wxColour
* _result
;
10662 PyObject
* _argo0
= 0;
10663 char *_kwnames
[] = { "self", NULL
};
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) return NULL
;
10682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10683 _resultobj
= Py_BuildValue("s",_ptemp
);
10687 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10688 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
* _resultobj
;
10690 wxColour
* _result
;
10692 PyObject
* _argo0
= 0;
10693 char *_kwnames
[] = { "self", NULL
};
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) return NULL
;
10712 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10713 _resultobj
= Py_BuildValue("s",_ptemp
);
10717 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10718 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
* _resultobj
;
10722 PyObject
* _argo0
= 0;
10724 PyObject
* _obj1
= 0;
10725 char *_kwnames
[] = { "self","c", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10739 if (! wxColour_helper(_obj1
, &_arg1
))
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) return NULL
;
10748 } Py_INCREF(Py_None
);
10749 _resultobj
= Py_None
;
10753 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10754 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
* _resultobj
;
10758 PyObject
* _argo0
= 0;
10760 PyObject
* _obj1
= 0;
10761 char *_kwnames
[] = { "self","c", NULL
};
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10775 if (! wxColour_helper(_obj1
, &_arg1
))
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) return NULL
;
10784 } Py_INCREF(Py_None
);
10785 _resultobj
= Py_None
;
10789 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10790 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
* _resultobj
;
10794 PyObject
* _argo0
= 0;
10796 PyObject
* _obj1
= 0;
10797 char *_kwnames
[] = { "self","c", NULL
};
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10811 if (! wxColour_helper(_obj1
, &_arg1
))
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) return NULL
;
10820 } Py_INCREF(Py_None
);
10821 _resultobj
= Py_None
;
10825 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10826 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
* _resultobj
;
10830 PyObject
* _argo0
= 0;
10832 PyObject
* _obj1
= 0;
10833 char *_kwnames
[] = { "self","c", NULL
};
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10847 if (! wxColour_helper(_obj1
, &_arg1
))
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) return NULL
;
10856 } Py_INCREF(Py_None
);
10857 _resultobj
= Py_None
;
10861 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10862 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
* _resultobj
;
10866 PyObject
* _argo0
= 0;
10868 PyObject
* _obj1
= 0;
10869 char *_kwnames
[] = { "self","c", NULL
};
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10883 if (! wxColour_helper(_obj1
, &_arg1
))
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) return NULL
;
10892 } Py_INCREF(Py_None
);
10893 _resultobj
= Py_None
;
10897 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10898 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
* _resultobj
;
10906 PyObject
* _argo0
= 0;
10908 PyObject
* _obj1
= 0;
10910 PyObject
* _obj2
= 0;
10912 PyObject
* _obj3
= 0;
10914 PyObject
* _obj4
= 0;
10916 PyObject
* _obj5
= 0;
10917 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10931 if (! wxColour_helper(_obj1
, &_arg1
))
10936 if (! wxColour_helper(_obj2
, &_arg2
))
10941 if (! wxColour_helper(_obj3
, &_arg3
))
10946 if (! wxColour_helper(_obj4
, &_arg4
))
10951 if (! wxColour_helper(_obj5
, &_arg5
))
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) return NULL
;
10960 } Py_INCREF(Py_None
);
10961 _resultobj
= Py_None
;
10965 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10966 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
* _resultobj
;
10971 int _arg3
= (int ) 1;
10972 PyObject
* _argo0
= 0;
10973 PyObject
* _argo1
= 0;
10975 PyObject
* _obj2
= 0;
10976 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10989 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10996 if (! wxRect_helper(_obj2
, &_arg2
))
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) return NULL
;
11005 } Py_INCREF(Py_None
);
11006 _resultobj
= Py_None
;
11010 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
11011 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
* _resultobj
;
11018 PyObject
* _argo0
= 0;
11020 PyObject
* _obj1
= 0;
11021 PyObject
* _argo2
= 0;
11022 PyObject
* _argo3
= 0;
11023 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
11037 if (! wxRect_helper(_obj1
, &_arg1
))
11041 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
11047 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) return NULL
;
11058 } _resultobj
= Py_BuildValue("i",_result
);
11062 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11063 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
* _resultobj
;
11065 wxSingleInstanceChecker
* _result
;
11067 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11068 PyObject
* _obj0
= 0;
11069 PyObject
* _obj1
= 0;
11070 char *_kwnames
[] = { "name","path", NULL
};
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11077 _arg0
= wxString_in_helper(_obj0
);
11083 _arg1
= wxString_in_helper(_obj1
);
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) return NULL
;
11094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11095 _resultobj
= Py_BuildValue("s",_ptemp
);
11097 Py_INCREF(Py_None
);
11098 _resultobj
= Py_None
;
11111 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11112 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
* _resultobj
;
11114 wxSingleInstanceChecker
* _result
;
11115 char *_kwnames
[] = { NULL
};
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) return NULL
;
11128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11129 _resultobj
= Py_BuildValue("s",_ptemp
);
11131 Py_INCREF(Py_None
);
11132 _resultobj
= Py_None
;
11137 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11138 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
* _resultobj
;
11140 wxSingleInstanceChecker
* _arg0
;
11141 PyObject
* _argo0
= 0;
11142 char *_kwnames
[] = { "self", NULL
};
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 delete_wxSingleInstanceChecker(_arg0
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) return NULL
;
11160 } Py_INCREF(Py_None
);
11161 _resultobj
= Py_None
;
11165 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11166 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
* _resultobj
;
11169 wxSingleInstanceChecker
* _arg0
;
11171 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11172 PyObject
* _argo0
= 0;
11173 PyObject
* _obj1
= 0;
11174 PyObject
* _obj2
= 0;
11175 char *_kwnames
[] = { "self","name","path", NULL
};
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11188 _arg1
= wxString_in_helper(_obj1
);
11194 _arg2
= wxString_in_helper(_obj2
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) return NULL
;
11204 } _resultobj
= Py_BuildValue("i",_result
);
11216 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11217 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
* _resultobj
;
11220 wxSingleInstanceChecker
* _arg0
;
11221 PyObject
* _argo0
= 0;
11222 char *_kwnames
[] = { "self", NULL
};
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) return NULL
;
11240 } _resultobj
= Py_BuildValue("i",_result
);
11244 static PyMethodDef misc2cMethods
[] = {
11245 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxSystemOptions_HasOption", (PyCFunction
) _wrap_wxSystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxSystemOptions_GetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxSystemOptions_GetOption", (PyCFunction
) _wrap_wxSystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxSystemOptions_SetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxSystemOptions_SetOption", (PyCFunction
) _wrap_wxSystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "new_wxSystemOptions", (PyCFunction
) _wrap_new_wxSystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11578 * This table is used by the pointer type-checker
11580 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11581 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11582 { "_signed_long","_long",0},
11583 { "_wxPrintQuality","_wxCoord",0},
11584 { "_wxPrintQuality","_int",0},
11585 { "_wxPrintQuality","_signed_int",0},
11586 { "_wxPrintQuality","_unsigned_int",0},
11587 { "_wxPrintQuality","_wxWindowID",0},
11588 { "_wxPrintQuality","_uint",0},
11589 { "_wxPrintQuality","_EBool",0},
11590 { "_wxPrintQuality","_size_t",0},
11591 { "_wxPrintQuality","_time_t",0},
11592 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11593 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11594 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11595 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11596 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11597 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11598 { "_byte","_unsigned_char",0},
11599 { "_long","_unsigned_long",0},
11600 { "_long","_signed_long",0},
11601 { "_size_t","_wxCoord",0},
11602 { "_size_t","_wxPrintQuality",0},
11603 { "_size_t","_time_t",0},
11604 { "_size_t","_unsigned_int",0},
11605 { "_size_t","_int",0},
11606 { "_size_t","_wxWindowID",0},
11607 { "_size_t","_uint",0},
11608 { "_uint","_wxCoord",0},
11609 { "_uint","_wxPrintQuality",0},
11610 { "_uint","_time_t",0},
11611 { "_uint","_size_t",0},
11612 { "_uint","_unsigned_int",0},
11613 { "_uint","_int",0},
11614 { "_uint","_wxWindowID",0},
11615 { "_wxChar","_char",0},
11616 { "_char","_wxChar",0},
11617 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11618 { "_EBool","_wxCoord",0},
11619 { "_EBool","_wxPrintQuality",0},
11620 { "_EBool","_signed_int",0},
11621 { "_EBool","_int",0},
11622 { "_EBool","_wxWindowID",0},
11623 { "_unsigned_long","_long",0},
11624 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11625 { "_signed_int","_wxCoord",0},
11626 { "_signed_int","_wxPrintQuality",0},
11627 { "_signed_int","_EBool",0},
11628 { "_signed_int","_wxWindowID",0},
11629 { "_signed_int","_int",0},
11630 { "_WXTYPE","_wxDateTime_t",0},
11631 { "_WXTYPE","_short",0},
11632 { "_WXTYPE","_signed_short",0},
11633 { "_WXTYPE","_unsigned_short",0},
11634 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11635 { "_unsigned_short","_wxDateTime_t",0},
11636 { "_unsigned_short","_WXTYPE",0},
11637 { "_unsigned_short","_short",0},
11638 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11639 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11640 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11641 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11642 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11643 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11644 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11645 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11646 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11647 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11648 { "_wxObject","_wxSystemOptions",SwigwxSystemOptionsTowxObject
},
11649 { "_signed_short","_WXTYPE",0},
11650 { "_signed_short","_short",0},
11651 { "_unsigned_char","_byte",0},
11652 { "_unsigned_int","_wxCoord",0},
11653 { "_unsigned_int","_wxPrintQuality",0},
11654 { "_unsigned_int","_time_t",0},
11655 { "_unsigned_int","_size_t",0},
11656 { "_unsigned_int","_uint",0},
11657 { "_unsigned_int","_wxWindowID",0},
11658 { "_unsigned_int","_int",0},
11659 { "_short","_wxDateTime_t",0},
11660 { "_short","_WXTYPE",0},
11661 { "_short","_unsigned_short",0},
11662 { "_short","_signed_short",0},
11663 { "_wxWindowID","_wxCoord",0},
11664 { "_wxWindowID","_wxPrintQuality",0},
11665 { "_wxWindowID","_time_t",0},
11666 { "_wxWindowID","_size_t",0},
11667 { "_wxWindowID","_EBool",0},
11668 { "_wxWindowID","_uint",0},
11669 { "_wxWindowID","_int",0},
11670 { "_wxWindowID","_signed_int",0},
11671 { "_wxWindowID","_unsigned_int",0},
11672 { "_int","_wxCoord",0},
11673 { "_int","_wxPrintQuality",0},
11674 { "_int","_time_t",0},
11675 { "_int","_size_t",0},
11676 { "_int","_EBool",0},
11677 { "_int","_uint",0},
11678 { "_int","_wxWindowID",0},
11679 { "_int","_unsigned_int",0},
11680 { "_int","_signed_int",0},
11681 { "_wxDateTime_t","_unsigned_short",0},
11682 { "_wxDateTime_t","_short",0},
11683 { "_wxDateTime_t","_WXTYPE",0},
11684 { "_time_t","_wxCoord",0},
11685 { "_time_t","_wxPrintQuality",0},
11686 { "_time_t","_unsigned_int",0},
11687 { "_time_t","_int",0},
11688 { "_time_t","_wxWindowID",0},
11689 { "_time_t","_uint",0},
11690 { "_time_t","_size_t",0},
11691 { "_wxCoord","_int",0},
11692 { "_wxCoord","_signed_int",0},
11693 { "_wxCoord","_unsigned_int",0},
11694 { "_wxCoord","_wxWindowID",0},
11695 { "_wxCoord","_uint",0},
11696 { "_wxCoord","_EBool",0},
11697 { "_wxCoord","_size_t",0},
11698 { "_wxCoord","_time_t",0},
11699 { "_wxCoord","_wxPrintQuality",0},
11700 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11703 static PyObject
*SWIG_globals
;
11707 SWIGEXPORT(void) initmisc2c() {
11709 SWIG_globals
= SWIG_newvarlink();
11710 m
= Py_InitModule("misc2c", misc2cMethods
);
11711 d
= PyModule_GetDict(m
);
11712 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11713 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11714 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11715 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11716 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11717 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11718 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11719 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11720 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11721 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11722 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11723 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11724 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11725 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11726 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11727 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11728 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11729 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11730 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11731 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11732 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11733 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11734 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11735 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11736 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11737 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11738 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11739 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11740 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11741 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11742 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11743 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11744 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11745 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11746 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11747 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11748 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11749 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11750 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11751 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11752 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11753 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11754 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11755 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11756 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11757 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11758 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11759 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11760 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11761 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11762 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11763 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11764 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11765 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11766 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11767 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11768 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11769 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11770 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11771 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11772 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11773 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11774 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11775 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11776 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11777 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11778 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11779 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11780 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11781 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11782 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11783 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11784 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11785 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11786 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11787 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11788 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11789 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11790 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11791 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11792 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11793 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11794 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11795 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11796 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11797 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11798 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11799 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11800 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11801 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11802 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11803 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11804 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11805 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11806 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11807 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11808 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11809 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11810 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11811 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11812 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11813 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11814 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11815 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11816 PyDict_SetItemString(d
,"wxTRACE_OleCalls", PyString_FromString("ole"));
11817 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11818 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11819 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11820 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11821 PyDict_SetItemString(d
,"wxTraceOleCalls", PyInt_FromLong((long) wxTraceOleCalls
));
11822 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11823 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11824 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11825 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11826 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11827 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11828 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11829 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11830 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11831 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11832 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11833 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11834 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11835 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11836 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11837 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11838 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11839 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11840 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11841 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11842 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11843 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11844 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11845 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11846 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11847 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11848 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11849 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11850 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11851 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11852 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11853 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11854 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11855 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11856 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11857 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11858 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11859 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11860 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11861 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11862 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11864 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11865 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11866 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11870 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11871 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);