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 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3573 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
* _resultobj
;
3575 wxPyTipProvider
* _arg0
;
3578 PyObject
* _argo0
= 0;
3579 PyObject
* _obj1
= 0;
3580 PyObject
* _obj2
= 0;
3581 char *_kwnames
[] = { "self","self","_class", NULL
};
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) return NULL
;
3605 } Py_INCREF(Py_None
);
3606 _resultobj
= Py_None
;
3610 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3611 wxGenericDragImage
*src
;
3613 src
= (wxGenericDragImage
*) ptr
;
3614 dest
= (wxObject
*) src
;
3615 return (void *) dest
;
3618 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3619 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3621 wxGenericDragImage
* _result
;
3623 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3624 PyObject
* _argo0
= 0;
3625 PyObject
* _argo1
= 0;
3626 char *_kwnames
[] = { "image","cursor", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) return NULL
;
3653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3654 _resultobj
= Py_BuildValue("s",_ptemp
);
3657 _resultobj
= Py_None
;
3662 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3663 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3665 wxGenericDragImage
* _result
;
3667 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3668 PyObject
* _argo0
= 0;
3669 PyObject
* _argo1
= 0;
3670 char *_kwnames
[] = { "image","cursor", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) return NULL
;
3697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3698 _resultobj
= Py_BuildValue("s",_ptemp
);
3701 _resultobj
= Py_None
;
3706 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3707 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3709 wxGenericDragImage
* _result
;
3711 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3712 PyObject
* _obj0
= 0;
3713 PyObject
* _argo1
= 0;
3714 char *_kwnames
[] = { "str","cursor", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3721 _arg0
= wxString_in_helper(_obj0
);
3726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) return NULL
;
3739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3740 _resultobj
= Py_BuildValue("s",_ptemp
);
3743 _resultobj
= Py_None
;
3752 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3753 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3755 wxGenericDragImage
* _result
;
3757 wxTreeItemId
* _arg1
;
3758 PyObject
* _argo0
= 0;
3759 PyObject
* _argo1
= 0;
3760 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) return NULL
;
3787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3788 _resultobj
= Py_BuildValue("s",_ptemp
);
3791 _resultobj
= Py_None
;
3796 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3797 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3799 wxGenericDragImage
* _result
;
3802 PyObject
* _argo0
= 0;
3803 char *_kwnames
[] = { "listCtrl","id", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) return NULL
;
3823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3824 _resultobj
= Py_BuildValue("s",_ptemp
);
3827 _resultobj
= Py_None
;
3832 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3833 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3835 wxGenericDragImage
* _arg0
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 delete_wxGenericDragImage(_arg0
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) return NULL
;
3855 } Py_INCREF(Py_None
);
3856 _resultobj
= Py_None
;
3860 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3861 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3863 wxGenericDragImage
* _arg0
;
3865 PyObject
* _argo0
= 0;
3866 PyObject
* _argo1
= 0;
3867 char *_kwnames
[] = { "self","bitmap", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) return NULL
;
3892 } Py_INCREF(Py_None
);
3893 _resultobj
= Py_None
;
3897 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3898 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
* _resultobj
;
3901 wxGenericDragImage
* _arg0
;
3904 bool _arg3
= (bool ) FALSE
;
3905 wxRect
* _arg4
= (wxRect
*) NULL
;
3906 PyObject
* _argo0
= 0;
3908 PyObject
* _obj1
= 0;
3909 PyObject
* _argo2
= 0;
3910 int tempbool3
= (int) FALSE
;
3912 PyObject
* _obj4
= 0;
3913 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3927 if (! wxPoint_helper(_obj1
, &_arg1
))
3931 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3937 _arg3
= (bool ) tempbool3
;
3941 if (! wxRect_helper(_obj4
, &_arg4
))
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) return NULL
;
3950 } _resultobj
= Py_BuildValue("i",_result
);
3954 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3955 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3958 wxGenericDragImage
* _arg0
;
3962 PyObject
* _argo0
= 0;
3964 PyObject
* _obj1
= 0;
3965 PyObject
* _argo2
= 0;
3966 PyObject
* _argo3
= 0;
3967 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3981 if (! wxPoint_helper(_obj1
, &_arg1
))
3985 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3992 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) return NULL
;
4004 } _resultobj
= Py_BuildValue("i",_result
);
4008 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4009 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 wxGenericDragImage
* _arg0
;
4013 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } _resultobj
= Py_BuildValue("i",_result
);
4036 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4037 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4040 wxGenericDragImage
* _arg0
;
4042 PyObject
* _argo0
= 0;
4044 PyObject
* _obj1
= 0;
4045 char *_kwnames
[] = { "self","pt", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4059 if (! wxPoint_helper(_obj1
, &_arg1
))
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) return NULL
;
4068 } _resultobj
= Py_BuildValue("i",_result
);
4072 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4073 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4076 wxGenericDragImage
* _arg0
;
4077 PyObject
* _argo0
= 0;
4078 char *_kwnames
[] = { "self", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 _result
= (bool )wxDragImage_Show(_arg0
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4096 } _resultobj
= Py_BuildValue("i",_result
);
4100 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4101 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4104 wxGenericDragImage
* _arg0
;
4105 PyObject
* _argo0
= 0;
4106 char *_kwnames
[] = { "self", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 _result
= (bool )wxDragImage_Hide(_arg0
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) return NULL
;
4124 } _resultobj
= Py_BuildValue("i",_result
);
4128 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4129 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4132 wxGenericDragImage
* _arg0
;
4134 PyObject
* _argo0
= 0;
4136 PyObject
* _obj1
= 0;
4137 char *_kwnames
[] = { "self","pos", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4152 if (! wxPoint_helper(_obj1
, &_arg1
))
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) return NULL
;
4161 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4162 _resultobj
= Py_BuildValue("s",_ptemp
);
4166 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4167 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4170 wxGenericDragImage
* _arg0
;
4175 PyObject
* _argo0
= 0;
4177 PyObject
* _obj1
= 0;
4179 PyObject
* _obj2
= 0;
4182 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4196 if (! wxPoint_helper(_obj1
, &_arg1
))
4201 if (! wxPoint_helper(_obj2
, &_arg2
))
4204 _arg3
= (bool ) tempbool3
;
4205 _arg4
= (bool ) tempbool4
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) return NULL
;
4212 } _resultobj
= Py_BuildValue("i",_result
);
4216 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4219 src
= (wxPyTimer
*) ptr
;
4220 dest
= (wxObject
*) src
;
4221 return (void *) dest
;
4224 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4225 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4227 wxPyTimer
* _result
;
4229 PyObject
* _obj0
= 0;
4230 char *_kwnames
[] = { "notify", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) return NULL
;
4246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4247 _resultobj
= Py_BuildValue("s",_ptemp
);
4250 _resultobj
= Py_None
;
4255 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4256 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4259 PyObject
* _argo0
= 0;
4260 char *_kwnames
[] = { "self", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 delete_wxPyTimer(_arg0
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) return NULL
;
4278 } Py_INCREF(Py_None
);
4279 _resultobj
= Py_None
;
4283 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4284 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4288 PyObject
* _argo0
= 0;
4289 char *_kwnames
[] = { "self", NULL
};
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) return NULL
;
4307 } _resultobj
= Py_BuildValue("i",_result
);
4311 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4312 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) return NULL
;
4335 } _resultobj
= Py_BuildValue("i",_result
);
4339 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4340 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4344 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) return NULL
;
4363 } _resultobj
= Py_BuildValue("i",_result
);
4367 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4368 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
* _resultobj
;
4371 wxEvtHandler
* _arg1
;
4372 int _arg2
= (int ) -1;
4373 PyObject
* _argo0
= 0;
4374 PyObject
* _argo1
= 0;
4375 char *_kwnames
[] = { "self","owner","id", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4388 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) return NULL
;
4400 } Py_INCREF(Py_None
);
4401 _resultobj
= Py_None
;
4405 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4406 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
* _resultobj
;
4409 int _arg1
= (int ) -1;
4410 int _arg2
= (int ) FALSE
;
4411 PyObject
* _argo0
= 0;
4412 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) return NULL
;
4430 } Py_INCREF(Py_None
);
4431 _resultobj
= Py_None
;
4435 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4436 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
* _resultobj
;
4439 PyObject
* _argo0
= 0;
4440 char *_kwnames
[] = { "self", NULL
};
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 wxPyTimer_Stop(_arg0
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) return NULL
;
4458 } Py_INCREF(Py_None
);
4459 _resultobj
= Py_None
;
4463 #define new_wxStopWatch() (new wxStopWatch())
4464 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
* _resultobj
;
4466 wxStopWatch
* _result
;
4467 char *_kwnames
[] = { NULL
};
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 _result
= (wxStopWatch
*)new_wxStopWatch();
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4481 _resultobj
= Py_BuildValue("s",_ptemp
);
4484 _resultobj
= Py_None
;
4489 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4490 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4492 wxStopWatch
* _arg0
;
4493 PyObject
* _argo0
= 0;
4494 char *_kwnames
[] = { "self", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 delete_wxStopWatch(_arg0
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4512 } Py_INCREF(Py_None
);
4513 _resultobj
= Py_None
;
4517 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4518 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
* _resultobj
;
4520 wxStopWatch
* _arg0
;
4521 long _arg1
= (long ) 0;
4522 PyObject
* _argo0
= 0;
4523 char *_kwnames
[] = { "self","t", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 wxStopWatch_Start(_arg0
,_arg1
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) return NULL
;
4541 } Py_INCREF(Py_None
);
4542 _resultobj
= Py_None
;
4546 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4547 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4549 wxStopWatch
* _arg0
;
4550 PyObject
* _argo0
= 0;
4551 char *_kwnames
[] = { "self", NULL
};
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 wxStopWatch_Pause(_arg0
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) return NULL
;
4569 } Py_INCREF(Py_None
);
4570 _resultobj
= Py_None
;
4574 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4575 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
* _resultobj
;
4577 wxStopWatch
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 wxStopWatch_Resume(_arg0
);
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) return NULL
;
4597 } Py_INCREF(Py_None
);
4598 _resultobj
= Py_None
;
4602 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4603 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4606 wxStopWatch
* _arg0
;
4607 PyObject
* _argo0
= 0;
4608 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 _result
= (long )wxStopWatch_Time(_arg0
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4626 } _resultobj
= Py_BuildValue("l",_result
);
4630 #define new_wxLog() (new wxLog())
4631 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
* _resultobj
;
4634 char *_kwnames
[] = { NULL
};
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 _result
= (wxLog
*)new_wxLog();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) return NULL
;
4647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4648 _resultobj
= Py_BuildValue("s",_ptemp
);
4651 _resultobj
= Py_None
;
4656 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4659 char *_kwnames
[] = { NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 _result
= (bool )wxLog::IsEnabled();
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) return NULL
;
4670 } _resultobj
= Py_BuildValue("i",_result
);
4674 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4677 bool _arg0
= (bool ) TRUE
;
4678 int tempbool0
= (int) TRUE
;
4679 char *_kwnames
[] = { "doIt", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4684 _arg0
= (bool ) tempbool0
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 _result
= (bool )wxLog::EnableLogging(_arg0
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) return NULL
;
4691 } _resultobj
= Py_BuildValue("i",_result
);
4695 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4697 unsigned long _arg0
;
4699 int _arg2
= (int ) 0;
4700 PyObject
* _obj1
= 0;
4701 char *_kwnames
[] = { "level","szString","t", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4707 _arg1
= wxString_in_helper(_obj1
);
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) return NULL
;
4717 } Py_INCREF(Py_None
);
4718 _resultobj
= Py_None
;
4726 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4727 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) return NULL
;
4749 } Py_INCREF(Py_None
);
4750 _resultobj
= Py_None
;
4754 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4755 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4759 PyObject
* _argo0
= 0;
4760 char *_kwnames
[] = { "self", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) return NULL
;
4778 } _resultobj
= Py_BuildValue("i",_result
);
4782 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4784 char *_kwnames
[] = { NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxLog::FlushActive();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } Py_INCREF(Py_None
);
4796 _resultobj
= Py_None
;
4800 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4803 char *_kwnames
[] = { NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 _result
= (wxLog
*)wxLog::GetActiveTarget();
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) return NULL
;
4816 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4817 _resultobj
= Py_BuildValue("s",_ptemp
);
4820 _resultobj
= Py_None
;
4825 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
* _resultobj
;
4829 PyObject
* _argo0
= 0;
4830 char *_kwnames
[] = { "pLogger", NULL
};
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) return NULL
;
4850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4851 _resultobj
= Py_BuildValue("s",_ptemp
);
4854 _resultobj
= Py_None
;
4859 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4861 char *_kwnames
[] = { NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) return NULL
;
4872 } Py_INCREF(Py_None
);
4873 _resultobj
= Py_None
;
4877 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
* _resultobj
;
4879 char *_kwnames
[] = { NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) return NULL
;
4890 } Py_INCREF(Py_None
);
4891 _resultobj
= Py_None
;
4895 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4897 bool _arg0
= (bool ) TRUE
;
4898 int tempbool0
= (int) TRUE
;
4899 char *_kwnames
[] = { "bVerbose", NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4904 _arg0
= (bool ) tempbool0
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 wxLog::SetVerbose(_arg0
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) return NULL
;
4911 } Py_INCREF(Py_None
);
4912 _resultobj
= Py_None
;
4916 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4918 char *_kwnames
[] = { NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 wxLog::DontCreateOnDemand();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) return NULL
;
4929 } Py_INCREF(Py_None
);
4930 _resultobj
= Py_None
;
4934 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4937 char *_kwnames
[] = { "ulMask", NULL
};
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 wxLog::SetTraceMask(_arg0
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) return NULL
;
4948 } Py_INCREF(Py_None
);
4949 _resultobj
= Py_None
;
4953 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4956 PyObject
* _obj0
= 0;
4957 char *_kwnames
[] = { "str", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4963 _arg0
= wxString_in_helper(_obj0
);
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 wxLog::AddTraceMask(*_arg0
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) return NULL
;
4973 } Py_INCREF(Py_None
);
4974 _resultobj
= Py_None
;
4982 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 PyObject
* _obj0
= 0;
4986 char *_kwnames
[] = { "str", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4992 _arg0
= wxString_in_helper(_obj0
);
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 wxLog::RemoveTraceMask(*_arg0
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) return NULL
;
5002 } Py_INCREF(Py_None
);
5003 _resultobj
= Py_None
;
5011 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5013 char *_kwnames
[] = { NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 wxLog::ClearTraceMasks();
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) return NULL
;
5024 } Py_INCREF(Py_None
);
5025 _resultobj
= Py_None
;
5029 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5032 PyObject
* _obj0
= 0;
5033 char *_kwnames
[] = { "ts", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5039 _arg0
= wxString_in_helper(_obj0
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 wxLog::SetTimestamp(*_arg0
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) return NULL
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5058 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
* _resultobj
;
5061 char *_kwnames
[] = { NULL
};
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 const wxString
& _result_ref
= wxLog::GetTimestamp();
5069 _result
= (wxString
*) &_result_ref
;
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5075 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5077 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5083 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5084 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
* _resultobj
;
5088 PyObject
* _argo0
= 0;
5089 char *_kwnames
[] = { "self", NULL
};
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 _result
= (bool )wxLog_GetVerbose(_arg0
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) return NULL
;
5107 } _resultobj
= Py_BuildValue("i",_result
);
5111 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5113 unsigned long _result
;
5114 char *_kwnames
[] = { NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 _result
= (unsigned long )wxLog::GetTraceMask();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) return NULL
;
5125 } _resultobj
= Py_BuildValue("l",_result
);
5129 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5133 PyObject
* _obj0
= 0;
5134 char *_kwnames
[] = { "mask", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5140 _arg0
= wxString_in_helper(_obj0
);
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) return NULL
;
5150 } _resultobj
= Py_BuildValue("i",_result
);
5158 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5160 wxLog::TimeStamp(&msg
);
5163 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5167 PyObject
* _argo0
= 0;
5168 char *_kwnames
[] = { "self", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) return NULL
;
5188 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5190 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5199 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5202 src
= (wxLogStderr
*) ptr
;
5203 dest
= (wxLog
*) src
;
5204 return (void *) dest
;
5207 #define new_wxLogStderr() (new wxLogStderr())
5208 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
* _resultobj
;
5210 wxLogStderr
* _result
;
5211 char *_kwnames
[] = { NULL
};
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 _result
= (wxLogStderr
*)new_wxLogStderr();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) return NULL
;
5224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5225 _resultobj
= Py_BuildValue("s",_ptemp
);
5228 _resultobj
= Py_None
;
5233 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5236 src
= (wxLogTextCtrl
*) ptr
;
5237 dest
= (wxLog
*) src
;
5238 return (void *) dest
;
5241 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5242 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
* _resultobj
;
5244 wxLogTextCtrl
* _result
;
5246 PyObject
* _argo0
= 0;
5247 char *_kwnames
[] = { "pTextCtrl", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) return NULL
;
5267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5268 _resultobj
= Py_BuildValue("s",_ptemp
);
5271 _resultobj
= Py_None
;
5276 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5279 src
= (wxLogGui
*) ptr
;
5280 dest
= (wxLog
*) src
;
5281 return (void *) dest
;
5284 #define new_wxLogGui() (new wxLogGui())
5285 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5288 char *_kwnames
[] = { NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 _result
= (wxLogGui
*)new_wxLogGui();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) return NULL
;
5301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5302 _resultobj
= Py_BuildValue("s",_ptemp
);
5305 _resultobj
= Py_None
;
5310 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5313 src
= (wxLogWindow
*) ptr
;
5314 dest
= (wxLog
*) src
;
5315 return (void *) dest
;
5318 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5319 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
* _resultobj
;
5321 wxLogWindow
* _result
;
5324 bool _arg2
= (bool ) TRUE
;
5325 bool _arg3
= (bool ) TRUE
;
5326 PyObject
* _argo0
= 0;
5327 PyObject
* _obj1
= 0;
5328 int tempbool2
= (int) TRUE
;
5329 int tempbool3
= (int) TRUE
;
5330 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5344 _arg1
= wxString_in_helper(_obj1
);
5348 _arg2
= (bool ) tempbool2
;
5349 _arg3
= (bool ) tempbool3
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) return NULL
;
5357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5358 _resultobj
= Py_BuildValue("s",_ptemp
);
5361 _resultobj
= Py_None
;
5370 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5371 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
* _resultobj
;
5373 wxLogWindow
* _arg0
;
5374 bool _arg1
= (bool ) TRUE
;
5375 PyObject
* _argo0
= 0;
5376 int tempbool1
= (int) TRUE
;
5377 char *_kwnames
[] = { "self","bShow", NULL
};
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5389 _arg1
= (bool ) tempbool1
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 wxLogWindow_Show(_arg0
,_arg1
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) return NULL
;
5396 } Py_INCREF(Py_None
);
5397 _resultobj
= Py_None
;
5401 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5402 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5405 wxLogWindow
* _arg0
;
5406 PyObject
* _argo0
= 0;
5407 char *_kwnames
[] = { "self", NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) return NULL
;
5425 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5429 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5430 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
* _resultobj
;
5433 wxLogWindow
* _arg0
;
5434 PyObject
* _argo0
= 0;
5435 char *_kwnames
[] = { "self", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) return NULL
;
5455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5456 _resultobj
= Py_BuildValue("s",_ptemp
);
5459 _resultobj
= Py_None
;
5464 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5465 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5468 wxLogWindow
* _arg0
;
5469 PyObject
* _argo0
= 0;
5470 char *_kwnames
[] = { "self", NULL
};
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) return NULL
;
5488 } _resultobj
= Py_BuildValue("i",_result
);
5492 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5493 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5495 wxLogWindow
* _arg0
;
5497 PyObject
* _argo0
= 0;
5499 char *_kwnames
[] = { "self","bDoPass", NULL
};
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5511 _arg1
= (bool ) tempbool1
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 wxLogWindow_PassMessages(_arg0
,_arg1
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) return NULL
;
5518 } Py_INCREF(Py_None
);
5519 _resultobj
= Py_None
;
5523 static void *SwigwxLogChainTowxLog(void *ptr
) {
5526 src
= (wxLogChain
*) ptr
;
5527 dest
= (wxLog
*) src
;
5528 return (void *) dest
;
5531 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5532 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxLogChain
* _result
;
5536 PyObject
* _argo0
= 0;
5537 char *_kwnames
[] = { "logger", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) return NULL
;
5557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5558 _resultobj
= Py_BuildValue("s",_ptemp
);
5561 _resultobj
= Py_None
;
5566 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5567 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
* _resultobj
;
5571 PyObject
* _argo0
= 0;
5572 PyObject
* _argo1
= 0;
5573 char *_kwnames
[] = { "self","logger", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxLogChain_SetLog(_arg0
,_arg1
);
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) return NULL
;
5598 } Py_INCREF(Py_None
);
5599 _resultobj
= Py_None
;
5603 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5604 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
* _resultobj
;
5608 PyObject
* _argo0
= 0;
5610 char *_kwnames
[] = { "self","bDoPass", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5622 _arg1
= (bool ) tempbool1
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxLogChain_PassMessages(_arg0
,_arg1
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) return NULL
;
5629 } Py_INCREF(Py_None
);
5630 _resultobj
= Py_None
;
5634 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5635 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
* _resultobj
;
5639 PyObject
* _argo0
= 0;
5640 char *_kwnames
[] = { "self", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5658 } _resultobj
= Py_BuildValue("i",_result
);
5662 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5663 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
* _resultobj
;
5667 PyObject
* _argo0
= 0;
5668 char *_kwnames
[] = { "self", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) return NULL
;
5688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5689 _resultobj
= Py_BuildValue("s",_ptemp
);
5692 _resultobj
= Py_None
;
5697 #define new_wxLogNull() (new wxLogNull())
5698 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5700 wxLogNull
* _result
;
5701 char *_kwnames
[] = { NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 _result
= (wxLogNull
*)new_wxLogNull();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) return NULL
;
5714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5715 _resultobj
= Py_BuildValue("s",_ptemp
);
5718 _resultobj
= Py_None
;
5723 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5724 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 delete_wxLogNull(_arg0
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) return NULL
;
5746 } Py_INCREF(Py_None
);
5747 _resultobj
= Py_None
;
5751 static void *SwigwxPyLogTowxLog(void *ptr
) {
5754 src
= (wxPyLog
*) ptr
;
5755 dest
= (wxLog
*) src
;
5756 return (void *) dest
;
5759 #define new_wxPyLog() (new wxPyLog())
5760 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5763 char *_kwnames
[] = { NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 _result
= (wxPyLog
*)new_wxPyLog();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) return NULL
;
5776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5777 _resultobj
= Py_BuildValue("s",_ptemp
);
5780 _resultobj
= Py_None
;
5785 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5786 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
* _resultobj
;
5791 PyObject
* _argo0
= 0;
5792 PyObject
* _obj1
= 0;
5793 PyObject
* _obj2
= 0;
5794 char *_kwnames
[] = { "self","self","_class", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) return NULL
;
5818 } Py_INCREF(Py_None
);
5819 _resultobj
= Py_None
;
5823 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5824 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5827 PyObject
* _argo0
= 0;
5828 char *_kwnames
[] = { "self", NULL
};
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 wxPyLog_Destroy(_arg0
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) return NULL
;
5846 } Py_INCREF(Py_None
);
5847 _resultobj
= Py_None
;
5851 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5852 wxProcessEvent
*src
;
5854 src
= (wxProcessEvent
*) ptr
;
5855 dest
= (wxEvent
*) src
;
5856 return (void *) dest
;
5859 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5860 wxProcessEvent
*src
;
5862 src
= (wxProcessEvent
*) ptr
;
5863 dest
= (wxObject
*) src
;
5864 return (void *) dest
;
5867 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5868 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
* _resultobj
;
5870 wxProcessEvent
* _result
;
5871 int _arg0
= (int ) 0;
5872 int _arg1
= (int ) 0;
5873 int _arg2
= (int ) 0;
5874 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) return NULL
;
5887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5888 _resultobj
= Py_BuildValue("s",_ptemp
);
5891 _resultobj
= Py_None
;
5896 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5897 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5900 wxProcessEvent
* _arg0
;
5901 PyObject
* _argo0
= 0;
5902 char *_kwnames
[] = { "self", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5920 } _resultobj
= Py_BuildValue("i",_result
);
5924 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5925 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5928 wxProcessEvent
* _arg0
;
5929 PyObject
* _argo0
= 0;
5930 char *_kwnames
[] = { "self", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) return NULL
;
5948 } _resultobj
= Py_BuildValue("i",_result
);
5952 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5953 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5956 wxProcessEvent
* _arg0
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self","m_pid", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5977 } _resultobj
= Py_BuildValue("i",_result
);
5981 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5982 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5985 wxProcessEvent
* _arg0
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) return NULL
;
6005 } _resultobj
= Py_BuildValue("i",_result
);
6009 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6010 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
* _resultobj
;
6013 wxProcessEvent
* _arg0
;
6015 PyObject
* _argo0
= 0;
6016 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) return NULL
;
6034 } _resultobj
= Py_BuildValue("i",_result
);
6038 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6039 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
* _resultobj
;
6042 wxProcessEvent
* _arg0
;
6043 PyObject
* _argo0
= 0;
6044 char *_kwnames
[] = { "self", NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) return NULL
;
6062 } _resultobj
= Py_BuildValue("i",_result
);
6066 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6069 src
= (wxPyProcess
*) ptr
;
6070 dest
= (wxEvtHandler
*) src
;
6071 return (void *) dest
;
6074 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6077 src
= (wxPyProcess
*) ptr
;
6078 dest
= (wxObject
*) src
;
6079 return (void *) dest
;
6082 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
* _resultobj
;
6084 wxKillError _result
;
6086 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6087 char *_kwnames
[] = { "pid","sig", NULL
};
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) return NULL
;
6098 } _resultobj
= Py_BuildValue("i",_result
);
6102 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
* _resultobj
;
6106 char *_kwnames
[] = { "pid", NULL
};
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 _result
= (bool )wxPyProcess::Exists(_arg0
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) return NULL
;
6117 } _resultobj
= Py_BuildValue("i",_result
);
6121 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6123 wxPyProcess
* _result
;
6125 int _arg1
= (int ) wxEXEC_ASYNC
;
6126 PyObject
* _obj0
= 0;
6127 char *_kwnames
[] = { "cmd","flags", NULL
};
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6134 _arg0
= wxString_in_helper(_obj0
);
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) return NULL
;
6145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6146 _resultobj
= Py_BuildValue("s",_ptemp
);
6149 _resultobj
= Py_None
;
6158 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6159 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxPyProcess
* _result
;
6162 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6163 int _arg1
= (int ) -1;
6164 PyObject
* _argo0
= 0;
6165 char *_kwnames
[] = { "parent","id", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) return NULL
;
6185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6186 _resultobj
= Py_BuildValue("s",_ptemp
);
6189 _resultobj
= Py_None
;
6194 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6195 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
* _resultobj
;
6197 wxPyProcess
* _arg0
;
6198 PyObject
* _argo0
= 0;
6199 char *_kwnames
[] = { "self", NULL
};
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 wxPyProcess_Destroy(_arg0
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) return NULL
;
6217 } Py_INCREF(Py_None
);
6218 _resultobj
= Py_None
;
6222 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6223 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
* _resultobj
;
6225 wxPyProcess
* _arg0
;
6228 PyObject
* _argo0
= 0;
6229 PyObject
* _obj1
= 0;
6230 PyObject
* _obj2
= 0;
6231 char *_kwnames
[] = { "self","self","_class", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) return NULL
;
6255 } Py_INCREF(Py_None
);
6256 _resultobj
= Py_None
;
6260 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6261 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6263 wxPyProcess
* _arg0
;
6266 PyObject
* _argo0
= 0;
6267 char *_kwnames
[] = { "self","pid","status", NULL
};
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) return NULL
;
6285 } Py_INCREF(Py_None
);
6286 _resultobj
= Py_None
;
6290 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6291 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6293 wxPyProcess
* _arg0
;
6294 PyObject
* _argo0
= 0;
6295 char *_kwnames
[] = { "self", NULL
};
6298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 wxProcess_Redirect(_arg0
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) return NULL
;
6313 } Py_INCREF(Py_None
);
6314 _resultobj
= Py_None
;
6318 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6319 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
* _resultobj
;
6322 wxPyProcess
* _arg0
;
6323 PyObject
* _argo0
= 0;
6324 char *_kwnames
[] = { "self", NULL
};
6327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) return NULL
;
6342 } _resultobj
= Py_BuildValue("i",_result
);
6346 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6347 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxPyProcess
* _arg0
;
6350 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxProcess_Detach(_arg0
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } Py_INCREF(Py_None
);
6370 _resultobj
= Py_None
;
6374 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6375 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6377 wxInputStream
* _result
;
6378 wxPyProcess
* _arg0
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self", NULL
};
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) return NULL
;
6399 wxPyInputStream
* _ptr
= NULL
;
6402 _ptr
= new wxPyInputStream(_result
);
6404 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6409 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6410 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6412 wxInputStream
* _result
;
6413 wxPyProcess
* _arg0
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) return NULL
;
6434 wxPyInputStream
* _ptr
= NULL
;
6437 _ptr
= new wxPyInputStream(_result
);
6439 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6444 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6445 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6447 wxOutputStream
* _result
;
6448 wxPyProcess
* _arg0
;
6449 PyObject
* _argo0
= 0;
6450 char *_kwnames
[] = { "self", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) return NULL
;
6470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6471 _resultobj
= Py_BuildValue("s",_ptemp
);
6474 _resultobj
= Py_None
;
6479 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6480 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
* _resultobj
;
6482 wxPyProcess
* _arg0
;
6483 PyObject
* _argo0
= 0;
6484 char *_kwnames
[] = { "self", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 wxProcess_CloseOutput(_arg0
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) return NULL
;
6502 } Py_INCREF(Py_None
);
6503 _resultobj
= Py_None
;
6507 static void *SwigwxJoystickTowxObject(void *ptr
) {
6510 src
= (wxJoystick
*) ptr
;
6511 dest
= (wxObject
*) src
;
6512 return (void *) dest
;
6515 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6516 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6518 wxJoystick
* _result
;
6519 int _arg0
= (int ) (wxJOYSTICK1
);
6520 char *_kwnames
[] = { "joystick", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) return NULL
;
6533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6534 _resultobj
= Py_BuildValue("s",_ptemp
);
6537 _resultobj
= Py_None
;
6542 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6543 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
* _resultobj
;
6546 PyObject
* _argo0
= 0;
6547 char *_kwnames
[] = { "self", NULL
};
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 delete_wxJoystick(_arg0
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) return NULL
;
6565 } Py_INCREF(Py_None
);
6566 _resultobj
= Py_None
;
6570 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6571 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6575 PyObject
* _argo0
= 0;
6576 char *_kwnames
[] = { "self", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) return NULL
;
6595 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6596 _resultobj
= Py_BuildValue("s",_ptemp
);
6600 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6601 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6605 PyObject
* _argo0
= 0;
6606 char *_kwnames
[] = { "self", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) return NULL
;
6624 } _resultobj
= Py_BuildValue("i",_result
);
6628 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6629 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6633 PyObject
* _argo0
= 0;
6634 char *_kwnames
[] = { "self", NULL
};
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) return NULL
;
6652 } _resultobj
= Py_BuildValue("i",_result
);
6656 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6657 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
* _resultobj
;
6661 PyObject
* _argo0
= 0;
6662 char *_kwnames
[] = { "self", NULL
};
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) return NULL
;
6680 } _resultobj
= Py_BuildValue("i",_result
);
6684 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6685 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6689 PyObject
* _argo0
= 0;
6690 char *_kwnames
[] = { "self", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) return NULL
;
6708 } _resultobj
= Py_BuildValue("i",_result
);
6712 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6713 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) return NULL
;
6736 } _resultobj
= Py_BuildValue("i",_result
);
6740 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6741 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
* _resultobj
;
6745 PyObject
* _argo0
= 0;
6746 char *_kwnames
[] = { "self", NULL
};
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) return NULL
;
6764 } _resultobj
= Py_BuildValue("i",_result
);
6768 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6769 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
* _resultobj
;
6773 PyObject
* _argo0
= 0;
6774 char *_kwnames
[] = { "self", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) return NULL
;
6792 } _resultobj
= Py_BuildValue("i",_result
);
6796 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6797 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6801 PyObject
* _argo0
= 0;
6802 char *_kwnames
[] = { "self", NULL
};
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) return NULL
;
6820 } _resultobj
= Py_BuildValue("i",_result
);
6824 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6825 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
* _resultobj
;
6829 PyObject
* _argo0
= 0;
6830 char *_kwnames
[] = { "self","threshold", NULL
};
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) return NULL
;
6848 } Py_INCREF(Py_None
);
6849 _resultobj
= Py_None
;
6853 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6854 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6858 PyObject
* _argo0
= 0;
6859 char *_kwnames
[] = { "self", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 _result
= (bool )wxJoystick_IsOk(_arg0
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) return NULL
;
6877 } _resultobj
= Py_BuildValue("i",_result
);
6881 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6882 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
* _resultobj
;
6886 PyObject
* _argo0
= 0;
6887 char *_kwnames
[] = { "self", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) return NULL
;
6905 } _resultobj
= Py_BuildValue("i",_result
);
6909 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6910 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6914 PyObject
* _argo0
= 0;
6915 char *_kwnames
[] = { "self", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) return NULL
;
6933 } _resultobj
= Py_BuildValue("i",_result
);
6937 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6938 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
* _resultobj
;
6942 PyObject
* _argo0
= 0;
6943 char *_kwnames
[] = { "self", NULL
};
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 _result
= (int )wxJoystick_GetProductId(_arg0
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) return NULL
;
6961 } _resultobj
= Py_BuildValue("i",_result
);
6965 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6966 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6970 PyObject
* _argo0
= 0;
6971 char *_kwnames
[] = { "self", NULL
};
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) return NULL
;
6991 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6993 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7002 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7003 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
* _resultobj
;
7007 PyObject
* _argo0
= 0;
7008 char *_kwnames
[] = { "self", NULL
};
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 _result
= (int )wxJoystick_GetXMin(_arg0
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) return NULL
;
7026 } _resultobj
= Py_BuildValue("i",_result
);
7030 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7031 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7035 PyObject
* _argo0
= 0;
7036 char *_kwnames
[] = { "self", NULL
};
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 _result
= (int )wxJoystick_GetYMin(_arg0
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) return NULL
;
7054 } _resultobj
= Py_BuildValue("i",_result
);
7058 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7059 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
* _resultobj
;
7063 PyObject
* _argo0
= 0;
7064 char *_kwnames
[] = { "self", NULL
};
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 _result
= (int )wxJoystick_GetZMin(_arg0
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) return NULL
;
7082 } _resultobj
= Py_BuildValue("i",_result
);
7086 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7087 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
* _resultobj
;
7091 PyObject
* _argo0
= 0;
7092 char *_kwnames
[] = { "self", NULL
};
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 _result
= (int )wxJoystick_GetXMax(_arg0
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) return NULL
;
7110 } _resultobj
= Py_BuildValue("i",_result
);
7114 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7115 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
* _resultobj
;
7119 PyObject
* _argo0
= 0;
7120 char *_kwnames
[] = { "self", NULL
};
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 _result
= (int )wxJoystick_GetYMax(_arg0
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) return NULL
;
7138 } _resultobj
= Py_BuildValue("i",_result
);
7142 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7143 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
* _resultobj
;
7147 PyObject
* _argo0
= 0;
7148 char *_kwnames
[] = { "self", NULL
};
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 _result
= (int )wxJoystick_GetZMax(_arg0
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) return NULL
;
7166 } _resultobj
= Py_BuildValue("i",_result
);
7170 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7171 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
* _resultobj
;
7175 PyObject
* _argo0
= 0;
7176 char *_kwnames
[] = { "self", NULL
};
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) return NULL
;
7194 } _resultobj
= Py_BuildValue("i",_result
);
7198 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7199 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7203 PyObject
* _argo0
= 0;
7204 char *_kwnames
[] = { "self", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) return NULL
;
7222 } _resultobj
= Py_BuildValue("i",_result
);
7226 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7227 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7231 PyObject
* _argo0
= 0;
7232 char *_kwnames
[] = { "self", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) return NULL
;
7250 } _resultobj
= Py_BuildValue("i",_result
);
7254 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7255 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) return NULL
;
7278 } _resultobj
= Py_BuildValue("i",_result
);
7282 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7283 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7287 PyObject
* _argo0
= 0;
7288 char *_kwnames
[] = { "self", NULL
};
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) return NULL
;
7306 } _resultobj
= Py_BuildValue("i",_result
);
7310 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7311 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
* _resultobj
;
7315 PyObject
* _argo0
= 0;
7316 char *_kwnames
[] = { "self", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) return NULL
;
7334 } _resultobj
= Py_BuildValue("i",_result
);
7338 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7339 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
* _resultobj
;
7343 PyObject
* _argo0
= 0;
7344 char *_kwnames
[] = { "self", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) return NULL
;
7362 } _resultobj
= Py_BuildValue("i",_result
);
7366 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7367 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
* _resultobj
;
7371 PyObject
* _argo0
= 0;
7372 char *_kwnames
[] = { "self", NULL
};
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) return NULL
;
7390 } _resultobj
= Py_BuildValue("i",_result
);
7394 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7395 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
* _resultobj
;
7399 PyObject
* _argo0
= 0;
7400 char *_kwnames
[] = { "self", NULL
};
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 _result
= (int )wxJoystick_GetUMin(_arg0
);
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) return NULL
;
7418 } _resultobj
= Py_BuildValue("i",_result
);
7422 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7423 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
* _resultobj
;
7427 PyObject
* _argo0
= 0;
7428 char *_kwnames
[] = { "self", NULL
};
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 _result
= (int )wxJoystick_GetUMax(_arg0
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) return NULL
;
7446 } _resultobj
= Py_BuildValue("i",_result
);
7450 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7451 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
* _resultobj
;
7455 PyObject
* _argo0
= 0;
7456 char *_kwnames
[] = { "self", NULL
};
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 _result
= (int )wxJoystick_GetVMin(_arg0
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) return NULL
;
7474 } _resultobj
= Py_BuildValue("i",_result
);
7478 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7479 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7483 PyObject
* _argo0
= 0;
7484 char *_kwnames
[] = { "self", NULL
};
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 _result
= (int )wxJoystick_GetVMax(_arg0
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) return NULL
;
7502 } _resultobj
= Py_BuildValue("i",_result
);
7506 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7507 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
* _resultobj
;
7511 PyObject
* _argo0
= 0;
7512 char *_kwnames
[] = { "self", NULL
};
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) return NULL
;
7530 } _resultobj
= Py_BuildValue("i",_result
);
7534 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7535 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
* _resultobj
;
7539 PyObject
* _argo0
= 0;
7540 char *_kwnames
[] = { "self", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 _result
= (bool )wxJoystick_HasZ(_arg0
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) return NULL
;
7558 } _resultobj
= Py_BuildValue("i",_result
);
7562 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7563 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
* _resultobj
;
7567 PyObject
* _argo0
= 0;
7568 char *_kwnames
[] = { "self", NULL
};
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 _result
= (bool )wxJoystick_HasU(_arg0
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) return NULL
;
7586 } _resultobj
= Py_BuildValue("i",_result
);
7590 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7591 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
* _resultobj
;
7595 PyObject
* _argo0
= 0;
7596 char *_kwnames
[] = { "self", NULL
};
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 _result
= (bool )wxJoystick_HasV(_arg0
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) return NULL
;
7614 } _resultobj
= Py_BuildValue("i",_result
);
7618 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7619 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7623 PyObject
* _argo0
= 0;
7624 char *_kwnames
[] = { "self", NULL
};
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) return NULL
;
7642 } _resultobj
= Py_BuildValue("i",_result
);
7646 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7647 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7651 PyObject
* _argo0
= 0;
7652 char *_kwnames
[] = { "self", NULL
};
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) return NULL
;
7670 } _resultobj
= Py_BuildValue("i",_result
);
7674 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7675 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
* _resultobj
;
7679 PyObject
* _argo0
= 0;
7680 char *_kwnames
[] = { "self", NULL
};
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) return NULL
;
7698 } _resultobj
= Py_BuildValue("i",_result
);
7702 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7703 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
* _resultobj
;
7708 int _arg2
= (int ) 0;
7709 PyObject
* _argo0
= 0;
7710 PyObject
* _argo1
= 0;
7711 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7724 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7725 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) return NULL
;
7736 } _resultobj
= Py_BuildValue("i",_result
);
7740 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7741 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
* _resultobj
;
7745 PyObject
* _argo0
= 0;
7746 char *_kwnames
[] = { "self", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) return NULL
;
7764 } _resultobj
= Py_BuildValue("i",_result
);
7768 static void *SwigwxWaveTowxObject(void *ptr
) {
7771 src
= (wxWave
*) ptr
;
7772 dest
= (wxObject
*) src
;
7773 return (void *) dest
;
7776 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7777 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
* _resultobj
;
7781 bool _arg1
= (bool ) FALSE
;
7782 PyObject
* _obj0
= 0;
7783 int tempbool1
= (int) FALSE
;
7784 char *_kwnames
[] = { "fileName","isResource", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7791 _arg0
= wxString_in_helper(_obj0
);
7795 _arg1
= (bool ) tempbool1
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) return NULL
;
7803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7804 _resultobj
= Py_BuildValue("s",_ptemp
);
7807 _resultobj
= Py_None
;
7816 #define delete_wxWave(_swigobj) (delete _swigobj)
7817 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
* _resultobj
;
7820 PyObject
* _argo0
= 0;
7821 char *_kwnames
[] = { "self", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 delete_wxWave(_arg0
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) return NULL
;
7839 } Py_INCREF(Py_None
);
7840 _resultobj
= Py_None
;
7844 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7845 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
* _resultobj
;
7849 PyObject
* _argo0
= 0;
7850 char *_kwnames
[] = { "self", NULL
};
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 _result
= (bool )wxWave_IsOk(_arg0
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) return NULL
;
7868 } _resultobj
= Py_BuildValue("i",_result
);
7872 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7873 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
* _resultobj
;
7877 bool _arg1
= (bool ) TRUE
;
7878 bool _arg2
= (bool ) FALSE
;
7879 PyObject
* _argo0
= 0;
7880 int tempbool1
= (int) TRUE
;
7881 int tempbool2
= (int) FALSE
;
7882 char *_kwnames
[] = { "self","async","looped", NULL
};
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7894 _arg1
= (bool ) tempbool1
;
7895 _arg2
= (bool ) tempbool2
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) return NULL
;
7902 } _resultobj
= Py_BuildValue("i",_result
);
7906 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7907 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
* _resultobj
;
7909 wxFileTypeInfo
* _result
;
7914 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) return NULL
;
7927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7928 _resultobj
= Py_BuildValue("s",_ptemp
);
7931 _resultobj
= Py_None
;
7936 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7937 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
* _resultobj
;
7939 wxFileTypeInfo
* _result
;
7940 wxArrayString
* _arg0
;
7941 PyObject
* _obj0
= 0;
7942 char *_kwnames
[] = { "sArray", NULL
};
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7949 if (! PySequence_Check(_obj0
)) {
7950 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7953 _arg0
= new wxArrayString
;
7954 int i
, len
=PySequence_Length(_obj0
);
7955 for (i
=0; i
<len
; i
++) {
7956 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7958 PyObject
* str
= PyObject_Unicode(item
);
7959 _arg0
->Add(PyUnicode_AsUnicode(str
));
7961 PyObject
* str
= PyObject_Str(item
);
7962 _arg0
->Add(PyString_AsString(str
));
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) return NULL
;
7975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7976 _resultobj
= Py_BuildValue("s",_ptemp
);
7979 _resultobj
= Py_None
;
7988 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7989 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
* _resultobj
;
7991 wxFileTypeInfo
* _result
;
7992 char *_kwnames
[] = { NULL
};
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) return NULL
;
8005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8006 _resultobj
= Py_BuildValue("s",_ptemp
);
8009 _resultobj
= Py_None
;
8014 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8015 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
* _resultobj
;
8018 wxFileTypeInfo
* _arg0
;
8019 PyObject
* _argo0
= 0;
8020 char *_kwnames
[] = { "self", NULL
};
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) return NULL
;
8038 } _resultobj
= Py_BuildValue("i",_result
);
8042 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8043 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
* _resultobj
;
8045 wxFileTypeInfo
* _arg0
;
8047 int _arg2
= (int ) 0;
8048 PyObject
* _argo0
= 0;
8049 PyObject
* _obj1
= 0;
8050 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8063 _arg1
= wxString_in_helper(_obj1
);
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) return NULL
;
8073 } Py_INCREF(Py_None
);
8074 _resultobj
= Py_None
;
8082 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8083 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8085 wxFileTypeInfo
* _arg0
;
8087 PyObject
* _argo0
= 0;
8088 PyObject
* _obj1
= 0;
8089 char *_kwnames
[] = { "self","shortDesc", NULL
};
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8102 _arg1
= wxString_in_helper(_obj1
);
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) return NULL
;
8112 } Py_INCREF(Py_None
);
8113 _resultobj
= Py_None
;
8121 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8122 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
* _resultobj
;
8125 wxFileTypeInfo
* _arg0
;
8126 PyObject
* _argo0
= 0;
8127 char *_kwnames
[] = { "self", NULL
};
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8142 _result
= (wxString
*) &_result_ref
;
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) return NULL
;
8148 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8150 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8156 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8157 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
* _resultobj
;
8160 wxFileTypeInfo
* _arg0
;
8161 PyObject
* _argo0
= 0;
8162 char *_kwnames
[] = { "self", NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8177 _result
= (wxString
*) &_result_ref
;
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) return NULL
;
8183 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8185 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8191 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8192 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8195 wxFileTypeInfo
* _arg0
;
8196 PyObject
* _argo0
= 0;
8197 char *_kwnames
[] = { "self", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8212 _result
= (wxString
*) &_result_ref
;
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) return NULL
;
8218 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8220 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8226 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8227 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
* _resultobj
;
8230 wxFileTypeInfo
* _arg0
;
8231 PyObject
* _argo0
= 0;
8232 char *_kwnames
[] = { "self", NULL
};
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8247 _result
= (wxString
*) &_result_ref
;
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) return NULL
;
8253 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8255 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8261 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8262 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
* _resultobj
;
8265 wxFileTypeInfo
* _arg0
;
8266 PyObject
* _argo0
= 0;
8267 char *_kwnames
[] = { "self", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8282 _result
= (wxString
*) &_result_ref
;
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) return NULL
;
8288 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8290 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8296 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8297 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8298 return wxArrayString2PyList_helper(arr
);
8300 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
* _resultobj
;
8303 wxFileTypeInfo
* _arg0
;
8304 PyObject
* _argo0
= 0;
8305 char *_kwnames
[] = { "self", NULL
};
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) return NULL
;
8324 _resultobj
= _result
;
8329 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8330 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
* _resultobj
;
8333 wxFileTypeInfo
* _arg0
;
8334 PyObject
* _argo0
= 0;
8335 char *_kwnames
[] = { "self", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) return NULL
;
8353 } _resultobj
= Py_BuildValue("i",_result
);
8357 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8358 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
* _resultobj
;
8361 wxFileTypeInfo
* _arg0
;
8362 PyObject
* _argo0
= 0;
8363 char *_kwnames
[] = { "self", NULL
};
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8378 _result
= (wxString
*) &_result_ref
;
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) return NULL
;
8384 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8386 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8392 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8393 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
* _resultobj
;
8396 wxFileTypeInfo
* _arg0
;
8397 PyObject
* _argo0
= 0;
8398 char *_kwnames
[] = { "self", NULL
};
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) return NULL
;
8416 } _resultobj
= Py_BuildValue("i",_result
);
8420 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8421 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
* _resultobj
;
8423 wxFileType
* _result
;
8424 wxFileTypeInfo
* _arg0
;
8425 PyObject
* _argo0
= 0;
8426 char *_kwnames
[] = { "ftInfo", NULL
};
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) return NULL
;
8446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8447 _resultobj
= Py_BuildValue("s",_ptemp
);
8450 _resultobj
= Py_None
;
8455 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8457 if (self
->GetMimeType(&str
)) {
8459 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8461 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8467 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
* _resultobj
;
8471 PyObject
* _argo0
= 0;
8472 char *_kwnames
[] = { "self", NULL
};
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) return NULL
;
8491 _resultobj
= _result
;
8496 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8498 if (self
->GetMimeTypes(arr
))
8499 return wxArrayString2PyList_helper(arr
);
8503 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
* _resultobj
;
8507 PyObject
* _argo0
= 0;
8508 char *_kwnames
[] = { "self", NULL
};
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) return NULL
;
8527 _resultobj
= _result
;
8532 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8534 if (self
->GetExtensions(arr
))
8535 return wxArrayString2PyList_helper(arr
);
8539 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
* _resultobj
;
8543 PyObject
* _argo0
= 0;
8544 char *_kwnames
[] = { "self", NULL
};
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) return NULL
;
8563 _resultobj
= _result
;
8568 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8570 if (self
->GetIcon(&icon
))
8571 return new wxIcon(icon
);
8575 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
* _resultobj
;
8579 PyObject
* _argo0
= 0;
8580 char *_kwnames
[] = { "self", NULL
};
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) return NULL
;
8600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8601 _resultobj
= Py_BuildValue("s",_ptemp
);
8604 _resultobj
= Py_None
;
8609 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8613 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8614 wxPyBeginBlockThreads();
8615 PyObject
* tuple
= PyTuple_New(3);
8616 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8619 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8621 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8623 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8624 wxPyEndBlockThreads();
8630 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8634 PyObject
* _argo0
= 0;
8635 char *_kwnames
[] = { "self", NULL
};
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) return NULL
;
8654 _resultobj
= _result
;
8659 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8661 if (self
->GetDescription(&str
)) {
8663 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8665 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8670 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
* _resultobj
;
8674 PyObject
* _argo0
= 0;
8675 char *_kwnames
[] = { "self", NULL
};
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) return NULL
;
8694 _resultobj
= _result
;
8699 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8701 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8703 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8705 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8710 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
* _resultobj
;
8715 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8716 PyObject
* _argo0
= 0;
8717 PyObject
* _obj1
= 0;
8718 PyObject
* _obj2
= 0;
8719 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8732 _arg1
= wxString_in_helper(_obj1
);
8738 _arg2
= wxString_in_helper(_obj2
);
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) return NULL
;
8749 _resultobj
= _result
;
8762 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8764 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8766 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8768 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8773 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
* _resultobj
;
8778 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8779 PyObject
* _argo0
= 0;
8780 PyObject
* _obj1
= 0;
8781 PyObject
* _obj2
= 0;
8782 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8795 _arg1
= wxString_in_helper(_obj1
);
8801 _arg2
= wxString_in_helper(_obj2
);
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) return NULL
;
8812 _resultobj
= _result
;
8825 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8826 wxArrayString verbs
;
8827 wxArrayString commands
;
8828 if (self
->GetAllCommands(&verbs
, &commands
,
8829 wxFileType::MessageParameters(filename
, mimetype
))) {
8830 wxPyBeginBlockThreads();
8831 PyObject
* tuple
= PyTuple_New(2);
8832 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8833 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8834 wxPyEndBlockThreads();
8840 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
* _resultobj
;
8845 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8846 PyObject
* _argo0
= 0;
8847 PyObject
* _obj1
= 0;
8848 PyObject
* _obj2
= 0;
8849 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8862 _arg1
= wxString_in_helper(_obj1
);
8868 _arg2
= wxString_in_helper(_obj2
);
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) return NULL
;
8879 _resultobj
= _result
;
8892 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8893 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
* _resultobj
;
8899 bool _arg3
= (bool ) TRUE
;
8900 PyObject
* _argo0
= 0;
8901 PyObject
* _obj1
= 0;
8902 PyObject
* _obj2
= 0;
8903 int tempbool3
= (int) TRUE
;
8904 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8917 _arg1
= wxString_in_helper(_obj1
);
8922 _arg2
= wxString_in_helper(_obj2
);
8926 _arg3
= (bool ) tempbool3
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) return NULL
;
8933 } _resultobj
= Py_BuildValue("i",_result
);
8945 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8946 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
* _resultobj
;
8950 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8951 int _arg2
= (int ) 0;
8952 PyObject
* _argo0
= 0;
8953 PyObject
* _obj1
= 0;
8954 char *_kwnames
[] = { "self","cmd","index", NULL
};
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8968 _arg1
= wxString_in_helper(_obj1
);
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) return NULL
;
8978 } _resultobj
= Py_BuildValue("i",_result
);
8986 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8987 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
* _resultobj
;
8991 PyObject
* _argo0
= 0;
8992 char *_kwnames
[] = { "self", NULL
};
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 _result
= (bool )wxFileType_Unassociate(_arg0
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) return NULL
;
9010 } _resultobj
= Py_BuildValue("i",_result
);
9014 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
* _resultobj
;
9018 wxFileType::MessageParameters
* _arg1
;
9019 PyObject
* _obj0
= 0;
9020 PyObject
* _argo1
= 0;
9021 char *_kwnames
[] = { "command","params", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9027 _arg0
= wxString_in_helper(_obj0
);
9032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) return NULL
;
9046 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9048 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9061 #define delete_wxFileType(_swigobj) (delete _swigobj)
9062 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
* _resultobj
;
9065 PyObject
* _argo0
= 0;
9066 char *_kwnames
[] = { "self", NULL
};
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 delete_wxFileType(_arg0
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) return NULL
;
9084 } Py_INCREF(Py_None
);
9085 _resultobj
= Py_None
;
9089 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
* _resultobj
;
9094 PyObject
* _obj0
= 0;
9095 PyObject
* _obj1
= 0;
9096 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9102 _arg0
= wxString_in_helper(_obj0
);
9107 _arg1
= wxString_in_helper(_obj1
);
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) return NULL
;
9117 } _resultobj
= Py_BuildValue("i",_result
);
9129 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9130 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
* _resultobj
;
9132 wxMimeTypesManager
* _result
;
9133 char *_kwnames
[] = { NULL
};
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) return NULL
;
9146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9147 _resultobj
= Py_BuildValue("s",_ptemp
);
9150 _resultobj
= Py_None
;
9155 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9156 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
* _resultobj
;
9158 wxMimeTypesManager
* _arg0
;
9159 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9160 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9161 PyObject
* _argo0
= 0;
9162 PyObject
* _obj2
= 0;
9163 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9177 _arg2
= wxString_in_helper(_obj2
);
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) return NULL
;
9187 } Py_INCREF(Py_None
);
9188 _resultobj
= Py_None
;
9196 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9197 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9199 wxMimeTypesManager
* _arg0
;
9200 PyObject
* _argo0
= 0;
9201 char *_kwnames
[] = { "self", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 wxMimeTypesManager_ClearData(_arg0
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) return NULL
;
9219 } Py_INCREF(Py_None
);
9220 _resultobj
= Py_None
;
9224 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9225 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
* _resultobj
;
9227 wxFileType
* _result
;
9228 wxMimeTypesManager
* _arg0
;
9230 PyObject
* _argo0
= 0;
9231 PyObject
* _obj1
= 0;
9232 char *_kwnames
[] = { "self","ext", NULL
};
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9246 _arg1
= wxString_in_helper(_obj1
);
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) return NULL
;
9257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9258 _resultobj
= Py_BuildValue("s",_ptemp
);
9261 _resultobj
= Py_None
;
9270 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9271 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
* _resultobj
;
9273 wxFileType
* _result
;
9274 wxMimeTypesManager
* _arg0
;
9276 PyObject
* _argo0
= 0;
9277 PyObject
* _obj1
= 0;
9278 char *_kwnames
[] = { "self","mimeType", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9292 _arg1
= wxString_in_helper(_obj1
);
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) return NULL
;
9303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9304 _resultobj
= Py_BuildValue("s",_ptemp
);
9307 _resultobj
= Py_None
;
9316 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9317 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
* _resultobj
;
9320 wxMimeTypesManager
* _arg0
;
9322 bool _arg2
= (bool ) FALSE
;
9323 PyObject
* _argo0
= 0;
9324 PyObject
* _obj1
= 0;
9325 int tempbool2
= (int) FALSE
;
9326 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9339 _arg1
= wxString_in_helper(_obj1
);
9343 _arg2
= (bool ) tempbool2
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) return NULL
;
9350 } _resultobj
= Py_BuildValue("i",_result
);
9358 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9359 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
* _resultobj
;
9362 wxMimeTypesManager
* _arg0
;
9364 PyObject
* _argo0
= 0;
9365 PyObject
* _obj1
= 0;
9366 char *_kwnames
[] = { "self","filename", NULL
};
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9379 _arg1
= wxString_in_helper(_obj1
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) return NULL
;
9389 } _resultobj
= Py_BuildValue("i",_result
);
9397 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9399 self
->EnumAllFileTypes(arr
);
9400 return wxArrayString2PyList_helper(arr
);
9402 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
* _resultobj
;
9405 wxMimeTypesManager
* _arg0
;
9406 PyObject
* _argo0
= 0;
9407 char *_kwnames
[] = { "self", NULL
};
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9426 _resultobj
= _result
;
9431 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9432 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
* _resultobj
;
9434 wxMimeTypesManager
* _arg0
;
9435 wxFileTypeInfo
* _arg1
;
9436 PyObject
* _argo0
= 0;
9437 PyObject
* _argo1
= 0;
9438 char *_kwnames
[] = { "self","ft", NULL
};
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) return NULL
;
9463 } Py_INCREF(Py_None
);
9464 _resultobj
= Py_None
;
9468 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9469 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
* _resultobj
;
9471 wxFileType
* _result
;
9472 wxMimeTypesManager
* _arg0
;
9473 wxFileTypeInfo
* _arg1
;
9474 PyObject
* _argo0
= 0;
9475 PyObject
* _argo1
= 0;
9476 char *_kwnames
[] = { "self","ftInfo", NULL
};
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) return NULL
;
9503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9504 _resultobj
= Py_BuildValue("s",_ptemp
);
9507 _resultobj
= Py_None
;
9512 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9513 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
* _resultobj
;
9516 wxMimeTypesManager
* _arg0
;
9518 PyObject
* _argo0
= 0;
9519 PyObject
* _argo1
= 0;
9520 char *_kwnames
[] = { "self","ft", NULL
};
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) return NULL
;
9545 } _resultobj
= Py_BuildValue("i",_result
);
9549 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9550 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
* _resultobj
;
9552 wxMimeTypesManager
* _arg0
;
9553 PyObject
* _argo0
= 0;
9554 char *_kwnames
[] = { "self", NULL
};
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 delete_wxMimeTypesManager(_arg0
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) return NULL
;
9572 } Py_INCREF(Py_None
);
9573 _resultobj
= Py_None
;
9577 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9578 wxPyArtProvider
*src
;
9580 src
= (wxPyArtProvider
*) ptr
;
9581 dest
= (wxObject
*) src
;
9582 return (void *) dest
;
9585 #define new_wxArtProvider() (new wxPyArtProvider())
9586 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
* _resultobj
;
9588 wxPyArtProvider
* _result
;
9589 char *_kwnames
[] = { NULL
};
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) return NULL
;
9602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9603 _resultobj
= Py_BuildValue("s",_ptemp
);
9606 _resultobj
= Py_None
;
9611 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9612 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
* _resultobj
;
9614 wxPyArtProvider
* _arg0
;
9617 PyObject
* _argo0
= 0;
9618 PyObject
* _obj1
= 0;
9619 PyObject
* _obj2
= 0;
9620 char *_kwnames
[] = { "self","self","_class", NULL
};
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) return NULL
;
9644 } Py_INCREF(Py_None
);
9645 _resultobj
= Py_None
;
9649 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
* _resultobj
;
9651 wxPyArtProvider
* _arg0
;
9652 PyObject
* _argo0
= 0;
9653 char *_kwnames
[] = { "provider", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 wxPyArtProvider::PushProvider(_arg0
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) return NULL
;
9671 } Py_INCREF(Py_None
);
9672 _resultobj
= Py_None
;
9676 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
* _resultobj
;
9679 char *_kwnames
[] = { NULL
};
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 _result
= (bool )wxPyArtProvider::PopProvider();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) return NULL
;
9690 } _resultobj
= Py_BuildValue("i",_result
);
9694 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
* _resultobj
;
9697 wxPyArtProvider
* _arg0
;
9698 PyObject
* _argo0
= 0;
9699 char *_kwnames
[] = { "provider", NULL
};
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) return NULL
;
9717 } _resultobj
= Py_BuildValue("i",_result
);
9721 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
* _resultobj
;
9725 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9726 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9727 PyObject
* _obj0
= 0;
9728 PyObject
* _obj1
= 0;
9730 PyObject
* _obj2
= 0;
9731 char *_kwnames
[] = { "id","client","size", NULL
};
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9738 _arg0
= wxString_in_helper(_obj0
);
9744 _arg1
= wxString_in_helper(_obj1
);
9751 if (! wxSize_helper(_obj2
, &_arg2
))
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) return NULL
;
9760 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9761 _resultobj
= Py_BuildValue("s",_ptemp
);
9773 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9777 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9778 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9779 PyObject
* _obj0
= 0;
9780 PyObject
* _obj1
= 0;
9782 PyObject
* _obj2
= 0;
9783 char *_kwnames
[] = { "id","client","size", NULL
};
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9790 _arg0
= wxString_in_helper(_obj0
);
9796 _arg1
= wxString_in_helper(_obj1
);
9803 if (! wxSize_helper(_obj2
, &_arg2
))
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) return NULL
;
9812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9813 _resultobj
= Py_BuildValue("s",_ptemp
);
9825 static PyObject
*_wrap_wxArtProvider_CleanUpProviders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
* _resultobj
;
9827 char *_kwnames
[] = { NULL
};
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_CleanUpProviders",_kwnames
))
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 wxPyArtProvider::CleanUpProviders();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } Py_INCREF(Py_None
);
9839 _resultobj
= Py_None
;
9843 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9846 src
= (wxFileHistory
*) ptr
;
9847 dest
= (wxObject
*) src
;
9848 return (void *) dest
;
9851 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9852 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
* _resultobj
;
9854 wxFileHistory
* _result
;
9855 int _arg0
= (int ) 9;
9856 char *_kwnames
[] = { "maxFiles", NULL
};
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) return NULL
;
9869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9870 _resultobj
= Py_BuildValue("s",_ptemp
);
9873 _resultobj
= Py_None
;
9878 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9879 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
* _resultobj
;
9881 wxFileHistory
* _arg0
;
9882 PyObject
* _argo0
= 0;
9883 char *_kwnames
[] = { "self", NULL
};
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 delete_wxFileHistory(_arg0
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) return NULL
;
9901 } Py_INCREF(Py_None
);
9902 _resultobj
= Py_None
;
9906 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9907 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
* _resultobj
;
9909 wxFileHistory
* _arg0
;
9911 PyObject
* _argo0
= 0;
9912 PyObject
* _obj1
= 0;
9913 char *_kwnames
[] = { "self","file", NULL
};
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9926 _arg1
= wxString_in_helper(_obj1
);
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) return NULL
;
9936 } Py_INCREF(Py_None
);
9937 _resultobj
= Py_None
;
9945 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9946 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
* _resultobj
;
9948 wxFileHistory
* _arg0
;
9950 PyObject
* _argo0
= 0;
9951 char *_kwnames
[] = { "self","i", NULL
};
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) return NULL
;
9969 } Py_INCREF(Py_None
);
9970 _resultobj
= Py_None
;
9974 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9975 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
* _resultobj
;
9978 wxFileHistory
* _arg0
;
9979 PyObject
* _argo0
= 0;
9980 char *_kwnames
[] = { "self", NULL
};
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) return NULL
;
9998 } _resultobj
= Py_BuildValue("i",_result
);
10002 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10003 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
* _resultobj
;
10005 wxFileHistory
* _arg0
;
10007 PyObject
* _argo0
= 0;
10008 PyObject
* _argo1
= 0;
10009 char *_kwnames
[] = { "self","menu", NULL
};
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 wxFileHistory_UseMenu(_arg0
,_arg1
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) return NULL
;
10034 } Py_INCREF(Py_None
);
10035 _resultobj
= Py_None
;
10039 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10040 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
* _resultobj
;
10042 wxFileHistory
* _arg0
;
10044 PyObject
* _argo0
= 0;
10045 PyObject
* _argo1
= 0;
10046 char *_kwnames
[] = { "self","menu", NULL
};
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10059 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10060 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) return NULL
;
10071 } Py_INCREF(Py_None
);
10072 _resultobj
= Py_None
;
10076 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10077 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
* _resultobj
;
10079 wxFileHistory
* _arg0
;
10080 wxConfigBase
* _arg1
;
10081 PyObject
* _argo0
= 0;
10082 PyObject
* _argo1
= 0;
10083 char *_kwnames
[] = { "self","config", NULL
};
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxFileHistory_Load(_arg0
,*_arg1
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) return NULL
;
10108 } Py_INCREF(Py_None
);
10109 _resultobj
= Py_None
;
10113 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10114 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
* _resultobj
;
10116 wxFileHistory
* _arg0
;
10117 wxConfigBase
* _arg1
;
10118 PyObject
* _argo0
= 0;
10119 PyObject
* _argo1
= 0;
10120 char *_kwnames
[] = { "self","config", NULL
};
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 wxFileHistory_Save(_arg0
,*_arg1
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) return NULL
;
10145 } Py_INCREF(Py_None
);
10146 _resultobj
= Py_None
;
10150 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10151 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
* _resultobj
;
10153 wxFileHistory
* _arg0
;
10154 PyObject
* _argo0
= 0;
10155 char *_kwnames
[] = { "self", NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 wxFileHistory_AddFilesToMenu(_arg0
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) return NULL
;
10173 } Py_INCREF(Py_None
);
10174 _resultobj
= Py_None
;
10178 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10179 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
* _resultobj
;
10181 wxFileHistory
* _arg0
;
10183 PyObject
* _argo0
= 0;
10184 PyObject
* _argo1
= 0;
10185 char *_kwnames
[] = { "self","menu", NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) return NULL
;
10210 } Py_INCREF(Py_None
);
10211 _resultobj
= Py_None
;
10215 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10216 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10218 wxString
* _result
;
10219 wxFileHistory
* _arg0
;
10221 PyObject
* _argo0
= 0;
10222 char *_kwnames
[] = { "self","i", NULL
};
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) return NULL
;
10242 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10244 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10253 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10254 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
* _resultobj
;
10257 wxFileHistory
* _arg0
;
10258 PyObject
* _argo0
= 0;
10259 char *_kwnames
[] = { "self", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 _result
= (int )wxFileHistory_GetCount(_arg0
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) return NULL
;
10277 } _resultobj
= Py_BuildValue("i",_result
);
10281 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10282 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
* _resultobj
;
10285 wxFileHistory
* _arg0
;
10286 PyObject
* _argo0
= 0;
10287 char *_kwnames
[] = { "self", NULL
};
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) return NULL
;
10305 } _resultobj
= Py_BuildValue("i",_result
);
10309 static PyMethodDef misc2cMethods
[] = {
10310 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxArtProvider_CleanUpProviders", (PyCFunction
) _wrap_wxArtProvider_CleanUpProviders
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10450 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10451 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10452 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10453 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10454 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10455 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10456 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10457 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10458 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10459 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10460 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10461 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10462 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10463 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10464 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10465 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10466 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10467 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10468 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10469 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10470 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10471 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10472 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10473 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10474 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10475 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10476 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10477 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10478 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10479 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10480 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10481 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10482 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10483 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10484 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10485 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10486 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10487 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10488 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10489 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10490 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10491 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10492 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10493 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10494 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10495 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10496 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10497 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10498 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10499 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10500 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10501 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10502 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10503 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10504 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10505 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10506 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10507 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10508 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10509 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10510 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10511 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10512 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10513 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10514 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10515 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10516 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10517 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10518 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10519 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10520 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10521 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10522 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10523 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10524 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10525 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10526 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10527 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10528 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10529 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10530 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10531 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10532 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10533 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10534 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10535 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10536 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10537 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10538 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10539 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10540 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10541 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10542 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10543 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10544 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10545 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10546 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10547 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10548 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10549 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10550 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10551 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10552 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10553 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10554 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10555 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
10556 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
10557 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10558 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
10559 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10560 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10561 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10562 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10563 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10564 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10565 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10566 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10567 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10568 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10569 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10570 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10571 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10572 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10573 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10574 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10575 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10576 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10577 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10578 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10579 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10580 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10581 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10582 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10583 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10584 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10585 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10586 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10587 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10588 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10589 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
10590 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10591 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10592 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10593 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10594 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10595 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10596 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10597 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10598 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10599 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10600 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10601 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10602 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10603 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10604 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10605 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10606 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10607 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10608 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10609 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10620 * This table is used by the pointer type-checker
10622 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10623 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10624 { "_signed_long","_long",0},
10625 { "_wxPrintQuality","_wxCoord",0},
10626 { "_wxPrintQuality","_int",0},
10627 { "_wxPrintQuality","_signed_int",0},
10628 { "_wxPrintQuality","_unsigned_int",0},
10629 { "_wxPrintQuality","_wxWindowID",0},
10630 { "_wxPrintQuality","_uint",0},
10631 { "_wxPrintQuality","_EBool",0},
10632 { "_wxPrintQuality","_size_t",0},
10633 { "_wxPrintQuality","_time_t",0},
10634 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10635 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10636 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10637 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10638 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10639 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10640 { "_byte","_unsigned_char",0},
10641 { "_long","_unsigned_long",0},
10642 { "_long","_signed_long",0},
10643 { "_size_t","_wxCoord",0},
10644 { "_size_t","_wxPrintQuality",0},
10645 { "_size_t","_time_t",0},
10646 { "_size_t","_unsigned_int",0},
10647 { "_size_t","_int",0},
10648 { "_size_t","_wxWindowID",0},
10649 { "_size_t","_uint",0},
10650 { "_uint","_wxCoord",0},
10651 { "_uint","_wxPrintQuality",0},
10652 { "_uint","_time_t",0},
10653 { "_uint","_size_t",0},
10654 { "_uint","_unsigned_int",0},
10655 { "_uint","_int",0},
10656 { "_uint","_wxWindowID",0},
10657 { "_wxChar","_char",0},
10658 { "_char","_wxChar",0},
10659 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10660 { "_EBool","_wxCoord",0},
10661 { "_EBool","_wxPrintQuality",0},
10662 { "_EBool","_signed_int",0},
10663 { "_EBool","_int",0},
10664 { "_EBool","_wxWindowID",0},
10665 { "_unsigned_long","_long",0},
10666 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10667 { "_signed_int","_wxCoord",0},
10668 { "_signed_int","_wxPrintQuality",0},
10669 { "_signed_int","_EBool",0},
10670 { "_signed_int","_wxWindowID",0},
10671 { "_signed_int","_int",0},
10672 { "_WXTYPE","_wxDateTime_t",0},
10673 { "_WXTYPE","_short",0},
10674 { "_WXTYPE","_signed_short",0},
10675 { "_WXTYPE","_unsigned_short",0},
10676 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10677 { "_unsigned_short","_wxDateTime_t",0},
10678 { "_unsigned_short","_WXTYPE",0},
10679 { "_unsigned_short","_short",0},
10680 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10681 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
10682 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10683 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10684 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10685 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10686 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10687 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10688 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10689 { "_signed_short","_WXTYPE",0},
10690 { "_signed_short","_short",0},
10691 { "_unsigned_char","_byte",0},
10692 { "_unsigned_int","_wxCoord",0},
10693 { "_unsigned_int","_wxPrintQuality",0},
10694 { "_unsigned_int","_time_t",0},
10695 { "_unsigned_int","_size_t",0},
10696 { "_unsigned_int","_uint",0},
10697 { "_unsigned_int","_wxWindowID",0},
10698 { "_unsigned_int","_int",0},
10699 { "_short","_wxDateTime_t",0},
10700 { "_short","_WXTYPE",0},
10701 { "_short","_unsigned_short",0},
10702 { "_short","_signed_short",0},
10703 { "_wxWindowID","_wxCoord",0},
10704 { "_wxWindowID","_wxPrintQuality",0},
10705 { "_wxWindowID","_time_t",0},
10706 { "_wxWindowID","_size_t",0},
10707 { "_wxWindowID","_EBool",0},
10708 { "_wxWindowID","_uint",0},
10709 { "_wxWindowID","_int",0},
10710 { "_wxWindowID","_signed_int",0},
10711 { "_wxWindowID","_unsigned_int",0},
10712 { "_int","_wxCoord",0},
10713 { "_int","_wxPrintQuality",0},
10714 { "_int","_time_t",0},
10715 { "_int","_size_t",0},
10716 { "_int","_EBool",0},
10717 { "_int","_uint",0},
10718 { "_int","_wxWindowID",0},
10719 { "_int","_unsigned_int",0},
10720 { "_int","_signed_int",0},
10721 { "_wxDateTime_t","_unsigned_short",0},
10722 { "_wxDateTime_t","_short",0},
10723 { "_wxDateTime_t","_WXTYPE",0},
10724 { "_time_t","_wxCoord",0},
10725 { "_time_t","_wxPrintQuality",0},
10726 { "_time_t","_unsigned_int",0},
10727 { "_time_t","_int",0},
10728 { "_time_t","_wxWindowID",0},
10729 { "_time_t","_uint",0},
10730 { "_time_t","_size_t",0},
10731 { "_wxCoord","_int",0},
10732 { "_wxCoord","_signed_int",0},
10733 { "_wxCoord","_unsigned_int",0},
10734 { "_wxCoord","_wxWindowID",0},
10735 { "_wxCoord","_uint",0},
10736 { "_wxCoord","_EBool",0},
10737 { "_wxCoord","_size_t",0},
10738 { "_wxCoord","_time_t",0},
10739 { "_wxCoord","_wxPrintQuality",0},
10740 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10743 static PyObject
*SWIG_globals
;
10747 SWIGEXPORT(void) initmisc2c() {
10749 SWIG_globals
= SWIG_newvarlink();
10750 m
= Py_InitModule("misc2c", misc2cMethods
);
10751 d
= PyModule_GetDict(m
);
10752 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10753 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10754 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10755 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10756 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10757 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10758 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10759 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10760 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10761 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10762 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10763 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10764 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10765 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10766 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10767 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10768 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10769 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10770 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10771 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10772 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10773 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10774 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10775 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10776 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10777 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10778 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10779 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10780 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10781 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10782 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10783 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10784 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10785 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10786 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10787 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10788 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10789 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10790 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10791 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10792 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10793 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10794 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10795 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10796 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10797 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10798 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10799 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10800 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10801 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10802 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10803 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10804 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10805 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10806 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10807 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10808 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10809 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10810 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10811 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10812 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10813 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10814 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10815 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10816 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10817 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10818 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10819 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10820 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10821 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10822 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10823 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10824 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10825 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10826 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10827 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10828 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10829 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10830 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10831 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10832 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10833 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10834 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10835 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10836 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10837 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
10838 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
10839 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
10840 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
10841 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
10842 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10843 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10844 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10845 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10846 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10847 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10848 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10849 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10850 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10851 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10852 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
10853 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
10854 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
10855 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
10856 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
10857 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
10858 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
10859 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
10860 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
10861 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
10862 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
10863 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
10864 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
10865 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
10866 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
10867 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
10868 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
10869 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
10870 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
10871 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
10872 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
10873 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
10874 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
10875 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
10876 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
10877 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
10878 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
10879 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
10880 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
10881 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
10882 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10883 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10884 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10885 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10886 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10887 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
10888 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
10889 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
10890 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
10891 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
10892 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
10893 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
10894 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10895 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10896 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10897 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10898 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10899 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10900 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10901 PyDict_SetItemString(d
,"wxART_TOOLBAR", PyString_FromString("toolbar_C"));
10902 PyDict_SetItemString(d
,"wxART_MENU", PyString_FromString("menu_C"));
10903 PyDict_SetItemString(d
,"wxART_FRAME_ICON", PyString_FromString("frame_icon_C"));
10904 PyDict_SetItemString(d
,"wxART_CMN_DIALOG", PyString_FromString("cmn_dialog_C"));
10905 PyDict_SetItemString(d
,"wxART_HELP_BROWSER", PyString_FromString("help_browser_C"));
10906 PyDict_SetItemString(d
,"wxART_MESSAGE_BOX", PyString_FromString("message_box_C"));
10907 PyDict_SetItemString(d
,"wxART_OTHER", PyString_FromString("other_C"));
10908 PyDict_SetItemString(d
,"wxART_ADD_BOOKMARK", PyString_FromString("add_bookmark"));
10909 PyDict_SetItemString(d
,"wxART_DEL_BOOKMARK", PyString_FromString("del_bookmark"));
10910 PyDict_SetItemString(d
,"wxART_HELP_SIDE_PANEL", PyString_FromString("help_side_panel"));
10911 PyDict_SetItemString(d
,"wxART_HELP_SETTINGS", PyString_FromString("help_settings"));
10912 PyDict_SetItemString(d
,"wxART_HELP_BOOK", PyString_FromString("help_book"));
10913 PyDict_SetItemString(d
,"wxART_HELP_FOLDER", PyString_FromString("help_folder"));
10914 PyDict_SetItemString(d
,"wxART_HELP_PAGE", PyString_FromString("help_page"));
10915 PyDict_SetItemString(d
,"wxART_GO_BACK", PyString_FromString("go_back"));
10916 PyDict_SetItemString(d
,"wxART_GO_FORWARD", PyString_FromString("go_forward"));
10917 PyDict_SetItemString(d
,"wxART_GO_UP", PyString_FromString("go_up"));
10918 PyDict_SetItemString(d
,"wxART_GO_DOWN", PyString_FromString("go_down"));
10919 PyDict_SetItemString(d
,"wxART_GO_TO_PARENT", PyString_FromString("go_to_parent"));
10920 PyDict_SetItemString(d
,"wxART_GO_HOME", PyString_FromString("go_home"));
10921 PyDict_SetItemString(d
,"wxART_FILE_OPEN", PyString_FromString("file_open"));
10922 PyDict_SetItemString(d
,"wxART_PRINT", PyString_FromString("print"));
10923 PyDict_SetItemString(d
,"wxART_HELP", PyString_FromString("help"));
10924 PyDict_SetItemString(d
,"wxART_TIP", PyString_FromString("tip"));
10925 PyDict_SetItemString(d
,"wxART_REPORT_VIEW", PyString_FromString("report_view"));
10926 PyDict_SetItemString(d
,"wxART_LIST_VIEW", PyString_FromString("list_view"));
10927 PyDict_SetItemString(d
,"wxART_NEW_DIR", PyString_FromString("new_dir"));
10928 PyDict_SetItemString(d
,"wxART_FOLDER", PyString_FromString("folder"));
10929 PyDict_SetItemString(d
,"wxART_GO_DIR_UP", PyString_FromString("go_dir_up"));
10930 PyDict_SetItemString(d
,"wxART_EXECUTABLE_FILE", PyString_FromString("executable_file"));
10931 PyDict_SetItemString(d
,"wxART_NORMAL_FILE", PyString_FromString("normal_file"));
10932 PyDict_SetItemString(d
,"wxART_TICK_MARK", PyString_FromString("tick"));
10933 PyDict_SetItemString(d
,"wxART_CROSS_MARK", PyString_FromString("cross"));
10934 PyDict_SetItemString(d
,"wxART_ERROR", PyString_FromString("error"));
10935 PyDict_SetItemString(d
,"wxART_QUESTION", PyString_FromString("question"));
10936 PyDict_SetItemString(d
,"wxART_WARNING", PyString_FromString("warning"));
10937 PyDict_SetItemString(d
,"wxART_INFORMATION", PyString_FromString("information"));
10939 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10940 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10941 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
10945 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10946 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);