2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "win", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1463 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1468 char *_kwnames
[] = { "name","value", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } _resultobj
= Py_BuildValue("i",_result
);
1483 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1485 char *_kwnames
[] = { NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1501 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1505 char *_kwnames
[] = { "resource", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1518 _resultobj
= Py_BuildValue("s",_ptemp
);
1522 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1526 char *_kwnames
[] = { "resource", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) return NULL
;
1538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1539 _resultobj
= Py_BuildValue("s",_ptemp
);
1543 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1545 wxMenuBar
* _result
;
1547 char *_kwnames
[] = { "resource", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1562 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1566 char *_kwnames
[] = { "name", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 _result
= (int )wxResourceGetIdentifier(_arg0
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 } _resultobj
= Py_BuildValue("i",_result
);
1581 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1586 PyObject
* _argo1
= 0;
1587 char *_kwnames
[] = { "resource","table", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1593 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) return NULL
;
1605 } _resultobj
= Py_BuildValue("i",_result
);
1609 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1613 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1614 PyObject
* _argo1
= 0;
1615 char *_kwnames
[] = { "filename","table", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1621 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) return NULL
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1641 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1642 PyObject
* _argo1
= 0;
1643 char *_kwnames
[] = { "resource","table", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) return NULL
;
1661 } _resultobj
= Py_BuildValue("i",_result
);
1665 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1668 char *_kwnames
[] = { NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1675 _result
= (int )wxCaret_GetBlinkTime();
1677 wxPyEndAllowThreads(__tstate
);
1678 if (PyErr_Occurred()) return NULL
;
1679 } _resultobj
= Py_BuildValue("i",_result
);
1683 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1686 char *_kwnames
[] = { "milliseconds", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 wxCaret_SetBlinkTime(_arg0
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1697 } Py_INCREF(Py_None
);
1698 _resultobj
= Py_None
;
1702 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1705 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "win", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 _result
= (bool )wxSafeYield(_arg0
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) return NULL
;
1725 } _resultobj
= Py_BuildValue("i",_result
);
1729 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1731 wxEvtHandler
* _arg0
;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _argo1
= 0;
1735 char *_kwnames
[] = { "dest","event", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxPostEvent(_arg0
,*_arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1767 char *_kwnames
[] = { NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1783 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 char *_kwnames
[] = { NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) return NULL
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 char *_kwnames
[] = { NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1822 char *_kwnames
[] = { NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 _result
= (bool )wxThread_IsMain();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1841 wxTipProvider
* _arg1
;
1842 bool _arg2
= (bool ) TRUE
;
1843 PyObject
* _argo0
= 0;
1844 PyObject
* _argo1
= 0;
1845 int tempbool2
= (int) TRUE
;
1846 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1865 _arg2
= (bool ) tempbool2
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1872 } _resultobj
= Py_BuildValue("i",_result
);
1876 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1878 wxTipProvider
* _result
;
1881 PyObject
* _obj0
= 0;
1882 char *_kwnames
[] = { "filename","currentTip", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1889 _arg0
= wxString_in_helper(_obj0
);
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1901 _resultobj
= Py_BuildValue("s",_ptemp
);
1904 _resultobj
= Py_None
;
1913 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1915 unsigned long _result
;
1916 char *_kwnames
[] = { NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 _result
= (unsigned long )wxSysErrorCode();
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) return NULL
;
1927 } _resultobj
= Py_BuildValue("l",_result
);
1931 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1934 unsigned long _arg0
= (unsigned long ) 0;
1935 char *_kwnames
[] = { "nErrCode", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 _result
= new wxString (wxSysErrorMsg(_arg0
));
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) return NULL
;
1948 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1950 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1959 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1962 PyObject
* _obj0
= 0;
1963 char *_kwnames
[] = { "msg", NULL
};
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1969 _arg0
= wxString_in_helper(_obj0
);
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 wxLogFatalError(*_arg0
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) return NULL
;
1979 } Py_INCREF(Py_None
);
1980 _resultobj
= Py_None
;
1988 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1991 PyObject
* _obj0
= 0;
1992 char *_kwnames
[] = { "msg", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1998 _arg0
= wxString_in_helper(_obj0
);
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) return NULL
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2017 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2020 PyObject
* _obj0
= 0;
2021 char *_kwnames
[] = { "msg", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2027 _arg0
= wxString_in_helper(_obj0
);
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 wxLogWarning(*_arg0
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) return NULL
;
2037 } Py_INCREF(Py_None
);
2038 _resultobj
= Py_None
;
2046 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2049 PyObject
* _obj0
= 0;
2050 char *_kwnames
[] = { "msg", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2056 _arg0
= wxString_in_helper(_obj0
);
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 wxLogMessage(*_arg0
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) return NULL
;
2066 } Py_INCREF(Py_None
);
2067 _resultobj
= Py_None
;
2075 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
* _resultobj
;
2078 PyObject
* _obj0
= 0;
2079 char *_kwnames
[] = { "msg", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2085 _arg0
= wxString_in_helper(_obj0
);
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } Py_INCREF(Py_None
);
2096 _resultobj
= Py_None
;
2104 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2107 PyObject
* _obj0
= 0;
2108 char *_kwnames
[] = { "msg", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2114 _arg0
= wxString_in_helper(_obj0
);
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 wxLogVerbose(*_arg0
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) return NULL
;
2124 } Py_INCREF(Py_None
);
2125 _resultobj
= Py_None
;
2133 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2136 PyObject
* _obj0
= 0;
2137 char *_kwnames
[] = { "msg", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2143 _arg0
= wxString_in_helper(_obj0
);
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 wxLogStatus(*_arg0
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2162 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2166 PyObject
* _argo0
= 0;
2167 PyObject
* _obj1
= 0;
2168 char *_kwnames
[] = { "pFrame","msg", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2181 _arg1
= wxString_in_helper(_obj1
);
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 wxLogStatus(_arg0
,*_arg1
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2200 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2203 PyObject
* _obj0
= 0;
2204 char *_kwnames
[] = { "msg", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2210 _arg0
= wxString_in_helper(_obj0
);
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 wxLogSysError(*_arg0
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) return NULL
;
2220 } Py_INCREF(Py_None
);
2221 _resultobj
= Py_None
;
2229 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2232 PyObject
* _obj0
= 0;
2233 char *_kwnames
[] = { "msg", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2239 _arg0
= wxString_in_helper(_obj0
);
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) return NULL
;
2249 } Py_INCREF(Py_None
);
2250 _resultobj
= Py_None
;
2258 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2262 PyObject
* _obj0
= 0;
2263 PyObject
* _obj1
= 0;
2264 char *_kwnames
[] = { "mask","msg", NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2270 _arg0
= wxString_in_helper(_obj0
);
2275 _arg1
= wxString_in_helper(_obj1
);
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 wxLogTrace(*_arg0
,*_arg1
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) return NULL
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2298 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2300 unsigned long _arg0
;
2302 PyObject
* _obj1
= 0;
2303 char *_kwnames
[] = { "level","msg", NULL
};
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2309 _arg1
= wxString_in_helper(_obj1
);
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 wxLogGeneric(_arg0
,*_arg1
);
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) return NULL
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2328 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _obj0
= 0;
2333 PyObject
* _obj1
= 0;
2334 char *_kwnames
[] = { "title","text", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2340 _arg0
= wxString_in_helper(_obj0
);
2345 _arg1
= wxString_in_helper(_obj1
);
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 wxSafeShowMessage(*_arg0
,*_arg1
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } Py_INCREF(Py_None
);
2356 _resultobj
= Py_None
;
2368 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2372 int _arg1
= (int ) (wxEXEC_ASYNC
);
2373 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2374 PyObject
* _obj0
= 0;
2375 PyObject
* _argo2
= 0;
2376 char *_kwnames
[] = { "command","flags","process", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2382 _arg0
= wxString_in_helper(_obj0
);
2387 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) return NULL
;
2399 } _resultobj
= Py_BuildValue("l",_result
);
2407 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2411 PyObject
* _obj0
= 0;
2412 char *_kwnames
[] = { "data", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2419 _arg0
= wxString_in_helper(_obj0
);
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 _result
= (wxWave
*)wxWaveData(*_arg0
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2431 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 _resultobj
= Py_None
;
2443 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2445 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2449 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2453 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2454 pyobj
= PyString_FromString(ptemp
);
2458 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2461 wxSystemColour _arg0
;
2462 char *_kwnames
[] = { "index", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) return NULL
;
2474 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2475 _resultobj
= Py_BuildValue("s",_ptemp
);
2479 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2483 char *_kwnames
[] = { "index", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) return NULL
;
2495 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2496 _resultobj
= Py_BuildValue("s",_ptemp
);
2500 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2503 wxSystemMetric _arg0
;
2504 char *_kwnames
[] = { "index", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) return NULL
;
2515 } _resultobj
= Py_BuildValue("i",_result
);
2519 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2522 wxSystemFeature _arg0
;
2523 char *_kwnames
[] = { "index", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) return NULL
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2540 wxSystemScreenType _result
;
2541 char *_kwnames
[] = { NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) return NULL
;
2552 } _resultobj
= Py_BuildValue("i",_result
);
2556 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2558 wxSystemScreenType _arg0
;
2559 char *_kwnames
[] = { "screen", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 wxSystemSettings::SetScreenType(_arg0
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) return NULL
;
2570 } Py_INCREF(Py_None
);
2571 _resultobj
= Py_None
;
2575 static void *SwigwxToolTipTowxObject(void *ptr
) {
2578 src
= (wxToolTip
*) ptr
;
2579 dest
= (wxObject
*) src
;
2580 return (void *) dest
;
2583 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2584 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxToolTip
* _result
;
2588 PyObject
* _obj0
= 0;
2589 char *_kwnames
[] = { "tip", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2596 _arg0
= wxString_in_helper(_obj0
);
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) return NULL
;
2607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2608 _resultobj
= Py_BuildValue("s",_ptemp
);
2611 _resultobj
= Py_None
;
2620 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2621 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2625 PyObject
* _argo0
= 0;
2626 PyObject
* _obj1
= 0;
2627 char *_kwnames
[] = { "self","tip", NULL
};
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2640 _arg1
= wxString_in_helper(_obj1
);
2645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2646 wxToolTip_SetTip(_arg0
,*_arg1
);
2648 wxPyEndAllowThreads(__tstate
);
2649 if (PyErr_Occurred()) return NULL
;
2650 } Py_INCREF(Py_None
);
2651 _resultobj
= Py_None
;
2659 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2660 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2685 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2696 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2697 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2701 PyObject
* _argo0
= 0;
2702 char *_kwnames
[] = { "self", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) return NULL
;
2720 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2724 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2728 char *_kwnames
[] = { "flag", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2733 _arg0
= (bool ) tempbool0
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 wxToolTip::Enable(_arg0
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } Py_INCREF(Py_None
);
2741 _resultobj
= Py_None
;
2745 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2748 char *_kwnames
[] = { "milliseconds", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxToolTip::SetDelay(_arg0
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) return NULL
;
2759 } Py_INCREF(Py_None
);
2760 _resultobj
= Py_None
;
2764 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2765 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2772 PyObject
* _obj1
= 0;
2773 char *_kwnames
[] = { "window","size", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2788 if (! wxSize_helper(_obj1
, &_arg1
))
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) return NULL
;
2798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2799 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 _resultobj
= Py_None
;
2807 #define delete_wxCaret(_swigobj) (delete _swigobj)
2808 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2811 PyObject
* _argo0
= 0;
2812 char *_kwnames
[] = { "self", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 delete_wxCaret(_arg0
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) return NULL
;
2830 } Py_INCREF(Py_None
);
2831 _resultobj
= Py_None
;
2835 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2836 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2840 PyObject
* _argo0
= 0;
2841 char *_kwnames
[] = { "self", NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 _result
= (bool )wxCaret_IsOk(_arg0
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) return NULL
;
2859 } _resultobj
= Py_BuildValue("i",_result
);
2863 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2864 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 _result
= (bool )wxCaret_IsVisible(_arg0
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) return NULL
;
2887 } _resultobj
= Py_BuildValue("i",_result
);
2891 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2892 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2899 PyObject
* _argo0
= 0;
2900 char *_kwnames
[] = { "self", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) return NULL
;
2924 } Py_INCREF(Py_None
);
2925 _resultobj
= Py_None
;
2928 o
= PyInt_FromLong((long) (*_arg1
));
2929 _resultobj
= t_output_helper(_resultobj
, o
);
2933 o
= PyInt_FromLong((long) (*_arg2
));
2934 _resultobj
= t_output_helper(_resultobj
, o
);
2939 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2940 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2944 PyObject
* _argo0
= 0;
2945 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) return NULL
;
2964 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2965 _resultobj
= Py_BuildValue("s",_ptemp
);
2969 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2970 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) return NULL
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3006 o
= PyInt_FromLong((long) (*_arg1
));
3007 _resultobj
= t_output_helper(_resultobj
, o
);
3011 o
= PyInt_FromLong((long) (*_arg2
));
3012 _resultobj
= t_output_helper(_resultobj
, o
);
3017 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3018 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3038 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3040 wxPyEndAllowThreads(__tstate
);
3041 if (PyErr_Occurred()) return NULL
;
3042 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3043 _resultobj
= Py_BuildValue("s",_ptemp
);
3047 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3048 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3052 PyObject
* _argo0
= 0;
3053 char *_kwnames
[] = { "self", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3075 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3076 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self","x","y", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3106 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3110 PyObject
* _argo0
= 0;
3112 PyObject
* _obj1
= 0;
3113 char *_kwnames
[] = { "self","pt", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3127 if (! wxPoint_helper(_obj1
, &_arg1
))
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 wxCaret_Move(_arg0
,*_arg1
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) return NULL
;
3136 } Py_INCREF(Py_None
);
3137 _resultobj
= Py_None
;
3141 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3142 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self","width","height", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) return NULL
;
3166 } Py_INCREF(Py_None
);
3167 _resultobj
= Py_None
;
3171 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3172 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3176 PyObject
* _argo0
= 0;
3178 PyObject
* _obj1
= 0;
3179 char *_kwnames
[] = { "self","size", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3193 if (! wxSize_helper(_obj1
, &_arg1
))
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 wxCaret_SetSize(_arg0
,*_arg1
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) return NULL
;
3202 } Py_INCREF(Py_None
);
3203 _resultobj
= Py_None
;
3207 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3208 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3211 int _arg1
= (int ) TRUE
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self","show", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 wxCaret_Show(_arg0
,_arg1
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3231 } Py_INCREF(Py_None
);
3232 _resultobj
= Py_None
;
3236 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3237 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3240 PyObject
* _argo0
= 0;
3241 char *_kwnames
[] = { "self", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxCaret_Hide(_arg0
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } Py_INCREF(Py_None
);
3260 _resultobj
= Py_None
;
3264 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3265 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3267 wxBusyCursor
* _result
;
3268 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "cursor", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) return NULL
;
3290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3291 _resultobj
= Py_BuildValue("s",_ptemp
);
3294 _resultobj
= Py_None
;
3299 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3300 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3302 wxBusyCursor
* _arg0
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 delete_wxBusyCursor(_arg0
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) return NULL
;
3322 } Py_INCREF(Py_None
);
3323 _resultobj
= Py_None
;
3327 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3328 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3330 wxWindowDisabler
* _result
;
3331 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3332 PyObject
* _argo0
= 0;
3333 char *_kwnames
[] = { "winToSkip", NULL
};
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) return NULL
;
3353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3354 _resultobj
= Py_BuildValue("s",_ptemp
);
3357 _resultobj
= Py_None
;
3362 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3363 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3365 wxWindowDisabler
* _arg0
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 delete_wxWindowDisabler(_arg0
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3391 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3393 wxMutexGuiLocker
* _result
;
3394 char *_kwnames
[] = { NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) return NULL
;
3407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3408 _resultobj
= Py_BuildValue("s",_ptemp
);
3411 _resultobj
= Py_None
;
3416 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3417 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3419 wxMutexGuiLocker
* _arg0
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 delete_wxMutexGuiLocker(_arg0
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3439 } Py_INCREF(Py_None
);
3440 _resultobj
= Py_None
;
3444 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3445 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxTipProvider
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 delete_wxTipProvider(_arg0
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3467 } Py_INCREF(Py_None
);
3468 _resultobj
= Py_None
;
3472 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3473 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3476 wxTipProvider
* _arg0
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "self", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) return NULL
;
3498 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3500 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3509 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3510 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3513 wxTipProvider
* _arg0
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3533 } _resultobj
= Py_BuildValue("i",_result
);
3537 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3538 wxPyTipProvider
*src
;
3539 wxTipProvider
*dest
;
3540 src
= (wxPyTipProvider
*) ptr
;
3541 dest
= (wxTipProvider
*) src
;
3542 return (void *) dest
;
3545 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3546 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxPyTipProvider
* _result
;
3550 char *_kwnames
[] = { "currentTip", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3564 _resultobj
= Py_BuildValue("s",_ptemp
);
3567 _resultobj
= Py_None
;
3572 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3573 wxGenericDragImage
*src
;
3575 src
= (wxGenericDragImage
*) ptr
;
3576 dest
= (wxObject
*) src
;
3577 return (void *) dest
;
3580 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3581 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxGenericDragImage
* _result
;
3585 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3586 PyObject
* _argo0
= 0;
3587 PyObject
* _argo1
= 0;
3588 char *_kwnames
[] = { "image","cursor", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3616 _resultobj
= Py_BuildValue("s",_ptemp
);
3619 _resultobj
= Py_None
;
3624 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3625 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3627 wxGenericDragImage
* _result
;
3629 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3630 PyObject
* _argo0
= 0;
3631 PyObject
* _argo1
= 0;
3632 char *_kwnames
[] = { "image","cursor", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) return NULL
;
3659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3660 _resultobj
= Py_BuildValue("s",_ptemp
);
3663 _resultobj
= Py_None
;
3668 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3669 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3671 wxGenericDragImage
* _result
;
3673 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3674 PyObject
* _obj0
= 0;
3675 PyObject
* _argo1
= 0;
3676 char *_kwnames
[] = { "str","cursor", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3683 _arg0
= wxString_in_helper(_obj0
);
3688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) return NULL
;
3701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3702 _resultobj
= Py_BuildValue("s",_ptemp
);
3705 _resultobj
= Py_None
;
3714 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3715 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3717 wxGenericDragImage
* _result
;
3719 wxTreeItemId
* _arg1
;
3720 PyObject
* _argo0
= 0;
3721 PyObject
* _argo1
= 0;
3722 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) return NULL
;
3749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3750 _resultobj
= Py_BuildValue("s",_ptemp
);
3753 _resultobj
= Py_None
;
3758 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3759 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3761 wxGenericDragImage
* _result
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "listCtrl","id", NULL
};
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) return NULL
;
3785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3786 _resultobj
= Py_BuildValue("s",_ptemp
);
3789 _resultobj
= Py_None
;
3794 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3795 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3797 wxGenericDragImage
* _arg0
;
3798 PyObject
* _argo0
= 0;
3799 char *_kwnames
[] = { "self", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 delete_wxGenericDragImage(_arg0
);
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) return NULL
;
3817 } Py_INCREF(Py_None
);
3818 _resultobj
= Py_None
;
3822 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3823 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
* _resultobj
;
3825 wxGenericDragImage
* _arg0
;
3827 PyObject
* _argo0
= 0;
3828 PyObject
* _argo1
= 0;
3829 char *_kwnames
[] = { "self","bitmap", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3860 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3863 wxGenericDragImage
* _arg0
;
3866 bool _arg3
= (bool ) FALSE
;
3867 wxRect
* _arg4
= (wxRect
*) NULL
;
3868 PyObject
* _argo0
= 0;
3870 PyObject
* _obj1
= 0;
3871 PyObject
* _argo2
= 0;
3872 int tempbool3
= (int) FALSE
;
3874 PyObject
* _obj4
= 0;
3875 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3889 if (! wxPoint_helper(_obj1
, &_arg1
))
3893 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3899 _arg3
= (bool ) tempbool3
;
3903 if (! wxRect_helper(_obj4
, &_arg4
))
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) return NULL
;
3912 } _resultobj
= Py_BuildValue("i",_result
);
3916 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3917 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3920 wxGenericDragImage
* _arg0
;
3924 PyObject
* _argo0
= 0;
3926 PyObject
* _obj1
= 0;
3927 PyObject
* _argo2
= 0;
3928 PyObject
* _argo3
= 0;
3929 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3943 if (! wxPoint_helper(_obj1
, &_arg1
))
3947 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3954 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) return NULL
;
3966 } _resultobj
= Py_BuildValue("i",_result
);
3970 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3971 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3974 wxGenericDragImage
* _arg0
;
3975 PyObject
* _argo0
= 0;
3976 char *_kwnames
[] = { "self", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) return NULL
;
3994 } _resultobj
= Py_BuildValue("i",_result
);
3998 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3999 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 wxGenericDragImage
* _arg0
;
4004 PyObject
* _argo0
= 0;
4006 PyObject
* _obj1
= 0;
4007 char *_kwnames
[] = { "self","pt", NULL
};
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4021 if (! wxPoint_helper(_obj1
, &_arg1
))
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) return NULL
;
4030 } _resultobj
= Py_BuildValue("i",_result
);
4034 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4035 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4038 wxGenericDragImage
* _arg0
;
4039 PyObject
* _argo0
= 0;
4040 char *_kwnames
[] = { "self", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 _result
= (bool )wxDragImage_Show(_arg0
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) return NULL
;
4058 } _resultobj
= Py_BuildValue("i",_result
);
4062 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4063 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4066 wxGenericDragImage
* _arg0
;
4067 PyObject
* _argo0
= 0;
4068 char *_kwnames
[] = { "self", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 _result
= (bool )wxDragImage_Hide(_arg0
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) return NULL
;
4086 } _resultobj
= Py_BuildValue("i",_result
);
4090 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4091 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4094 wxGenericDragImage
* _arg0
;
4096 PyObject
* _argo0
= 0;
4098 PyObject
* _obj1
= 0;
4099 char *_kwnames
[] = { "self","pos", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4114 if (! wxPoint_helper(_obj1
, &_arg1
))
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4124 _resultobj
= Py_BuildValue("s",_ptemp
);
4128 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4129 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4132 wxGenericDragImage
* _arg0
;
4137 PyObject
* _argo0
= 0;
4139 PyObject
* _obj1
= 0;
4141 PyObject
* _obj2
= 0;
4144 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4158 if (! wxPoint_helper(_obj1
, &_arg1
))
4163 if (! wxPoint_helper(_obj2
, &_arg2
))
4166 _arg3
= (bool ) tempbool3
;
4167 _arg4
= (bool ) tempbool4
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) return NULL
;
4174 } _resultobj
= Py_BuildValue("i",_result
);
4178 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4181 src
= (wxPyTimer
*) ptr
;
4182 dest
= (wxObject
*) src
;
4183 return (void *) dest
;
4186 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4187 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4189 wxPyTimer
* _result
;
4191 PyObject
* _obj0
= 0;
4192 char *_kwnames
[] = { "notify", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) return NULL
;
4208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4209 _resultobj
= Py_BuildValue("s",_ptemp
);
4212 _resultobj
= Py_None
;
4217 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4218 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4221 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 delete_wxPyTimer(_arg0
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } Py_INCREF(Py_None
);
4241 _resultobj
= Py_None
;
4245 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4246 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4250 PyObject
* _argo0
= 0;
4251 char *_kwnames
[] = { "self", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) return NULL
;
4269 } _resultobj
= Py_BuildValue("i",_result
);
4273 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4274 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4278 PyObject
* _argo0
= 0;
4279 char *_kwnames
[] = { "self", NULL
};
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } _resultobj
= Py_BuildValue("i",_result
);
4301 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4302 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) return NULL
;
4325 } _resultobj
= Py_BuildValue("i",_result
);
4329 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4330 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4333 wxEvtHandler
* _arg1
;
4334 int _arg2
= (int ) -1;
4335 PyObject
* _argo0
= 0;
4336 PyObject
* _argo1
= 0;
4337 char *_kwnames
[] = { "self","owner","id", NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) return NULL
;
4362 } Py_INCREF(Py_None
);
4363 _resultobj
= Py_None
;
4367 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4368 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
* _resultobj
;
4371 int _arg1
= (int ) -1;
4372 int _arg2
= (int ) FALSE
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } Py_INCREF(Py_None
);
4393 _resultobj
= Py_None
;
4397 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4398 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 wxPyTimer_Stop(_arg0
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) return NULL
;
4420 } Py_INCREF(Py_None
);
4421 _resultobj
= Py_None
;
4425 #define new_wxStopWatch() (new wxStopWatch())
4426 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4428 wxStopWatch
* _result
;
4429 char *_kwnames
[] = { NULL
};
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 _result
= (wxStopWatch
*)new_wxStopWatch();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) return NULL
;
4442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4443 _resultobj
= Py_BuildValue("s",_ptemp
);
4446 _resultobj
= Py_None
;
4451 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4452 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4454 wxStopWatch
* _arg0
;
4455 PyObject
* _argo0
= 0;
4456 char *_kwnames
[] = { "self", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 delete_wxStopWatch(_arg0
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) return NULL
;
4474 } Py_INCREF(Py_None
);
4475 _resultobj
= Py_None
;
4479 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4480 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
* _resultobj
;
4482 wxStopWatch
* _arg0
;
4483 long _arg1
= (long ) 0;
4484 PyObject
* _argo0
= 0;
4485 char *_kwnames
[] = { "self","t", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxStopWatch_Start(_arg0
,_arg1
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) return NULL
;
4503 } Py_INCREF(Py_None
);
4504 _resultobj
= Py_None
;
4508 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4509 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4511 wxStopWatch
* _arg0
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 wxStopWatch_Pause(_arg0
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4531 } Py_INCREF(Py_None
);
4532 _resultobj
= Py_None
;
4536 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4537 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4539 wxStopWatch
* _arg0
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 wxStopWatch_Resume(_arg0
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4559 } Py_INCREF(Py_None
);
4560 _resultobj
= Py_None
;
4564 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4565 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4568 wxStopWatch
* _arg0
;
4569 PyObject
* _argo0
= 0;
4570 char *_kwnames
[] = { "self", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 _result
= (long )wxStopWatch_Time(_arg0
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4588 } _resultobj
= Py_BuildValue("l",_result
);
4592 #define new_wxLog() (new wxLog())
4593 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4596 char *_kwnames
[] = { NULL
};
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 _result
= (wxLog
*)new_wxLog();
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) return NULL
;
4609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4610 _resultobj
= Py_BuildValue("s",_ptemp
);
4613 _resultobj
= Py_None
;
4618 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4621 char *_kwnames
[] = { NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 _result
= (bool )wxLog::IsEnabled();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) return NULL
;
4632 } _resultobj
= Py_BuildValue("i",_result
);
4636 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4639 bool _arg0
= (bool ) TRUE
;
4640 int tempbool0
= (int) TRUE
;
4641 char *_kwnames
[] = { "doIt", NULL
};
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4646 _arg0
= (bool ) tempbool0
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 _result
= (bool )wxLog::EnableLogging(_arg0
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) return NULL
;
4653 } _resultobj
= Py_BuildValue("i",_result
);
4657 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4659 unsigned long _arg0
;
4661 int _arg2
= (int ) 0;
4662 PyObject
* _obj1
= 0;
4663 char *_kwnames
[] = { "level","szString","t", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4669 _arg1
= wxString_in_helper(_obj1
);
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) return NULL
;
4679 } Py_INCREF(Py_None
);
4680 _resultobj
= Py_None
;
4688 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4689 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
* _resultobj
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } Py_INCREF(Py_None
);
4712 _resultobj
= Py_None
;
4716 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4717 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4721 PyObject
* _argo0
= 0;
4722 char *_kwnames
[] = { "self", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) return NULL
;
4740 } _resultobj
= Py_BuildValue("i",_result
);
4744 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4746 char *_kwnames
[] = { NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 wxLog::FlushActive();
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) return NULL
;
4757 } Py_INCREF(Py_None
);
4758 _resultobj
= Py_None
;
4762 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4765 char *_kwnames
[] = { NULL
};
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 _result
= (wxLog
*)wxLog::GetActiveTarget();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) return NULL
;
4778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4779 _resultobj
= Py_BuildValue("s",_ptemp
);
4782 _resultobj
= Py_None
;
4787 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4791 PyObject
* _argo0
= 0;
4792 char *_kwnames
[] = { "pLogger", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) return NULL
;
4812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4813 _resultobj
= Py_BuildValue("s",_ptemp
);
4816 _resultobj
= Py_None
;
4821 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4823 char *_kwnames
[] = { NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4834 } Py_INCREF(Py_None
);
4835 _resultobj
= Py_None
;
4839 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4841 char *_kwnames
[] = { NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) return NULL
;
4852 } Py_INCREF(Py_None
);
4853 _resultobj
= Py_None
;
4857 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4859 bool _arg0
= (bool ) TRUE
;
4860 int tempbool0
= (int) TRUE
;
4861 char *_kwnames
[] = { "bVerbose", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4866 _arg0
= (bool ) tempbool0
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 wxLog::SetVerbose(_arg0
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) return NULL
;
4873 } Py_INCREF(Py_None
);
4874 _resultobj
= Py_None
;
4878 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4880 char *_kwnames
[] = { NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 wxLog::DontCreateOnDemand();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) return NULL
;
4891 } Py_INCREF(Py_None
);
4892 _resultobj
= Py_None
;
4896 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4899 char *_kwnames
[] = { "ulMask", NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 wxLog::SetTraceMask(_arg0
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) return NULL
;
4910 } Py_INCREF(Py_None
);
4911 _resultobj
= Py_None
;
4915 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4918 PyObject
* _obj0
= 0;
4919 char *_kwnames
[] = { "str", NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4925 _arg0
= wxString_in_helper(_obj0
);
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxLog::AddTraceMask(*_arg0
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) return NULL
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4944 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
* _resultobj
;
4947 PyObject
* _obj0
= 0;
4948 char *_kwnames
[] = { "str", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4954 _arg0
= wxString_in_helper(_obj0
);
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 wxLog::RemoveTraceMask(*_arg0
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) return NULL
;
4964 } Py_INCREF(Py_None
);
4965 _resultobj
= Py_None
;
4973 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4975 char *_kwnames
[] = { NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxLog::ClearTraceMasks();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4991 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4994 PyObject
* _obj0
= 0;
4995 char *_kwnames
[] = { "ts", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5001 _arg0
= wxString_in_helper(_obj0
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 wxLog::SetTimestamp(*_arg0
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) return NULL
;
5011 } Py_INCREF(Py_None
);
5012 _resultobj
= Py_None
;
5020 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
* _resultobj
;
5023 char *_kwnames
[] = { NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 const wxString
& _result_ref
= wxLog::GetTimestamp();
5031 _result
= (wxString
*) &_result_ref
;
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) return NULL
;
5037 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5039 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5045 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5046 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5050 PyObject
* _argo0
= 0;
5051 char *_kwnames
[] = { "self", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 _result
= (bool )wxLog_GetVerbose(_arg0
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) return NULL
;
5069 } _resultobj
= Py_BuildValue("i",_result
);
5073 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5075 unsigned long _result
;
5076 char *_kwnames
[] = { NULL
};
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 _result
= (unsigned long )wxLog::GetTraceMask();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) return NULL
;
5087 } _resultobj
= Py_BuildValue("l",_result
);
5091 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5095 PyObject
* _obj0
= 0;
5096 char *_kwnames
[] = { "mask", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5102 _arg0
= wxString_in_helper(_obj0
);
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) return NULL
;
5112 } _resultobj
= Py_BuildValue("i",_result
);
5120 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5122 wxLog::TimeStamp(&msg
);
5125 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5129 PyObject
* _argo0
= 0;
5130 char *_kwnames
[] = { "self", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) return NULL
;
5150 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5152 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5161 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5164 src
= (wxLogStderr
*) ptr
;
5165 dest
= (wxLog
*) src
;
5166 return (void *) dest
;
5169 #define new_wxLogStderr() (new wxLogStderr())
5170 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
* _resultobj
;
5172 wxLogStderr
* _result
;
5173 char *_kwnames
[] = { NULL
};
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 _result
= (wxLogStderr
*)new_wxLogStderr();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) return NULL
;
5186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5187 _resultobj
= Py_BuildValue("s",_ptemp
);
5190 _resultobj
= Py_None
;
5195 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5198 src
= (wxLogTextCtrl
*) ptr
;
5199 dest
= (wxLog
*) src
;
5200 return (void *) dest
;
5203 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5204 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5206 wxLogTextCtrl
* _result
;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "pTextCtrl", NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) return NULL
;
5229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5230 _resultobj
= Py_BuildValue("s",_ptemp
);
5233 _resultobj
= Py_None
;
5238 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5241 src
= (wxLogGui
*) ptr
;
5242 dest
= (wxLog
*) src
;
5243 return (void *) dest
;
5246 #define new_wxLogGui() (new wxLogGui())
5247 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
* _resultobj
;
5250 char *_kwnames
[] = { NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 _result
= (wxLogGui
*)new_wxLogGui();
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) return NULL
;
5263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5264 _resultobj
= Py_BuildValue("s",_ptemp
);
5267 _resultobj
= Py_None
;
5272 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5275 src
= (wxLogWindow
*) ptr
;
5276 dest
= (wxLog
*) src
;
5277 return (void *) dest
;
5280 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5281 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
* _resultobj
;
5283 wxLogWindow
* _result
;
5286 bool _arg2
= (bool ) TRUE
;
5287 bool _arg3
= (bool ) TRUE
;
5288 PyObject
* _argo0
= 0;
5289 PyObject
* _obj1
= 0;
5290 int tempbool2
= (int) TRUE
;
5291 int tempbool3
= (int) TRUE
;
5292 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5306 _arg1
= wxString_in_helper(_obj1
);
5310 _arg2
= (bool ) tempbool2
;
5311 _arg3
= (bool ) tempbool3
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) return NULL
;
5319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5320 _resultobj
= Py_BuildValue("s",_ptemp
);
5323 _resultobj
= Py_None
;
5332 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5333 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5335 wxLogWindow
* _arg0
;
5336 bool _arg1
= (bool ) TRUE
;
5337 PyObject
* _argo0
= 0;
5338 int tempbool1
= (int) TRUE
;
5339 char *_kwnames
[] = { "self","bShow", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5351 _arg1
= (bool ) tempbool1
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxLogWindow_Show(_arg0
,_arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5364 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5367 wxLogWindow
* _arg0
;
5368 PyObject
* _argo0
= 0;
5369 char *_kwnames
[] = { "self", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5387 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5391 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5392 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5395 wxLogWindow
* _arg0
;
5396 PyObject
* _argo0
= 0;
5397 char *_kwnames
[] = { "self", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) return NULL
;
5417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5418 _resultobj
= Py_BuildValue("s",_ptemp
);
5421 _resultobj
= Py_None
;
5426 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5427 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(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_IsPassingMessages",_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_IsPassingMessages. Expected _wxLogWindow_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 } _resultobj
= Py_BuildValue("i",_result
);
5454 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5455 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
* _resultobj
;
5457 wxLogWindow
* _arg0
;
5459 PyObject
* _argo0
= 0;
5461 char *_kwnames
[] = { "self","bDoPass", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
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_PassMessages. Expected _wxLogWindow_p.");
5473 _arg1
= (bool ) tempbool1
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 wxLogWindow_PassMessages(_arg0
,_arg1
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) return NULL
;
5480 } Py_INCREF(Py_None
);
5481 _resultobj
= Py_None
;
5485 static void *SwigwxLogChainTowxLog(void *ptr
) {
5488 src
= (wxLogChain
*) ptr
;
5489 dest
= (wxLog
*) src
;
5490 return (void *) dest
;
5493 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5494 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5496 wxLogChain
* _result
;
5498 PyObject
* _argo0
= 0;
5499 char *_kwnames
[] = { "logger", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) return NULL
;
5519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5520 _resultobj
= Py_BuildValue("s",_ptemp
);
5523 _resultobj
= Py_None
;
5528 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5529 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
* _resultobj
;
5533 PyObject
* _argo0
= 0;
5534 PyObject
* _argo1
= 0;
5535 char *_kwnames
[] = { "self","logger", NULL
};
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 wxLogChain_SetLog(_arg0
,_arg1
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) return NULL
;
5560 } Py_INCREF(Py_None
);
5561 _resultobj
= Py_None
;
5565 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5566 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5572 char *_kwnames
[] = { "self","bDoPass", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5584 _arg1
= (bool ) tempbool1
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 wxLogChain_PassMessages(_arg0
,_arg1
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) return NULL
;
5591 } Py_INCREF(Py_None
);
5592 _resultobj
= Py_None
;
5596 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5597 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
* _resultobj
;
5601 PyObject
* _argo0
= 0;
5602 char *_kwnames
[] = { "self", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) return NULL
;
5620 } _resultobj
= Py_BuildValue("i",_result
);
5624 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5625 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5629 PyObject
* _argo0
= 0;
5630 char *_kwnames
[] = { "self", NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) return NULL
;
5650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5651 _resultobj
= Py_BuildValue("s",_ptemp
);
5654 _resultobj
= Py_None
;
5659 #define new_wxLogNull() (new wxLogNull())
5660 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5662 wxLogNull
* _result
;
5663 char *_kwnames
[] = { NULL
};
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 _result
= (wxLogNull
*)new_wxLogNull();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) return NULL
;
5676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5677 _resultobj
= Py_BuildValue("s",_ptemp
);
5680 _resultobj
= Py_None
;
5685 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5686 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5689 PyObject
* _argo0
= 0;
5690 char *_kwnames
[] = { "self", NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 delete_wxLogNull(_arg0
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) return NULL
;
5708 } Py_INCREF(Py_None
);
5709 _resultobj
= Py_None
;
5713 static void *SwigwxPyLogTowxLog(void *ptr
) {
5716 src
= (wxPyLog
*) ptr
;
5717 dest
= (wxLog
*) src
;
5718 return (void *) dest
;
5721 #define new_wxPyLog() (new wxPyLog())
5722 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5725 char *_kwnames
[] = { NULL
};
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 _result
= (wxPyLog
*)new_wxPyLog();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) return NULL
;
5738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5739 _resultobj
= Py_BuildValue("s",_ptemp
);
5742 _resultobj
= Py_None
;
5747 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5748 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5753 PyObject
* _argo0
= 0;
5754 PyObject
* _obj1
= 0;
5755 PyObject
* _obj2
= 0;
5756 char *_kwnames
[] = { "self","self","_class", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) return NULL
;
5780 } Py_INCREF(Py_None
);
5781 _resultobj
= Py_None
;
5785 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5786 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
* _resultobj
;
5789 PyObject
* _argo0
= 0;
5790 char *_kwnames
[] = { "self", NULL
};
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 wxPyLog_Destroy(_arg0
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) return NULL
;
5808 } Py_INCREF(Py_None
);
5809 _resultobj
= Py_None
;
5813 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5814 wxProcessEvent
*src
;
5816 src
= (wxProcessEvent
*) ptr
;
5817 dest
= (wxEvent
*) src
;
5818 return (void *) dest
;
5821 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5822 wxProcessEvent
*src
;
5824 src
= (wxProcessEvent
*) ptr
;
5825 dest
= (wxObject
*) src
;
5826 return (void *) dest
;
5829 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5830 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5832 wxProcessEvent
* _result
;
5833 int _arg0
= (int ) 0;
5834 int _arg1
= (int ) 0;
5835 int _arg2
= (int ) 0;
5836 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) return NULL
;
5849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5850 _resultobj
= Py_BuildValue("s",_ptemp
);
5853 _resultobj
= Py_None
;
5858 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5859 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5862 wxProcessEvent
* _arg0
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) return NULL
;
5882 } _resultobj
= Py_BuildValue("i",_result
);
5886 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5887 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5890 wxProcessEvent
* _arg0
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) return NULL
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5915 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5918 wxProcessEvent
* _arg0
;
5920 PyObject
* _argo0
= 0;
5921 char *_kwnames
[] = { "self","m_pid", NULL
};
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) return NULL
;
5939 } _resultobj
= Py_BuildValue("i",_result
);
5943 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5944 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5947 wxProcessEvent
* _arg0
;
5948 PyObject
* _argo0
= 0;
5949 char *_kwnames
[] = { "self", NULL
};
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) return NULL
;
5967 } _resultobj
= Py_BuildValue("i",_result
);
5971 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5972 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5975 wxProcessEvent
* _arg0
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) return NULL
;
5996 } _resultobj
= Py_BuildValue("i",_result
);
6000 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6001 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
* _resultobj
;
6004 wxProcessEvent
* _arg0
;
6005 PyObject
* _argo0
= 0;
6006 char *_kwnames
[] = { "self", NULL
};
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) return NULL
;
6024 } _resultobj
= Py_BuildValue("i",_result
);
6028 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6031 src
= (wxPyProcess
*) ptr
;
6032 dest
= (wxEvtHandler
*) src
;
6033 return (void *) dest
;
6036 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6039 src
= (wxPyProcess
*) ptr
;
6040 dest
= (wxObject
*) src
;
6041 return (void *) dest
;
6044 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6045 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6047 wxPyProcess
* _result
;
6048 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6049 int _arg1
= (int ) -1;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "parent","id", NULL
};
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) return NULL
;
6071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6072 _resultobj
= Py_BuildValue("s",_ptemp
);
6075 _resultobj
= Py_None
;
6080 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6081 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
* _resultobj
;
6083 wxPyProcess
* _arg0
;
6084 PyObject
* _argo0
= 0;
6085 char *_kwnames
[] = { "self", NULL
};
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 wxPyProcess_Destroy(_arg0
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) return NULL
;
6103 } Py_INCREF(Py_None
);
6104 _resultobj
= Py_None
;
6108 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6109 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
* _resultobj
;
6111 wxPyProcess
* _arg0
;
6114 PyObject
* _argo0
= 0;
6115 PyObject
* _obj1
= 0;
6116 PyObject
* _obj2
= 0;
6117 char *_kwnames
[] = { "self","self","_class", NULL
};
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) return NULL
;
6141 } Py_INCREF(Py_None
);
6142 _resultobj
= Py_None
;
6146 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6147 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
* _resultobj
;
6149 wxPyProcess
* _arg0
;
6152 PyObject
* _argo0
= 0;
6153 char *_kwnames
[] = { "self","pid","status", NULL
};
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) return NULL
;
6171 } Py_INCREF(Py_None
);
6172 _resultobj
= Py_None
;
6176 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6177 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6179 wxPyProcess
* _arg0
;
6180 PyObject
* _argo0
= 0;
6181 char *_kwnames
[] = { "self", NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 wxProcess_Redirect(_arg0
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) return NULL
;
6199 } Py_INCREF(Py_None
);
6200 _resultobj
= Py_None
;
6204 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6205 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
* _resultobj
;
6208 wxPyProcess
* _arg0
;
6209 PyObject
* _argo0
= 0;
6210 char *_kwnames
[] = { "self", NULL
};
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) return NULL
;
6228 } _resultobj
= Py_BuildValue("i",_result
);
6232 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6233 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
* _resultobj
;
6235 wxPyProcess
* _arg0
;
6236 PyObject
* _argo0
= 0;
6237 char *_kwnames
[] = { "self", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 wxProcess_Detach(_arg0
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) return NULL
;
6255 } Py_INCREF(Py_None
);
6256 _resultobj
= Py_None
;
6260 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6261 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6263 wxInputStream
* _result
;
6264 wxPyProcess
* _arg0
;
6265 PyObject
* _argo0
= 0;
6266 char *_kwnames
[] = { "self", NULL
};
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) return NULL
;
6285 wxPyInputStream
* _ptr
= NULL
;
6288 _ptr
= new wxPyInputStream(_result
);
6290 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6295 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6296 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6298 wxInputStream
* _result
;
6299 wxPyProcess
* _arg0
;
6300 PyObject
* _argo0
= 0;
6301 char *_kwnames
[] = { "self", NULL
};
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) return NULL
;
6320 wxPyInputStream
* _ptr
= NULL
;
6323 _ptr
= new wxPyInputStream(_result
);
6325 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6330 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6331 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
* _resultobj
;
6333 wxOutputStream
* _result
;
6334 wxPyProcess
* _arg0
;
6335 PyObject
* _argo0
= 0;
6336 char *_kwnames
[] = { "self", NULL
};
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) return NULL
;
6356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6357 _resultobj
= Py_BuildValue("s",_ptemp
);
6360 _resultobj
= Py_None
;
6365 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6366 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6368 wxPyProcess
* _arg0
;
6369 PyObject
* _argo0
= 0;
6370 char *_kwnames
[] = { "self", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 wxProcess_CloseOutput(_arg0
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) return NULL
;
6388 } Py_INCREF(Py_None
);
6389 _resultobj
= Py_None
;
6393 static void *SwigwxJoystickTowxObject(void *ptr
) {
6396 src
= (wxJoystick
*) ptr
;
6397 dest
= (wxObject
*) src
;
6398 return (void *) dest
;
6401 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6402 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
* _resultobj
;
6404 wxJoystick
* _result
;
6405 int _arg0
= (int ) (wxJOYSTICK1
);
6406 char *_kwnames
[] = { "joystick", NULL
};
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) return NULL
;
6419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6420 _resultobj
= Py_BuildValue("s",_ptemp
);
6423 _resultobj
= Py_None
;
6428 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6429 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
* _resultobj
;
6432 PyObject
* _argo0
= 0;
6433 char *_kwnames
[] = { "self", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 delete_wxJoystick(_arg0
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) return NULL
;
6451 } Py_INCREF(Py_None
);
6452 _resultobj
= Py_None
;
6456 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6457 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6461 PyObject
* _argo0
= 0;
6462 char *_kwnames
[] = { "self", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) return NULL
;
6481 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6482 _resultobj
= Py_BuildValue("s",_ptemp
);
6486 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6487 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
* _resultobj
;
6491 PyObject
* _argo0
= 0;
6492 char *_kwnames
[] = { "self", NULL
};
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) return NULL
;
6510 } _resultobj
= Py_BuildValue("i",_result
);
6514 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6515 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
* _resultobj
;
6519 PyObject
* _argo0
= 0;
6520 char *_kwnames
[] = { "self", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) return NULL
;
6538 } _resultobj
= Py_BuildValue("i",_result
);
6542 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6543 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
* _resultobj
;
6547 PyObject
* _argo0
= 0;
6548 char *_kwnames
[] = { "self", NULL
};
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) return NULL
;
6566 } _resultobj
= Py_BuildValue("i",_result
);
6570 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6571 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6575 PyObject
* _argo0
= 0;
6576 char *_kwnames
[] = { "self", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) return NULL
;
6594 } _resultobj
= Py_BuildValue("i",_result
);
6598 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6599 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6603 PyObject
* _argo0
= 0;
6604 char *_kwnames
[] = { "self", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) return NULL
;
6622 } _resultobj
= Py_BuildValue("i",_result
);
6626 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6627 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6631 PyObject
* _argo0
= 0;
6632 char *_kwnames
[] = { "self", NULL
};
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) return NULL
;
6650 } _resultobj
= Py_BuildValue("i",_result
);
6654 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6655 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
* _resultobj
;
6659 PyObject
* _argo0
= 0;
6660 char *_kwnames
[] = { "self", NULL
};
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) return NULL
;
6678 } _resultobj
= Py_BuildValue("i",_result
);
6682 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6683 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
* _resultobj
;
6687 PyObject
* _argo0
= 0;
6688 char *_kwnames
[] = { "self", NULL
};
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) return NULL
;
6706 } _resultobj
= Py_BuildValue("i",_result
);
6710 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6711 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
* _resultobj
;
6715 PyObject
* _argo0
= 0;
6716 char *_kwnames
[] = { "self","threshold", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) return NULL
;
6734 } Py_INCREF(Py_None
);
6735 _resultobj
= Py_None
;
6739 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6740 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6744 PyObject
* _argo0
= 0;
6745 char *_kwnames
[] = { "self", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 _result
= (bool )wxJoystick_IsOk(_arg0
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) return NULL
;
6763 } _resultobj
= Py_BuildValue("i",_result
);
6767 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6768 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
* _resultobj
;
6772 PyObject
* _argo0
= 0;
6773 char *_kwnames
[] = { "self", NULL
};
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) return NULL
;
6791 } _resultobj
= Py_BuildValue("i",_result
);
6795 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6796 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
* _resultobj
;
6800 PyObject
* _argo0
= 0;
6801 char *_kwnames
[] = { "self", NULL
};
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) return NULL
;
6819 } _resultobj
= Py_BuildValue("i",_result
);
6823 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6824 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
* _resultobj
;
6828 PyObject
* _argo0
= 0;
6829 char *_kwnames
[] = { "self", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 _result
= (int )wxJoystick_GetProductId(_arg0
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) return NULL
;
6847 } _resultobj
= Py_BuildValue("i",_result
);
6851 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6852 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
* _resultobj
;
6856 PyObject
* _argo0
= 0;
6857 char *_kwnames
[] = { "self", NULL
};
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) return NULL
;
6877 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6879 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6888 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6889 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
* _resultobj
;
6893 PyObject
* _argo0
= 0;
6894 char *_kwnames
[] = { "self", NULL
};
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 _result
= (int )wxJoystick_GetXMin(_arg0
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) return NULL
;
6912 } _resultobj
= Py_BuildValue("i",_result
);
6916 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6917 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
* _resultobj
;
6921 PyObject
* _argo0
= 0;
6922 char *_kwnames
[] = { "self", NULL
};
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 _result
= (int )wxJoystick_GetYMin(_arg0
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) return NULL
;
6940 } _resultobj
= Py_BuildValue("i",_result
);
6944 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6945 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
* _resultobj
;
6949 PyObject
* _argo0
= 0;
6950 char *_kwnames
[] = { "self", NULL
};
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 _result
= (int )wxJoystick_GetZMin(_arg0
);
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) return NULL
;
6968 } _resultobj
= Py_BuildValue("i",_result
);
6972 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6973 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6977 PyObject
* _argo0
= 0;
6978 char *_kwnames
[] = { "self", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 _result
= (int )wxJoystick_GetXMax(_arg0
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) return NULL
;
6996 } _resultobj
= Py_BuildValue("i",_result
);
7000 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7001 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7005 PyObject
* _argo0
= 0;
7006 char *_kwnames
[] = { "self", NULL
};
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 _result
= (int )wxJoystick_GetYMax(_arg0
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) return NULL
;
7024 } _resultobj
= Py_BuildValue("i",_result
);
7028 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7029 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
* _resultobj
;
7033 PyObject
* _argo0
= 0;
7034 char *_kwnames
[] = { "self", NULL
};
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 _result
= (int )wxJoystick_GetZMax(_arg0
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) return NULL
;
7052 } _resultobj
= Py_BuildValue("i",_result
);
7056 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7057 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
* _resultobj
;
7061 PyObject
* _argo0
= 0;
7062 char *_kwnames
[] = { "self", NULL
};
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) return NULL
;
7080 } _resultobj
= Py_BuildValue("i",_result
);
7084 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7085 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
* _resultobj
;
7089 PyObject
* _argo0
= 0;
7090 char *_kwnames
[] = { "self", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) return NULL
;
7108 } _resultobj
= Py_BuildValue("i",_result
);
7112 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7113 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
* _resultobj
;
7117 PyObject
* _argo0
= 0;
7118 char *_kwnames
[] = { "self", NULL
};
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) return NULL
;
7136 } _resultobj
= Py_BuildValue("i",_result
);
7140 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7141 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
* _resultobj
;
7145 PyObject
* _argo0
= 0;
7146 char *_kwnames
[] = { "self", NULL
};
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) return NULL
;
7164 } _resultobj
= Py_BuildValue("i",_result
);
7168 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7169 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
* _resultobj
;
7173 PyObject
* _argo0
= 0;
7174 char *_kwnames
[] = { "self", NULL
};
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) return NULL
;
7192 } _resultobj
= Py_BuildValue("i",_result
);
7196 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7197 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
* _resultobj
;
7201 PyObject
* _argo0
= 0;
7202 char *_kwnames
[] = { "self", NULL
};
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) return NULL
;
7220 } _resultobj
= Py_BuildValue("i",_result
);
7224 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7225 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7229 PyObject
* _argo0
= 0;
7230 char *_kwnames
[] = { "self", NULL
};
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) return NULL
;
7248 } _resultobj
= Py_BuildValue("i",_result
);
7252 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7253 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
* _resultobj
;
7257 PyObject
* _argo0
= 0;
7258 char *_kwnames
[] = { "self", NULL
};
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) return NULL
;
7276 } _resultobj
= Py_BuildValue("i",_result
);
7280 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7281 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
* _resultobj
;
7285 PyObject
* _argo0
= 0;
7286 char *_kwnames
[] = { "self", NULL
};
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 _result
= (int )wxJoystick_GetUMin(_arg0
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) return NULL
;
7304 } _resultobj
= Py_BuildValue("i",_result
);
7308 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7309 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7313 PyObject
* _argo0
= 0;
7314 char *_kwnames
[] = { "self", NULL
};
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 _result
= (int )wxJoystick_GetUMax(_arg0
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) return NULL
;
7332 } _resultobj
= Py_BuildValue("i",_result
);
7336 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7337 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
* _resultobj
;
7341 PyObject
* _argo0
= 0;
7342 char *_kwnames
[] = { "self", NULL
};
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 _result
= (int )wxJoystick_GetVMin(_arg0
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) return NULL
;
7360 } _resultobj
= Py_BuildValue("i",_result
);
7364 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7365 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
* _resultobj
;
7369 PyObject
* _argo0
= 0;
7370 char *_kwnames
[] = { "self", NULL
};
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 _result
= (int )wxJoystick_GetVMax(_arg0
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) return NULL
;
7388 } _resultobj
= Py_BuildValue("i",_result
);
7392 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7393 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7397 PyObject
* _argo0
= 0;
7398 char *_kwnames
[] = { "self", NULL
};
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) return NULL
;
7416 } _resultobj
= Py_BuildValue("i",_result
);
7420 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7421 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
* _resultobj
;
7425 PyObject
* _argo0
= 0;
7426 char *_kwnames
[] = { "self", NULL
};
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 _result
= (bool )wxJoystick_HasZ(_arg0
);
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) return NULL
;
7444 } _resultobj
= Py_BuildValue("i",_result
);
7448 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7449 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
* _resultobj
;
7453 PyObject
* _argo0
= 0;
7454 char *_kwnames
[] = { "self", NULL
};
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 _result
= (bool )wxJoystick_HasU(_arg0
);
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) return NULL
;
7472 } _resultobj
= Py_BuildValue("i",_result
);
7476 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7477 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7481 PyObject
* _argo0
= 0;
7482 char *_kwnames
[] = { "self", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 _result
= (bool )wxJoystick_HasV(_arg0
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) return NULL
;
7500 } _resultobj
= Py_BuildValue("i",_result
);
7504 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7505 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
* _resultobj
;
7509 PyObject
* _argo0
= 0;
7510 char *_kwnames
[] = { "self", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) return NULL
;
7528 } _resultobj
= Py_BuildValue("i",_result
);
7532 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7533 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
* _resultobj
;
7537 PyObject
* _argo0
= 0;
7538 char *_kwnames
[] = { "self", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) return NULL
;
7556 } _resultobj
= Py_BuildValue("i",_result
);
7560 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7561 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
* _resultobj
;
7565 PyObject
* _argo0
= 0;
7566 char *_kwnames
[] = { "self", NULL
};
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) return NULL
;
7584 } _resultobj
= Py_BuildValue("i",_result
);
7588 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7589 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
* _resultobj
;
7594 int _arg2
= (int ) 0;
7595 PyObject
* _argo0
= 0;
7596 PyObject
* _argo1
= 0;
7597 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) return NULL
;
7622 } _resultobj
= Py_BuildValue("i",_result
);
7626 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7627 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
* _resultobj
;
7631 PyObject
* _argo0
= 0;
7632 char *_kwnames
[] = { "self", NULL
};
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) return NULL
;
7650 } _resultobj
= Py_BuildValue("i",_result
);
7654 static void *SwigwxWaveTowxObject(void *ptr
) {
7657 src
= (wxWave
*) ptr
;
7658 dest
= (wxObject
*) src
;
7659 return (void *) dest
;
7662 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7663 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
* _resultobj
;
7667 bool _arg1
= (bool ) FALSE
;
7668 PyObject
* _obj0
= 0;
7669 int tempbool1
= (int) FALSE
;
7670 char *_kwnames
[] = { "fileName","isResource", NULL
};
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7677 _arg0
= wxString_in_helper(_obj0
);
7681 _arg1
= (bool ) tempbool1
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) return NULL
;
7689 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7690 _resultobj
= Py_BuildValue("s",_ptemp
);
7693 _resultobj
= Py_None
;
7702 #define delete_wxWave(_swigobj) (delete _swigobj)
7703 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
* _resultobj
;
7706 PyObject
* _argo0
= 0;
7707 char *_kwnames
[] = { "self", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 delete_wxWave(_arg0
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) return NULL
;
7725 } Py_INCREF(Py_None
);
7726 _resultobj
= Py_None
;
7730 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7731 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
* _resultobj
;
7735 PyObject
* _argo0
= 0;
7736 char *_kwnames
[] = { "self", NULL
};
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 _result
= (bool )wxWave_IsOk(_arg0
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) return NULL
;
7754 } _resultobj
= Py_BuildValue("i",_result
);
7758 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7759 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
* _resultobj
;
7763 bool _arg1
= (bool ) TRUE
;
7764 bool _arg2
= (bool ) FALSE
;
7765 PyObject
* _argo0
= 0;
7766 int tempbool1
= (int) TRUE
;
7767 int tempbool2
= (int) FALSE
;
7768 char *_kwnames
[] = { "self","async","looped", NULL
};
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7780 _arg1
= (bool ) tempbool1
;
7781 _arg2
= (bool ) tempbool2
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) return NULL
;
7788 } _resultobj
= Py_BuildValue("i",_result
);
7792 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7793 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
* _resultobj
;
7795 wxFileTypeInfo
* _result
;
7800 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) return NULL
;
7813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7814 _resultobj
= Py_BuildValue("s",_ptemp
);
7817 _resultobj
= Py_None
;
7822 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7823 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
* _resultobj
;
7825 wxFileTypeInfo
* _result
;
7826 wxArrayString
* _arg0
;
7827 PyObject
* _obj0
= 0;
7828 char *_kwnames
[] = { "sArray", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7835 if (! PySequence_Check(_obj0
)) {
7836 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7839 _arg0
= new wxArrayString
;
7840 int i
, len
=PySequence_Length(_obj0
);
7841 for (i
=0; i
<len
; i
++) {
7842 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7844 PyObject
* str
= PyObject_Unicode(item
);
7845 _arg0
->Add(PyUnicode_AsUnicode(str
));
7847 PyObject
* str
= PyObject_Str(item
);
7848 _arg0
->Add(PyString_AsString(str
));
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) return NULL
;
7861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7862 _resultobj
= Py_BuildValue("s",_ptemp
);
7865 _resultobj
= Py_None
;
7874 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7875 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
* _resultobj
;
7877 wxFileTypeInfo
* _result
;
7878 char *_kwnames
[] = { NULL
};
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) return NULL
;
7891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7892 _resultobj
= Py_BuildValue("s",_ptemp
);
7895 _resultobj
= Py_None
;
7900 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7901 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
* _resultobj
;
7904 wxFileTypeInfo
* _arg0
;
7905 PyObject
* _argo0
= 0;
7906 char *_kwnames
[] = { "self", NULL
};
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) return NULL
;
7924 } _resultobj
= Py_BuildValue("i",_result
);
7928 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7929 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
* _resultobj
;
7931 wxFileTypeInfo
* _arg0
;
7933 int _arg2
= (int ) 0;
7934 PyObject
* _argo0
= 0;
7935 PyObject
* _obj1
= 0;
7936 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7949 _arg1
= wxString_in_helper(_obj1
);
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) return NULL
;
7959 } Py_INCREF(Py_None
);
7960 _resultobj
= Py_None
;
7968 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7969 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
* _resultobj
;
7971 wxFileTypeInfo
* _arg0
;
7973 PyObject
* _argo0
= 0;
7974 PyObject
* _obj1
= 0;
7975 char *_kwnames
[] = { "self","shortDesc", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7988 _arg1
= wxString_in_helper(_obj1
);
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) return NULL
;
7998 } Py_INCREF(Py_None
);
7999 _resultobj
= Py_None
;
8007 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8008 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
* _resultobj
;
8011 wxFileTypeInfo
* _arg0
;
8012 PyObject
* _argo0
= 0;
8013 char *_kwnames
[] = { "self", NULL
};
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8028 _result
= (wxString
*) &_result_ref
;
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) return NULL
;
8034 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8036 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8042 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8043 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
* _resultobj
;
8046 wxFileTypeInfo
* _arg0
;
8047 PyObject
* _argo0
= 0;
8048 char *_kwnames
[] = { "self", NULL
};
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8063 _result
= (wxString
*) &_result_ref
;
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) return NULL
;
8069 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8071 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8077 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8078 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
* _resultobj
;
8081 wxFileTypeInfo
* _arg0
;
8082 PyObject
* _argo0
= 0;
8083 char *_kwnames
[] = { "self", NULL
};
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8098 _result
= (wxString
*) &_result_ref
;
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) return NULL
;
8104 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8106 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8112 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8113 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
* _resultobj
;
8116 wxFileTypeInfo
* _arg0
;
8117 PyObject
* _argo0
= 0;
8118 char *_kwnames
[] = { "self", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8133 _result
= (wxString
*) &_result_ref
;
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) return NULL
;
8139 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8141 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8147 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8148 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
* _resultobj
;
8151 wxFileTypeInfo
* _arg0
;
8152 PyObject
* _argo0
= 0;
8153 char *_kwnames
[] = { "self", NULL
};
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8168 _result
= (wxString
*) &_result_ref
;
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) return NULL
;
8174 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8176 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8182 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8183 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8184 return wxArrayString2PyList_helper(arr
);
8186 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
* _resultobj
;
8189 wxFileTypeInfo
* _arg0
;
8190 PyObject
* _argo0
= 0;
8191 char *_kwnames
[] = { "self", NULL
};
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) return NULL
;
8210 _resultobj
= _result
;
8215 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8216 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
* _resultobj
;
8219 wxFileTypeInfo
* _arg0
;
8220 PyObject
* _argo0
= 0;
8221 char *_kwnames
[] = { "self", NULL
};
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8235 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) return NULL
;
8239 } _resultobj
= Py_BuildValue("i",_result
);
8243 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8244 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
* _resultobj
;
8247 wxFileTypeInfo
* _arg0
;
8248 PyObject
* _argo0
= 0;
8249 char *_kwnames
[] = { "self", NULL
};
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8264 _result
= (wxString
*) &_result_ref
;
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) return NULL
;
8270 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8272 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8278 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8279 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
* _resultobj
;
8282 wxFileTypeInfo
* _arg0
;
8283 PyObject
* _argo0
= 0;
8284 char *_kwnames
[] = { "self", NULL
};
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) return NULL
;
8302 } _resultobj
= Py_BuildValue("i",_result
);
8306 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8307 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
* _resultobj
;
8309 wxFileType
* _result
;
8310 wxFileTypeInfo
* _arg0
;
8311 PyObject
* _argo0
= 0;
8312 char *_kwnames
[] = { "ftInfo", NULL
};
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) return NULL
;
8332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8333 _resultobj
= Py_BuildValue("s",_ptemp
);
8336 _resultobj
= Py_None
;
8341 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8343 if (self
->GetMimeType(&str
)) {
8345 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8347 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8353 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
* _resultobj
;
8357 PyObject
* _argo0
= 0;
8358 char *_kwnames
[] = { "self", NULL
};
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) return NULL
;
8377 _resultobj
= _result
;
8382 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8384 if (self
->GetMimeTypes(arr
))
8385 return wxArrayString2PyList_helper(arr
);
8389 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
* _resultobj
;
8393 PyObject
* _argo0
= 0;
8394 char *_kwnames
[] = { "self", NULL
};
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) return NULL
;
8413 _resultobj
= _result
;
8418 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8420 if (self
->GetExtensions(arr
))
8421 return wxArrayString2PyList_helper(arr
);
8425 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
* _resultobj
;
8429 PyObject
* _argo0
= 0;
8430 char *_kwnames
[] = { "self", NULL
};
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) return NULL
;
8449 _resultobj
= _result
;
8454 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8456 if (self
->GetIcon(&icon
))
8457 return new wxIcon(icon
);
8461 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
* _resultobj
;
8465 PyObject
* _argo0
= 0;
8466 char *_kwnames
[] = { "self", NULL
};
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) return NULL
;
8486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8487 _resultobj
= Py_BuildValue("s",_ptemp
);
8490 _resultobj
= Py_None
;
8495 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8499 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8500 wxPyBeginBlockThreads();
8501 PyObject
* tuple
= PyTuple_New(3);
8502 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8505 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8507 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8509 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8510 wxPyEndBlockThreads();
8516 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
* _resultobj
;
8520 PyObject
* _argo0
= 0;
8521 char *_kwnames
[] = { "self", NULL
};
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) return NULL
;
8540 _resultobj
= _result
;
8545 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8547 if (self
->GetDescription(&str
)) {
8549 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8551 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8556 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
* _resultobj
;
8560 PyObject
* _argo0
= 0;
8561 char *_kwnames
[] = { "self", NULL
};
8564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) return NULL
;
8580 _resultobj
= _result
;
8585 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8587 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8589 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8591 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8596 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
* _resultobj
;
8601 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8602 PyObject
* _argo0
= 0;
8603 PyObject
* _obj1
= 0;
8604 PyObject
* _obj2
= 0;
8605 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8618 _arg1
= wxString_in_helper(_obj1
);
8624 _arg2
= wxString_in_helper(_obj2
);
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) return NULL
;
8635 _resultobj
= _result
;
8648 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8650 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8652 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8654 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8659 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
* _resultobj
;
8664 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8665 PyObject
* _argo0
= 0;
8666 PyObject
* _obj1
= 0;
8667 PyObject
* _obj2
= 0;
8668 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8681 _arg1
= wxString_in_helper(_obj1
);
8687 _arg2
= wxString_in_helper(_obj2
);
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) return NULL
;
8698 _resultobj
= _result
;
8711 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8712 wxArrayString verbs
;
8713 wxArrayString commands
;
8714 if (self
->GetAllCommands(&verbs
, &commands
,
8715 wxFileType::MessageParameters(filename
, mimetype
))) {
8716 wxPyBeginBlockThreads();
8717 PyObject
* tuple
= PyTuple_New(2);
8718 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8719 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8720 wxPyEndBlockThreads();
8726 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
* _resultobj
;
8731 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8732 PyObject
* _argo0
= 0;
8733 PyObject
* _obj1
= 0;
8734 PyObject
* _obj2
= 0;
8735 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8748 _arg1
= wxString_in_helper(_obj1
);
8754 _arg2
= wxString_in_helper(_obj2
);
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) return NULL
;
8765 _resultobj
= _result
;
8778 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8779 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
* _resultobj
;
8785 bool _arg3
= (bool ) TRUE
;
8786 PyObject
* _argo0
= 0;
8787 PyObject
* _obj1
= 0;
8788 PyObject
* _obj2
= 0;
8789 int tempbool3
= (int) TRUE
;
8790 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8803 _arg1
= wxString_in_helper(_obj1
);
8808 _arg2
= wxString_in_helper(_obj2
);
8812 _arg3
= (bool ) tempbool3
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) return NULL
;
8819 } _resultobj
= Py_BuildValue("i",_result
);
8831 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8832 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
* _resultobj
;
8836 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8837 int _arg2
= (int ) 0;
8838 PyObject
* _argo0
= 0;
8839 PyObject
* _obj1
= 0;
8840 char *_kwnames
[] = { "self","cmd","index", NULL
};
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8854 _arg1
= wxString_in_helper(_obj1
);
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) return NULL
;
8864 } _resultobj
= Py_BuildValue("i",_result
);
8872 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8873 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
* _resultobj
;
8877 PyObject
* _argo0
= 0;
8878 char *_kwnames
[] = { "self", NULL
};
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 _result
= (bool )wxFileType_Unassociate(_arg0
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) return NULL
;
8896 } _resultobj
= Py_BuildValue("i",_result
);
8900 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
* _resultobj
;
8904 wxFileType::MessageParameters
* _arg1
;
8905 PyObject
* _obj0
= 0;
8906 PyObject
* _argo1
= 0;
8907 char *_kwnames
[] = { "command","params", NULL
};
8910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8913 _arg0
= wxString_in_helper(_obj0
);
8918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) return NULL
;
8932 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8934 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8947 #define delete_wxFileType(_swigobj) (delete _swigobj)
8948 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8951 PyObject
* _argo0
= 0;
8952 char *_kwnames
[] = { "self", NULL
};
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 delete_wxFileType(_arg0
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) return NULL
;
8970 } Py_INCREF(Py_None
);
8971 _resultobj
= Py_None
;
8975 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8980 PyObject
* _obj0
= 0;
8981 PyObject
* _obj1
= 0;
8982 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8988 _arg0
= wxString_in_helper(_obj0
);
8993 _arg1
= wxString_in_helper(_obj1
);
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) return NULL
;
9003 } _resultobj
= Py_BuildValue("i",_result
);
9015 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9016 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
* _resultobj
;
9018 wxMimeTypesManager
* _result
;
9019 char *_kwnames
[] = { NULL
};
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) return NULL
;
9032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9033 _resultobj
= Py_BuildValue("s",_ptemp
);
9036 _resultobj
= Py_None
;
9041 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9042 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
* _resultobj
;
9044 wxMimeTypesManager
* _arg0
;
9045 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9046 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9047 PyObject
* _argo0
= 0;
9048 PyObject
* _obj2
= 0;
9049 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9063 _arg2
= wxString_in_helper(_obj2
);
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) return NULL
;
9073 } Py_INCREF(Py_None
);
9074 _resultobj
= Py_None
;
9082 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9083 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
* _resultobj
;
9085 wxMimeTypesManager
* _arg0
;
9086 PyObject
* _argo0
= 0;
9087 char *_kwnames
[] = { "self", NULL
};
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 wxMimeTypesManager_ClearData(_arg0
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) return NULL
;
9105 } Py_INCREF(Py_None
);
9106 _resultobj
= Py_None
;
9110 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9111 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
* _resultobj
;
9113 wxFileType
* _result
;
9114 wxMimeTypesManager
* _arg0
;
9116 PyObject
* _argo0
= 0;
9117 PyObject
* _obj1
= 0;
9118 char *_kwnames
[] = { "self","ext", NULL
};
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9132 _arg1
= wxString_in_helper(_obj1
);
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) return NULL
;
9143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9144 _resultobj
= Py_BuildValue("s",_ptemp
);
9147 _resultobj
= Py_None
;
9156 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9157 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
* _resultobj
;
9159 wxFileType
* _result
;
9160 wxMimeTypesManager
* _arg0
;
9162 PyObject
* _argo0
= 0;
9163 PyObject
* _obj1
= 0;
9164 char *_kwnames
[] = { "self","mimeType", NULL
};
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9178 _arg1
= wxString_in_helper(_obj1
);
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) return NULL
;
9189 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9190 _resultobj
= Py_BuildValue("s",_ptemp
);
9193 _resultobj
= Py_None
;
9202 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9203 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
* _resultobj
;
9206 wxMimeTypesManager
* _arg0
;
9208 bool _arg2
= (bool ) FALSE
;
9209 PyObject
* _argo0
= 0;
9210 PyObject
* _obj1
= 0;
9211 int tempbool2
= (int) FALSE
;
9212 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9225 _arg1
= wxString_in_helper(_obj1
);
9229 _arg2
= (bool ) tempbool2
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) return NULL
;
9236 } _resultobj
= Py_BuildValue("i",_result
);
9244 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9245 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
* _resultobj
;
9248 wxMimeTypesManager
* _arg0
;
9250 PyObject
* _argo0
= 0;
9251 PyObject
* _obj1
= 0;
9252 char *_kwnames
[] = { "self","filename", NULL
};
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9265 _arg1
= wxString_in_helper(_obj1
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) return NULL
;
9275 } _resultobj
= Py_BuildValue("i",_result
);
9283 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9285 self
->EnumAllFileTypes(arr
);
9286 return wxArrayString2PyList_helper(arr
);
9288 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
* _resultobj
;
9291 wxMimeTypesManager
* _arg0
;
9292 PyObject
* _argo0
= 0;
9293 char *_kwnames
[] = { "self", NULL
};
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) return NULL
;
9312 _resultobj
= _result
;
9317 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9318 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9320 wxMimeTypesManager
* _arg0
;
9321 wxFileTypeInfo
* _arg1
;
9322 PyObject
* _argo0
= 0;
9323 PyObject
* _argo1
= 0;
9324 char *_kwnames
[] = { "self","ft", NULL
};
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) return NULL
;
9349 } Py_INCREF(Py_None
);
9350 _resultobj
= Py_None
;
9354 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9355 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
* _resultobj
;
9357 wxFileType
* _result
;
9358 wxMimeTypesManager
* _arg0
;
9359 wxFileTypeInfo
* _arg1
;
9360 PyObject
* _argo0
= 0;
9361 PyObject
* _argo1
= 0;
9362 char *_kwnames
[] = { "self","ftInfo", NULL
};
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) return NULL
;
9389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9390 _resultobj
= Py_BuildValue("s",_ptemp
);
9393 _resultobj
= Py_None
;
9398 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9399 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
* _resultobj
;
9402 wxMimeTypesManager
* _arg0
;
9404 PyObject
* _argo0
= 0;
9405 PyObject
* _argo1
= 0;
9406 char *_kwnames
[] = { "self","ft", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) return NULL
;
9431 } _resultobj
= Py_BuildValue("i",_result
);
9435 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9436 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
* _resultobj
;
9438 wxMimeTypesManager
* _arg0
;
9439 PyObject
* _argo0
= 0;
9440 char *_kwnames
[] = { "self", NULL
};
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 delete_wxMimeTypesManager(_arg0
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) return NULL
;
9458 } Py_INCREF(Py_None
);
9459 _resultobj
= Py_None
;
9463 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9464 wxPyArtProvider
*src
;
9466 src
= (wxPyArtProvider
*) ptr
;
9467 dest
= (wxObject
*) src
;
9468 return (void *) dest
;
9471 #define new_wxArtProvider() (new wxPyArtProvider())
9472 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9474 wxPyArtProvider
* _result
;
9475 char *_kwnames
[] = { NULL
};
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) return NULL
;
9488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9489 _resultobj
= Py_BuildValue("s",_ptemp
);
9492 _resultobj
= Py_None
;
9497 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9498 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
* _resultobj
;
9500 wxPyArtProvider
* _arg0
;
9503 PyObject
* _argo0
= 0;
9504 PyObject
* _obj1
= 0;
9505 PyObject
* _obj2
= 0;
9506 char *_kwnames
[] = { "self","self","_class", NULL
};
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) return NULL
;
9530 } Py_INCREF(Py_None
);
9531 _resultobj
= Py_None
;
9535 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
* _resultobj
;
9537 wxPyArtProvider
* _arg0
;
9538 PyObject
* _argo0
= 0;
9539 char *_kwnames
[] = { "provider", NULL
};
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 wxPyArtProvider::PushProvider(_arg0
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) return NULL
;
9557 } Py_INCREF(Py_None
);
9558 _resultobj
= Py_None
;
9562 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
* _resultobj
;
9565 char *_kwnames
[] = { NULL
};
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 _result
= (bool )wxPyArtProvider::PopProvider();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) return NULL
;
9576 } _resultobj
= Py_BuildValue("i",_result
);
9580 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
* _resultobj
;
9583 wxPyArtProvider
* _arg0
;
9584 PyObject
* _argo0
= 0;
9585 char *_kwnames
[] = { "provider", NULL
};
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) return NULL
;
9603 } _resultobj
= Py_BuildValue("i",_result
);
9607 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
* _resultobj
;
9611 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9612 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9613 PyObject
* _obj0
= 0;
9614 PyObject
* _obj1
= 0;
9616 PyObject
* _obj2
= 0;
9617 char *_kwnames
[] = { "id","client","size", NULL
};
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9624 _arg0
= wxString_in_helper(_obj0
);
9630 _arg1
= wxString_in_helper(_obj1
);
9637 if (! wxSize_helper(_obj2
, &_arg2
))
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) return NULL
;
9646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9647 _resultobj
= Py_BuildValue("s",_ptemp
);
9659 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
* _resultobj
;
9663 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9664 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9665 PyObject
* _obj0
= 0;
9666 PyObject
* _obj1
= 0;
9668 PyObject
* _obj2
= 0;
9669 char *_kwnames
[] = { "id","client","size", NULL
};
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9676 _arg0
= wxString_in_helper(_obj0
);
9682 _arg1
= wxString_in_helper(_obj1
);
9689 if (! wxSize_helper(_obj2
, &_arg2
))
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) return NULL
;
9698 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9699 _resultobj
= Py_BuildValue("s",_ptemp
);
9711 static PyObject
*_wrap_wxArtProvider_CleanUpProviders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
* _resultobj
;
9713 char *_kwnames
[] = { NULL
};
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_CleanUpProviders",_kwnames
))
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 wxPyArtProvider::CleanUpProviders();
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) return NULL
;
9724 } Py_INCREF(Py_None
);
9725 _resultobj
= Py_None
;
9729 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9732 src
= (wxFileHistory
*) ptr
;
9733 dest
= (wxObject
*) src
;
9734 return (void *) dest
;
9737 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9738 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
* _resultobj
;
9740 wxFileHistory
* _result
;
9741 int _arg0
= (int ) 9;
9742 char *_kwnames
[] = { "maxFiles", NULL
};
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) return NULL
;
9755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9756 _resultobj
= Py_BuildValue("s",_ptemp
);
9759 _resultobj
= Py_None
;
9764 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9765 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
* _resultobj
;
9767 wxFileHistory
* _arg0
;
9768 PyObject
* _argo0
= 0;
9769 char *_kwnames
[] = { "self", NULL
};
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 delete_wxFileHistory(_arg0
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) return NULL
;
9787 } Py_INCREF(Py_None
);
9788 _resultobj
= Py_None
;
9792 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9793 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
* _resultobj
;
9795 wxFileHistory
* _arg0
;
9797 PyObject
* _argo0
= 0;
9798 PyObject
* _obj1
= 0;
9799 char *_kwnames
[] = { "self","file", NULL
};
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9812 _arg1
= wxString_in_helper(_obj1
);
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) return NULL
;
9822 } Py_INCREF(Py_None
);
9823 _resultobj
= Py_None
;
9831 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9832 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
* _resultobj
;
9834 wxFileHistory
* _arg0
;
9836 PyObject
* _argo0
= 0;
9837 char *_kwnames
[] = { "self","i", NULL
};
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) return NULL
;
9855 } Py_INCREF(Py_None
);
9856 _resultobj
= Py_None
;
9860 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9861 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
* _resultobj
;
9864 wxFileHistory
* _arg0
;
9865 PyObject
* _argo0
= 0;
9866 char *_kwnames
[] = { "self", NULL
};
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) return NULL
;
9884 } _resultobj
= Py_BuildValue("i",_result
);
9888 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9889 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
* _resultobj
;
9891 wxFileHistory
* _arg0
;
9893 PyObject
* _argo0
= 0;
9894 PyObject
* _argo1
= 0;
9895 char *_kwnames
[] = { "self","menu", NULL
};
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxFileHistory_UseMenu(_arg0
,_arg1
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) return NULL
;
9920 } Py_INCREF(Py_None
);
9921 _resultobj
= Py_None
;
9925 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9926 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
* _resultobj
;
9928 wxFileHistory
* _arg0
;
9930 PyObject
* _argo0
= 0;
9931 PyObject
* _argo1
= 0;
9932 char *_kwnames
[] = { "self","menu", NULL
};
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) return NULL
;
9957 } Py_INCREF(Py_None
);
9958 _resultobj
= Py_None
;
9962 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9963 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
* _resultobj
;
9965 wxFileHistory
* _arg0
;
9966 wxConfigBase
* _arg1
;
9967 PyObject
* _argo0
= 0;
9968 PyObject
* _argo1
= 0;
9969 char *_kwnames
[] = { "self","config", NULL
};
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 wxFileHistory_Load(_arg0
,*_arg1
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) return NULL
;
9994 } Py_INCREF(Py_None
);
9995 _resultobj
= Py_None
;
9999 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10000 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
* _resultobj
;
10002 wxFileHistory
* _arg0
;
10003 wxConfigBase
* _arg1
;
10004 PyObject
* _argo0
= 0;
10005 PyObject
* _argo1
= 0;
10006 char *_kwnames
[] = { "self","config", NULL
};
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10019 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10020 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 wxFileHistory_Save(_arg0
,*_arg1
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) return NULL
;
10031 } Py_INCREF(Py_None
);
10032 _resultobj
= Py_None
;
10036 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10037 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
* _resultobj
;
10039 wxFileHistory
* _arg0
;
10040 PyObject
* _argo0
= 0;
10041 char *_kwnames
[] = { "self", NULL
};
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxFileHistory_AddFilesToMenu(_arg0
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) return NULL
;
10059 } Py_INCREF(Py_None
);
10060 _resultobj
= Py_None
;
10064 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10065 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(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_AddFilesToThisMenu",_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_AddFilesToThisMenu. 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_AddFilesToThisMenu. Expected _wxMenu_p.");
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) return NULL
;
10096 } Py_INCREF(Py_None
);
10097 _resultobj
= Py_None
;
10101 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10102 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
* _resultobj
;
10104 wxString
* _result
;
10105 wxFileHistory
* _arg0
;
10107 PyObject
* _argo0
= 0;
10108 char *_kwnames
[] = { "self","i", NULL
};
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
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_GetHistoryFile. Expected _wxFileHistory_p.");
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) return NULL
;
10128 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10130 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10139 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10140 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
* _resultobj
;
10143 wxFileHistory
* _arg0
;
10144 PyObject
* _argo0
= 0;
10145 char *_kwnames
[] = { "self", NULL
};
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
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_GetCount. Expected _wxFileHistory_p.");
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 _result
= (int )wxFileHistory_GetCount(_arg0
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) return NULL
;
10163 } _resultobj
= Py_BuildValue("i",_result
);
10167 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10168 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
* _resultobj
;
10171 wxFileHistory
* _arg0
;
10172 PyObject
* _argo0
= 0;
10173 char *_kwnames
[] = { "self", NULL
};
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) return NULL
;
10191 } _resultobj
= Py_BuildValue("i",_result
);
10195 static PyMethodDef misc2cMethods
[] = {
10196 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxArtProvider_CleanUpProviders", (PyCFunction
) _wrap_wxArtProvider_CleanUpProviders
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10450 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10451 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10452 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10453 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10454 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10455 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10456 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10457 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10458 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10459 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10460 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10461 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10462 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10463 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10464 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10465 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10466 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10467 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10468 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10469 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10470 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10471 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
10472 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10473 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10474 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10475 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10476 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10477 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10478 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10479 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10480 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10481 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10482 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10483 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10484 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10485 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10486 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10487 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10488 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10489 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10490 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10491 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10492 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10493 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10494 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10495 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10502 * This table is used by the pointer type-checker
10504 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10505 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10506 { "_signed_long","_long",0},
10507 { "_wxPrintQuality","_wxCoord",0},
10508 { "_wxPrintQuality","_int",0},
10509 { "_wxPrintQuality","_signed_int",0},
10510 { "_wxPrintQuality","_unsigned_int",0},
10511 { "_wxPrintQuality","_wxWindowID",0},
10512 { "_wxPrintQuality","_uint",0},
10513 { "_wxPrintQuality","_EBool",0},
10514 { "_wxPrintQuality","_size_t",0},
10515 { "_wxPrintQuality","_time_t",0},
10516 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10517 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10518 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10519 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10520 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10521 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10522 { "_byte","_unsigned_char",0},
10523 { "_long","_unsigned_long",0},
10524 { "_long","_signed_long",0},
10525 { "_size_t","_wxCoord",0},
10526 { "_size_t","_wxPrintQuality",0},
10527 { "_size_t","_time_t",0},
10528 { "_size_t","_unsigned_int",0},
10529 { "_size_t","_int",0},
10530 { "_size_t","_wxWindowID",0},
10531 { "_size_t","_uint",0},
10532 { "_uint","_wxCoord",0},
10533 { "_uint","_wxPrintQuality",0},
10534 { "_uint","_time_t",0},
10535 { "_uint","_size_t",0},
10536 { "_uint","_unsigned_int",0},
10537 { "_uint","_int",0},
10538 { "_uint","_wxWindowID",0},
10539 { "_wxChar","_char",0},
10540 { "_char","_wxChar",0},
10541 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10542 { "_EBool","_wxCoord",0},
10543 { "_EBool","_wxPrintQuality",0},
10544 { "_EBool","_signed_int",0},
10545 { "_EBool","_int",0},
10546 { "_EBool","_wxWindowID",0},
10547 { "_unsigned_long","_long",0},
10548 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10549 { "_signed_int","_wxCoord",0},
10550 { "_signed_int","_wxPrintQuality",0},
10551 { "_signed_int","_EBool",0},
10552 { "_signed_int","_wxWindowID",0},
10553 { "_signed_int","_int",0},
10554 { "_WXTYPE","_wxDateTime_t",0},
10555 { "_WXTYPE","_short",0},
10556 { "_WXTYPE","_signed_short",0},
10557 { "_WXTYPE","_unsigned_short",0},
10558 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10559 { "_unsigned_short","_wxDateTime_t",0},
10560 { "_unsigned_short","_WXTYPE",0},
10561 { "_unsigned_short","_short",0},
10562 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10563 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
10564 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10565 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10566 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10567 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10568 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10569 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10570 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10571 { "_signed_short","_WXTYPE",0},
10572 { "_signed_short","_short",0},
10573 { "_unsigned_char","_byte",0},
10574 { "_unsigned_int","_wxCoord",0},
10575 { "_unsigned_int","_wxPrintQuality",0},
10576 { "_unsigned_int","_time_t",0},
10577 { "_unsigned_int","_size_t",0},
10578 { "_unsigned_int","_uint",0},
10579 { "_unsigned_int","_wxWindowID",0},
10580 { "_unsigned_int","_int",0},
10581 { "_short","_wxDateTime_t",0},
10582 { "_short","_WXTYPE",0},
10583 { "_short","_unsigned_short",0},
10584 { "_short","_signed_short",0},
10585 { "_wxWindowID","_wxCoord",0},
10586 { "_wxWindowID","_wxPrintQuality",0},
10587 { "_wxWindowID","_time_t",0},
10588 { "_wxWindowID","_size_t",0},
10589 { "_wxWindowID","_EBool",0},
10590 { "_wxWindowID","_uint",0},
10591 { "_wxWindowID","_int",0},
10592 { "_wxWindowID","_signed_int",0},
10593 { "_wxWindowID","_unsigned_int",0},
10594 { "_int","_wxCoord",0},
10595 { "_int","_wxPrintQuality",0},
10596 { "_int","_time_t",0},
10597 { "_int","_size_t",0},
10598 { "_int","_EBool",0},
10599 { "_int","_uint",0},
10600 { "_int","_wxWindowID",0},
10601 { "_int","_unsigned_int",0},
10602 { "_int","_signed_int",0},
10603 { "_wxDateTime_t","_unsigned_short",0},
10604 { "_wxDateTime_t","_short",0},
10605 { "_wxDateTime_t","_WXTYPE",0},
10606 { "_time_t","_wxCoord",0},
10607 { "_time_t","_wxPrintQuality",0},
10608 { "_time_t","_unsigned_int",0},
10609 { "_time_t","_int",0},
10610 { "_time_t","_wxWindowID",0},
10611 { "_time_t","_uint",0},
10612 { "_time_t","_size_t",0},
10613 { "_wxCoord","_int",0},
10614 { "_wxCoord","_signed_int",0},
10615 { "_wxCoord","_unsigned_int",0},
10616 { "_wxCoord","_wxWindowID",0},
10617 { "_wxCoord","_uint",0},
10618 { "_wxCoord","_EBool",0},
10619 { "_wxCoord","_size_t",0},
10620 { "_wxCoord","_time_t",0},
10621 { "_wxCoord","_wxPrintQuality",0},
10622 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10625 static PyObject
*SWIG_globals
;
10629 SWIGEXPORT(void) initmisc2c() {
10631 SWIG_globals
= SWIG_newvarlink();
10632 m
= Py_InitModule("misc2c", misc2cMethods
);
10633 d
= PyModule_GetDict(m
);
10634 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10635 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10636 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10637 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10638 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10639 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10640 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10641 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10642 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10643 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10644 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10645 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10646 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10647 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10648 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10649 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10650 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10651 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10652 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10653 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10654 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10655 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10656 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10657 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10658 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10659 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10660 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10661 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10662 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10663 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10664 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10665 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10666 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10667 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10668 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10669 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10670 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10671 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10672 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10673 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10674 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10675 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10676 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10677 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10678 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10679 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10680 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10681 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10682 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10683 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10684 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10685 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10686 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10687 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10688 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10689 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10690 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10691 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10692 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10693 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10694 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10695 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10696 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10697 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10698 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10699 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10700 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10701 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10702 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10703 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10704 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10705 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10706 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10707 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10708 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10709 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10710 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10711 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10712 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10713 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10714 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10715 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10716 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10717 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10718 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10719 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
10720 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
10721 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
10722 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
10723 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
10724 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10725 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10726 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10727 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10728 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10729 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10730 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10731 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10732 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10733 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10734 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
10735 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
10736 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
10737 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
10738 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
10739 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
10740 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
10741 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
10742 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10743 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10744 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10745 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10746 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10747 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
10748 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
10749 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
10750 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
10751 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
10752 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
10753 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
10754 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10755 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10756 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10757 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10758 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10759 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10760 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10761 PyDict_SetItemString(d
,"wxART_TOOLBAR", PyString_FromString("toolbar_C"));
10762 PyDict_SetItemString(d
,"wxART_MENU", PyString_FromString("menu_C"));
10763 PyDict_SetItemString(d
,"wxART_FRAME_ICON", PyString_FromString("frame_icon_C"));
10764 PyDict_SetItemString(d
,"wxART_CMN_DIALOG", PyString_FromString("cmn_dialog_C"));
10765 PyDict_SetItemString(d
,"wxART_HELP_BROWSER", PyString_FromString("help_browser_C"));
10766 PyDict_SetItemString(d
,"wxART_MESSAGE_BOX", PyString_FromString("message_box_C"));
10767 PyDict_SetItemString(d
,"wxART_OTHER", PyString_FromString("other_C"));
10768 PyDict_SetItemString(d
,"wxART_ADD_BOOKMARK", PyString_FromString("add_bookmark"));
10769 PyDict_SetItemString(d
,"wxART_DEL_BOOKMARK", PyString_FromString("del_bookmark"));
10770 PyDict_SetItemString(d
,"wxART_HELP_SIDE_PANEL", PyString_FromString("help_side_panel"));
10771 PyDict_SetItemString(d
,"wxART_HELP_SETTINGS", PyString_FromString("help_settings"));
10772 PyDict_SetItemString(d
,"wxART_HELP_BOOK", PyString_FromString("help_book"));
10773 PyDict_SetItemString(d
,"wxART_HELP_FOLDER", PyString_FromString("help_folder"));
10774 PyDict_SetItemString(d
,"wxART_HELP_PAGE", PyString_FromString("help_page"));
10775 PyDict_SetItemString(d
,"wxART_GO_BACK", PyString_FromString("go_back"));
10776 PyDict_SetItemString(d
,"wxART_GO_FORWARD", PyString_FromString("go_forward"));
10777 PyDict_SetItemString(d
,"wxART_GO_UP", PyString_FromString("go_up"));
10778 PyDict_SetItemString(d
,"wxART_GO_DOWN", PyString_FromString("go_down"));
10779 PyDict_SetItemString(d
,"wxART_GO_TO_PARENT", PyString_FromString("go_to_parent"));
10780 PyDict_SetItemString(d
,"wxART_GO_HOME", PyString_FromString("go_home"));
10781 PyDict_SetItemString(d
,"wxART_FILE_OPEN", PyString_FromString("file_open"));
10782 PyDict_SetItemString(d
,"wxART_PRINT", PyString_FromString("print"));
10783 PyDict_SetItemString(d
,"wxART_HELP", PyString_FromString("help"));
10784 PyDict_SetItemString(d
,"wxART_TIP", PyString_FromString("tip"));
10785 PyDict_SetItemString(d
,"wxART_REPORT_VIEW", PyString_FromString("report_view"));
10786 PyDict_SetItemString(d
,"wxART_LIST_VIEW", PyString_FromString("list_view"));
10787 PyDict_SetItemString(d
,"wxART_NEW_DIR", PyString_FromString("new_dir"));
10788 PyDict_SetItemString(d
,"wxART_FOLDER", PyString_FromString("folder"));
10789 PyDict_SetItemString(d
,"wxART_GO_DIR_UP", PyString_FromString("go_dir_up"));
10790 PyDict_SetItemString(d
,"wxART_EXECUTABLE_FILE", PyString_FromString("executable_file"));
10791 PyDict_SetItemString(d
,"wxART_NORMAL_FILE", PyString_FromString("normal_file"));
10792 PyDict_SetItemString(d
,"wxART_TICK_MARK", PyString_FromString("tick"));
10793 PyDict_SetItemString(d
,"wxART_CROSS_MARK", PyString_FromString("cross"));
10794 PyDict_SetItemString(d
,"wxART_ERROR", PyString_FromString("error"));
10795 PyDict_SetItemString(d
,"wxART_QUESTION", PyString_FromString("question"));
10796 PyDict_SetItemString(d
,"wxART_WARNING", PyString_FromString("warning"));
10797 PyDict_SetItemString(d
,"wxART_INFORMATION", PyString_FromString("information"));
10799 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10800 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10801 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
10805 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10806 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);