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 */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include "pyistream.h"
60 #include <wx/resource.h>
61 #include <wx/tooltip.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
74 #include <wx/mimetype.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 // Put some wx default wxChar* values into wxStrings.
104 DECLARE_DEF_STRING(FileSelectorPromptStr
);
105 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
106 DECLARE_DEF_STRING(DirSelectorPromptStr
);
107 static const wxString
wxPyEmptyString(wxT(""));
109 int wxCaret_GetBlinkTime() {
110 return wxCaret::GetBlinkTime();
113 void wxCaret_SetBlinkTime(int milliseconds
) {
114 wxCaret::SetBlinkTime(milliseconds
);
117 bool wxThread_IsMain() {
118 #ifdef WXP_WITH_THREAD
119 return wxThread::IsMain();
125 class wxPyTipProvider
: public wxTipProvider
{
127 wxPyTipProvider(size_t currentTip
)
128 : wxTipProvider(currentTip
) {}
130 DEC_PYCALLBACK_STRING__pure(GetTip
);
135 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
138 #include <wx/generic/dragimgg.h>
140 // A wxLog class that can be derived from in wxPython
141 class wxPyLog
: public wxLog
{
143 wxPyLog() : wxLog() {}
145 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
147 wxPyBeginBlockThreads();
148 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
149 PyObject
* s
= wx2PyString(szString
);
150 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
153 wxPyEndBlockThreads();
155 wxLog::DoLog(level
, szString
, t
);
158 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
160 wxPyBeginBlockThreads();
161 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
162 PyObject
* s
= wx2PyString(szString
);
163 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
166 wxPyEndBlockThreads();
168 wxLog::DoLogString(szString
, t
);
173 // C++ version of wxProcess derived class
175 class wxPyProcess
: public wxProcess
{
177 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
178 : wxProcess(parent
, id
)
181 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
186 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
189 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
190 // A C++ stub class for wxJoystick for platforms that don't have it.
191 class wxJoystick
: public wxObject
{
193 wxJoystick(int joystick
= wxJOYSTICK1
) {
194 wxPyBeginBlockThreads();
195 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
196 wxPyEndBlockThreads();
198 wxPoint
GetPosition() { return wxPoint(-1,-1); }
199 int GetZPosition() { return -1; }
200 int GetButtonState() { return -1; }
201 int GetPOVPosition() { return -1; }
202 int GetPOVCTSPosition() { return -1; }
203 int GetRudderPosition() { return -1; }
204 int GetUPosition() { return -1; }
205 int GetVPosition() { return -1; }
206 int GetMovementThreshold() { return -1; }
207 void SetMovementThreshold(int threshold
) {}
209 bool IsOk(void) { return FALSE
; }
210 int GetNumberJoysticks() { return -1; }
211 int GetManufacturerId() { return -1; }
212 int GetProductId() { return -1; }
213 wxString
GetProductName() { return ""; }
214 int GetXMin() { return -1; }
215 int GetYMin() { return -1; }
216 int GetZMin() { return -1; }
217 int GetXMax() { return -1; }
218 int GetYMax() { return -1; }
219 int GetZMax() { return -1; }
220 int GetNumberButtons() { return -1; }
221 int GetNumberAxes() { return -1; }
222 int GetMaxButtons() { return -1; }
223 int GetMaxAxes() { return -1; }
224 int GetPollingMin() { return -1; }
225 int GetPollingMax() { return -1; }
226 int GetRudderMin() { return -1; }
227 int GetRudderMax() { return -1; }
228 int GetUMin() { return -1; }
229 int GetUMax() { return -1; }
230 int GetVMin() { return -1; }
231 int GetVMax() { return -1; }
233 bool HasRudder() { return FALSE
; }
234 bool HasZ() { return FALSE
; }
235 bool HasU() { return FALSE
; }
236 bool HasV() { return FALSE
; }
237 bool HasPOV() { return FALSE
; }
238 bool HasPOV4Dir() { return FALSE
; }
239 bool HasPOVCTS() { return FALSE
; }
241 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
242 bool ReleaseCapture() { return FALSE
; }
247 // A C++ stub class for wxWave for platforms that don't have it.
248 class wxWave
: public wxObject
251 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
252 wxPyBeginBlockThreads();
253 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
254 wxPyEndBlockThreads();
256 wxWave(int size
, const wxByte
* data
) {
257 wxPyBeginBlockThreads();
258 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
259 wxPyEndBlockThreads();
264 bool IsOk() const { return FALSE
; }
265 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
269 // Implementations of some alternate "constructors"
270 wxWave
* wxWaveData(const wxString
& data
) {
271 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
275 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
279 #include <wx/artprov.h>
281 DECLARE_DEF_STRING(ART_OTHER
);
283 // Python aware wxArtProvider
284 class wxPyArtProvider
: public wxArtProvider
{
287 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
288 const wxArtClient
& client
,
289 const wxSize
& size
) {
290 wxBitmap rval
= wxNullBitmap
;
291 wxPyBeginBlockThreads();
292 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
293 PyObject
* so
= wxPyConstructObject((void*)&size
, "wxSize", 0);
297 s1
= wx2PyString(id
);
298 s2
= wx2PyString(client
);
299 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
304 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
309 wxPyEndBlockThreads();
316 #include <wx/docview.h>
320 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
324 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
325 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
326 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
327 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
328 int _arg5
= (int ) 0;
329 wxWindow
* _arg6
= (wxWindow
*) NULL
;
330 int _arg7
= (int ) -1;
331 int _arg8
= (int ) -1;
332 PyObject
* _obj0
= 0;
333 PyObject
* _obj1
= 0;
334 PyObject
* _obj2
= 0;
335 PyObject
* _obj3
= 0;
336 PyObject
* _obj4
= 0;
337 PyObject
* _argo6
= 0;
338 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
345 _arg0
= wxString_in_helper(_obj0
);
351 _arg1
= wxString_in_helper(_obj1
);
357 _arg2
= wxString_in_helper(_obj2
);
363 _arg3
= wxString_in_helper(_obj3
);
369 _arg4
= wxString_in_helper(_obj4
);
374 if (_argo6
== Py_None
) { _arg6
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
388 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
390 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
419 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
424 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
425 wxWindow
* _arg3
= (wxWindow
*) NULL
;
426 PyObject
* _obj0
= 0;
427 PyObject
* _obj1
= 0;
428 PyObject
* _obj2
= 0;
429 PyObject
* _argo3
= 0;
430 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
436 _arg0
= wxString_in_helper(_obj0
);
441 _arg1
= wxString_in_helper(_obj1
);
447 _arg2
= wxString_in_helper(_obj2
);
452 if (_argo3
== Py_None
) { _arg3
= NULL
; }
453 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
460 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
462 wxPyEndAllowThreads(__tstate
);
463 if (PyErr_Occurred()) return NULL
;
466 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
468 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
489 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
490 PyObject
* _resultobj
;
494 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
495 wxWindow
* _arg3
= (wxWindow
*) NULL
;
496 PyObject
* _obj0
= 0;
497 PyObject
* _obj1
= 0;
498 PyObject
* _obj2
= 0;
499 PyObject
* _argo3
= 0;
500 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
506 _arg0
= wxString_in_helper(_obj0
);
511 _arg1
= wxString_in_helper(_obj1
);
517 _arg2
= wxString_in_helper(_obj2
);
522 if (_argo3
== Py_None
) { _arg3
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
530 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
532 wxPyEndAllowThreads(__tstate
);
533 if (PyErr_Occurred()) return NULL
;
536 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
538 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
559 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
562 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
563 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
564 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
565 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
566 wxWindow
* _arg4
= (wxWindow
*) NULL
;
567 PyObject
* _obj0
= 0;
568 PyObject
* _obj1
= 0;
570 PyObject
* _obj3
= 0;
571 PyObject
* _argo4
= 0;
572 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
579 _arg0
= wxString_in_helper(_obj0
);
585 _arg1
= wxString_in_helper(_obj1
);
592 if (! wxPoint_helper(_obj3
, &_arg3
))
596 if (_argo4
== Py_None
) { _arg4
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
604 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
606 wxPyEndAllowThreads(__tstate
);
607 if (PyErr_Occurred()) return NULL
;
610 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
629 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
633 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
634 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
635 wxWindow
* _arg3
= (wxWindow
*) NULL
;
636 int _arg4
= (int ) -1;
637 int _arg5
= (int ) -1;
638 bool _arg6
= (bool ) TRUE
;
639 PyObject
* _obj0
= 0;
640 PyObject
* _obj1
= 0;
641 PyObject
* _obj2
= 0;
642 PyObject
* _argo3
= 0;
643 int tempbool6
= (int) TRUE
;
644 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
650 _arg0
= wxString_in_helper(_obj0
);
656 _arg1
= wxString_in_helper(_obj1
);
662 _arg2
= wxString_in_helper(_obj2
);
667 if (_argo3
== Py_None
) { _arg3
= NULL
; }
668 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
673 _arg6
= (bool ) tempbool6
;
675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
676 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
678 wxPyEndAllowThreads(__tstate
);
679 if (PyErr_Occurred()) return NULL
;
682 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
684 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
705 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
709 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
710 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
711 wxWindow
* _arg3
= (wxWindow
*) NULL
;
712 PyObject
* _obj0
= 0;
713 PyObject
* _obj1
= 0;
714 PyObject
* _obj2
= 0;
715 PyObject
* _argo3
= 0;
716 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
722 _arg0
= wxString_in_helper(_obj0
);
728 _arg1
= wxString_in_helper(_obj1
);
734 _arg2
= wxString_in_helper(_obj2
);
739 if (_argo3
== Py_None
) { _arg3
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
747 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
749 wxPyEndAllowThreads(__tstate
);
750 if (PyErr_Occurred()) return NULL
;
753 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
776 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
783 wxWindow
* _arg4
= (wxWindow
*) NULL
;
784 int _arg5
= (int ) -1;
785 int _arg6
= (int ) -1;
786 bool _arg7
= (bool ) TRUE
;
787 int _arg8
= (int ) 150;
788 int _arg9
= (int ) 200;
789 PyObject
* _obj0
= 0;
790 PyObject
* _obj1
= 0;
791 PyObject
* _obj3
= 0;
792 PyObject
* _argo4
= 0;
793 int tempbool7
= (int) TRUE
;
794 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
800 _arg0
= wxString_in_helper(_obj0
);
805 _arg1
= wxString_in_helper(_obj1
);
811 _arg3
= wxString_LIST_helper(_obj3
);
817 if (_argo4
== Py_None
) { _arg4
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
823 _arg7
= (bool ) tempbool7
;
826 _arg2
= PyList_Size(_obj3
);
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
840 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
862 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
869 wxWindow
* _arg4
= (wxWindow
*) NULL
;
870 int _arg5
= (int ) -1;
871 int _arg6
= (int ) -1;
872 bool _arg7
= (bool ) TRUE
;
873 int _arg8
= (int ) 150;
874 int _arg9
= (int ) 200;
875 PyObject
* _obj0
= 0;
876 PyObject
* _obj1
= 0;
877 PyObject
* _obj3
= 0;
878 PyObject
* _argo4
= 0;
879 int tempbool7
= (int) TRUE
;
880 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
886 _arg0
= wxString_in_helper(_obj0
);
891 _arg1
= wxString_in_helper(_obj1
);
897 _arg3
= wxString_LIST_helper(_obj3
);
903 if (_argo4
== Py_None
) { _arg4
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
909 _arg7
= (bool ) tempbool7
;
912 _arg2
= PyList_Size(_obj3
);
919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
920 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
922 wxPyEndAllowThreads(__tstate
);
923 if (PyErr_Occurred()) return NULL
;
924 } _resultobj
= Py_BuildValue("i",_result
);
939 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 PyObject
* _resultobj
;
943 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
944 int _arg2
= (int ) wxOK
|wxCENTRE
;
945 wxWindow
* _arg3
= (wxWindow
*) NULL
;
946 int _arg4
= (int ) -1;
947 int _arg5
= (int ) -1;
948 PyObject
* _obj0
= 0;
949 PyObject
* _obj1
= 0;
950 PyObject
* _argo3
= 0;
951 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
957 _arg0
= wxString_in_helper(_obj0
);
963 _arg1
= wxString_in_helper(_obj1
);
968 if (_argo3
== Py_None
) { _arg3
= NULL
; }
969 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
976 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
978 wxPyEndAllowThreads(__tstate
);
979 if (PyErr_Occurred()) return NULL
;
980 } _resultobj
= Py_BuildValue("i",_result
);
992 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
999 long _arg4
= (long ) 0;
1000 long _arg5
= (long ) 100;
1001 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1002 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1003 PyObject
* _obj0
= 0;
1004 PyObject
* _obj1
= 0;
1005 PyObject
* _obj2
= 0;
1006 PyObject
* _argo6
= 0;
1008 PyObject
* _obj7
= 0;
1009 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1015 _arg0
= wxString_in_helper(_obj0
);
1020 _arg1
= wxString_in_helper(_obj1
);
1025 _arg2
= wxString_in_helper(_obj2
);
1030 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1039 if (! wxPoint_helper(_obj7
, &_arg7
))
1043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1044 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1046 wxPyEndAllowThreads(__tstate
);
1047 if (PyErr_Occurred()) return NULL
;
1048 } _resultobj
= Py_BuildValue("l",_result
);
1064 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 char *_kwnames
[] = { NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 _result
= (bool )wxColourDisplay();
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) return NULL
;
1078 } _resultobj
= Py_BuildValue("i",_result
);
1082 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
* _resultobj
;
1085 char *_kwnames
[] = { NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 _result
= (int )wxDisplayDepth();
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) return NULL
;
1096 } _resultobj
= Py_BuildValue("i",_result
);
1100 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 char *_kwnames
[] = { NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 _result
= (int )wxGetDisplayDepth();
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) return NULL
;
1114 } _resultobj
= Py_BuildValue("i",_result
);
1118 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1124 char *_kwnames
[] = { NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1137 wxDisplaySize(_arg0
,_arg1
);
1139 wxPyEndAllowThreads(__tstate
);
1140 if (PyErr_Occurred()) return NULL
;
1141 } Py_INCREF(Py_None
);
1142 _resultobj
= Py_None
;
1145 o
= PyInt_FromLong((long) (*_arg0
));
1146 _resultobj
= t_output_helper(_resultobj
, o
);
1150 o
= PyInt_FromLong((long) (*_arg1
));
1151 _resultobj
= t_output_helper(_resultobj
, o
);
1156 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 char *_kwnames
[] = { NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1167 _result
= new wxSize (wxGetDisplaySize());
1169 wxPyEndAllowThreads(__tstate
);
1170 if (PyErr_Occurred()) return NULL
;
1171 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1172 _resultobj
= Py_BuildValue("s",_ptemp
);
1176 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1182 char *_kwnames
[] = { NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1195 wxDisplaySizeMM(_arg0
,_arg1
);
1197 wxPyEndAllowThreads(__tstate
);
1198 if (PyErr_Occurred()) return NULL
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1203 o
= PyInt_FromLong((long) (*_arg0
));
1204 _resultobj
= t_output_helper(_resultobj
, o
);
1208 o
= PyInt_FromLong((long) (*_arg1
));
1209 _resultobj
= t_output_helper(_resultobj
, o
);
1214 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1215 PyObject
* _resultobj
;
1217 char *_kwnames
[] = { NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 _result
= new wxSize (wxGetDisplaySizeMM());
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) return NULL
;
1229 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1230 _resultobj
= Py_BuildValue("s",_ptemp
);
1234 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1244 char *_kwnames
[] = { NULL
};
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) return NULL
;
1267 } Py_INCREF(Py_None
);
1268 _resultobj
= Py_None
;
1271 o
= PyInt_FromLong((long) (*_arg0
));
1272 _resultobj
= t_output_helper(_resultobj
, o
);
1276 o
= PyInt_FromLong((long) (*_arg1
));
1277 _resultobj
= t_output_helper(_resultobj
, o
);
1281 o
= PyInt_FromLong((long) (*_arg2
));
1282 _resultobj
= t_output_helper(_resultobj
, o
);
1286 o
= PyInt_FromLong((long) (*_arg3
));
1287 _resultobj
= t_output_helper(_resultobj
, o
);
1292 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1295 char *_kwnames
[] = { NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 _result
= new wxRect (wxGetClientDisplayRect());
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) return NULL
;
1307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1308 _resultobj
= Py_BuildValue("s",_ptemp
);
1312 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1313 PyObject
* _resultobj
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "cursor", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 wxSetCursor(*_arg0
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1342 PyObject
* _argo0
= 0;
1343 char *_kwnames
[] = { "cursor", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 wxBeginBusyCursor(_arg0
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 char *_kwnames
[] = { NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 _result
= (wxWindow
*)wxGetActiveWindow();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1384 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1389 PyObject
* _obj0
= 0;
1390 char *_kwnames
[] = { "pt", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1397 if (! wxPoint_helper(_obj0
, &_arg0
))
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1410 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1415 PyObject
* _obj0
= 0;
1416 char *_kwnames
[] = { "pt", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1423 if (! wxPoint_helper(_obj0
, &_arg0
))
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) return NULL
;
1432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1436 static PyObject
*_wrap_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_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1465 char *_kwnames
[] = { NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } Py_INCREF(Py_None
);
1477 _resultobj
= Py_None
;
1481 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1485 PyObject
* _argo0
= 0;
1486 char *_kwnames
[] = { "win", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) return NULL
;
1504 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1508 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1513 char *_kwnames
[] = { "name","value", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) return NULL
;
1524 } _resultobj
= Py_BuildValue("i",_result
);
1528 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1530 char *_kwnames
[] = { NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1550 char *_kwnames
[] = { "resource", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) return NULL
;
1562 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1563 _resultobj
= Py_BuildValue("s",_ptemp
);
1567 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1571 char *_kwnames
[] = { "resource", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1588 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1590 wxMenuBar
* _result
;
1592 char *_kwnames
[] = { "resource", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) return NULL
;
1603 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1607 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1611 char *_kwnames
[] = { "name", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 _result
= (int )wxResourceGetIdentifier(_arg0
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } _resultobj
= Py_BuildValue("i",_result
);
1626 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1630 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1631 PyObject
* _argo1
= 0;
1632 char *_kwnames
[] = { "resource","table", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) return NULL
;
1650 } _resultobj
= Py_BuildValue("i",_result
);
1654 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1658 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1659 PyObject
* _argo1
= 0;
1660 char *_kwnames
[] = { "filename","table", NULL
};
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } _resultobj
= Py_BuildValue("i",_result
);
1682 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1686 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1687 PyObject
* _argo1
= 0;
1688 char *_kwnames
[] = { "resource","table", NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) return NULL
;
1706 } _resultobj
= Py_BuildValue("i",_result
);
1710 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1713 char *_kwnames
[] = { NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 _result
= (int )wxCaret_GetBlinkTime();
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) return NULL
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1731 char *_kwnames
[] = { "milliseconds", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 wxCaret_SetBlinkTime(_arg0
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) return NULL
;
1742 } Py_INCREF(Py_None
);
1743 _resultobj
= Py_None
;
1747 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1750 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1751 PyObject
* _argo0
= 0;
1752 char *_kwnames
[] = { "win", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 _result
= (bool )wxSafeYield(_arg0
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) return NULL
;
1770 } _resultobj
= Py_BuildValue("i",_result
);
1774 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1776 wxEvtHandler
* _arg0
;
1778 PyObject
* _argo0
= 0;
1779 PyObject
* _argo1
= 0;
1780 char *_kwnames
[] = { "dest","event", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1793 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxPostEvent(_arg0
,*_arg1
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1812 char *_kwnames
[] = { NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1830 char *_kwnames
[] = { NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 wxWakeUpMainThread();
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) return NULL
;
1841 } Py_INCREF(Py_None
);
1842 _resultobj
= Py_None
;
1846 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
* _resultobj
;
1848 char *_kwnames
[] = { NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) return NULL
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1866 char *_kwnames
[] = { NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) return NULL
;
1877 } Py_INCREF(Py_None
);
1878 _resultobj
= Py_None
;
1882 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1885 char *_kwnames
[] = { NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (bool )wxThread_IsMain();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1904 wxTipProvider
* _arg1
;
1905 bool _arg2
= (bool ) TRUE
;
1906 PyObject
* _argo0
= 0;
1907 PyObject
* _argo1
= 0;
1908 int tempbool2
= (int) TRUE
;
1909 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1928 _arg2
= (bool ) tempbool2
;
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) return NULL
;
1935 } _resultobj
= Py_BuildValue("i",_result
);
1939 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1941 wxTipProvider
* _result
;
1944 PyObject
* _obj0
= 0;
1945 char *_kwnames
[] = { "filename","currentTip", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1952 _arg0
= wxString_in_helper(_obj0
);
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1964 _resultobj
= Py_BuildValue("s",_ptemp
);
1967 _resultobj
= Py_None
;
1976 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1978 unsigned long _result
;
1979 char *_kwnames
[] = { NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 _result
= (unsigned long )wxSysErrorCode();
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 } _resultobj
= Py_BuildValue("l",_result
);
1994 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1997 unsigned long _arg0
= (unsigned long ) 0;
1998 char *_kwnames
[] = { "nErrCode", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 _result
= new wxString (wxSysErrorMsg(_arg0
));
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2011 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2013 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2022 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2025 PyObject
* _obj0
= 0;
2026 char *_kwnames
[] = { "msg", NULL
};
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
2032 _arg0
= wxString_in_helper(_obj0
);
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 wxLogFatalError(*_arg0
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) return NULL
;
2042 } Py_INCREF(Py_None
);
2043 _resultobj
= Py_None
;
2051 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 PyObject
* _obj0
= 0;
2055 char *_kwnames
[] = { "msg", NULL
};
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
2061 _arg0
= wxString_in_helper(_obj0
);
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) return NULL
;
2071 } Py_INCREF(Py_None
);
2072 _resultobj
= Py_None
;
2080 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2083 PyObject
* _obj0
= 0;
2084 char *_kwnames
[] = { "msg", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2090 _arg0
= wxString_in_helper(_obj0
);
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 wxLogWarning(*_arg0
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2109 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2112 PyObject
* _obj0
= 0;
2113 char *_kwnames
[] = { "msg", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2119 _arg0
= wxString_in_helper(_obj0
);
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 wxLogMessage(*_arg0
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2138 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 PyObject
* _obj0
= 0;
2142 char *_kwnames
[] = { "msg", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2148 _arg0
= wxString_in_helper(_obj0
);
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) return NULL
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2167 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2170 PyObject
* _obj0
= 0;
2171 char *_kwnames
[] = { "msg", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2177 _arg0
= wxString_in_helper(_obj0
);
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 wxLogVerbose(*_arg0
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) return NULL
;
2187 } Py_INCREF(Py_None
);
2188 _resultobj
= Py_None
;
2196 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2199 PyObject
* _obj0
= 0;
2200 char *_kwnames
[] = { "msg", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2206 _arg0
= wxString_in_helper(_obj0
);
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 wxLogStatus(*_arg0
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) return NULL
;
2216 } Py_INCREF(Py_None
);
2217 _resultobj
= Py_None
;
2225 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2229 PyObject
* _argo0
= 0;
2230 PyObject
* _obj1
= 0;
2231 char *_kwnames
[] = { "pFrame","msg", NULL
};
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2244 _arg1
= wxString_in_helper(_obj1
);
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 wxLogStatus(_arg0
,*_arg1
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) return NULL
;
2254 } Py_INCREF(Py_None
);
2255 _resultobj
= Py_None
;
2263 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2266 PyObject
* _obj0
= 0;
2267 char *_kwnames
[] = { "msg", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2273 _arg0
= wxString_in_helper(_obj0
);
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 wxLogSysError(*_arg0
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) return NULL
;
2283 } Py_INCREF(Py_None
);
2284 _resultobj
= Py_None
;
2292 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2295 PyObject
* _obj0
= 0;
2296 char *_kwnames
[] = { "msg", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2302 _arg0
= wxString_in_helper(_obj0
);
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) return NULL
;
2312 } Py_INCREF(Py_None
);
2313 _resultobj
= Py_None
;
2321 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2325 PyObject
* _obj0
= 0;
2326 PyObject
* _obj1
= 0;
2327 char *_kwnames
[] = { "mask","msg", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2333 _arg0
= wxString_in_helper(_obj0
);
2338 _arg1
= wxString_in_helper(_obj1
);
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 wxLogTrace(*_arg0
,*_arg1
);
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) return NULL
;
2348 } Py_INCREF(Py_None
);
2349 _resultobj
= Py_None
;
2361 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2363 unsigned long _arg0
;
2365 PyObject
* _obj1
= 0;
2366 char *_kwnames
[] = { "level","msg", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2372 _arg1
= wxString_in_helper(_obj1
);
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 wxLogGeneric(_arg0
,*_arg1
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) return NULL
;
2382 } Py_INCREF(Py_None
);
2383 _resultobj
= Py_None
;
2391 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2395 PyObject
* _obj0
= 0;
2396 PyObject
* _obj1
= 0;
2397 char *_kwnames
[] = { "title","text", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2403 _arg0
= wxString_in_helper(_obj0
);
2408 _arg1
= wxString_in_helper(_obj1
);
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxSafeShowMessage(*_arg0
,*_arg1
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2431 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2435 int _arg1
= (int ) (wxEXEC_ASYNC
);
2436 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2437 PyObject
* _obj0
= 0;
2438 PyObject
* _argo2
= 0;
2439 char *_kwnames
[] = { "command","flags","process", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2445 _arg0
= wxString_in_helper(_obj0
);
2450 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2451 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) return NULL
;
2462 } _resultobj
= Py_BuildValue("l",_result
);
2470 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2474 PyObject
* _obj0
= 0;
2475 char *_kwnames
[] = { "data", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2482 _arg0
= wxString_in_helper(_obj0
);
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 _result
= (wxWave
*)wxWaveData(*_arg0
);
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) return NULL
;
2493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2494 _resultobj
= Py_BuildValue("s",_ptemp
);
2497 _resultobj
= Py_None
;
2506 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2508 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2512 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2516 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2517 pyobj
= PyString_FromString(ptemp
);
2521 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2524 wxSystemColour _arg0
;
2525 char *_kwnames
[] = { "index", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2538 _resultobj
= Py_BuildValue("s",_ptemp
);
2542 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2546 char *_kwnames
[] = { "index", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) return NULL
;
2558 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2559 _resultobj
= Py_BuildValue("s",_ptemp
);
2563 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2566 wxSystemMetric _arg0
;
2567 char *_kwnames
[] = { "index", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } _resultobj
= Py_BuildValue("i",_result
);
2582 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2585 wxSystemFeature _arg0
;
2586 char *_kwnames
[] = { "index", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) return NULL
;
2597 } _resultobj
= Py_BuildValue("i",_result
);
2601 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2603 wxSystemScreenType _result
;
2604 char *_kwnames
[] = { NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } _resultobj
= Py_BuildValue("i",_result
);
2619 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2621 wxSystemScreenType _arg0
;
2622 char *_kwnames
[] = { "screen", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 wxSystemSettings::SetScreenType(_arg0
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) return NULL
;
2633 } Py_INCREF(Py_None
);
2634 _resultobj
= Py_None
;
2638 static void *SwigwxToolTipTowxObject(void *ptr
) {
2641 src
= (wxToolTip
*) ptr
;
2642 dest
= (wxObject
*) src
;
2643 return (void *) dest
;
2646 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2647 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
* _resultobj
;
2649 wxToolTip
* _result
;
2651 PyObject
* _obj0
= 0;
2652 char *_kwnames
[] = { "tip", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2659 _arg0
= wxString_in_helper(_obj0
);
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) return NULL
;
2670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2671 _resultobj
= Py_BuildValue("s",_ptemp
);
2674 _resultobj
= Py_None
;
2683 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2684 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2688 PyObject
* _argo0
= 0;
2689 PyObject
* _obj1
= 0;
2690 char *_kwnames
[] = { "self","tip", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2703 _arg1
= wxString_in_helper(_obj1
);
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 wxToolTip_SetTip(_arg0
,*_arg1
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) return NULL
;
2713 } Py_INCREF(Py_None
);
2714 _resultobj
= Py_None
;
2722 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2723 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2727 PyObject
* _argo0
= 0;
2728 char *_kwnames
[] = { "self", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) return NULL
;
2748 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2750 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2759 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2760 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2764 PyObject
* _argo0
= 0;
2765 char *_kwnames
[] = { "self", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) return NULL
;
2783 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2787 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2791 char *_kwnames
[] = { "flag", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2796 _arg0
= (bool ) tempbool0
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 wxToolTip::Enable(_arg0
);
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) return NULL
;
2803 } Py_INCREF(Py_None
);
2804 _resultobj
= Py_None
;
2808 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2811 char *_kwnames
[] = { "milliseconds", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 wxToolTip::SetDelay(_arg0
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) return NULL
;
2822 } Py_INCREF(Py_None
);
2823 _resultobj
= Py_None
;
2827 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2828 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2833 PyObject
* _argo0
= 0;
2835 PyObject
* _obj1
= 0;
2836 char *_kwnames
[] = { "window","size", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2851 if (! wxSize_helper(_obj1
, &_arg1
))
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) return NULL
;
2861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2862 _resultobj
= Py_BuildValue("s",_ptemp
);
2865 _resultobj
= Py_None
;
2870 #define delete_wxCaret(_swigobj) (delete _swigobj)
2871 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 delete_wxCaret(_arg0
);
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) return NULL
;
2893 } Py_INCREF(Py_None
);
2894 _resultobj
= Py_None
;
2898 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2899 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
* _resultobj
;
2903 PyObject
* _argo0
= 0;
2904 char *_kwnames
[] = { "self", NULL
};
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 _result
= (bool )wxCaret_IsOk(_arg0
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) return NULL
;
2922 } _resultobj
= Py_BuildValue("i",_result
);
2926 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2927 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
* _resultobj
;
2931 PyObject
* _argo0
= 0;
2932 char *_kwnames
[] = { "self", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 _result
= (bool )wxCaret_IsVisible(_arg0
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) return NULL
;
2950 } _resultobj
= Py_BuildValue("i",_result
);
2954 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2955 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2962 PyObject
* _argo0
= 0;
2963 char *_kwnames
[] = { "self", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) return NULL
;
2987 } Py_INCREF(Py_None
);
2988 _resultobj
= Py_None
;
2991 o
= PyInt_FromLong((long) (*_arg1
));
2992 _resultobj
= t_output_helper(_resultobj
, o
);
2996 o
= PyInt_FromLong((long) (*_arg2
));
2997 _resultobj
= t_output_helper(_resultobj
, o
);
3002 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
3003 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) return NULL
;
3027 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3028 _resultobj
= Py_BuildValue("s",_ptemp
);
3032 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3033 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3065 } Py_INCREF(Py_None
);
3066 _resultobj
= Py_None
;
3069 o
= PyInt_FromLong((long) (*_arg1
));
3070 _resultobj
= t_output_helper(_resultobj
, o
);
3074 o
= PyInt_FromLong((long) (*_arg2
));
3075 _resultobj
= t_output_helper(_resultobj
, o
);
3080 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3081 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) return NULL
;
3105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3106 _resultobj
= Py_BuildValue("s",_ptemp
);
3110 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3111 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3115 PyObject
* _argo0
= 0;
3116 char *_kwnames
[] = { "self", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3134 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3138 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3139 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self","x","y", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } Py_INCREF(Py_None
);
3164 _resultobj
= Py_None
;
3168 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3169 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3173 PyObject
* _argo0
= 0;
3175 PyObject
* _obj1
= 0;
3176 char *_kwnames
[] = { "self","pt", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3190 if (! wxPoint_helper(_obj1
, &_arg1
))
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 wxCaret_Move(_arg0
,*_arg1
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) return NULL
;
3199 } Py_INCREF(Py_None
);
3200 _resultobj
= Py_None
;
3204 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3205 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self","width","height", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } Py_INCREF(Py_None
);
3230 _resultobj
= Py_None
;
3234 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3235 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3239 PyObject
* _argo0
= 0;
3241 PyObject
* _obj1
= 0;
3242 char *_kwnames
[] = { "self","size", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3256 if (! wxSize_helper(_obj1
, &_arg1
))
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 wxCaret_SetSize(_arg0
,*_arg1
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) return NULL
;
3265 } Py_INCREF(Py_None
);
3266 _resultobj
= Py_None
;
3270 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3271 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3274 int _arg1
= (int ) TRUE
;
3275 PyObject
* _argo0
= 0;
3276 char *_kwnames
[] = { "self","show", NULL
};
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 wxCaret_Show(_arg0
,_arg1
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) return NULL
;
3294 } Py_INCREF(Py_None
);
3295 _resultobj
= Py_None
;
3299 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3300 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 wxCaret_Hide(_arg0
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) return NULL
;
3322 } Py_INCREF(Py_None
);
3323 _resultobj
= Py_None
;
3327 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3328 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3330 wxBusyCursor
* _result
;
3331 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3332 PyObject
* _argo0
= 0;
3333 char *_kwnames
[] = { "cursor", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) return NULL
;
3353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3354 _resultobj
= Py_BuildValue("s",_ptemp
);
3357 _resultobj
= Py_None
;
3362 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3363 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3365 wxBusyCursor
* _arg0
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 delete_wxBusyCursor(_arg0
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3391 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3393 wxWindowDisabler
* _result
;
3394 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3395 PyObject
* _argo0
= 0;
3396 char *_kwnames
[] = { "winToSkip", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) return NULL
;
3416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3417 _resultobj
= Py_BuildValue("s",_ptemp
);
3420 _resultobj
= Py_None
;
3425 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3426 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
* _resultobj
;
3428 wxWindowDisabler
* _arg0
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 delete_wxWindowDisabler(_arg0
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) return NULL
;
3448 } Py_INCREF(Py_None
);
3449 _resultobj
= Py_None
;
3453 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3454 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxMutexGuiLocker
* _result
;
3457 char *_kwnames
[] = { NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) return NULL
;
3470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3471 _resultobj
= Py_BuildValue("s",_ptemp
);
3474 _resultobj
= Py_None
;
3479 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3480 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
* _resultobj
;
3482 wxMutexGuiLocker
* _arg0
;
3483 PyObject
* _argo0
= 0;
3484 char *_kwnames
[] = { "self", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 delete_wxMutexGuiLocker(_arg0
);
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) return NULL
;
3502 } Py_INCREF(Py_None
);
3503 _resultobj
= Py_None
;
3507 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3508 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3510 wxTipProvider
* _arg0
;
3511 PyObject
* _argo0
= 0;
3512 char *_kwnames
[] = { "self", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 delete_wxTipProvider(_arg0
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) return NULL
;
3530 } Py_INCREF(Py_None
);
3531 _resultobj
= Py_None
;
3535 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3536 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxTipProvider
* _arg0
;
3540 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3561 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3563 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3572 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3573 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3576 wxTipProvider
* _arg0
;
3577 PyObject
* _argo0
= 0;
3578 char *_kwnames
[] = { "self", NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) return NULL
;
3596 } _resultobj
= Py_BuildValue("i",_result
);
3600 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3601 wxPyTipProvider
*src
;
3602 wxTipProvider
*dest
;
3603 src
= (wxPyTipProvider
*) ptr
;
3604 dest
= (wxTipProvider
*) src
;
3605 return (void *) dest
;
3608 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3609 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3611 wxPyTipProvider
* _result
;
3613 char *_kwnames
[] = { "currentTip", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3627 _resultobj
= Py_BuildValue("s",_ptemp
);
3630 _resultobj
= Py_None
;
3635 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3636 wxGenericDragImage
*src
;
3638 src
= (wxGenericDragImage
*) ptr
;
3639 dest
= (wxObject
*) src
;
3640 return (void *) dest
;
3643 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3644 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3646 wxGenericDragImage
* _result
;
3648 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3649 PyObject
* _argo0
= 0;
3650 PyObject
* _argo1
= 0;
3651 char *_kwnames
[] = { "image","cursor", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) return NULL
;
3678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3679 _resultobj
= Py_BuildValue("s",_ptemp
);
3682 _resultobj
= Py_None
;
3687 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3688 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3690 wxGenericDragImage
* _result
;
3692 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3693 PyObject
* _argo0
= 0;
3694 PyObject
* _argo1
= 0;
3695 char *_kwnames
[] = { "image","cursor", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) return NULL
;
3722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3723 _resultobj
= Py_BuildValue("s",_ptemp
);
3726 _resultobj
= Py_None
;
3731 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3732 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3734 wxGenericDragImage
* _result
;
3736 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3737 PyObject
* _obj0
= 0;
3738 PyObject
* _argo1
= 0;
3739 char *_kwnames
[] = { "str","cursor", NULL
};
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3746 _arg0
= wxString_in_helper(_obj0
);
3751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) return NULL
;
3764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3765 _resultobj
= Py_BuildValue("s",_ptemp
);
3768 _resultobj
= Py_None
;
3777 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3778 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxGenericDragImage
* _result
;
3782 wxTreeItemId
* _arg1
;
3783 PyObject
* _argo0
= 0;
3784 PyObject
* _argo1
= 0;
3785 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) return NULL
;
3812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3813 _resultobj
= Py_BuildValue("s",_ptemp
);
3816 _resultobj
= Py_None
;
3821 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3822 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3824 wxGenericDragImage
* _result
;
3827 PyObject
* _argo0
= 0;
3828 char *_kwnames
[] = { "listCtrl","id", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) return NULL
;
3848 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3849 _resultobj
= Py_BuildValue("s",_ptemp
);
3852 _resultobj
= Py_None
;
3857 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3858 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3860 wxGenericDragImage
* _arg0
;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 delete_wxGenericDragImage(_arg0
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3885 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3886 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3888 wxGenericDragImage
* _arg0
;
3890 PyObject
* _argo0
= 0;
3891 PyObject
* _argo1
= 0;
3892 char *_kwnames
[] = { "self","bitmap", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3905 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) return NULL
;
3917 } Py_INCREF(Py_None
);
3918 _resultobj
= Py_None
;
3922 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3923 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3926 wxGenericDragImage
* _arg0
;
3929 bool _arg3
= (bool ) FALSE
;
3930 wxRect
* _arg4
= (wxRect
*) NULL
;
3931 PyObject
* _argo0
= 0;
3933 PyObject
* _obj1
= 0;
3934 PyObject
* _argo2
= 0;
3935 int tempbool3
= (int) FALSE
;
3937 PyObject
* _obj4
= 0;
3938 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3952 if (! wxPoint_helper(_obj1
, &_arg1
))
3956 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3962 _arg3
= (bool ) tempbool3
;
3966 if (! wxRect_helper(_obj4
, &_arg4
))
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) return NULL
;
3975 } _resultobj
= Py_BuildValue("i",_result
);
3979 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3980 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3983 wxGenericDragImage
* _arg0
;
3987 PyObject
* _argo0
= 0;
3989 PyObject
* _obj1
= 0;
3990 PyObject
* _argo2
= 0;
3991 PyObject
* _argo3
= 0;
3992 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
4006 if (! wxPoint_helper(_obj1
, &_arg1
))
4010 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4017 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } _resultobj
= Py_BuildValue("i",_result
);
4033 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4034 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxGenericDragImage
* _arg0
;
4038 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4062 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4065 wxGenericDragImage
* _arg0
;
4067 PyObject
* _argo0
= 0;
4069 PyObject
* _obj1
= 0;
4070 char *_kwnames
[] = { "self","pt", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4084 if (! wxPoint_helper(_obj1
, &_arg1
))
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) return NULL
;
4093 } _resultobj
= Py_BuildValue("i",_result
);
4097 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4098 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4101 wxGenericDragImage
* _arg0
;
4102 PyObject
* _argo0
= 0;
4103 char *_kwnames
[] = { "self", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 _result
= (bool )wxDragImage_Show(_arg0
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) return NULL
;
4121 } _resultobj
= Py_BuildValue("i",_result
);
4125 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4126 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4129 wxGenericDragImage
* _arg0
;
4130 PyObject
* _argo0
= 0;
4131 char *_kwnames
[] = { "self", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 _result
= (bool )wxDragImage_Hide(_arg0
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) return NULL
;
4149 } _resultobj
= Py_BuildValue("i",_result
);
4153 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4154 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4157 wxGenericDragImage
* _arg0
;
4159 PyObject
* _argo0
= 0;
4161 PyObject
* _obj1
= 0;
4162 char *_kwnames
[] = { "self","pos", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4177 if (! wxPoint_helper(_obj1
, &_arg1
))
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) return NULL
;
4186 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4187 _resultobj
= Py_BuildValue("s",_ptemp
);
4191 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4192 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4195 wxGenericDragImage
* _arg0
;
4200 PyObject
* _argo0
= 0;
4202 PyObject
* _obj1
= 0;
4204 PyObject
* _obj2
= 0;
4207 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4221 if (! wxPoint_helper(_obj1
, &_arg1
))
4226 if (! wxPoint_helper(_obj2
, &_arg2
))
4229 _arg3
= (bool ) tempbool3
;
4230 _arg4
= (bool ) tempbool4
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) return NULL
;
4237 } _resultobj
= Py_BuildValue("i",_result
);
4241 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4244 src
= (wxPyTimer
*) ptr
;
4245 dest
= (wxObject
*) src
;
4246 return (void *) dest
;
4249 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4250 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
* _resultobj
;
4252 wxPyTimer
* _result
;
4254 PyObject
* _obj0
= 0;
4255 char *_kwnames
[] = { "notify", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) return NULL
;
4271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4272 _resultobj
= Py_BuildValue("s",_ptemp
);
4275 _resultobj
= Py_None
;
4280 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4281 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4284 PyObject
* _argo0
= 0;
4285 char *_kwnames
[] = { "self", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 delete_wxPyTimer(_arg0
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) return NULL
;
4303 } Py_INCREF(Py_None
);
4304 _resultobj
= Py_None
;
4308 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4309 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4313 PyObject
* _argo0
= 0;
4314 char *_kwnames
[] = { "self", NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) return NULL
;
4332 } _resultobj
= Py_BuildValue("i",_result
);
4336 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4337 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4341 PyObject
* _argo0
= 0;
4342 char *_kwnames
[] = { "self", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4360 } _resultobj
= Py_BuildValue("i",_result
);
4364 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4365 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4369 PyObject
* _argo0
= 0;
4370 char *_kwnames
[] = { "self", NULL
};
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) return NULL
;
4388 } _resultobj
= Py_BuildValue("i",_result
);
4392 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4393 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4396 wxEvtHandler
* _arg1
;
4397 int _arg2
= (int ) -1;
4398 PyObject
* _argo0
= 0;
4399 PyObject
* _argo1
= 0;
4400 char *_kwnames
[] = { "self","owner","id", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4413 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) return NULL
;
4425 } Py_INCREF(Py_None
);
4426 _resultobj
= Py_None
;
4430 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4431 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4434 int _arg1
= (int ) -1;
4435 int _arg2
= (int ) FALSE
;
4436 PyObject
* _argo0
= 0;
4437 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) return NULL
;
4455 } Py_INCREF(Py_None
);
4456 _resultobj
= Py_None
;
4460 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4461 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 wxPyTimer_Stop(_arg0
);
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) return NULL
;
4483 } Py_INCREF(Py_None
);
4484 _resultobj
= Py_None
;
4488 #define new_wxStopWatch() (new wxStopWatch())
4489 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4491 wxStopWatch
* _result
;
4492 char *_kwnames
[] = { NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 _result
= (wxStopWatch
*)new_wxStopWatch();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) return NULL
;
4505 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4506 _resultobj
= Py_BuildValue("s",_ptemp
);
4509 _resultobj
= Py_None
;
4514 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4515 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4517 wxStopWatch
* _arg0
;
4518 PyObject
* _argo0
= 0;
4519 char *_kwnames
[] = { "self", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 delete_wxStopWatch(_arg0
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) return NULL
;
4537 } Py_INCREF(Py_None
);
4538 _resultobj
= Py_None
;
4542 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4543 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4545 wxStopWatch
* _arg0
;
4546 long _arg1
= (long ) 0;
4547 PyObject
* _argo0
= 0;
4548 char *_kwnames
[] = { "self","t", NULL
};
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 wxStopWatch_Start(_arg0
,_arg1
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) return NULL
;
4566 } Py_INCREF(Py_None
);
4567 _resultobj
= Py_None
;
4571 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4572 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4574 wxStopWatch
* _arg0
;
4575 PyObject
* _argo0
= 0;
4576 char *_kwnames
[] = { "self", NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 wxStopWatch_Pause(_arg0
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) return NULL
;
4594 } Py_INCREF(Py_None
);
4595 _resultobj
= Py_None
;
4599 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4600 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4602 wxStopWatch
* _arg0
;
4603 PyObject
* _argo0
= 0;
4604 char *_kwnames
[] = { "self", NULL
};
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 wxStopWatch_Resume(_arg0
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) return NULL
;
4622 } Py_INCREF(Py_None
);
4623 _resultobj
= Py_None
;
4627 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4628 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4631 wxStopWatch
* _arg0
;
4632 PyObject
* _argo0
= 0;
4633 char *_kwnames
[] = { "self", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 _result
= (long )wxStopWatch_Time(_arg0
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) return NULL
;
4651 } _resultobj
= Py_BuildValue("l",_result
);
4655 #define new_wxLog() (new wxLog())
4656 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4659 char *_kwnames
[] = { NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= (wxLog
*)new_wxLog();
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4673 _resultobj
= Py_BuildValue("s",_ptemp
);
4676 _resultobj
= Py_None
;
4681 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4684 char *_kwnames
[] = { NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 _result
= (bool )wxLog::IsEnabled();
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) return NULL
;
4695 } _resultobj
= Py_BuildValue("i",_result
);
4699 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
* _resultobj
;
4702 bool _arg0
= (bool ) TRUE
;
4703 int tempbool0
= (int) TRUE
;
4704 char *_kwnames
[] = { "doIt", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4709 _arg0
= (bool ) tempbool0
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 _result
= (bool )wxLog::EnableLogging(_arg0
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4716 } _resultobj
= Py_BuildValue("i",_result
);
4720 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4722 unsigned long _arg0
;
4724 int _arg2
= (int ) 0;
4725 PyObject
* _obj1
= 0;
4726 char *_kwnames
[] = { "level","szString","t", NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4732 _arg1
= wxString_in_helper(_obj1
);
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4751 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4752 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self", NULL
};
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) return NULL
;
4774 } Py_INCREF(Py_None
);
4775 _resultobj
= Py_None
;
4779 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4780 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4784 PyObject
* _argo0
= 0;
4785 char *_kwnames
[] = { "self", NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) return NULL
;
4803 } _resultobj
= Py_BuildValue("i",_result
);
4807 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4809 char *_kwnames
[] = { NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 wxLog::FlushActive();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) return NULL
;
4820 } Py_INCREF(Py_None
);
4821 _resultobj
= Py_None
;
4825 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
* _resultobj
;
4828 char *_kwnames
[] = { NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 _result
= (wxLog
*)wxLog::GetActiveTarget();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) return NULL
;
4841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4842 _resultobj
= Py_BuildValue("s",_ptemp
);
4845 _resultobj
= Py_None
;
4850 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4854 PyObject
* _argo0
= 0;
4855 char *_kwnames
[] = { "pLogger", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) return NULL
;
4875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4876 _resultobj
= Py_BuildValue("s",_ptemp
);
4879 _resultobj
= Py_None
;
4884 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
* _resultobj
;
4886 char *_kwnames
[] = { NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) return NULL
;
4897 } Py_INCREF(Py_None
);
4898 _resultobj
= Py_None
;
4902 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4904 char *_kwnames
[] = { NULL
};
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4915 } Py_INCREF(Py_None
);
4916 _resultobj
= Py_None
;
4920 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4922 bool _arg0
= (bool ) TRUE
;
4923 int tempbool0
= (int) TRUE
;
4924 char *_kwnames
[] = { "bVerbose", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4929 _arg0
= (bool ) tempbool0
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 wxLog::SetVerbose(_arg0
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) return NULL
;
4936 } Py_INCREF(Py_None
);
4937 _resultobj
= Py_None
;
4941 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4943 char *_kwnames
[] = { NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 wxLog::DontCreateOnDemand();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) return NULL
;
4954 } Py_INCREF(Py_None
);
4955 _resultobj
= Py_None
;
4959 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4962 char *_kwnames
[] = { "ulMask", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 wxLog::SetTraceMask(_arg0
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) return NULL
;
4973 } Py_INCREF(Py_None
);
4974 _resultobj
= Py_None
;
4978 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4981 PyObject
* _obj0
= 0;
4982 char *_kwnames
[] = { "str", NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4988 _arg0
= wxString_in_helper(_obj0
);
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 wxLog::AddTraceMask(*_arg0
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) return NULL
;
4998 } Py_INCREF(Py_None
);
4999 _resultobj
= Py_None
;
5007 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5010 PyObject
* _obj0
= 0;
5011 char *_kwnames
[] = { "str", NULL
};
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5017 _arg0
= wxString_in_helper(_obj0
);
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 wxLog::RemoveTraceMask(*_arg0
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) return NULL
;
5027 } Py_INCREF(Py_None
);
5028 _resultobj
= Py_None
;
5036 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5038 char *_kwnames
[] = { NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 wxLog::ClearTraceMasks();
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) return NULL
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5054 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5057 PyObject
* _obj0
= 0;
5058 char *_kwnames
[] = { "ts", NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5064 _arg0
= wxString_in_helper(_obj0
);
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 wxLog::SetTimestamp(*_arg0
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) return NULL
;
5074 } Py_INCREF(Py_None
);
5075 _resultobj
= Py_None
;
5083 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5086 char *_kwnames
[] = { NULL
};
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 const wxString
& _result_ref
= wxLog::GetTimestamp();
5094 _result
= (wxString
*) &_result_ref
;
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) return NULL
;
5100 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5102 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5108 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5109 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
* _resultobj
;
5113 PyObject
* _argo0
= 0;
5114 char *_kwnames
[] = { "self", NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 _result
= (bool )wxLog_GetVerbose(_arg0
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) return NULL
;
5132 } _resultobj
= Py_BuildValue("i",_result
);
5136 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5138 unsigned long _result
;
5139 char *_kwnames
[] = { NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 _result
= (unsigned long )wxLog::GetTraceMask();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) return NULL
;
5150 } _resultobj
= Py_BuildValue("l",_result
);
5154 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5158 PyObject
* _obj0
= 0;
5159 char *_kwnames
[] = { "mask", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5165 _arg0
= wxString_in_helper(_obj0
);
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) return NULL
;
5175 } _resultobj
= Py_BuildValue("i",_result
);
5183 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5185 wxLog::TimeStamp(&msg
);
5188 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5192 PyObject
* _argo0
= 0;
5193 char *_kwnames
[] = { "self", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) return NULL
;
5213 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5215 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5224 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5227 src
= (wxLogStderr
*) ptr
;
5228 dest
= (wxLog
*) src
;
5229 return (void *) dest
;
5232 #define new_wxLogStderr() (new wxLogStderr())
5233 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
* _resultobj
;
5235 wxLogStderr
* _result
;
5236 char *_kwnames
[] = { NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 _result
= (wxLogStderr
*)new_wxLogStderr();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) return NULL
;
5249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5250 _resultobj
= Py_BuildValue("s",_ptemp
);
5253 _resultobj
= Py_None
;
5258 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5261 src
= (wxLogTextCtrl
*) ptr
;
5262 dest
= (wxLog
*) src
;
5263 return (void *) dest
;
5266 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5267 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5269 wxLogTextCtrl
* _result
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "pTextCtrl", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) return NULL
;
5292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5293 _resultobj
= Py_BuildValue("s",_ptemp
);
5296 _resultobj
= Py_None
;
5301 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5304 src
= (wxLogGui
*) ptr
;
5305 dest
= (wxLog
*) src
;
5306 return (void *) dest
;
5309 #define new_wxLogGui() (new wxLogGui())
5310 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5313 char *_kwnames
[] = { NULL
};
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 _result
= (wxLogGui
*)new_wxLogGui();
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) return NULL
;
5326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5327 _resultobj
= Py_BuildValue("s",_ptemp
);
5330 _resultobj
= Py_None
;
5335 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5338 src
= (wxLogWindow
*) ptr
;
5339 dest
= (wxLog
*) src
;
5340 return (void *) dest
;
5343 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5344 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5346 wxLogWindow
* _result
;
5349 bool _arg2
= (bool ) TRUE
;
5350 bool _arg3
= (bool ) TRUE
;
5351 PyObject
* _argo0
= 0;
5352 PyObject
* _obj1
= 0;
5353 int tempbool2
= (int) TRUE
;
5354 int tempbool3
= (int) TRUE
;
5355 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5369 _arg1
= wxString_in_helper(_obj1
);
5373 _arg2
= (bool ) tempbool2
;
5374 _arg3
= (bool ) tempbool3
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) return NULL
;
5382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5383 _resultobj
= Py_BuildValue("s",_ptemp
);
5386 _resultobj
= Py_None
;
5395 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5396 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5398 wxLogWindow
* _arg0
;
5399 bool _arg1
= (bool ) TRUE
;
5400 PyObject
* _argo0
= 0;
5401 int tempbool1
= (int) TRUE
;
5402 char *_kwnames
[] = { "self","bShow", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5414 _arg1
= (bool ) tempbool1
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxLogWindow_Show(_arg0
,_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5427 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5430 wxLogWindow
* _arg0
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5454 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5455 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
* _resultobj
;
5458 wxLogWindow
* _arg0
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) return NULL
;
5480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5481 _resultobj
= Py_BuildValue("s",_ptemp
);
5484 _resultobj
= Py_None
;
5489 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5490 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5493 wxLogWindow
* _arg0
;
5494 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) return NULL
;
5513 } _resultobj
= Py_BuildValue("i",_result
);
5517 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5518 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5520 wxLogWindow
* _arg0
;
5522 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self","bDoPass", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5536 _arg1
= (bool ) tempbool1
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 wxLogWindow_PassMessages(_arg0
,_arg1
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) return NULL
;
5543 } Py_INCREF(Py_None
);
5544 _resultobj
= Py_None
;
5548 static void *SwigwxLogChainTowxLog(void *ptr
) {
5551 src
= (wxLogChain
*) ptr
;
5552 dest
= (wxLog
*) src
;
5553 return (void *) dest
;
5556 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5557 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5559 wxLogChain
* _result
;
5561 PyObject
* _argo0
= 0;
5562 char *_kwnames
[] = { "logger", NULL
};
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) return NULL
;
5582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5583 _resultobj
= Py_BuildValue("s",_ptemp
);
5586 _resultobj
= Py_None
;
5591 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5592 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
* _resultobj
;
5596 PyObject
* _argo0
= 0;
5597 PyObject
* _argo1
= 0;
5598 char *_kwnames
[] = { "self","logger", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 wxLogChain_SetLog(_arg0
,_arg1
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) return NULL
;
5623 } Py_INCREF(Py_None
);
5624 _resultobj
= Py_None
;
5628 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5629 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5633 PyObject
* _argo0
= 0;
5635 char *_kwnames
[] = { "self","bDoPass", NULL
};
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5647 _arg1
= (bool ) tempbool1
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 wxLogChain_PassMessages(_arg0
,_arg1
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) return NULL
;
5654 } Py_INCREF(Py_None
);
5655 _resultobj
= Py_None
;
5659 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5660 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5664 PyObject
* _argo0
= 0;
5665 char *_kwnames
[] = { "self", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) return NULL
;
5683 } _resultobj
= Py_BuildValue("i",_result
);
5687 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5688 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
* _resultobj
;
5692 PyObject
* _argo0
= 0;
5693 char *_kwnames
[] = { "self", NULL
};
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) return NULL
;
5713 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5714 _resultobj
= Py_BuildValue("s",_ptemp
);
5717 _resultobj
= Py_None
;
5722 #define new_wxLogNull() (new wxLogNull())
5723 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5725 wxLogNull
* _result
;
5726 char *_kwnames
[] = { NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 _result
= (wxLogNull
*)new_wxLogNull();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) return NULL
;
5739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5740 _resultobj
= Py_BuildValue("s",_ptemp
);
5743 _resultobj
= Py_None
;
5748 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5749 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
* _resultobj
;
5752 PyObject
* _argo0
= 0;
5753 char *_kwnames
[] = { "self", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 delete_wxLogNull(_arg0
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) return NULL
;
5771 } Py_INCREF(Py_None
);
5772 _resultobj
= Py_None
;
5776 static void *SwigwxPyLogTowxLog(void *ptr
) {
5779 src
= (wxPyLog
*) ptr
;
5780 dest
= (wxLog
*) src
;
5781 return (void *) dest
;
5784 #define new_wxPyLog() (new wxPyLog())
5785 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
* _resultobj
;
5788 char *_kwnames
[] = { NULL
};
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 _result
= (wxPyLog
*)new_wxPyLog();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) return NULL
;
5801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5802 _resultobj
= Py_BuildValue("s",_ptemp
);
5805 _resultobj
= Py_None
;
5810 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5811 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5816 PyObject
* _argo0
= 0;
5817 PyObject
* _obj1
= 0;
5818 PyObject
* _obj2
= 0;
5819 char *_kwnames
[] = { "self","self","_class", NULL
};
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) return NULL
;
5843 } Py_INCREF(Py_None
);
5844 _resultobj
= Py_None
;
5848 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5849 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
* _resultobj
;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxPyLog_Destroy(_arg0
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) return NULL
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5876 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5877 wxProcessEvent
*src
;
5879 src
= (wxProcessEvent
*) ptr
;
5880 dest
= (wxEvent
*) src
;
5881 return (void *) dest
;
5884 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5885 wxProcessEvent
*src
;
5887 src
= (wxProcessEvent
*) ptr
;
5888 dest
= (wxObject
*) src
;
5889 return (void *) dest
;
5892 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5893 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5895 wxProcessEvent
* _result
;
5896 int _arg0
= (int ) 0;
5897 int _arg1
= (int ) 0;
5898 int _arg2
= (int ) 0;
5899 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) return NULL
;
5912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5913 _resultobj
= Py_BuildValue("s",_ptemp
);
5916 _resultobj
= Py_None
;
5921 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5922 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
* _resultobj
;
5925 wxProcessEvent
* _arg0
;
5926 PyObject
* _argo0
= 0;
5927 char *_kwnames
[] = { "self", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) return NULL
;
5945 } _resultobj
= Py_BuildValue("i",_result
);
5949 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5950 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
* _resultobj
;
5953 wxProcessEvent
* _arg0
;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } _resultobj
= Py_BuildValue("i",_result
);
5977 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5978 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5981 wxProcessEvent
* _arg0
;
5983 PyObject
* _argo0
= 0;
5984 char *_kwnames
[] = { "self","m_pid", NULL
};
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) return NULL
;
6002 } _resultobj
= Py_BuildValue("i",_result
);
6006 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6007 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6010 wxProcessEvent
* _arg0
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } _resultobj
= Py_BuildValue("i",_result
);
6034 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6035 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6038 wxProcessEvent
* _arg0
;
6040 PyObject
* _argo0
= 0;
6041 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) return NULL
;
6059 } _resultobj
= Py_BuildValue("i",_result
);
6063 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6064 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6067 wxProcessEvent
* _arg0
;
6068 PyObject
* _argo0
= 0;
6069 char *_kwnames
[] = { "self", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) return NULL
;
6087 } _resultobj
= Py_BuildValue("i",_result
);
6091 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6094 src
= (wxPyProcess
*) ptr
;
6095 dest
= (wxEvtHandler
*) src
;
6096 return (void *) dest
;
6099 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6102 src
= (wxPyProcess
*) ptr
;
6103 dest
= (wxObject
*) src
;
6104 return (void *) dest
;
6107 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6109 wxKillError _result
;
6111 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6112 char *_kwnames
[] = { "pid","sig", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) return NULL
;
6123 } _resultobj
= Py_BuildValue("i",_result
);
6127 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
* _resultobj
;
6131 char *_kwnames
[] = { "pid", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 _result
= (bool )wxPyProcess::Exists(_arg0
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) return NULL
;
6142 } _resultobj
= Py_BuildValue("i",_result
);
6146 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6148 wxPyProcess
* _result
;
6150 int _arg1
= (int ) wxEXEC_ASYNC
;
6151 PyObject
* _obj0
= 0;
6152 char *_kwnames
[] = { "cmd","flags", NULL
};
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6159 _arg0
= wxString_in_helper(_obj0
);
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) return NULL
;
6170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6171 _resultobj
= Py_BuildValue("s",_ptemp
);
6174 _resultobj
= Py_None
;
6183 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6184 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6186 wxPyProcess
* _result
;
6187 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6188 int _arg1
= (int ) -1;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "parent","id", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) return NULL
;
6210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6211 _resultobj
= Py_BuildValue("s",_ptemp
);
6214 _resultobj
= Py_None
;
6219 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6220 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6222 wxPyProcess
* _arg0
;
6223 PyObject
* _argo0
= 0;
6224 char *_kwnames
[] = { "self", NULL
};
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 wxPyProcess_Destroy(_arg0
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) return NULL
;
6242 } Py_INCREF(Py_None
);
6243 _resultobj
= Py_None
;
6247 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6248 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6250 wxPyProcess
* _arg0
;
6253 PyObject
* _argo0
= 0;
6254 PyObject
* _obj1
= 0;
6255 PyObject
* _obj2
= 0;
6256 char *_kwnames
[] = { "self","self","_class", NULL
};
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) return NULL
;
6280 } Py_INCREF(Py_None
);
6281 _resultobj
= Py_None
;
6285 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6286 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6288 wxPyProcess
* _arg0
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self","pid","status", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) return NULL
;
6310 } Py_INCREF(Py_None
);
6311 _resultobj
= Py_None
;
6315 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6316 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
* _resultobj
;
6318 wxPyProcess
* _arg0
;
6319 PyObject
* _argo0
= 0;
6320 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 wxProcess_Redirect(_arg0
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6338 } Py_INCREF(Py_None
);
6339 _resultobj
= Py_None
;
6343 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6344 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
* _resultobj
;
6347 wxPyProcess
* _arg0
;
6348 PyObject
* _argo0
= 0;
6349 char *_kwnames
[] = { "self", NULL
};
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) return NULL
;
6367 } _resultobj
= Py_BuildValue("i",_result
);
6371 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6372 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
* _resultobj
;
6374 wxPyProcess
* _arg0
;
6375 PyObject
* _argo0
= 0;
6376 char *_kwnames
[] = { "self", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 wxProcess_Detach(_arg0
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6394 } Py_INCREF(Py_None
);
6395 _resultobj
= Py_None
;
6399 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6400 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6402 wxInputStream
* _result
;
6403 wxPyProcess
* _arg0
;
6404 PyObject
* _argo0
= 0;
6405 char *_kwnames
[] = { "self", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) return NULL
;
6424 wxPyInputStream
* _ptr
= NULL
;
6427 _ptr
= new wxPyInputStream(_result
);
6429 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6434 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6435 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6437 wxInputStream
* _result
;
6438 wxPyProcess
* _arg0
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6459 wxPyInputStream
* _ptr
= NULL
;
6462 _ptr
= new wxPyInputStream(_result
);
6464 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6469 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6470 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6472 wxOutputStream
* _result
;
6473 wxPyProcess
* _arg0
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) return NULL
;
6495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6496 _resultobj
= Py_BuildValue("s",_ptemp
);
6499 _resultobj
= Py_None
;
6504 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6505 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6507 wxPyProcess
* _arg0
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 wxProcess_CloseOutput(_arg0
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) return NULL
;
6527 } Py_INCREF(Py_None
);
6528 _resultobj
= Py_None
;
6532 static void *SwigwxJoystickTowxObject(void *ptr
) {
6535 src
= (wxJoystick
*) ptr
;
6536 dest
= (wxObject
*) src
;
6537 return (void *) dest
;
6540 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6541 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
* _resultobj
;
6543 wxJoystick
* _result
;
6544 int _arg0
= (int ) (wxJOYSTICK1
);
6545 char *_kwnames
[] = { "joystick", NULL
};
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) return NULL
;
6558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6559 _resultobj
= Py_BuildValue("s",_ptemp
);
6562 _resultobj
= Py_None
;
6567 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6568 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 delete_wxJoystick(_arg0
);
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) return NULL
;
6590 } Py_INCREF(Py_None
);
6591 _resultobj
= Py_None
;
6595 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6596 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6600 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self", NULL
};
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) return NULL
;
6620 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6621 _resultobj
= Py_BuildValue("s",_ptemp
);
6625 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6626 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) return NULL
;
6649 } _resultobj
= Py_BuildValue("i",_result
);
6653 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6654 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
* _resultobj
;
6658 PyObject
* _argo0
= 0;
6659 char *_kwnames
[] = { "self", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) return NULL
;
6677 } _resultobj
= Py_BuildValue("i",_result
);
6681 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6682 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
* _resultobj
;
6686 PyObject
* _argo0
= 0;
6687 char *_kwnames
[] = { "self", NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) return NULL
;
6705 } _resultobj
= Py_BuildValue("i",_result
);
6709 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6710 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6714 PyObject
* _argo0
= 0;
6715 char *_kwnames
[] = { "self", NULL
};
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) return NULL
;
6733 } _resultobj
= Py_BuildValue("i",_result
);
6737 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6738 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
* _resultobj
;
6742 PyObject
* _argo0
= 0;
6743 char *_kwnames
[] = { "self", NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) return NULL
;
6761 } _resultobj
= Py_BuildValue("i",_result
);
6765 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6766 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
* _resultobj
;
6770 PyObject
* _argo0
= 0;
6771 char *_kwnames
[] = { "self", NULL
};
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) return NULL
;
6789 } _resultobj
= Py_BuildValue("i",_result
);
6793 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6794 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
* _resultobj
;
6798 PyObject
* _argo0
= 0;
6799 char *_kwnames
[] = { "self", NULL
};
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) return NULL
;
6817 } _resultobj
= Py_BuildValue("i",_result
);
6821 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6822 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6826 PyObject
* _argo0
= 0;
6827 char *_kwnames
[] = { "self", NULL
};
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) return NULL
;
6845 } _resultobj
= Py_BuildValue("i",_result
);
6849 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6850 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
* _resultobj
;
6854 PyObject
* _argo0
= 0;
6855 char *_kwnames
[] = { "self","threshold", NULL
};
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) return NULL
;
6873 } Py_INCREF(Py_None
);
6874 _resultobj
= Py_None
;
6878 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6879 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6883 PyObject
* _argo0
= 0;
6884 char *_kwnames
[] = { "self", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 _result
= (bool )wxJoystick_IsOk(_arg0
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) return NULL
;
6902 } _resultobj
= Py_BuildValue("i",_result
);
6906 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6907 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6911 PyObject
* _argo0
= 0;
6912 char *_kwnames
[] = { "self", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } _resultobj
= Py_BuildValue("i",_result
);
6934 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6935 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6939 PyObject
* _argo0
= 0;
6940 char *_kwnames
[] = { "self", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) return NULL
;
6958 } _resultobj
= Py_BuildValue("i",_result
);
6962 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6963 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
* _resultobj
;
6967 PyObject
* _argo0
= 0;
6968 char *_kwnames
[] = { "self", NULL
};
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 _result
= (int )wxJoystick_GetProductId(_arg0
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) return NULL
;
6986 } _resultobj
= Py_BuildValue("i",_result
);
6990 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6991 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
* _resultobj
;
6995 PyObject
* _argo0
= 0;
6996 char *_kwnames
[] = { "self", NULL
};
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) return NULL
;
7016 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7018 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7027 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7028 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
* _resultobj
;
7032 PyObject
* _argo0
= 0;
7033 char *_kwnames
[] = { "self", NULL
};
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 _result
= (int )wxJoystick_GetXMin(_arg0
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) return NULL
;
7051 } _resultobj
= Py_BuildValue("i",_result
);
7055 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7056 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
* _resultobj
;
7060 PyObject
* _argo0
= 0;
7061 char *_kwnames
[] = { "self", NULL
};
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 _result
= (int )wxJoystick_GetYMin(_arg0
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) return NULL
;
7079 } _resultobj
= Py_BuildValue("i",_result
);
7083 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7084 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7088 PyObject
* _argo0
= 0;
7089 char *_kwnames
[] = { "self", NULL
};
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 _result
= (int )wxJoystick_GetZMin(_arg0
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) return NULL
;
7107 } _resultobj
= Py_BuildValue("i",_result
);
7111 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7112 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
* _resultobj
;
7116 PyObject
* _argo0
= 0;
7117 char *_kwnames
[] = { "self", NULL
};
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 _result
= (int )wxJoystick_GetXMax(_arg0
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) return NULL
;
7135 } _resultobj
= Py_BuildValue("i",_result
);
7139 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7140 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
* _resultobj
;
7144 PyObject
* _argo0
= 0;
7145 char *_kwnames
[] = { "self", NULL
};
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 _result
= (int )wxJoystick_GetYMax(_arg0
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) return NULL
;
7163 } _resultobj
= Py_BuildValue("i",_result
);
7167 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7168 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
* _resultobj
;
7172 PyObject
* _argo0
= 0;
7173 char *_kwnames
[] = { "self", NULL
};
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 _result
= (int )wxJoystick_GetZMax(_arg0
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) return NULL
;
7191 } _resultobj
= Py_BuildValue("i",_result
);
7195 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7196 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
* _resultobj
;
7200 PyObject
* _argo0
= 0;
7201 char *_kwnames
[] = { "self", NULL
};
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) return NULL
;
7219 } _resultobj
= Py_BuildValue("i",_result
);
7223 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7224 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
* _resultobj
;
7228 PyObject
* _argo0
= 0;
7229 char *_kwnames
[] = { "self", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) return NULL
;
7247 } _resultobj
= Py_BuildValue("i",_result
);
7251 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7252 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
* _resultobj
;
7256 PyObject
* _argo0
= 0;
7257 char *_kwnames
[] = { "self", NULL
};
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) return NULL
;
7275 } _resultobj
= Py_BuildValue("i",_result
);
7279 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7280 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
* _resultobj
;
7284 PyObject
* _argo0
= 0;
7285 char *_kwnames
[] = { "self", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) return NULL
;
7303 } _resultobj
= Py_BuildValue("i",_result
);
7307 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7308 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
* _resultobj
;
7312 PyObject
* _argo0
= 0;
7313 char *_kwnames
[] = { "self", NULL
};
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) return NULL
;
7331 } _resultobj
= Py_BuildValue("i",_result
);
7335 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7336 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7340 PyObject
* _argo0
= 0;
7341 char *_kwnames
[] = { "self", NULL
};
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) return NULL
;
7359 } _resultobj
= Py_BuildValue("i",_result
);
7363 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7364 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
* _resultobj
;
7368 PyObject
* _argo0
= 0;
7369 char *_kwnames
[] = { "self", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) return NULL
;
7387 } _resultobj
= Py_BuildValue("i",_result
);
7391 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7392 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
* _resultobj
;
7396 PyObject
* _argo0
= 0;
7397 char *_kwnames
[] = { "self", NULL
};
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) return NULL
;
7415 } _resultobj
= Py_BuildValue("i",_result
);
7419 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7420 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7424 PyObject
* _argo0
= 0;
7425 char *_kwnames
[] = { "self", NULL
};
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 _result
= (int )wxJoystick_GetUMin(_arg0
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) return NULL
;
7443 } _resultobj
= Py_BuildValue("i",_result
);
7447 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7448 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
* _resultobj
;
7452 PyObject
* _argo0
= 0;
7453 char *_kwnames
[] = { "self", NULL
};
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 _result
= (int )wxJoystick_GetUMax(_arg0
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) return NULL
;
7471 } _resultobj
= Py_BuildValue("i",_result
);
7475 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7476 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
* _resultobj
;
7480 PyObject
* _argo0
= 0;
7481 char *_kwnames
[] = { "self", NULL
};
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 _result
= (int )wxJoystick_GetVMin(_arg0
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) return NULL
;
7499 } _resultobj
= Py_BuildValue("i",_result
);
7503 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7504 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
* _resultobj
;
7508 PyObject
* _argo0
= 0;
7509 char *_kwnames
[] = { "self", NULL
};
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 _result
= (int )wxJoystick_GetVMax(_arg0
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) return NULL
;
7527 } _resultobj
= Py_BuildValue("i",_result
);
7531 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7532 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7536 PyObject
* _argo0
= 0;
7537 char *_kwnames
[] = { "self", NULL
};
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7551 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7553 wxPyEndAllowThreads(__tstate
);
7554 if (PyErr_Occurred()) return NULL
;
7555 } _resultobj
= Py_BuildValue("i",_result
);
7559 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7560 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7564 PyObject
* _argo0
= 0;
7565 char *_kwnames
[] = { "self", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 _result
= (bool )wxJoystick_HasZ(_arg0
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) return NULL
;
7583 } _resultobj
= Py_BuildValue("i",_result
);
7587 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7588 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
* _resultobj
;
7592 PyObject
* _argo0
= 0;
7593 char *_kwnames
[] = { "self", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 _result
= (bool )wxJoystick_HasU(_arg0
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) return NULL
;
7611 } _resultobj
= Py_BuildValue("i",_result
);
7615 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7616 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7620 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 _result
= (bool )wxJoystick_HasV(_arg0
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) return NULL
;
7639 } _resultobj
= Py_BuildValue("i",_result
);
7643 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7644 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7648 PyObject
* _argo0
= 0;
7649 char *_kwnames
[] = { "self", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) return NULL
;
7667 } _resultobj
= Py_BuildValue("i",_result
);
7671 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7672 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7676 PyObject
* _argo0
= 0;
7677 char *_kwnames
[] = { "self", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) return NULL
;
7695 } _resultobj
= Py_BuildValue("i",_result
);
7699 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7700 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
* _resultobj
;
7704 PyObject
* _argo0
= 0;
7705 char *_kwnames
[] = { "self", NULL
};
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) return NULL
;
7723 } _resultobj
= Py_BuildValue("i",_result
);
7727 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7728 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7733 int _arg2
= (int ) 0;
7734 PyObject
* _argo0
= 0;
7735 PyObject
* _argo1
= 0;
7736 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) return NULL
;
7761 } _resultobj
= Py_BuildValue("i",_result
);
7765 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7766 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
* _resultobj
;
7770 PyObject
* _argo0
= 0;
7771 char *_kwnames
[] = { "self", NULL
};
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) return NULL
;
7789 } _resultobj
= Py_BuildValue("i",_result
);
7793 static void *SwigwxWaveTowxObject(void *ptr
) {
7796 src
= (wxWave
*) ptr
;
7797 dest
= (wxObject
*) src
;
7798 return (void *) dest
;
7801 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7802 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
* _resultobj
;
7806 bool _arg1
= (bool ) FALSE
;
7807 PyObject
* _obj0
= 0;
7808 int tempbool1
= (int) FALSE
;
7809 char *_kwnames
[] = { "fileName","isResource", NULL
};
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7816 _arg0
= wxString_in_helper(_obj0
);
7820 _arg1
= (bool ) tempbool1
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) return NULL
;
7828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7829 _resultobj
= Py_BuildValue("s",_ptemp
);
7832 _resultobj
= Py_None
;
7841 #define delete_wxWave(_swigobj) (delete _swigobj)
7842 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7845 PyObject
* _argo0
= 0;
7846 char *_kwnames
[] = { "self", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 delete_wxWave(_arg0
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) return NULL
;
7864 } Py_INCREF(Py_None
);
7865 _resultobj
= Py_None
;
7869 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7870 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7875 char *_kwnames
[] = { "self", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 _result
= (bool )wxWave_IsOk(_arg0
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) return NULL
;
7893 } _resultobj
= Py_BuildValue("i",_result
);
7897 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7898 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
* _resultobj
;
7902 bool _arg1
= (bool ) TRUE
;
7903 bool _arg2
= (bool ) FALSE
;
7904 PyObject
* _argo0
= 0;
7905 int tempbool1
= (int) TRUE
;
7906 int tempbool2
= (int) FALSE
;
7907 char *_kwnames
[] = { "self","async","looped", NULL
};
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7919 _arg1
= (bool ) tempbool1
;
7920 _arg2
= (bool ) tempbool2
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) return NULL
;
7927 } _resultobj
= Py_BuildValue("i",_result
);
7931 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7932 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
* _resultobj
;
7934 wxFileTypeInfo
* _result
;
7939 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) return NULL
;
7952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7953 _resultobj
= Py_BuildValue("s",_ptemp
);
7956 _resultobj
= Py_None
;
7961 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7962 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
* _resultobj
;
7964 wxFileTypeInfo
* _result
;
7965 wxArrayString
* _arg0
;
7966 PyObject
* _obj0
= 0;
7967 char *_kwnames
[] = { "sArray", NULL
};
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7974 if (! PySequence_Check(_obj0
)) {
7975 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7978 _arg0
= new wxArrayString
;
7979 int i
, len
=PySequence_Length(_obj0
);
7980 for (i
=0; i
<len
; i
++) {
7981 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7983 PyObject
* str
= PyObject_Unicode(item
);
7984 _arg0
->Add(PyUnicode_AsUnicode(str
));
7986 PyObject
* str
= PyObject_Str(item
);
7987 _arg0
->Add(PyString_AsString(str
));
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) return NULL
;
8000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8001 _resultobj
= Py_BuildValue("s",_ptemp
);
8004 _resultobj
= Py_None
;
8013 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8014 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
* _resultobj
;
8016 wxFileTypeInfo
* _result
;
8017 char *_kwnames
[] = { NULL
};
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) return NULL
;
8030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8031 _resultobj
= Py_BuildValue("s",_ptemp
);
8034 _resultobj
= Py_None
;
8039 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8040 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8043 wxFileTypeInfo
* _arg0
;
8044 PyObject
* _argo0
= 0;
8045 char *_kwnames
[] = { "self", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } _resultobj
= Py_BuildValue("i",_result
);
8067 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8068 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8070 wxFileTypeInfo
* _arg0
;
8072 int _arg2
= (int ) 0;
8073 PyObject
* _argo0
= 0;
8074 PyObject
* _obj1
= 0;
8075 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8088 _arg1
= wxString_in_helper(_obj1
);
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) return NULL
;
8098 } Py_INCREF(Py_None
);
8099 _resultobj
= Py_None
;
8107 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8108 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
* _resultobj
;
8110 wxFileTypeInfo
* _arg0
;
8112 PyObject
* _argo0
= 0;
8113 PyObject
* _obj1
= 0;
8114 char *_kwnames
[] = { "self","shortDesc", NULL
};
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8127 _arg1
= wxString_in_helper(_obj1
);
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) return NULL
;
8137 } Py_INCREF(Py_None
);
8138 _resultobj
= Py_None
;
8146 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8147 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8150 wxFileTypeInfo
* _arg0
;
8151 PyObject
* _argo0
= 0;
8152 char *_kwnames
[] = { "self", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8167 _result
= (wxString
*) &_result_ref
;
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) return NULL
;
8173 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8175 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8181 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8182 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
* _resultobj
;
8185 wxFileTypeInfo
* _arg0
;
8186 PyObject
* _argo0
= 0;
8187 char *_kwnames
[] = { "self", NULL
};
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8202 _result
= (wxString
*) &_result_ref
;
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) return NULL
;
8208 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8210 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8216 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8217 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
* _resultobj
;
8220 wxFileTypeInfo
* _arg0
;
8221 PyObject
* _argo0
= 0;
8222 char *_kwnames
[] = { "self", NULL
};
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8237 _result
= (wxString
*) &_result_ref
;
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) return NULL
;
8243 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8245 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8251 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8252 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
* _resultobj
;
8255 wxFileTypeInfo
* _arg0
;
8256 PyObject
* _argo0
= 0;
8257 char *_kwnames
[] = { "self", NULL
};
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8272 _result
= (wxString
*) &_result_ref
;
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) return NULL
;
8278 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8280 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8286 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8287 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(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_GetDescription",_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_GetDescription. Expected _wxFileTypeInfo_p.");
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8307 _result
= (wxString
*) &_result_ref
;
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) return NULL
;
8313 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8315 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8321 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8322 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8323 return wxArrayString2PyList_helper(arr
);
8325 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8328 wxFileTypeInfo
* _arg0
;
8329 PyObject
* _argo0
= 0;
8330 char *_kwnames
[] = { "self", NULL
};
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) return NULL
;
8349 _resultobj
= _result
;
8354 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8355 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
* _resultobj
;
8358 wxFileTypeInfo
* _arg0
;
8359 PyObject
* _argo0
= 0;
8360 char *_kwnames
[] = { "self", NULL
};
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) return NULL
;
8378 } _resultobj
= Py_BuildValue("i",_result
);
8382 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8383 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
* _resultobj
;
8386 wxFileTypeInfo
* _arg0
;
8387 PyObject
* _argo0
= 0;
8388 char *_kwnames
[] = { "self", NULL
};
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8403 _result
= (wxString
*) &_result_ref
;
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) return NULL
;
8409 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8411 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8417 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8418 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
* _resultobj
;
8421 wxFileTypeInfo
* _arg0
;
8422 PyObject
* _argo0
= 0;
8423 char *_kwnames
[] = { "self", NULL
};
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) return NULL
;
8441 } _resultobj
= Py_BuildValue("i",_result
);
8445 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8446 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
* _resultobj
;
8448 wxFileType
* _result
;
8449 wxFileTypeInfo
* _arg0
;
8450 PyObject
* _argo0
= 0;
8451 char *_kwnames
[] = { "ftInfo", NULL
};
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) return NULL
;
8471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8472 _resultobj
= Py_BuildValue("s",_ptemp
);
8475 _resultobj
= Py_None
;
8480 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8482 if (self
->GetMimeType(&str
)) {
8484 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8486 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8492 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
* _resultobj
;
8496 PyObject
* _argo0
= 0;
8497 char *_kwnames
[] = { "self", NULL
};
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) return NULL
;
8516 _resultobj
= _result
;
8521 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8523 if (self
->GetMimeTypes(arr
))
8524 return wxArrayString2PyList_helper(arr
);
8528 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
* _resultobj
;
8532 PyObject
* _argo0
= 0;
8533 char *_kwnames
[] = { "self", NULL
};
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) return NULL
;
8552 _resultobj
= _result
;
8557 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8559 if (self
->GetExtensions(arr
))
8560 return wxArrayString2PyList_helper(arr
);
8564 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
* _resultobj
;
8568 PyObject
* _argo0
= 0;
8569 char *_kwnames
[] = { "self", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) return NULL
;
8588 _resultobj
= _result
;
8593 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8595 if (self
->GetIcon(&icon
))
8596 return new wxIcon(icon
);
8600 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
* _resultobj
;
8604 PyObject
* _argo0
= 0;
8605 char *_kwnames
[] = { "self", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) return NULL
;
8625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8626 _resultobj
= Py_BuildValue("s",_ptemp
);
8629 _resultobj
= Py_None
;
8634 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8638 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8639 wxPyBeginBlockThreads();
8640 PyObject
* tuple
= PyTuple_New(3);
8641 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8644 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8646 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8648 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8649 wxPyEndBlockThreads();
8655 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
* _resultobj
;
8659 PyObject
* _argo0
= 0;
8660 char *_kwnames
[] = { "self", NULL
};
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) return NULL
;
8679 _resultobj
= _result
;
8684 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8686 if (self
->GetDescription(&str
)) {
8688 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8690 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8695 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
* _resultobj
;
8699 PyObject
* _argo0
= 0;
8700 char *_kwnames
[] = { "self", NULL
};
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) return NULL
;
8719 _resultobj
= _result
;
8724 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8726 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8728 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8730 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8735 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
* _resultobj
;
8740 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8741 PyObject
* _argo0
= 0;
8742 PyObject
* _obj1
= 0;
8743 PyObject
* _obj2
= 0;
8744 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8757 _arg1
= wxString_in_helper(_obj1
);
8763 _arg2
= wxString_in_helper(_obj2
);
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) return NULL
;
8774 _resultobj
= _result
;
8787 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8789 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8791 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8793 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8798 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
* _resultobj
;
8803 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8804 PyObject
* _argo0
= 0;
8805 PyObject
* _obj1
= 0;
8806 PyObject
* _obj2
= 0;
8807 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8820 _arg1
= wxString_in_helper(_obj1
);
8826 _arg2
= wxString_in_helper(_obj2
);
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) return NULL
;
8837 _resultobj
= _result
;
8850 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8851 wxArrayString verbs
;
8852 wxArrayString commands
;
8853 if (self
->GetAllCommands(&verbs
, &commands
,
8854 wxFileType::MessageParameters(filename
, mimetype
))) {
8855 wxPyBeginBlockThreads();
8856 PyObject
* tuple
= PyTuple_New(2);
8857 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8858 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8859 wxPyEndBlockThreads();
8865 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
* _resultobj
;
8870 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8871 PyObject
* _argo0
= 0;
8872 PyObject
* _obj1
= 0;
8873 PyObject
* _obj2
= 0;
8874 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8887 _arg1
= wxString_in_helper(_obj1
);
8893 _arg2
= wxString_in_helper(_obj2
);
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) return NULL
;
8904 _resultobj
= _result
;
8917 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8918 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
* _resultobj
;
8924 bool _arg3
= (bool ) TRUE
;
8925 PyObject
* _argo0
= 0;
8926 PyObject
* _obj1
= 0;
8927 PyObject
* _obj2
= 0;
8928 int tempbool3
= (int) TRUE
;
8929 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8942 _arg1
= wxString_in_helper(_obj1
);
8947 _arg2
= wxString_in_helper(_obj2
);
8951 _arg3
= (bool ) tempbool3
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) return NULL
;
8958 } _resultobj
= Py_BuildValue("i",_result
);
8970 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8971 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
* _resultobj
;
8975 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8976 int _arg2
= (int ) 0;
8977 PyObject
* _argo0
= 0;
8978 PyObject
* _obj1
= 0;
8979 char *_kwnames
[] = { "self","cmd","index", NULL
};
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8993 _arg1
= wxString_in_helper(_obj1
);
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) return NULL
;
9003 } _resultobj
= Py_BuildValue("i",_result
);
9011 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9012 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
* _resultobj
;
9016 PyObject
* _argo0
= 0;
9017 char *_kwnames
[] = { "self", NULL
};
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 _result
= (bool )wxFileType_Unassociate(_arg0
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) return NULL
;
9035 } _resultobj
= Py_BuildValue("i",_result
);
9039 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
* _resultobj
;
9043 wxFileType::MessageParameters
* _arg1
;
9044 PyObject
* _obj0
= 0;
9045 PyObject
* _argo1
= 0;
9046 char *_kwnames
[] = { "command","params", NULL
};
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9052 _arg0
= wxString_in_helper(_obj0
);
9057 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) return NULL
;
9071 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9073 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9086 #define delete_wxFileType(_swigobj) (delete _swigobj)
9087 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
* _resultobj
;
9090 PyObject
* _argo0
= 0;
9091 char *_kwnames
[] = { "self", NULL
};
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 delete_wxFileType(_arg0
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) return NULL
;
9109 } Py_INCREF(Py_None
);
9110 _resultobj
= Py_None
;
9114 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
* _resultobj
;
9119 PyObject
* _obj0
= 0;
9120 PyObject
* _obj1
= 0;
9121 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9127 _arg0
= wxString_in_helper(_obj0
);
9132 _arg1
= wxString_in_helper(_obj1
);
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) return NULL
;
9142 } _resultobj
= Py_BuildValue("i",_result
);
9154 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9155 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
* _resultobj
;
9157 wxMimeTypesManager
* _result
;
9158 char *_kwnames
[] = { NULL
};
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) return NULL
;
9171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9172 _resultobj
= Py_BuildValue("s",_ptemp
);
9175 _resultobj
= Py_None
;
9180 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9181 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
* _resultobj
;
9183 wxMimeTypesManager
* _arg0
;
9184 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9185 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9186 PyObject
* _argo0
= 0;
9187 PyObject
* _obj2
= 0;
9188 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9202 _arg2
= wxString_in_helper(_obj2
);
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) return NULL
;
9212 } Py_INCREF(Py_None
);
9213 _resultobj
= Py_None
;
9221 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9222 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
* _resultobj
;
9224 wxMimeTypesManager
* _arg0
;
9225 PyObject
* _argo0
= 0;
9226 char *_kwnames
[] = { "self", NULL
};
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 wxMimeTypesManager_ClearData(_arg0
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) return NULL
;
9244 } Py_INCREF(Py_None
);
9245 _resultobj
= Py_None
;
9249 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9250 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
* _resultobj
;
9252 wxFileType
* _result
;
9253 wxMimeTypesManager
* _arg0
;
9255 PyObject
* _argo0
= 0;
9256 PyObject
* _obj1
= 0;
9257 char *_kwnames
[] = { "self","ext", NULL
};
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9271 _arg1
= wxString_in_helper(_obj1
);
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) return NULL
;
9282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9283 _resultobj
= Py_BuildValue("s",_ptemp
);
9286 _resultobj
= Py_None
;
9295 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9296 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
* _resultobj
;
9298 wxFileType
* _result
;
9299 wxMimeTypesManager
* _arg0
;
9301 PyObject
* _argo0
= 0;
9302 PyObject
* _obj1
= 0;
9303 char *_kwnames
[] = { "self","mimeType", NULL
};
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9317 _arg1
= wxString_in_helper(_obj1
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) return NULL
;
9328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9329 _resultobj
= Py_BuildValue("s",_ptemp
);
9332 _resultobj
= Py_None
;
9341 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9342 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9345 wxMimeTypesManager
* _arg0
;
9347 bool _arg2
= (bool ) FALSE
;
9348 PyObject
* _argo0
= 0;
9349 PyObject
* _obj1
= 0;
9350 int tempbool2
= (int) FALSE
;
9351 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9364 _arg1
= wxString_in_helper(_obj1
);
9368 _arg2
= (bool ) tempbool2
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) return NULL
;
9375 } _resultobj
= Py_BuildValue("i",_result
);
9383 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9384 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
* _resultobj
;
9387 wxMimeTypesManager
* _arg0
;
9389 PyObject
* _argo0
= 0;
9390 PyObject
* _obj1
= 0;
9391 char *_kwnames
[] = { "self","filename", NULL
};
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9404 _arg1
= wxString_in_helper(_obj1
);
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) return NULL
;
9414 } _resultobj
= Py_BuildValue("i",_result
);
9422 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9424 self
->EnumAllFileTypes(arr
);
9425 return wxArrayString2PyList_helper(arr
);
9427 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
* _resultobj
;
9430 wxMimeTypesManager
* _arg0
;
9431 PyObject
* _argo0
= 0;
9432 char *_kwnames
[] = { "self", NULL
};
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) return NULL
;
9451 _resultobj
= _result
;
9456 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9457 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
* _resultobj
;
9459 wxMimeTypesManager
* _arg0
;
9460 wxFileTypeInfo
* _arg1
;
9461 PyObject
* _argo0
= 0;
9462 PyObject
* _argo1
= 0;
9463 char *_kwnames
[] = { "self","ft", NULL
};
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) return NULL
;
9488 } Py_INCREF(Py_None
);
9489 _resultobj
= Py_None
;
9493 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9494 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
* _resultobj
;
9496 wxFileType
* _result
;
9497 wxMimeTypesManager
* _arg0
;
9498 wxFileTypeInfo
* _arg1
;
9499 PyObject
* _argo0
= 0;
9500 PyObject
* _argo1
= 0;
9501 char *_kwnames
[] = { "self","ftInfo", NULL
};
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) return NULL
;
9528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9529 _resultobj
= Py_BuildValue("s",_ptemp
);
9532 _resultobj
= Py_None
;
9537 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9538 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9541 wxMimeTypesManager
* _arg0
;
9543 PyObject
* _argo0
= 0;
9544 PyObject
* _argo1
= 0;
9545 char *_kwnames
[] = { "self","ft", NULL
};
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9558 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9559 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) return NULL
;
9570 } _resultobj
= Py_BuildValue("i",_result
);
9574 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9575 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
* _resultobj
;
9577 wxMimeTypesManager
* _arg0
;
9578 PyObject
* _argo0
= 0;
9579 char *_kwnames
[] = { "self", NULL
};
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 delete_wxMimeTypesManager(_arg0
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) return NULL
;
9597 } Py_INCREF(Py_None
);
9598 _resultobj
= Py_None
;
9602 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9603 wxPyArtProvider
*src
;
9605 src
= (wxPyArtProvider
*) ptr
;
9606 dest
= (wxObject
*) src
;
9607 return (void *) dest
;
9610 #define new_wxArtProvider() (new wxPyArtProvider())
9611 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
* _resultobj
;
9613 wxPyArtProvider
* _result
;
9614 char *_kwnames
[] = { NULL
};
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) return NULL
;
9627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9628 _resultobj
= Py_BuildValue("s",_ptemp
);
9631 _resultobj
= Py_None
;
9636 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9637 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
* _resultobj
;
9639 wxPyArtProvider
* _arg0
;
9642 PyObject
* _argo0
= 0;
9643 PyObject
* _obj1
= 0;
9644 PyObject
* _obj2
= 0;
9645 char *_kwnames
[] = { "self","self","_class", NULL
};
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) return NULL
;
9669 } Py_INCREF(Py_None
);
9670 _resultobj
= Py_None
;
9674 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
* _resultobj
;
9676 wxPyArtProvider
* _arg0
;
9677 PyObject
* _argo0
= 0;
9678 char *_kwnames
[] = { "provider", NULL
};
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 wxPyArtProvider::PushProvider(_arg0
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) return NULL
;
9696 } Py_INCREF(Py_None
);
9697 _resultobj
= Py_None
;
9701 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
* _resultobj
;
9704 char *_kwnames
[] = { NULL
};
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 _result
= (bool )wxPyArtProvider::PopProvider();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) return NULL
;
9715 } _resultobj
= Py_BuildValue("i",_result
);
9719 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
* _resultobj
;
9722 wxPyArtProvider
* _arg0
;
9723 PyObject
* _argo0
= 0;
9724 char *_kwnames
[] = { "provider", NULL
};
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) return NULL
;
9742 } _resultobj
= Py_BuildValue("i",_result
);
9746 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
* _resultobj
;
9750 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9751 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9752 PyObject
* _obj0
= 0;
9753 PyObject
* _obj1
= 0;
9755 PyObject
* _obj2
= 0;
9756 char *_kwnames
[] = { "id","client","size", NULL
};
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9763 _arg0
= wxString_in_helper(_obj0
);
9769 _arg1
= wxString_in_helper(_obj1
);
9776 if (! wxSize_helper(_obj2
, &_arg2
))
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) return NULL
;
9785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9786 _resultobj
= Py_BuildValue("s",_ptemp
);
9798 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
* _resultobj
;
9802 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9803 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9804 PyObject
* _obj0
= 0;
9805 PyObject
* _obj1
= 0;
9807 PyObject
* _obj2
= 0;
9808 char *_kwnames
[] = { "id","client","size", NULL
};
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9815 _arg0
= wxString_in_helper(_obj0
);
9821 _arg1
= wxString_in_helper(_obj1
);
9828 if (! wxSize_helper(_obj2
, &_arg2
))
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) return NULL
;
9837 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9838 _resultobj
= Py_BuildValue("s",_ptemp
);
9850 static PyObject
*_wrap_wxArtProvider_CleanUpProviders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
* _resultobj
;
9852 char *_kwnames
[] = { NULL
};
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_CleanUpProviders",_kwnames
))
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 wxPyArtProvider::CleanUpProviders();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) return NULL
;
9863 } Py_INCREF(Py_None
);
9864 _resultobj
= Py_None
;
9868 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9871 src
= (wxFileHistory
*) ptr
;
9872 dest
= (wxObject
*) src
;
9873 return (void *) dest
;
9876 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9877 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
* _resultobj
;
9879 wxFileHistory
* _result
;
9880 int _arg0
= (int ) 9;
9881 char *_kwnames
[] = { "maxFiles", NULL
};
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) return NULL
;
9894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9895 _resultobj
= Py_BuildValue("s",_ptemp
);
9898 _resultobj
= Py_None
;
9903 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9904 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
* _resultobj
;
9906 wxFileHistory
* _arg0
;
9907 PyObject
* _argo0
= 0;
9908 char *_kwnames
[] = { "self", NULL
};
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 delete_wxFileHistory(_arg0
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) return NULL
;
9926 } Py_INCREF(Py_None
);
9927 _resultobj
= Py_None
;
9931 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9932 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
* _resultobj
;
9934 wxFileHistory
* _arg0
;
9936 PyObject
* _argo0
= 0;
9937 PyObject
* _obj1
= 0;
9938 char *_kwnames
[] = { "self","file", NULL
};
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9951 _arg1
= wxString_in_helper(_obj1
);
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) return NULL
;
9961 } Py_INCREF(Py_None
);
9962 _resultobj
= Py_None
;
9970 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9971 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
* _resultobj
;
9973 wxFileHistory
* _arg0
;
9975 PyObject
* _argo0
= 0;
9976 char *_kwnames
[] = { "self","i", NULL
};
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) return NULL
;
9994 } Py_INCREF(Py_None
);
9995 _resultobj
= Py_None
;
9999 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10000 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
* _resultobj
;
10003 wxFileHistory
* _arg0
;
10004 PyObject
* _argo0
= 0;
10005 char *_kwnames
[] = { "self", NULL
};
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) return NULL
;
10023 } _resultobj
= Py_BuildValue("i",_result
);
10027 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10028 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
* _resultobj
;
10030 wxFileHistory
* _arg0
;
10032 PyObject
* _argo0
= 0;
10033 PyObject
* _argo1
= 0;
10034 char *_kwnames
[] = { "self","menu", NULL
};
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxFileHistory_UseMenu(_arg0
,_arg1
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) return NULL
;
10059 } Py_INCREF(Py_None
);
10060 _resultobj
= Py_None
;
10064 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10065 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
* _resultobj
;
10067 wxFileHistory
* _arg0
;
10069 PyObject
* _argo0
= 0;
10070 PyObject
* _argo1
= 0;
10071 char *_kwnames
[] = { "self","menu", NULL
};
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10084 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10085 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) return NULL
;
10096 } Py_INCREF(Py_None
);
10097 _resultobj
= Py_None
;
10101 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10102 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
* _resultobj
;
10104 wxFileHistory
* _arg0
;
10105 wxConfigBase
* _arg1
;
10106 PyObject
* _argo0
= 0;
10107 PyObject
* _argo1
= 0;
10108 char *_kwnames
[] = { "self","config", NULL
};
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 wxFileHistory_Load(_arg0
,*_arg1
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) return NULL
;
10133 } Py_INCREF(Py_None
);
10134 _resultobj
= Py_None
;
10138 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10139 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
* _resultobj
;
10141 wxFileHistory
* _arg0
;
10142 wxConfigBase
* _arg1
;
10143 PyObject
* _argo0
= 0;
10144 PyObject
* _argo1
= 0;
10145 char *_kwnames
[] = { "self","config", NULL
};
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 wxFileHistory_Save(_arg0
,*_arg1
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) return NULL
;
10170 } Py_INCREF(Py_None
);
10171 _resultobj
= Py_None
;
10175 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10176 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
* _resultobj
;
10178 wxFileHistory
* _arg0
;
10179 PyObject
* _argo0
= 0;
10180 char *_kwnames
[] = { "self", NULL
};
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 wxFileHistory_AddFilesToMenu(_arg0
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) return NULL
;
10198 } Py_INCREF(Py_None
);
10199 _resultobj
= Py_None
;
10203 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10204 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
* _resultobj
;
10206 wxFileHistory
* _arg0
;
10208 PyObject
* _argo0
= 0;
10209 PyObject
* _argo1
= 0;
10210 char *_kwnames
[] = { "self","menu", NULL
};
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10223 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10224 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) return NULL
;
10235 } Py_INCREF(Py_None
);
10236 _resultobj
= Py_None
;
10240 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10241 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
* _resultobj
;
10243 wxString
* _result
;
10244 wxFileHistory
* _arg0
;
10246 PyObject
* _argo0
= 0;
10247 char *_kwnames
[] = { "self","i", NULL
};
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) return NULL
;
10267 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10269 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10278 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10279 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
* _resultobj
;
10282 wxFileHistory
* _arg0
;
10283 PyObject
* _argo0
= 0;
10284 char *_kwnames
[] = { "self", NULL
};
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 _result
= (int )wxFileHistory_GetCount(_arg0
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) return NULL
;
10302 } _resultobj
= Py_BuildValue("i",_result
);
10306 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10307 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
* _resultobj
;
10310 wxFileHistory
* _arg0
;
10311 PyObject
* _argo0
= 0;
10312 char *_kwnames
[] = { "self", NULL
};
10315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) return NULL
;
10330 } _resultobj
= Py_BuildValue("i",_result
);
10334 static PyMethodDef misc2cMethods
[] = {
10335 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxArtProvider_CleanUpProviders", (PyCFunction
) _wrap_wxArtProvider_CleanUpProviders
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10450 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10451 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10452 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10453 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10454 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10455 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10456 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10457 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10458 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10459 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
10460 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
10461 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
10462 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10463 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10464 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10465 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10466 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10467 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10468 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10469 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10470 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10471 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10472 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10473 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10474 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10475 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10476 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10477 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10478 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10479 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10480 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10481 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10482 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10483 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10484 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10485 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10486 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10487 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10488 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10489 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10490 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10491 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10492 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10493 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10494 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10495 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10496 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10497 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10498 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10499 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10500 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10501 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10502 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10503 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10504 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10505 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10506 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10507 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10508 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10509 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10510 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10511 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10512 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10513 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10514 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10515 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10516 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10517 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10518 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10519 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10520 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10521 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10522 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10523 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10524 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10525 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10526 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10527 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10528 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10529 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10530 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10531 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10532 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10533 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10534 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10535 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10536 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10537 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10538 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10539 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10540 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10541 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10542 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10543 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10544 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10545 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10546 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10547 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10548 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10549 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10550 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10551 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10552 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10553 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10554 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10555 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10556 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10557 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10558 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10559 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10560 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10561 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10562 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10563 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10564 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10565 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10566 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10567 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10568 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10569 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10570 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10571 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10572 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10573 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10574 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10575 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10576 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10577 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10578 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10579 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
10580 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
10581 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10582 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
10583 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10584 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10585 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10586 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10587 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10588 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10589 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10590 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10591 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10592 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10593 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10594 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10595 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10596 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10597 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10598 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10599 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10600 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10601 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10602 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10603 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10604 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10605 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10606 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10607 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10608 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10609 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10614 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
10615 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10616 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10617 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10618 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10619 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10620 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10621 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10622 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10623 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10624 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10625 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10626 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10627 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10628 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10629 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10630 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10631 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10632 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10633 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10634 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10635 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10636 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10637 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10638 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10639 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10640 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10647 * This table is used by the pointer type-checker
10649 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10650 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10651 { "_signed_long","_long",0},
10652 { "_wxPrintQuality","_wxCoord",0},
10653 { "_wxPrintQuality","_int",0},
10654 { "_wxPrintQuality","_signed_int",0},
10655 { "_wxPrintQuality","_unsigned_int",0},
10656 { "_wxPrintQuality","_wxWindowID",0},
10657 { "_wxPrintQuality","_uint",0},
10658 { "_wxPrintQuality","_EBool",0},
10659 { "_wxPrintQuality","_size_t",0},
10660 { "_wxPrintQuality","_time_t",0},
10661 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10662 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10663 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10664 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10665 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10666 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10667 { "_byte","_unsigned_char",0},
10668 { "_long","_unsigned_long",0},
10669 { "_long","_signed_long",0},
10670 { "_size_t","_wxCoord",0},
10671 { "_size_t","_wxPrintQuality",0},
10672 { "_size_t","_time_t",0},
10673 { "_size_t","_unsigned_int",0},
10674 { "_size_t","_int",0},
10675 { "_size_t","_wxWindowID",0},
10676 { "_size_t","_uint",0},
10677 { "_uint","_wxCoord",0},
10678 { "_uint","_wxPrintQuality",0},
10679 { "_uint","_time_t",0},
10680 { "_uint","_size_t",0},
10681 { "_uint","_unsigned_int",0},
10682 { "_uint","_int",0},
10683 { "_uint","_wxWindowID",0},
10684 { "_wxChar","_char",0},
10685 { "_char","_wxChar",0},
10686 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10687 { "_EBool","_wxCoord",0},
10688 { "_EBool","_wxPrintQuality",0},
10689 { "_EBool","_signed_int",0},
10690 { "_EBool","_int",0},
10691 { "_EBool","_wxWindowID",0},
10692 { "_unsigned_long","_long",0},
10693 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10694 { "_signed_int","_wxCoord",0},
10695 { "_signed_int","_wxPrintQuality",0},
10696 { "_signed_int","_EBool",0},
10697 { "_signed_int","_wxWindowID",0},
10698 { "_signed_int","_int",0},
10699 { "_WXTYPE","_wxDateTime_t",0},
10700 { "_WXTYPE","_short",0},
10701 { "_WXTYPE","_signed_short",0},
10702 { "_WXTYPE","_unsigned_short",0},
10703 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10704 { "_unsigned_short","_wxDateTime_t",0},
10705 { "_unsigned_short","_WXTYPE",0},
10706 { "_unsigned_short","_short",0},
10707 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10708 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
10709 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10710 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10711 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10712 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10713 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10714 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10715 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10716 { "_signed_short","_WXTYPE",0},
10717 { "_signed_short","_short",0},
10718 { "_unsigned_char","_byte",0},
10719 { "_unsigned_int","_wxCoord",0},
10720 { "_unsigned_int","_wxPrintQuality",0},
10721 { "_unsigned_int","_time_t",0},
10722 { "_unsigned_int","_size_t",0},
10723 { "_unsigned_int","_uint",0},
10724 { "_unsigned_int","_wxWindowID",0},
10725 { "_unsigned_int","_int",0},
10726 { "_short","_wxDateTime_t",0},
10727 { "_short","_WXTYPE",0},
10728 { "_short","_unsigned_short",0},
10729 { "_short","_signed_short",0},
10730 { "_wxWindowID","_wxCoord",0},
10731 { "_wxWindowID","_wxPrintQuality",0},
10732 { "_wxWindowID","_time_t",0},
10733 { "_wxWindowID","_size_t",0},
10734 { "_wxWindowID","_EBool",0},
10735 { "_wxWindowID","_uint",0},
10736 { "_wxWindowID","_int",0},
10737 { "_wxWindowID","_signed_int",0},
10738 { "_wxWindowID","_unsigned_int",0},
10739 { "_int","_wxCoord",0},
10740 { "_int","_wxPrintQuality",0},
10741 { "_int","_time_t",0},
10742 { "_int","_size_t",0},
10743 { "_int","_EBool",0},
10744 { "_int","_uint",0},
10745 { "_int","_wxWindowID",0},
10746 { "_int","_unsigned_int",0},
10747 { "_int","_signed_int",0},
10748 { "_wxDateTime_t","_unsigned_short",0},
10749 { "_wxDateTime_t","_short",0},
10750 { "_wxDateTime_t","_WXTYPE",0},
10751 { "_time_t","_wxCoord",0},
10752 { "_time_t","_wxPrintQuality",0},
10753 { "_time_t","_unsigned_int",0},
10754 { "_time_t","_int",0},
10755 { "_time_t","_wxWindowID",0},
10756 { "_time_t","_uint",0},
10757 { "_time_t","_size_t",0},
10758 { "_wxCoord","_int",0},
10759 { "_wxCoord","_signed_int",0},
10760 { "_wxCoord","_unsigned_int",0},
10761 { "_wxCoord","_wxWindowID",0},
10762 { "_wxCoord","_uint",0},
10763 { "_wxCoord","_EBool",0},
10764 { "_wxCoord","_size_t",0},
10765 { "_wxCoord","_time_t",0},
10766 { "_wxCoord","_wxPrintQuality",0},
10767 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10770 static PyObject
*SWIG_globals
;
10774 SWIGEXPORT(void) initmisc2c() {
10776 SWIG_globals
= SWIG_newvarlink();
10777 m
= Py_InitModule("misc2c", misc2cMethods
);
10778 d
= PyModule_GetDict(m
);
10779 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10780 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10781 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10782 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10783 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10784 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10785 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10786 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10787 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10788 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10789 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10790 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10791 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10792 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10793 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10794 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10795 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10796 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10797 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10798 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10799 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10800 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10801 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10802 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10803 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10804 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10805 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10806 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10807 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10808 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10809 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10810 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10811 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10812 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10813 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10814 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10815 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10816 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10817 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10818 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10819 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10820 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10821 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10822 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10823 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10824 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10825 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10826 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10827 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10828 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10829 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10830 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10831 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10832 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10833 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10834 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10835 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10836 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10837 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10838 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10839 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10840 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10841 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10842 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10843 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10844 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10845 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10846 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10847 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10848 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10849 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10850 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10851 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10852 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10853 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10854 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10855 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10856 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10857 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10858 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10859 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10860 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10861 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10862 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10863 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10864 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
10865 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
10866 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
10867 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
10868 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
10869 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10870 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10871 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10872 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10873 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10874 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10875 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10876 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10877 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10878 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10879 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
10880 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
10881 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
10882 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
10883 PyDict_SetItemString(d
,"wxTRACE_OleCalls", PyString_FromString("ole"));
10884 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
10885 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
10886 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
10887 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
10888 PyDict_SetItemString(d
,"wxTraceOleCalls", PyInt_FromLong((long) wxTraceOleCalls
));
10889 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
10890 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
10891 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
10892 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
10893 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
10894 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
10895 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
10896 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
10897 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
10898 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
10899 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
10900 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
10901 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
10902 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
10903 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
10904 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
10905 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
10906 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
10907 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
10908 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
10909 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
10910 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
10911 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10912 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10913 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10914 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10915 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10916 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
10917 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
10918 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
10919 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
10920 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
10921 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
10922 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
10923 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10924 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10925 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10926 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10927 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10928 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10929 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10930 PyDict_SetItemString(d
,"wxART_TOOLBAR", PyString_FromString("toolbar_C"));
10931 PyDict_SetItemString(d
,"wxART_MENU", PyString_FromString("menu_C"));
10932 PyDict_SetItemString(d
,"wxART_FRAME_ICON", PyString_FromString("frame_icon_C"));
10933 PyDict_SetItemString(d
,"wxART_CMN_DIALOG", PyString_FromString("cmn_dialog_C"));
10934 PyDict_SetItemString(d
,"wxART_HELP_BROWSER", PyString_FromString("help_browser_C"));
10935 PyDict_SetItemString(d
,"wxART_MESSAGE_BOX", PyString_FromString("message_box_C"));
10936 PyDict_SetItemString(d
,"wxART_OTHER", PyString_FromString("other_C"));
10937 PyDict_SetItemString(d
,"wxART_ADD_BOOKMARK", PyString_FromString("add_bookmark"));
10938 PyDict_SetItemString(d
,"wxART_DEL_BOOKMARK", PyString_FromString("del_bookmark"));
10939 PyDict_SetItemString(d
,"wxART_HELP_SIDE_PANEL", PyString_FromString("help_side_panel"));
10940 PyDict_SetItemString(d
,"wxART_HELP_SETTINGS", PyString_FromString("help_settings"));
10941 PyDict_SetItemString(d
,"wxART_HELP_BOOK", PyString_FromString("help_book"));
10942 PyDict_SetItemString(d
,"wxART_HELP_FOLDER", PyString_FromString("help_folder"));
10943 PyDict_SetItemString(d
,"wxART_HELP_PAGE", PyString_FromString("help_page"));
10944 PyDict_SetItemString(d
,"wxART_GO_BACK", PyString_FromString("go_back"));
10945 PyDict_SetItemString(d
,"wxART_GO_FORWARD", PyString_FromString("go_forward"));
10946 PyDict_SetItemString(d
,"wxART_GO_UP", PyString_FromString("go_up"));
10947 PyDict_SetItemString(d
,"wxART_GO_DOWN", PyString_FromString("go_down"));
10948 PyDict_SetItemString(d
,"wxART_GO_TO_PARENT", PyString_FromString("go_to_parent"));
10949 PyDict_SetItemString(d
,"wxART_GO_HOME", PyString_FromString("go_home"));
10950 PyDict_SetItemString(d
,"wxART_FILE_OPEN", PyString_FromString("file_open"));
10951 PyDict_SetItemString(d
,"wxART_PRINT", PyString_FromString("print"));
10952 PyDict_SetItemString(d
,"wxART_HELP", PyString_FromString("help"));
10953 PyDict_SetItemString(d
,"wxART_TIP", PyString_FromString("tip"));
10954 PyDict_SetItemString(d
,"wxART_REPORT_VIEW", PyString_FromString("report_view"));
10955 PyDict_SetItemString(d
,"wxART_LIST_VIEW", PyString_FromString("list_view"));
10956 PyDict_SetItemString(d
,"wxART_NEW_DIR", PyString_FromString("new_dir"));
10957 PyDict_SetItemString(d
,"wxART_FOLDER", PyString_FromString("folder"));
10958 PyDict_SetItemString(d
,"wxART_GO_DIR_UP", PyString_FromString("go_dir_up"));
10959 PyDict_SetItemString(d
,"wxART_EXECUTABLE_FILE", PyString_FromString("executable_file"));
10960 PyDict_SetItemString(d
,"wxART_NORMAL_FILE", PyString_FromString("normal_file"));
10961 PyDict_SetItemString(d
,"wxART_TICK_MARK", PyString_FromString("tick"));
10962 PyDict_SetItemString(d
,"wxART_CROSS_MARK", PyString_FromString("cross"));
10963 PyDict_SetItemString(d
,"wxART_ERROR", PyString_FromString("error"));
10964 PyDict_SetItemString(d
,"wxART_QUESTION", PyString_FromString("question"));
10965 PyDict_SetItemString(d
,"wxART_WARNING", PyString_FromString("warning"));
10966 PyDict_SetItemString(d
,"wxART_INFORMATION", PyString_FromString("information"));
10968 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10969 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10970 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
10974 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10975 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);