2 * FILE : src/mac/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmisc2c
55 #define SWIG_name "misc2c"
58 #include "pyistream.h"
59 #include <wx/tooltip.h>
61 #include <wx/tipdlg.h>
62 #include <wx/process.h>
64 #if wxUSE_JOYSTICK || defined(__WXMSW__)
65 #include <wx/joystick.h>
68 #if wxUSE_WAVE || defined(__WXMSW__)
72 #include <wx/mimetype.h>
73 #include <wx/snglinst.h>
74 #include <wx/effects.h>
75 #include <wx/sysopt.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(FileSelectorPromptStr
);
106 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
107 DECLARE_DEF_STRING(DirSelectorPromptStr
);
108 static const wxString
wxPyEmptyString(wxT(""));
110 int wxCaret_GetBlinkTime() {
111 return wxCaret::GetBlinkTime();
114 void wxCaret_SetBlinkTime(int milliseconds
) {
115 wxCaret::SetBlinkTime(milliseconds
);
118 bool wxThread_IsMain() {
119 #ifdef WXP_WITH_THREAD
120 return wxThread::IsMain();
126 class wxPyTipProvider
: public wxTipProvider
{
128 wxPyTipProvider(size_t currentTip
)
129 : wxTipProvider(currentTip
) {}
131 DEC_PYCALLBACK_STRING__pure(GetTip
);
132 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
136 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
137 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
139 #include <wx/generic/dragimgg.h>
141 // A wxLog class that can be derived from in wxPython
142 class wxPyLog
: public wxLog
{
144 wxPyLog() : wxLog() {}
146 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
148 wxPyBeginBlockThreads();
149 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
150 PyObject
* s
= wx2PyString(szString
);
151 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
154 wxPyEndBlockThreads();
156 wxLog::DoLog(level
, szString
, t
);
159 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
161 wxPyBeginBlockThreads();
162 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
163 PyObject
* s
= wx2PyString(szString
);
164 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
167 wxPyEndBlockThreads();
169 wxLog::DoLogString(szString
, t
);
174 // C++ version of wxProcess derived class
176 class wxPyProcess
: public wxProcess
{
178 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
179 : wxProcess(parent
, id
)
182 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
187 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
190 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
191 // A C++ stub class for wxJoystick for platforms that don't have it.
192 class wxJoystick
: public wxObject
{
194 wxJoystick(int joystick
= wxJOYSTICK1
) {
195 wxPyBeginBlockThreads();
196 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
197 wxPyEndBlockThreads();
199 wxPoint
GetPosition() { return wxPoint(-1,-1); }
200 int GetZPosition() { return -1; }
201 int GetButtonState() { return -1; }
202 int GetPOVPosition() { return -1; }
203 int GetPOVCTSPosition() { return -1; }
204 int GetRudderPosition() { return -1; }
205 int GetUPosition() { return -1; }
206 int GetVPosition() { return -1; }
207 int GetMovementThreshold() { return -1; }
208 void SetMovementThreshold(int threshold
) {}
210 bool IsOk(void) { return FALSE
; }
211 int GetNumberJoysticks() { return -1; }
212 int GetManufacturerId() { return -1; }
213 int GetProductId() { return -1; }
214 wxString
GetProductName() { return ""; }
215 int GetXMin() { return -1; }
216 int GetYMin() { return -1; }
217 int GetZMin() { return -1; }
218 int GetXMax() { return -1; }
219 int GetYMax() { return -1; }
220 int GetZMax() { return -1; }
221 int GetNumberButtons() { return -1; }
222 int GetNumberAxes() { return -1; }
223 int GetMaxButtons() { return -1; }
224 int GetMaxAxes() { return -1; }
225 int GetPollingMin() { return -1; }
226 int GetPollingMax() { return -1; }
227 int GetRudderMin() { return -1; }
228 int GetRudderMax() { return -1; }
229 int GetUMin() { return -1; }
230 int GetUMax() { return -1; }
231 int GetVMin() { return -1; }
232 int GetVMax() { return -1; }
234 bool HasRudder() { return FALSE
; }
235 bool HasZ() { return FALSE
; }
236 bool HasU() { return FALSE
; }
237 bool HasV() { return FALSE
; }
238 bool HasPOV() { return FALSE
; }
239 bool HasPOV4Dir() { return FALSE
; }
240 bool HasPOVCTS() { return FALSE
; }
242 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
243 bool ReleaseCapture() { return FALSE
; }
248 // A C++ stub class for wxWave for platforms that don't have it.
249 class wxWave
: public wxObject
252 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
253 wxPyBeginBlockThreads();
254 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
255 wxPyEndBlockThreads();
257 wxWave(int size
, const wxByte
* data
) {
258 wxPyBeginBlockThreads();
259 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
260 wxPyEndBlockThreads();
265 bool IsOk() const { return FALSE
; }
266 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
270 // Implementations of some alternate "constructors"
271 wxWave
* wxWaveData(const wxString
& data
) {
272 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
276 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
280 #include <wx/artprov.h>
282 DECLARE_DEF_STRING(ART_OTHER
);
284 // Python aware wxArtProvider
285 class wxPyArtProvider
: public wxArtProvider
{
288 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
289 const wxArtClient
& client
,
290 const wxSize
& size
) {
291 wxBitmap rval
= wxNullBitmap
;
292 wxPyBeginBlockThreads();
293 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
294 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
298 s1
= wx2PyString(id
);
299 s2
= wx2PyString(client
);
300 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
305 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
310 wxPyEndBlockThreads();
317 #include <wx/docview.h>
320 #include <wx/msw/private.h>
321 #include <wx/dynload.h>
325 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
332 // This one only partially works. Appears to be an undocumented
333 // "standard" convention that not all widgets adhear to. For
334 // example, for some widgets backgrounds or non-client areas may
336 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
340 // This one works much better, except for on XP. On Win2k nearly
341 // all widgets and their children are captured correctly[**]. On
342 // XP with Themes activated most native widgets draw only
343 // partially, if at all. Without themes it works just like on
346 // ** For example the radio buttons in a wxRadioBox are not its
347 // children by default, but you can capture it via the panel
348 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
349 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
350 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
351 PRF_ERASEBKGND
| PRF_OWNED
);
355 // This one is only defined in the latest SDK and is only
356 // available on XP. MSDN says it is similar to sending WM_PRINT
357 // so I expect that it will work similar to the above. Since it
358 // is avaialble only on XP, it can't be compiled like this and
359 // will have to be loaded dynamically.
360 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
365 // Use PrintWindow if available, or fallback to WM_PRINT
366 // otherwise. Unfortunately using PrintWindow is even worse than
367 // WM_PRINT. For most native widgets nothing is drawn to the dc
368 // at all, with or without Themes.
369 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
370 static bool s_triedToLoad
= false;
371 static PrintWindow_t pfnPrintWindow
= NULL
;
372 if ( !s_triedToLoad
)
375 s_triedToLoad
= true;
376 wxDynamicLibrary
dllUser32(_T("user32.dll"));
377 if ( dllUser32
.IsLoaded() )
379 wxLogNull nolog
; // Don't report errors here
380 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
385 printf("Using PrintWindow\n");
386 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
390 printf("Using WM_PRINT\n");
391 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
392 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
401 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
404 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
405 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
406 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
407 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
408 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
409 int _arg5
= (int ) 0;
410 wxWindow
* _arg6
= (wxWindow
*) NULL
;
411 int _arg7
= (int ) -1;
412 int _arg8
= (int ) -1;
413 PyObject
* _obj0
= 0;
414 PyObject
* _obj1
= 0;
415 PyObject
* _obj2
= 0;
416 PyObject
* _obj3
= 0;
417 PyObject
* _obj4
= 0;
418 PyObject
* _argo6
= 0;
419 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
426 _arg0
= wxString_in_helper(_obj0
);
432 _arg1
= wxString_in_helper(_obj1
);
438 _arg2
= wxString_in_helper(_obj2
);
444 _arg3
= wxString_in_helper(_obj3
);
450 _arg4
= wxString_in_helper(_obj4
);
455 if (_argo6
== Py_None
) { _arg6
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
463 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
469 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
471 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
500 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
505 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
506 wxWindow
* _arg3
= (wxWindow
*) NULL
;
507 PyObject
* _obj0
= 0;
508 PyObject
* _obj1
= 0;
509 PyObject
* _obj2
= 0;
510 PyObject
* _argo3
= 0;
511 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
517 _arg0
= wxString_in_helper(_obj0
);
522 _arg1
= wxString_in_helper(_obj1
);
528 _arg2
= wxString_in_helper(_obj2
);
533 if (_argo3
== Py_None
) { _arg3
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
547 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
549 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
570 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
571 PyObject
* _resultobj
;
575 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
576 wxWindow
* _arg3
= (wxWindow
*) NULL
;
577 PyObject
* _obj0
= 0;
578 PyObject
* _obj1
= 0;
579 PyObject
* _obj2
= 0;
580 PyObject
* _argo3
= 0;
581 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
587 _arg0
= wxString_in_helper(_obj0
);
592 _arg1
= wxString_in_helper(_obj1
);
598 _arg2
= wxString_in_helper(_obj2
);
603 if (_argo3
== Py_None
) { _arg3
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
611 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
613 wxPyEndAllowThreads(__tstate
);
614 if (PyErr_Occurred()) return NULL
;
617 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
619 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
640 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
643 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
644 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
645 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
646 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
647 wxWindow
* _arg4
= (wxWindow
*) NULL
;
648 PyObject
* _obj0
= 0;
649 PyObject
* _obj1
= 0;
651 PyObject
* _obj3
= 0;
652 PyObject
* _argo4
= 0;
653 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
660 _arg0
= wxString_in_helper(_obj0
);
666 _arg1
= wxString_in_helper(_obj1
);
673 if (! wxPoint_helper(_obj3
, &_arg3
))
677 if (_argo4
== Py_None
) { _arg4
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
691 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
693 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
710 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
714 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
715 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
716 wxWindow
* _arg3
= (wxWindow
*) NULL
;
717 int _arg4
= (int ) -1;
718 int _arg5
= (int ) -1;
719 bool _arg6
= (bool ) TRUE
;
720 PyObject
* _obj0
= 0;
721 PyObject
* _obj1
= 0;
722 PyObject
* _obj2
= 0;
723 PyObject
* _argo3
= 0;
724 int tempbool6
= (int) TRUE
;
725 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
731 _arg0
= wxString_in_helper(_obj0
);
737 _arg1
= wxString_in_helper(_obj1
);
743 _arg2
= wxString_in_helper(_obj2
);
748 if (_argo3
== Py_None
) { _arg3
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
754 _arg6
= (bool ) tempbool6
;
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
757 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) return NULL
;
763 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
765 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
786 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
790 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
791 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
792 wxWindow
* _arg3
= (wxWindow
*) NULL
;
793 PyObject
* _obj0
= 0;
794 PyObject
* _obj1
= 0;
795 PyObject
* _obj2
= 0;
796 PyObject
* _argo3
= 0;
797 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
803 _arg0
= wxString_in_helper(_obj0
);
809 _arg1
= wxString_in_helper(_obj1
);
815 _arg2
= wxString_in_helper(_obj2
);
820 if (_argo3
== Py_None
) { _arg3
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
828 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
830 wxPyEndAllowThreads(__tstate
);
831 if (PyErr_Occurred()) return NULL
;
834 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
857 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
864 wxWindow
* _arg4
= (wxWindow
*) NULL
;
865 int _arg5
= (int ) -1;
866 int _arg6
= (int ) -1;
867 bool _arg7
= (bool ) TRUE
;
868 int _arg8
= (int ) 150;
869 int _arg9
= (int ) 200;
870 PyObject
* _obj0
= 0;
871 PyObject
* _obj1
= 0;
872 PyObject
* _obj3
= 0;
873 PyObject
* _argo4
= 0;
874 int tempbool7
= (int) TRUE
;
875 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
881 _arg0
= wxString_in_helper(_obj0
);
886 _arg1
= wxString_in_helper(_obj1
);
892 _arg3
= wxString_LIST_helper(_obj3
);
898 if (_argo4
== Py_None
) { _arg4
= NULL
; }
899 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
904 _arg7
= (bool ) tempbool7
;
907 _arg2
= PyList_Size(_obj3
);
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
921 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
923 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
943 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
950 wxWindow
* _arg4
= (wxWindow
*) NULL
;
951 int _arg5
= (int ) -1;
952 int _arg6
= (int ) -1;
953 bool _arg7
= (bool ) TRUE
;
954 int _arg8
= (int ) 150;
955 int _arg9
= (int ) 200;
956 PyObject
* _obj0
= 0;
957 PyObject
* _obj1
= 0;
958 PyObject
* _obj3
= 0;
959 PyObject
* _argo4
= 0;
960 int tempbool7
= (int) TRUE
;
961 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
967 _arg0
= wxString_in_helper(_obj0
);
972 _arg1
= wxString_in_helper(_obj1
);
978 _arg3
= wxString_LIST_helper(_obj3
);
984 if (_argo4
== Py_None
) { _arg4
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
990 _arg7
= (bool ) tempbool7
;
993 _arg2
= PyList_Size(_obj3
);
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) return NULL
;
1005 } _resultobj
= Py_BuildValue("i",_result
);
1020 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1024 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1025 int _arg2
= (int ) wxOK
|wxCENTRE
;
1026 wxWindow
* _arg3
= (wxWindow
*) NULL
;
1027 int _arg4
= (int ) -1;
1028 int _arg5
= (int ) -1;
1029 PyObject
* _obj0
= 0;
1030 PyObject
* _obj1
= 0;
1031 PyObject
* _argo3
= 0;
1032 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
1038 _arg0
= wxString_in_helper(_obj0
);
1044 _arg1
= wxString_in_helper(_obj1
);
1049 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) return NULL
;
1061 } _resultobj
= Py_BuildValue("i",_result
);
1073 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1080 long _arg4
= (long ) 0;
1081 long _arg5
= (long ) 100;
1082 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1083 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1084 PyObject
* _obj0
= 0;
1085 PyObject
* _obj1
= 0;
1086 PyObject
* _obj2
= 0;
1087 PyObject
* _argo6
= 0;
1089 PyObject
* _obj7
= 0;
1090 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1096 _arg0
= wxString_in_helper(_obj0
);
1101 _arg1
= wxString_in_helper(_obj1
);
1106 _arg2
= wxString_in_helper(_obj2
);
1111 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1120 if (! wxPoint_helper(_obj7
, &_arg7
))
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1129 } _resultobj
= Py_BuildValue("l",_result
);
1145 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
* _resultobj
;
1148 char *_kwnames
[] = { NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= (bool )wxColourDisplay();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1159 } _resultobj
= Py_BuildValue("i",_result
);
1163 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1166 char *_kwnames
[] = { NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 _result
= (int )wxDisplayDepth();
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) return NULL
;
1177 } _resultobj
= Py_BuildValue("i",_result
);
1181 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1184 char *_kwnames
[] = { NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 _result
= (int )wxGetDisplayDepth();
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } _resultobj
= Py_BuildValue("i",_result
);
1199 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1205 char *_kwnames
[] = { NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxDisplaySize(_arg0
,_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1226 o
= PyInt_FromLong((long) (*_arg0
));
1227 _resultobj
= t_output_helper(_resultobj
, o
);
1231 o
= PyInt_FromLong((long) (*_arg1
));
1232 _resultobj
= t_output_helper(_resultobj
, o
);
1237 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1240 char *_kwnames
[] = { NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 _result
= new wxSize (wxGetDisplaySize());
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1253 _resultobj
= Py_BuildValue("s",_ptemp
);
1257 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1263 char *_kwnames
[] = { NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 wxDisplaySizeMM(_arg0
,_arg1
);
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) return NULL
;
1280 } Py_INCREF(Py_None
);
1281 _resultobj
= Py_None
;
1284 o
= PyInt_FromLong((long) (*_arg0
));
1285 _resultobj
= t_output_helper(_resultobj
, o
);
1289 o
= PyInt_FromLong((long) (*_arg1
));
1290 _resultobj
= t_output_helper(_resultobj
, o
);
1295 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1298 char *_kwnames
[] = { NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 _result
= new wxSize (wxGetDisplaySizeMM());
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1311 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1325 char *_kwnames
[] = { NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) return NULL
;
1348 } Py_INCREF(Py_None
);
1349 _resultobj
= Py_None
;
1352 o
= PyInt_FromLong((long) (*_arg0
));
1353 _resultobj
= t_output_helper(_resultobj
, o
);
1357 o
= PyInt_FromLong((long) (*_arg1
));
1358 _resultobj
= t_output_helper(_resultobj
, o
);
1362 o
= PyInt_FromLong((long) (*_arg2
));
1363 _resultobj
= t_output_helper(_resultobj
, o
);
1367 o
= PyInt_FromLong((long) (*_arg3
));
1368 _resultobj
= t_output_helper(_resultobj
, o
);
1373 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1376 char *_kwnames
[] = { NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 _result
= new wxRect (wxGetClientDisplayRect());
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) return NULL
;
1388 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1389 _resultobj
= Py_BuildValue("s",_ptemp
);
1393 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "cursor", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1403 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 wxSetCursor(*_arg0
);
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) return NULL
;
1414 } Py_INCREF(Py_None
);
1415 _resultobj
= Py_None
;
1419 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1421 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "cursor", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 wxBeginBusyCursor(_arg0
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1449 char *_kwnames
[] = { NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 _result
= (wxWindow
*)wxGetActiveWindow();
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1464 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1469 PyObject
* _obj0
= 0;
1470 char *_kwnames
[] = { "pt", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1477 if (! wxPoint_helper(_obj0
, &_arg0
))
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1490 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1495 PyObject
* _obj0
= 0;
1496 char *_kwnames
[] = { "pt", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1503 if (! wxPoint_helper(_obj0
, &_arg0
))
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) return NULL
;
1512 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1516 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "win", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1543 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1546 char *_kwnames
[] = { NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 _result
= (int )wxCaret_GetBlinkTime();
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) return NULL
;
1557 } _resultobj
= Py_BuildValue("i",_result
);
1561 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1564 char *_kwnames
[] = { "milliseconds", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 wxCaret_SetBlinkTime(_arg0
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) return NULL
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1583 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1584 bool _arg1
= (bool ) FALSE
;
1585 PyObject
* _argo0
= 0;
1586 int tempbool1
= (int) FALSE
;
1587 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1599 _arg1
= (bool ) tempbool1
;
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1606 } _resultobj
= Py_BuildValue("i",_result
);
1610 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 wxEvtHandler
* _arg0
;
1614 PyObject
* _argo0
= 0;
1615 PyObject
* _argo1
= 0;
1616 char *_kwnames
[] = { "dest","event", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1629 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 wxPostEvent(_arg0
,*_arg1
);
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) return NULL
;
1640 } Py_INCREF(Py_None
);
1641 _resultobj
= Py_None
;
1645 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1647 char *_kwnames
[] = { NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1658 } Py_INCREF(Py_None
);
1659 _resultobj
= Py_None
;
1663 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1665 char *_kwnames
[] = { NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) return NULL
;
1676 } Py_INCREF(Py_None
);
1677 _resultobj
= Py_None
;
1681 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1683 char *_kwnames
[] = { NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1694 } Py_INCREF(Py_None
);
1695 _resultobj
= Py_None
;
1699 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1702 char *_kwnames
[] = { NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 _result
= (bool )wxThread_IsMain();
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) return NULL
;
1713 } _resultobj
= Py_BuildValue("i",_result
);
1717 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1721 wxTipProvider
* _arg1
;
1722 bool _arg2
= (bool ) TRUE
;
1723 PyObject
* _argo0
= 0;
1724 PyObject
* _argo1
= 0;
1725 int tempbool2
= (int) TRUE
;
1726 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1745 _arg2
= (bool ) tempbool2
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) return NULL
;
1752 } _resultobj
= Py_BuildValue("i",_result
);
1756 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1758 wxTipProvider
* _result
;
1761 PyObject
* _obj0
= 0;
1762 char *_kwnames
[] = { "filename","currentTip", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1769 _arg0
= wxString_in_helper(_obj0
);
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) return NULL
;
1780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1781 _resultobj
= Py_BuildValue("s",_ptemp
);
1784 _resultobj
= Py_None
;
1793 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 unsigned long _result
;
1796 char *_kwnames
[] = { NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 _result
= (unsigned long )wxSysErrorCode();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) return NULL
;
1807 } _resultobj
= Py_BuildValue("l",_result
);
1811 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 unsigned long _arg0
= (unsigned long ) 0;
1815 char *_kwnames
[] = { "nErrCode", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 _result
= new wxString (wxSysErrorMsg(_arg0
));
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1828 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1830 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1839 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1842 PyObject
* _obj0
= 0;
1843 char *_kwnames
[] = { "msg", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1849 _arg0
= wxString_in_helper(_obj0
);
1854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 wxLogFatalError(*_arg0
);
1857 wxPyEndAllowThreads(__tstate
);
1858 if (PyErr_Occurred()) return NULL
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1868 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1871 PyObject
* _obj0
= 0;
1872 char *_kwnames
[] = { "msg", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1878 _arg0
= wxString_in_helper(_obj0
);
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) return NULL
;
1888 } Py_INCREF(Py_None
);
1889 _resultobj
= Py_None
;
1897 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 PyObject
* _obj0
= 0;
1901 char *_kwnames
[] = { "msg", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1907 _arg0
= wxString_in_helper(_obj0
);
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 wxLogWarning(*_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } Py_INCREF(Py_None
);
1918 _resultobj
= Py_None
;
1926 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1929 PyObject
* _obj0
= 0;
1930 char *_kwnames
[] = { "msg", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1936 _arg0
= wxString_in_helper(_obj0
);
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 wxLogMessage(*_arg0
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) return NULL
;
1946 } Py_INCREF(Py_None
);
1947 _resultobj
= Py_None
;
1955 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1958 PyObject
* _obj0
= 0;
1959 char *_kwnames
[] = { "msg", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1965 _arg0
= wxString_in_helper(_obj0
);
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) return NULL
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1984 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1987 PyObject
* _obj0
= 0;
1988 char *_kwnames
[] = { "msg", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1994 _arg0
= wxString_in_helper(_obj0
);
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) return NULL
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2013 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2016 PyObject
* _obj0
= 0;
2017 char *_kwnames
[] = { "msg", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2023 _arg0
= wxString_in_helper(_obj0
);
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 wxLogVerbose(*_arg0
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2042 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2045 PyObject
* _obj0
= 0;
2046 char *_kwnames
[] = { "msg", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2052 _arg0
= wxString_in_helper(_obj0
);
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 wxLogStatus(*_arg0
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) return NULL
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2071 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2075 PyObject
* _argo0
= 0;
2076 PyObject
* _obj1
= 0;
2077 char *_kwnames
[] = { "pFrame","msg", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2090 _arg1
= wxString_in_helper(_obj1
);
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 wxLogStatus(_arg0
,*_arg1
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2109 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2112 PyObject
* _obj0
= 0;
2113 char *_kwnames
[] = { "msg", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2119 _arg0
= wxString_in_helper(_obj0
);
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 wxLogSysError(*_arg0
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2138 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 PyObject
* _obj0
= 0;
2142 char *_kwnames
[] = { "msg", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2148 _arg0
= wxString_in_helper(_obj0
);
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) return NULL
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2167 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2171 PyObject
* _obj0
= 0;
2172 PyObject
* _obj1
= 0;
2173 char *_kwnames
[] = { "mask","msg", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2179 _arg0
= wxString_in_helper(_obj0
);
2184 _arg1
= wxString_in_helper(_obj1
);
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 wxLogTrace(*_arg0
,*_arg1
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } Py_INCREF(Py_None
);
2195 _resultobj
= Py_None
;
2207 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2209 unsigned long _arg0
;
2211 PyObject
* _obj1
= 0;
2212 char *_kwnames
[] = { "level","msg", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2218 _arg1
= wxString_in_helper(_obj1
);
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 wxLogGeneric(_arg0
,*_arg1
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) return NULL
;
2228 } Py_INCREF(Py_None
);
2229 _resultobj
= Py_None
;
2237 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2241 PyObject
* _obj0
= 0;
2242 PyObject
* _obj1
= 0;
2243 char *_kwnames
[] = { "title","text", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2249 _arg0
= wxString_in_helper(_obj0
);
2254 _arg1
= wxString_in_helper(_obj1
);
2259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 wxSafeShowMessage(*_arg0
,*_arg1
);
2262 wxPyEndAllowThreads(__tstate
);
2263 if (PyErr_Occurred()) return NULL
;
2264 } Py_INCREF(Py_None
);
2265 _resultobj
= Py_None
;
2277 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2281 int _arg1
= (int ) (wxEXEC_ASYNC
);
2282 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2283 PyObject
* _obj0
= 0;
2284 PyObject
* _argo2
= 0;
2285 char *_kwnames
[] = { "command","flags","process", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2291 _arg0
= wxString_in_helper(_obj0
);
2296 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2297 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } _resultobj
= Py_BuildValue("l",_result
);
2316 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2320 PyObject
* _obj0
= 0;
2321 char *_kwnames
[] = { "data", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2328 _arg0
= wxString_in_helper(_obj0
);
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 _result
= (wxWave
*)wxWaveData(*_arg0
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2340 _resultobj
= Py_BuildValue("s",_ptemp
);
2343 _resultobj
= Py_None
;
2352 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2354 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2358 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2362 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2363 pyobj
= PyString_FromString(ptemp
);
2367 static PyObject
*_wrap_wxDrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2372 PyObject
* _argo0
= 0;
2373 PyObject
* _argo1
= 0;
2374 char *_kwnames
[] = { "window","dc","method", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDrawWindowOnDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDrawWindowOnDC. Expected _wxWindow_p.");
2387 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDrawWindowOnDC. Expected _wxDC_p.");
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 wxDrawWindowOnDC(_arg0
,*_arg1
,_arg2
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) return NULL
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2403 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
* _resultobj
;
2406 wxSystemColour _arg0
;
2407 char *_kwnames
[] = { "index", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2419 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2420 _resultobj
= Py_BuildValue("s",_ptemp
);
2424 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2428 char *_kwnames
[] = { "index", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2440 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2441 _resultobj
= Py_BuildValue("s",_ptemp
);
2445 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2448 wxSystemMetric _arg0
;
2449 char *_kwnames
[] = { "index", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) return NULL
;
2460 } _resultobj
= Py_BuildValue("i",_result
);
2464 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2467 wxSystemFeature _arg0
;
2468 char *_kwnames
[] = { "index", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2477 wxPyEndAllowThreads(__tstate
);
2478 if (PyErr_Occurred()) return NULL
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2485 wxSystemScreenType _result
;
2486 char *_kwnames
[] = { NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2497 } _resultobj
= Py_BuildValue("i",_result
);
2501 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2503 wxSystemScreenType _arg0
;
2504 char *_kwnames
[] = { "screen", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 wxSystemSettings::SetScreenType(_arg0
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) return NULL
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2520 static void *SwigwxSystemOptionsTowxObject(void *ptr
) {
2521 wxSystemOptions
*src
;
2523 src
= (wxSystemOptions
*) ptr
;
2524 dest
= (wxObject
*) src
;
2525 return (void *) dest
;
2528 #define new_wxSystemOptions() (new wxSystemOptions())
2529 static PyObject
*_wrap_new_wxSystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2531 wxSystemOptions
* _result
;
2532 char *_kwnames
[] = { NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSystemOptions",_kwnames
))
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 _result
= (wxSystemOptions
*)new_wxSystemOptions();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) return NULL
;
2545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSystemOptions_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2549 _resultobj
= Py_None
;
2554 static PyObject
*_wrap_wxSystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2558 PyObject
* _obj0
= 0;
2559 PyObject
* _obj1
= 0;
2560 char *_kwnames
[] = { "name","value", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSystemOptions_SetOption",_kwnames
,&_obj0
,&_obj1
))
2566 _arg0
= wxString_in_helper(_obj0
);
2571 _arg1
= wxString_in_helper(_obj1
);
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 wxSystemOptions::SetOption(*_arg0
,*_arg1
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) return NULL
;
2581 } Py_INCREF(Py_None
);
2582 _resultobj
= Py_None
;
2594 static PyObject
*_wrap_wxSystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2598 PyObject
* _obj0
= 0;
2599 char *_kwnames
[] = { "name","value", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSystemOptions_SetOptionInt",_kwnames
,&_obj0
,&_arg1
))
2605 _arg0
= wxString_in_helper(_obj0
);
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 wxSystemOptions::SetOption(*_arg0
,_arg1
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } Py_INCREF(Py_None
);
2616 _resultobj
= Py_None
;
2624 static PyObject
*_wrap_wxSystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2628 PyObject
* _obj0
= 0;
2629 char *_kwnames
[] = { "name", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOption",_kwnames
,&_obj0
))
2635 _arg0
= wxString_in_helper(_obj0
);
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 _result
= new wxString (wxSystemOptions::GetOption(*_arg0
));
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) return NULL
;
2647 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2649 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2662 static PyObject
*_wrap_wxSystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2666 PyObject
* _obj0
= 0;
2667 char *_kwnames
[] = { "name", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOptionInt",_kwnames
,&_obj0
))
2673 _arg0
= wxString_in_helper(_obj0
);
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 _result
= (int )wxSystemOptions::GetOptionInt(*_arg0
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } _resultobj
= Py_BuildValue("i",_result
);
2691 static PyObject
*_wrap_wxSystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2695 PyObject
* _obj0
= 0;
2696 char *_kwnames
[] = { "name", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_HasOption",_kwnames
,&_obj0
))
2702 _arg0
= wxString_in_helper(_obj0
);
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 _result
= (bool )wxSystemOptions::HasOption(*_arg0
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 } _resultobj
= Py_BuildValue("i",_result
);
2720 static void *SwigwxToolTipTowxObject(void *ptr
) {
2723 src
= (wxToolTip
*) ptr
;
2724 dest
= (wxObject
*) src
;
2725 return (void *) dest
;
2728 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2729 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2731 wxToolTip
* _result
;
2733 PyObject
* _obj0
= 0;
2734 char *_kwnames
[] = { "tip", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2741 _arg0
= wxString_in_helper(_obj0
);
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) return NULL
;
2752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2753 _resultobj
= Py_BuildValue("s",_ptemp
);
2756 _resultobj
= Py_None
;
2765 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2766 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2771 PyObject
* _obj1
= 0;
2772 char *_kwnames
[] = { "self","tip", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2785 _arg1
= wxString_in_helper(_obj1
);
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 wxToolTip_SetTip(_arg0
,*_arg1
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2795 } Py_INCREF(Py_None
);
2796 _resultobj
= Py_None
;
2804 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2805 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
* _resultobj
;
2809 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) return NULL
;
2830 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2832 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2841 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2842 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) return NULL
;
2865 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2869 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2873 char *_kwnames
[] = { "flag", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2878 _arg0
= (bool ) tempbool0
;
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 wxToolTip::Enable(_arg0
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2885 } Py_INCREF(Py_None
);
2886 _resultobj
= Py_None
;
2890 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2893 char *_kwnames
[] = { "milliseconds", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 wxToolTip::SetDelay(_arg0
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) return NULL
;
2904 } Py_INCREF(Py_None
);
2905 _resultobj
= Py_None
;
2909 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2910 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2915 PyObject
* _argo0
= 0;
2917 PyObject
* _obj1
= 0;
2918 char *_kwnames
[] = { "window","size", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2933 if (! wxSize_helper(_obj1
, &_arg1
))
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2944 _resultobj
= Py_BuildValue("s",_ptemp
);
2947 _resultobj
= Py_None
;
2952 #define delete_wxCaret(_swigobj) (delete _swigobj)
2953 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 delete_wxCaret(_arg0
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) return NULL
;
2975 } Py_INCREF(Py_None
);
2976 _resultobj
= Py_None
;
2980 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2981 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 _result
= (bool )wxCaret_IsOk(_arg0
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) return NULL
;
3004 } _resultobj
= Py_BuildValue("i",_result
);
3008 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
3009 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 _result
= (bool )wxCaret_IsVisible(_arg0
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) return NULL
;
3032 } _resultobj
= Py_BuildValue("i",_result
);
3036 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3037 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3073 o
= PyInt_FromLong((long) (*_arg1
));
3074 _resultobj
= t_output_helper(_resultobj
, o
);
3078 o
= PyInt_FromLong((long) (*_arg2
));
3079 _resultobj
= t_output_helper(_resultobj
, o
);
3084 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
3085 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) return NULL
;
3109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3110 _resultobj
= Py_BuildValue("s",_ptemp
);
3114 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3115 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) return NULL
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3151 o
= PyInt_FromLong((long) (*_arg1
));
3152 _resultobj
= t_output_helper(_resultobj
, o
);
3156 o
= PyInt_FromLong((long) (*_arg2
));
3157 _resultobj
= t_output_helper(_resultobj
, o
);
3162 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3163 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) return NULL
;
3187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3188 _resultobj
= Py_BuildValue("s",_ptemp
);
3192 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3193 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
* _resultobj
;
3197 PyObject
* _argo0
= 0;
3198 char *_kwnames
[] = { "self", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3220 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3221 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self","x","y", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3251 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3255 PyObject
* _argo0
= 0;
3257 PyObject
* _obj1
= 0;
3258 char *_kwnames
[] = { "self","pt", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3272 if (! wxPoint_helper(_obj1
, &_arg1
))
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 wxCaret_Move(_arg0
,*_arg1
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 } Py_INCREF(Py_None
);
3282 _resultobj
= Py_None
;
3286 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3287 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self","width","height", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3307 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3309 wxPyEndAllowThreads(__tstate
);
3310 if (PyErr_Occurred()) return NULL
;
3311 } Py_INCREF(Py_None
);
3312 _resultobj
= Py_None
;
3316 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3317 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3321 PyObject
* _argo0
= 0;
3323 PyObject
* _obj1
= 0;
3324 char *_kwnames
[] = { "self","size", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3338 if (! wxSize_helper(_obj1
, &_arg1
))
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 wxCaret_SetSize(_arg0
,*_arg1
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) return NULL
;
3347 } Py_INCREF(Py_None
);
3348 _resultobj
= Py_None
;
3352 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3353 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3356 int _arg1
= (int ) TRUE
;
3357 PyObject
* _argo0
= 0;
3358 char *_kwnames
[] = { "self","show", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 wxCaret_Show(_arg0
,_arg1
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) return NULL
;
3376 } Py_INCREF(Py_None
);
3377 _resultobj
= Py_None
;
3381 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3382 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3385 PyObject
* _argo0
= 0;
3386 char *_kwnames
[] = { "self", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 wxCaret_Hide(_arg0
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) return NULL
;
3404 } Py_INCREF(Py_None
);
3405 _resultobj
= Py_None
;
3409 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3410 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
* _resultobj
;
3412 wxBusyCursor
* _result
;
3413 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3414 PyObject
* _argo0
= 0;
3415 char *_kwnames
[] = { "cursor", NULL
};
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) return NULL
;
3435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3436 _resultobj
= Py_BuildValue("s",_ptemp
);
3439 _resultobj
= Py_None
;
3444 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3445 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxBusyCursor
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 delete_wxBusyCursor(_arg0
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3467 } Py_INCREF(Py_None
);
3468 _resultobj
= Py_None
;
3472 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3473 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3475 wxWindowDisabler
* _result
;
3476 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "winToSkip", NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3499 _resultobj
= Py_BuildValue("s",_ptemp
);
3502 _resultobj
= Py_None
;
3507 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3508 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3510 wxWindowDisabler
* _arg0
;
3511 PyObject
* _argo0
= 0;
3512 char *_kwnames
[] = { "self", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 delete_wxWindowDisabler(_arg0
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) return NULL
;
3530 } Py_INCREF(Py_None
);
3531 _resultobj
= Py_None
;
3535 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3536 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3538 wxMutexGuiLocker
* _result
;
3539 char *_kwnames
[] = { NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3552 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3553 _resultobj
= Py_BuildValue("s",_ptemp
);
3556 _resultobj
= Py_None
;
3561 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3562 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3564 wxMutexGuiLocker
* _arg0
;
3565 PyObject
* _argo0
= 0;
3566 char *_kwnames
[] = { "self", NULL
};
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 delete_wxMutexGuiLocker(_arg0
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) return NULL
;
3584 } Py_INCREF(Py_None
);
3585 _resultobj
= Py_None
;
3589 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3590 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3592 wxTipProvider
* _arg0
;
3593 PyObject
* _argo0
= 0;
3594 char *_kwnames
[] = { "self", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 delete_wxTipProvider(_arg0
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) return NULL
;
3612 } Py_INCREF(Py_None
);
3613 _resultobj
= Py_None
;
3617 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3618 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3621 wxTipProvider
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) return NULL
;
3643 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3645 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3654 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3655 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3658 wxTipProvider
* _arg0
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) return NULL
;
3678 } _resultobj
= Py_BuildValue("i",_result
);
3682 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3683 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 wxTipProvider
* _arg0
;
3688 PyObject
* _argo0
= 0;
3689 PyObject
* _obj1
= 0;
3690 char *_kwnames
[] = { "self","tip", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3703 _arg1
= wxString_in_helper(_obj1
);
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) return NULL
;
3715 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3717 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3730 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3731 wxPyTipProvider
*src
;
3732 wxTipProvider
*dest
;
3733 src
= (wxPyTipProvider
*) ptr
;
3734 dest
= (wxTipProvider
*) src
;
3735 return (void *) dest
;
3738 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3739 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3741 wxPyTipProvider
* _result
;
3743 char *_kwnames
[] = { "currentTip", NULL
};
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) return NULL
;
3756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3757 _resultobj
= Py_BuildValue("s",_ptemp
);
3760 _resultobj
= Py_None
;
3765 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3766 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3768 wxPyTipProvider
* _arg0
;
3771 PyObject
* _argo0
= 0;
3772 PyObject
* _obj1
= 0;
3773 PyObject
* _obj2
= 0;
3774 char *_kwnames
[] = { "self","self","_class", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) return NULL
;
3798 } Py_INCREF(Py_None
);
3799 _resultobj
= Py_None
;
3803 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3804 wxGenericDragImage
*src
;
3806 src
= (wxGenericDragImage
*) ptr
;
3807 dest
= (wxObject
*) src
;
3808 return (void *) dest
;
3811 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3812 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3814 wxGenericDragImage
* _result
;
3816 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3817 PyObject
* _argo0
= 0;
3818 PyObject
* _argo1
= 0;
3819 char *_kwnames
[] = { "image","cursor", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3826 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3832 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) return NULL
;
3844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3845 _resultobj
= Py_BuildValue("s",_ptemp
);
3848 _resultobj
= Py_None
;
3853 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3854 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
* _resultobj
;
3856 wxGenericDragImage
* _result
;
3858 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3859 PyObject
* _argo0
= 0;
3860 PyObject
* _argo1
= 0;
3861 char *_kwnames
[] = { "image","cursor", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3868 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3874 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3887 _resultobj
= Py_BuildValue("s",_ptemp
);
3890 _resultobj
= Py_None
;
3895 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3896 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
* _resultobj
;
3898 wxGenericDragImage
* _result
;
3900 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3901 PyObject
* _obj0
= 0;
3902 PyObject
* _argo1
= 0;
3903 char *_kwnames
[] = { "str","cursor", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3910 _arg0
= wxString_in_helper(_obj0
);
3915 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) return NULL
;
3927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3928 _resultobj
= Py_BuildValue("s",_ptemp
);
3931 _resultobj
= Py_None
;
3940 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3941 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3943 wxGenericDragImage
* _result
;
3945 wxTreeItemId
* _arg1
;
3946 PyObject
* _argo0
= 0;
3947 PyObject
* _argo1
= 0;
3948 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3955 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3961 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3974 _resultobj
= Py_BuildValue("s",_ptemp
);
3977 _resultobj
= Py_None
;
3982 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3983 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3985 wxGenericDragImage
* _result
;
3988 PyObject
* _argo0
= 0;
3989 char *_kwnames
[] = { "listCtrl","id", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3996 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) return NULL
;
4008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
4009 _resultobj
= Py_BuildValue("s",_ptemp
);
4012 _resultobj
= Py_None
;
4017 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
4018 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4020 wxGenericDragImage
* _arg0
;
4021 PyObject
* _argo0
= 0;
4022 char *_kwnames
[] = { "self", NULL
};
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
4028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 delete_wxGenericDragImage(_arg0
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) return NULL
;
4040 } Py_INCREF(Py_None
);
4041 _resultobj
= Py_None
;
4045 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
4046 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4048 wxGenericDragImage
* _arg0
;
4050 PyObject
* _argo0
= 0;
4051 PyObject
* _argo1
= 0;
4052 char *_kwnames
[] = { "self","bitmap", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
4065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) return NULL
;
4077 } Py_INCREF(Py_None
);
4078 _resultobj
= Py_None
;
4082 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4083 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
* _resultobj
;
4086 wxGenericDragImage
* _arg0
;
4089 bool _arg3
= (bool ) FALSE
;
4090 wxRect
* _arg4
= (wxRect
*) NULL
;
4091 PyObject
* _argo0
= 0;
4093 PyObject
* _obj1
= 0;
4094 PyObject
* _argo2
= 0;
4095 int tempbool3
= (int) FALSE
;
4097 PyObject
* _obj4
= 0;
4098 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
4112 if (! wxPoint_helper(_obj1
, &_arg1
))
4116 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4117 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
4122 _arg3
= (bool ) tempbool3
;
4126 if (! wxRect_helper(_obj4
, &_arg4
))
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) return NULL
;
4135 } _resultobj
= Py_BuildValue("i",_result
);
4139 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4140 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4143 wxGenericDragImage
* _arg0
;
4147 PyObject
* _argo0
= 0;
4149 PyObject
* _obj1
= 0;
4150 PyObject
* _argo2
= 0;
4151 PyObject
* _argo3
= 0;
4152 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
4166 if (! wxPoint_helper(_obj1
, &_arg1
))
4170 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4177 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) return NULL
;
4189 } _resultobj
= Py_BuildValue("i",_result
);
4193 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4194 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4197 wxGenericDragImage
* _arg0
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } _resultobj
= Py_BuildValue("i",_result
);
4221 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4222 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4225 wxGenericDragImage
* _arg0
;
4227 PyObject
* _argo0
= 0;
4229 PyObject
* _obj1
= 0;
4230 char *_kwnames
[] = { "self","pt", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4244 if (! wxPoint_helper(_obj1
, &_arg1
))
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) return NULL
;
4253 } _resultobj
= Py_BuildValue("i",_result
);
4257 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4258 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 wxGenericDragImage
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 _result
= (bool )wxDragImage_Show(_arg0
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } _resultobj
= Py_BuildValue("i",_result
);
4285 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4286 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4289 wxGenericDragImage
* _arg0
;
4290 PyObject
* _argo0
= 0;
4291 char *_kwnames
[] = { "self", NULL
};
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 _result
= (bool )wxDragImage_Hide(_arg0
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) return NULL
;
4309 } _resultobj
= Py_BuildValue("i",_result
);
4313 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4314 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4317 wxGenericDragImage
* _arg0
;
4319 PyObject
* _argo0
= 0;
4321 PyObject
* _obj1
= 0;
4322 char *_kwnames
[] = { "self","pos", NULL
};
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4337 if (! wxPoint_helper(_obj1
, &_arg1
))
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) return NULL
;
4346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4347 _resultobj
= Py_BuildValue("s",_ptemp
);
4351 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4352 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4355 wxGenericDragImage
* _arg0
;
4360 PyObject
* _argo0
= 0;
4362 PyObject
* _obj1
= 0;
4364 PyObject
* _obj2
= 0;
4367 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4381 if (! wxPoint_helper(_obj1
, &_arg1
))
4386 if (! wxPoint_helper(_obj2
, &_arg2
))
4389 _arg3
= (bool ) tempbool3
;
4390 _arg4
= (bool ) tempbool4
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) return NULL
;
4397 } _resultobj
= Py_BuildValue("i",_result
);
4401 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4404 src
= (wxPyTimer
*) ptr
;
4405 dest
= (wxObject
*) src
;
4406 return (void *) dest
;
4409 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4410 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4412 wxPyTimer
* _result
;
4414 PyObject
* _obj0
= 0;
4415 char *_kwnames
[] = { "notify", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) return NULL
;
4431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4432 _resultobj
= Py_BuildValue("s",_ptemp
);
4435 _resultobj
= Py_None
;
4440 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4441 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4444 PyObject
* _argo0
= 0;
4445 char *_kwnames
[] = { "self", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 delete_wxPyTimer(_arg0
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) return NULL
;
4463 } Py_INCREF(Py_None
);
4464 _resultobj
= Py_None
;
4468 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4469 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4473 PyObject
* _argo0
= 0;
4474 char *_kwnames
[] = { "self", NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) return NULL
;
4492 } _resultobj
= Py_BuildValue("i",_result
);
4496 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4497 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4501 PyObject
* _argo0
= 0;
4502 char *_kwnames
[] = { "self", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) return NULL
;
4520 } _resultobj
= Py_BuildValue("i",_result
);
4524 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4525 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) return NULL
;
4548 } _resultobj
= Py_BuildValue("i",_result
);
4552 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4553 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4556 wxEvtHandler
* _arg1
;
4557 int _arg2
= (int ) -1;
4558 PyObject
* _argo0
= 0;
4559 PyObject
* _argo1
= 0;
4560 char *_kwnames
[] = { "self","owner","id", NULL
};
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) return NULL
;
4585 } Py_INCREF(Py_None
);
4586 _resultobj
= Py_None
;
4590 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4591 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4595 int _arg1
= (int ) -1;
4596 int _arg2
= (int ) FALSE
;
4597 PyObject
* _argo0
= 0;
4598 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) return NULL
;
4616 } _resultobj
= Py_BuildValue("i",_result
);
4620 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4621 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4624 PyObject
* _argo0
= 0;
4625 char *_kwnames
[] = { "self", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 wxPyTimer_Stop(_arg0
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) return NULL
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 #define new_wxStopWatch() (new wxStopWatch())
4649 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4651 wxStopWatch
* _result
;
4652 char *_kwnames
[] = { NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 _result
= (wxStopWatch
*)new_wxStopWatch();
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) return NULL
;
4665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4666 _resultobj
= Py_BuildValue("s",_ptemp
);
4669 _resultobj
= Py_None
;
4674 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4675 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4677 wxStopWatch
* _arg0
;
4678 PyObject
* _argo0
= 0;
4679 char *_kwnames
[] = { "self", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 delete_wxStopWatch(_arg0
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) return NULL
;
4697 } Py_INCREF(Py_None
);
4698 _resultobj
= Py_None
;
4702 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4703 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4705 wxStopWatch
* _arg0
;
4706 long _arg1
= (long ) 0;
4707 PyObject
* _argo0
= 0;
4708 char *_kwnames
[] = { "self","t", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxStopWatch_Start(_arg0
,_arg1
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) return NULL
;
4726 } Py_INCREF(Py_None
);
4727 _resultobj
= Py_None
;
4731 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4732 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4734 wxStopWatch
* _arg0
;
4735 PyObject
* _argo0
= 0;
4736 char *_kwnames
[] = { "self", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 wxStopWatch_Pause(_arg0
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) return NULL
;
4754 } Py_INCREF(Py_None
);
4755 _resultobj
= Py_None
;
4759 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4760 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
* _resultobj
;
4762 wxStopWatch
* _arg0
;
4763 PyObject
* _argo0
= 0;
4764 char *_kwnames
[] = { "self", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 wxStopWatch_Resume(_arg0
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) return NULL
;
4782 } Py_INCREF(Py_None
);
4783 _resultobj
= Py_None
;
4787 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4788 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4791 wxStopWatch
* _arg0
;
4792 PyObject
* _argo0
= 0;
4793 char *_kwnames
[] = { "self", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 _result
= (long )wxStopWatch_Time(_arg0
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) return NULL
;
4811 } _resultobj
= Py_BuildValue("l",_result
);
4815 #define new_wxLog() (new wxLog())
4816 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
* _resultobj
;
4819 char *_kwnames
[] = { NULL
};
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 _result
= (wxLog
*)new_wxLog();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) return NULL
;
4832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4833 _resultobj
= Py_BuildValue("s",_ptemp
);
4836 _resultobj
= Py_None
;
4841 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4844 char *_kwnames
[] = { NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 _result
= (bool )wxLog::IsEnabled();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) return NULL
;
4855 } _resultobj
= Py_BuildValue("i",_result
);
4859 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4862 bool _arg0
= (bool ) TRUE
;
4863 int tempbool0
= (int) TRUE
;
4864 char *_kwnames
[] = { "doIt", NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4869 _arg0
= (bool ) tempbool0
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 _result
= (bool )wxLog::EnableLogging(_arg0
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) return NULL
;
4876 } _resultobj
= Py_BuildValue("i",_result
);
4880 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4882 unsigned long _arg0
;
4884 int _arg2
= (int ) 0;
4885 PyObject
* _obj1
= 0;
4886 char *_kwnames
[] = { "level","szString","t", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4892 _arg1
= wxString_in_helper(_obj1
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) return NULL
;
4902 } Py_INCREF(Py_None
);
4903 _resultobj
= Py_None
;
4911 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4912 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4915 PyObject
* _argo0
= 0;
4916 char *_kwnames
[] = { "self", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) return NULL
;
4934 } Py_INCREF(Py_None
);
4935 _resultobj
= Py_None
;
4939 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4941 char *_kwnames
[] = { NULL
};
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxLog::FlushActive();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) return NULL
;
4952 } Py_INCREF(Py_None
);
4953 _resultobj
= Py_None
;
4957 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
* _resultobj
;
4960 char *_kwnames
[] = { NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 _result
= (wxLog
*)wxLog::GetActiveTarget();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) return NULL
;
4973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4974 _resultobj
= Py_BuildValue("s",_ptemp
);
4977 _resultobj
= Py_None
;
4982 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "pLogger", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5008 _resultobj
= Py_BuildValue("s",_ptemp
);
5011 _resultobj
= Py_None
;
5016 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5018 char *_kwnames
[] = { NULL
};
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) return NULL
;
5029 } Py_INCREF(Py_None
);
5030 _resultobj
= Py_None
;
5034 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
* _resultobj
;
5036 char *_kwnames
[] = { NULL
};
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) return NULL
;
5047 } Py_INCREF(Py_None
);
5048 _resultobj
= Py_None
;
5052 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 bool _arg0
= (bool ) TRUE
;
5055 int tempbool0
= (int) TRUE
;
5056 char *_kwnames
[] = { "bVerbose", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
5061 _arg0
= (bool ) tempbool0
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxLog::SetVerbose(_arg0
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) return NULL
;
5068 } Py_INCREF(Py_None
);
5069 _resultobj
= Py_None
;
5073 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5075 char *_kwnames
[] = { NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxLog::DontCreateOnDemand();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) return NULL
;
5086 } Py_INCREF(Py_None
);
5087 _resultobj
= Py_None
;
5091 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5094 char *_kwnames
[] = { "ulMask", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 wxLog::SetTraceMask(_arg0
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) return NULL
;
5105 } Py_INCREF(Py_None
);
5106 _resultobj
= Py_None
;
5110 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
* _resultobj
;
5113 PyObject
* _obj0
= 0;
5114 char *_kwnames
[] = { "str", NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5120 _arg0
= wxString_in_helper(_obj0
);
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxLog::AddTraceMask(*_arg0
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) return NULL
;
5130 } Py_INCREF(Py_None
);
5131 _resultobj
= Py_None
;
5139 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5142 PyObject
* _obj0
= 0;
5143 char *_kwnames
[] = { "str", NULL
};
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5149 _arg0
= wxString_in_helper(_obj0
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 wxLog::RemoveTraceMask(*_arg0
);
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) return NULL
;
5159 } Py_INCREF(Py_None
);
5160 _resultobj
= Py_None
;
5168 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5170 char *_kwnames
[] = { NULL
};
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 wxLog::ClearTraceMasks();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) return NULL
;
5181 } Py_INCREF(Py_None
);
5182 _resultobj
= Py_None
;
5186 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5188 wxArrayString
* _result
;
5189 char *_kwnames
[] = { NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5198 _result
= (wxArrayString
*) &_result_ref
;
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) return NULL
;
5203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5204 _resultobj
= Py_BuildValue("s",_ptemp
);
5207 _resultobj
= Py_None
;
5212 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5215 PyObject
* _obj0
= 0;
5216 char *_kwnames
[] = { "ts", NULL
};
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5222 _arg0
= wxString_in_helper(_obj0
);
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 wxLog::SetTimestamp(*_arg0
);
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) return NULL
;
5232 } Py_INCREF(Py_None
);
5233 _resultobj
= Py_None
;
5241 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5244 char *_kwnames
[] = { NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 const wxString
& _result_ref
= wxLog::GetTimestamp();
5252 _result
= (wxString
*) &_result_ref
;
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) return NULL
;
5258 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5260 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5266 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5267 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 _result
= (bool )wxLog_GetVerbose(_arg0
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) return NULL
;
5290 } _resultobj
= Py_BuildValue("i",_result
);
5294 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5296 unsigned long _result
;
5297 char *_kwnames
[] = { NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 _result
= (unsigned long )wxLog::GetTraceMask();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) return NULL
;
5308 } _resultobj
= Py_BuildValue("l",_result
);
5312 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5316 PyObject
* _obj0
= 0;
5317 char *_kwnames
[] = { "mask", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5323 _arg0
= wxString_in_helper(_obj0
);
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) return NULL
;
5333 } _resultobj
= Py_BuildValue("i",_result
);
5341 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
* _resultobj
;
5343 unsigned long _arg0
;
5344 char *_kwnames
[] = { "logLevel", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxLog::SetLogLevel(_arg0
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) return NULL
;
5355 } Py_INCREF(Py_None
);
5356 _resultobj
= Py_None
;
5360 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5362 unsigned long _result
;
5363 char *_kwnames
[] = { NULL
};
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 _result
= (unsigned long )wxLog::GetLogLevel();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) return NULL
;
5374 } _resultobj
= Py_BuildValue("l",_result
);
5378 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5380 wxLog::TimeStamp(&msg
);
5383 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5387 PyObject
* _argo0
= 0;
5388 char *_kwnames
[] = { "self", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) return NULL
;
5408 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5410 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5419 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5422 src
= (wxLogStderr
*) ptr
;
5423 dest
= (wxLog
*) src
;
5424 return (void *) dest
;
5427 #define new_wxLogStderr() (new wxLogStderr())
5428 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5430 wxLogStderr
* _result
;
5431 char *_kwnames
[] = { NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 _result
= (wxLogStderr
*)new_wxLogStderr();
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) return NULL
;
5444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5445 _resultobj
= Py_BuildValue("s",_ptemp
);
5448 _resultobj
= Py_None
;
5453 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5456 src
= (wxLogTextCtrl
*) ptr
;
5457 dest
= (wxLog
*) src
;
5458 return (void *) dest
;
5461 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5462 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5464 wxLogTextCtrl
* _result
;
5466 PyObject
* _argo0
= 0;
5467 char *_kwnames
[] = { "pTextCtrl", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) return NULL
;
5487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5488 _resultobj
= Py_BuildValue("s",_ptemp
);
5491 _resultobj
= Py_None
;
5496 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5499 src
= (wxLogGui
*) ptr
;
5500 dest
= (wxLog
*) src
;
5501 return (void *) dest
;
5504 #define new_wxLogGui() (new wxLogGui())
5505 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5508 char *_kwnames
[] = { NULL
};
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 _result
= (wxLogGui
*)new_wxLogGui();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) return NULL
;
5521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5522 _resultobj
= Py_BuildValue("s",_ptemp
);
5525 _resultobj
= Py_None
;
5530 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5533 src
= (wxLogWindow
*) ptr
;
5534 dest
= (wxLog
*) src
;
5535 return (void *) dest
;
5538 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5539 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
* _resultobj
;
5541 wxLogWindow
* _result
;
5544 bool _arg2
= (bool ) TRUE
;
5545 bool _arg3
= (bool ) TRUE
;
5546 PyObject
* _argo0
= 0;
5547 PyObject
* _obj1
= 0;
5548 int tempbool2
= (int) TRUE
;
5549 int tempbool3
= (int) TRUE
;
5550 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5564 _arg1
= wxString_in_helper(_obj1
);
5568 _arg2
= (bool ) tempbool2
;
5569 _arg3
= (bool ) tempbool3
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) return NULL
;
5577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5578 _resultobj
= Py_BuildValue("s",_ptemp
);
5581 _resultobj
= Py_None
;
5590 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5591 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5593 wxLogWindow
* _arg0
;
5594 bool _arg1
= (bool ) TRUE
;
5595 PyObject
* _argo0
= 0;
5596 int tempbool1
= (int) TRUE
;
5597 char *_kwnames
[] = { "self","bShow", NULL
};
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5609 _arg1
= (bool ) tempbool1
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 wxLogWindow_Show(_arg0
,_arg1
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5616 } Py_INCREF(Py_None
);
5617 _resultobj
= Py_None
;
5621 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5622 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
* _resultobj
;
5625 wxLogWindow
* _arg0
;
5626 PyObject
* _argo0
= 0;
5627 char *_kwnames
[] = { "self", NULL
};
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) return NULL
;
5645 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5649 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5650 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
* _resultobj
;
5653 wxLogWindow
* _arg0
;
5654 PyObject
* _argo0
= 0;
5655 char *_kwnames
[] = { "self", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5676 _resultobj
= Py_BuildValue("s",_ptemp
);
5679 _resultobj
= Py_None
;
5684 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5685 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5688 wxLogWindow
* _arg0
;
5689 PyObject
* _argo0
= 0;
5690 char *_kwnames
[] = { "self", NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) return NULL
;
5708 } _resultobj
= Py_BuildValue("i",_result
);
5712 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5713 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
* _resultobj
;
5715 wxLogWindow
* _arg0
;
5717 PyObject
* _argo0
= 0;
5719 char *_kwnames
[] = { "self","bDoPass", NULL
};
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5731 _arg1
= (bool ) tempbool1
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 wxLogWindow_PassMessages(_arg0
,_arg1
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) return NULL
;
5738 } Py_INCREF(Py_None
);
5739 _resultobj
= Py_None
;
5743 static void *SwigwxLogChainTowxLog(void *ptr
) {
5746 src
= (wxLogChain
*) ptr
;
5747 dest
= (wxLog
*) src
;
5748 return (void *) dest
;
5751 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5752 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
* _resultobj
;
5754 wxLogChain
* _result
;
5756 PyObject
* _argo0
= 0;
5757 char *_kwnames
[] = { "logger", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) return NULL
;
5777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5778 _resultobj
= Py_BuildValue("s",_ptemp
);
5781 _resultobj
= Py_None
;
5786 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5787 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5791 PyObject
* _argo0
= 0;
5792 PyObject
* _argo1
= 0;
5793 char *_kwnames
[] = { "self","logger", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 wxLogChain_SetLog(_arg0
,_arg1
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) return NULL
;
5818 } Py_INCREF(Py_None
);
5819 _resultobj
= Py_None
;
5823 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5824 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5828 PyObject
* _argo0
= 0;
5830 char *_kwnames
[] = { "self","bDoPass", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5842 _arg1
= (bool ) tempbool1
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 wxLogChain_PassMessages(_arg0
,_arg1
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) return NULL
;
5849 } Py_INCREF(Py_None
);
5850 _resultobj
= Py_None
;
5854 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5855 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
* _resultobj
;
5859 PyObject
* _argo0
= 0;
5860 char *_kwnames
[] = { "self", NULL
};
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) return NULL
;
5878 } _resultobj
= Py_BuildValue("i",_result
);
5882 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5883 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5887 PyObject
* _argo0
= 0;
5888 char *_kwnames
[] = { "self", NULL
};
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) return NULL
;
5908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5909 _resultobj
= Py_BuildValue("s",_ptemp
);
5912 _resultobj
= Py_None
;
5917 #define new_wxLogNull() (new wxLogNull())
5918 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5920 wxLogNull
* _result
;
5921 char *_kwnames
[] = { NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 _result
= (wxLogNull
*)new_wxLogNull();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) return NULL
;
5934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5935 _resultobj
= Py_BuildValue("s",_ptemp
);
5938 _resultobj
= Py_None
;
5943 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5944 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5947 PyObject
* _argo0
= 0;
5948 char *_kwnames
[] = { "self", NULL
};
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 delete_wxLogNull(_arg0
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) return NULL
;
5966 } Py_INCREF(Py_None
);
5967 _resultobj
= Py_None
;
5971 static void *SwigwxPyLogTowxLog(void *ptr
) {
5974 src
= (wxPyLog
*) ptr
;
5975 dest
= (wxLog
*) src
;
5976 return (void *) dest
;
5979 #define new_wxPyLog() (new wxPyLog())
5980 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5983 char *_kwnames
[] = { NULL
};
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 _result
= (wxPyLog
*)new_wxPyLog();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) return NULL
;
5996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5997 _resultobj
= Py_BuildValue("s",_ptemp
);
6000 _resultobj
= Py_None
;
6005 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6006 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6011 PyObject
* _argo0
= 0;
6012 PyObject
* _obj1
= 0;
6013 PyObject
* _obj2
= 0;
6014 char *_kwnames
[] = { "self","self","_class", NULL
};
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
6022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) return NULL
;
6038 } Py_INCREF(Py_None
);
6039 _resultobj
= Py_None
;
6043 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
6044 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6047 PyObject
* _argo0
= 0;
6048 char *_kwnames
[] = { "self", NULL
};
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
6054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 wxPyLog_Destroy(_arg0
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) return NULL
;
6066 } Py_INCREF(Py_None
);
6067 _resultobj
= Py_None
;
6071 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
6072 wxProcessEvent
*src
;
6074 src
= (wxProcessEvent
*) ptr
;
6075 dest
= (wxEvent
*) src
;
6076 return (void *) dest
;
6079 static void *SwigwxProcessEventTowxObject(void *ptr
) {
6080 wxProcessEvent
*src
;
6082 src
= (wxProcessEvent
*) ptr
;
6083 dest
= (wxObject
*) src
;
6084 return (void *) dest
;
6087 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
6088 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6090 wxProcessEvent
* _result
;
6091 int _arg0
= (int ) 0;
6092 int _arg1
= (int ) 0;
6093 int _arg2
= (int ) 0;
6094 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) return NULL
;
6107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
6108 _resultobj
= Py_BuildValue("s",_ptemp
);
6111 _resultobj
= Py_None
;
6116 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
6117 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6120 wxProcessEvent
* _arg0
;
6121 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 _result
= (int )wxProcessEvent_GetPid(_arg0
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6140 } _resultobj
= Py_BuildValue("i",_result
);
6144 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6145 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6148 wxProcessEvent
* _arg0
;
6149 PyObject
* _argo0
= 0;
6150 char *_kwnames
[] = { "self", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6168 } _resultobj
= Py_BuildValue("i",_result
);
6172 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6173 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
* _resultobj
;
6176 wxProcessEvent
* _arg0
;
6178 PyObject
* _argo0
= 0;
6179 char *_kwnames
[] = { "self","m_pid", NULL
};
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) return NULL
;
6197 } _resultobj
= Py_BuildValue("i",_result
);
6201 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6202 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
* _resultobj
;
6205 wxProcessEvent
* _arg0
;
6206 PyObject
* _argo0
= 0;
6207 char *_kwnames
[] = { "self", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) return NULL
;
6225 } _resultobj
= Py_BuildValue("i",_result
);
6229 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6230 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
* _resultobj
;
6233 wxProcessEvent
* _arg0
;
6235 PyObject
* _argo0
= 0;
6236 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) return NULL
;
6254 } _resultobj
= Py_BuildValue("i",_result
);
6258 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6259 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6262 wxProcessEvent
* _arg0
;
6263 PyObject
* _argo0
= 0;
6264 char *_kwnames
[] = { "self", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) return NULL
;
6282 } _resultobj
= Py_BuildValue("i",_result
);
6286 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6289 src
= (wxPyProcess
*) ptr
;
6290 dest
= (wxEvtHandler
*) src
;
6291 return (void *) dest
;
6294 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6297 src
= (wxPyProcess
*) ptr
;
6298 dest
= (wxObject
*) src
;
6299 return (void *) dest
;
6302 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
* _resultobj
;
6304 wxKillError _result
;
6306 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6307 char *_kwnames
[] = { "pid","sig", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
* _resultobj
;
6326 char *_kwnames
[] = { "pid", NULL
};
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 _result
= (bool )wxPyProcess::Exists(_arg0
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) return NULL
;
6337 } _resultobj
= Py_BuildValue("i",_result
);
6341 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
* _resultobj
;
6343 wxPyProcess
* _result
;
6345 int _arg1
= (int ) wxEXEC_ASYNC
;
6346 PyObject
* _obj0
= 0;
6347 char *_kwnames
[] = { "cmd","flags", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6354 _arg0
= wxString_in_helper(_obj0
);
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) return NULL
;
6365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6366 _resultobj
= Py_BuildValue("s",_ptemp
);
6369 _resultobj
= Py_None
;
6378 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6379 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
* _resultobj
;
6381 wxPyProcess
* _result
;
6382 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6383 int _arg1
= (int ) -1;
6384 PyObject
* _argo0
= 0;
6385 char *_kwnames
[] = { "parent","id", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) return NULL
;
6405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6406 _resultobj
= Py_BuildValue("s",_ptemp
);
6409 _resultobj
= Py_None
;
6414 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6415 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6417 wxPyProcess
* _arg0
;
6418 PyObject
* _argo0
= 0;
6419 char *_kwnames
[] = { "self", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 wxPyProcess_Destroy(_arg0
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) return NULL
;
6437 } Py_INCREF(Py_None
);
6438 _resultobj
= Py_None
;
6442 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6443 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6445 wxPyProcess
* _arg0
;
6448 PyObject
* _argo0
= 0;
6449 PyObject
* _obj1
= 0;
6450 PyObject
* _obj2
= 0;
6451 char *_kwnames
[] = { "self","self","_class", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
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__setCallbackInfo. Expected _wxPyProcess_p.");
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) return NULL
;
6475 } Py_INCREF(Py_None
);
6476 _resultobj
= Py_None
;
6480 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6481 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6483 wxPyProcess
* _arg0
;
6486 PyObject
* _argo0
= 0;
6487 char *_kwnames
[] = { "self","pid","status", NULL
};
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) return NULL
;
6505 } Py_INCREF(Py_None
);
6506 _resultobj
= Py_None
;
6510 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6511 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
* _resultobj
;
6513 wxPyProcess
* _arg0
;
6514 PyObject
* _argo0
= 0;
6515 char *_kwnames
[] = { "self", NULL
};
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 wxProcess_Redirect(_arg0
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) return NULL
;
6533 } Py_INCREF(Py_None
);
6534 _resultobj
= Py_None
;
6538 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6539 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6542 wxPyProcess
* _arg0
;
6543 PyObject
* _argo0
= 0;
6544 char *_kwnames
[] = { "self", NULL
};
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) return NULL
;
6562 } _resultobj
= Py_BuildValue("i",_result
);
6566 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6567 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6569 wxPyProcess
* _arg0
;
6570 PyObject
* _argo0
= 0;
6571 char *_kwnames
[] = { "self", NULL
};
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 wxProcess_Detach(_arg0
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) return NULL
;
6589 } Py_INCREF(Py_None
);
6590 _resultobj
= Py_None
;
6594 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6595 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
* _resultobj
;
6597 wxInputStream
* _result
;
6598 wxPyProcess
* _arg0
;
6599 PyObject
* _argo0
= 0;
6600 char *_kwnames
[] = { "self", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) return NULL
;
6619 wxPyInputStream
* _ptr
= NULL
;
6622 _ptr
= new wxPyInputStream(_result
);
6624 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6629 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6630 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6632 wxInputStream
* _result
;
6633 wxPyProcess
* _arg0
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) return NULL
;
6654 wxPyInputStream
* _ptr
= NULL
;
6657 _ptr
= new wxPyInputStream(_result
);
6659 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6664 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6665 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
* _resultobj
;
6667 wxOutputStream
* _result
;
6668 wxPyProcess
* _arg0
;
6669 PyObject
* _argo0
= 0;
6670 char *_kwnames
[] = { "self", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) return NULL
;
6690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6691 _resultobj
= Py_BuildValue("s",_ptemp
);
6694 _resultobj
= Py_None
;
6699 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6700 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6702 wxPyProcess
* _arg0
;
6703 PyObject
* _argo0
= 0;
6704 char *_kwnames
[] = { "self", NULL
};
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 wxProcess_CloseOutput(_arg0
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) return NULL
;
6722 } Py_INCREF(Py_None
);
6723 _resultobj
= Py_None
;
6727 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6728 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6731 wxPyProcess
* _arg0
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } _resultobj
= Py_BuildValue("i",_result
);
6755 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6756 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6759 wxPyProcess
* _arg0
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) return NULL
;
6779 } _resultobj
= Py_BuildValue("i",_result
);
6783 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6784 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6787 wxPyProcess
* _arg0
;
6788 PyObject
* _argo0
= 0;
6789 char *_kwnames
[] = { "self", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } _resultobj
= Py_BuildValue("i",_result
);
6811 static void *SwigwxJoystickTowxObject(void *ptr
) {
6814 src
= (wxJoystick
*) ptr
;
6815 dest
= (wxObject
*) src
;
6816 return (void *) dest
;
6819 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6820 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
* _resultobj
;
6822 wxJoystick
* _result
;
6823 int _arg0
= (int ) (wxJOYSTICK1
);
6824 char *_kwnames
[] = { "joystick", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6838 _resultobj
= Py_BuildValue("s",_ptemp
);
6841 _resultobj
= Py_None
;
6846 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6847 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
* _resultobj
;
6850 PyObject
* _argo0
= 0;
6851 char *_kwnames
[] = { "self", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 delete_wxJoystick(_arg0
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) return NULL
;
6869 } Py_INCREF(Py_None
);
6870 _resultobj
= Py_None
;
6874 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6875 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6879 PyObject
* _argo0
= 0;
6880 char *_kwnames
[] = { "self", NULL
};
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) return NULL
;
6899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6900 _resultobj
= Py_BuildValue("s",_ptemp
);
6904 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6905 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
* _resultobj
;
6909 PyObject
* _argo0
= 0;
6910 char *_kwnames
[] = { "self", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) return NULL
;
6928 } _resultobj
= Py_BuildValue("i",_result
);
6932 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6933 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
* _resultobj
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) return NULL
;
6956 } _resultobj
= Py_BuildValue("i",_result
);
6960 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6961 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
* _resultobj
;
6965 PyObject
* _argo0
= 0;
6966 char *_kwnames
[] = { "self", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6984 } _resultobj
= Py_BuildValue("i",_result
);
6988 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6989 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6993 PyObject
* _argo0
= 0;
6994 char *_kwnames
[] = { "self", NULL
};
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
7000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) return NULL
;
7012 } _resultobj
= Py_BuildValue("i",_result
);
7016 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
7017 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
* _resultobj
;
7021 PyObject
* _argo0
= 0;
7022 char *_kwnames
[] = { "self", NULL
};
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
7028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) return NULL
;
7040 } _resultobj
= Py_BuildValue("i",_result
);
7044 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
7045 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
* _resultobj
;
7049 PyObject
* _argo0
= 0;
7050 char *_kwnames
[] = { "self", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
7056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 _result
= (int )wxJoystick_GetUPosition(_arg0
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) return NULL
;
7068 } _resultobj
= Py_BuildValue("i",_result
);
7072 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
7073 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7077 PyObject
* _argo0
= 0;
7078 char *_kwnames
[] = { "self", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 _result
= (int )wxJoystick_GetVPosition(_arg0
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) return NULL
;
7096 } _resultobj
= Py_BuildValue("i",_result
);
7100 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
7101 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7105 PyObject
* _argo0
= 0;
7106 char *_kwnames
[] = { "self", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) return NULL
;
7124 } _resultobj
= Py_BuildValue("i",_result
);
7128 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
7129 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
* _resultobj
;
7133 PyObject
* _argo0
= 0;
7134 char *_kwnames
[] = { "self","threshold", NULL
};
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
7140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) return NULL
;
7152 } Py_INCREF(Py_None
);
7153 _resultobj
= Py_None
;
7157 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7158 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
* _resultobj
;
7162 PyObject
* _argo0
= 0;
7163 char *_kwnames
[] = { "self", NULL
};
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 _result
= (bool )wxJoystick_IsOk(_arg0
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) return NULL
;
7181 } _resultobj
= Py_BuildValue("i",_result
);
7185 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7186 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
* _resultobj
;
7190 PyObject
* _argo0
= 0;
7191 char *_kwnames
[] = { "self", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) return NULL
;
7209 } _resultobj
= Py_BuildValue("i",_result
);
7213 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7214 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
* _resultobj
;
7218 PyObject
* _argo0
= 0;
7219 char *_kwnames
[] = { "self", NULL
};
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) return NULL
;
7237 } _resultobj
= Py_BuildValue("i",_result
);
7241 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7242 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
* _resultobj
;
7246 PyObject
* _argo0
= 0;
7247 char *_kwnames
[] = { "self", NULL
};
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 _result
= (int )wxJoystick_GetProductId(_arg0
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) return NULL
;
7265 } _resultobj
= Py_BuildValue("i",_result
);
7269 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7270 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7274 PyObject
* _argo0
= 0;
7275 char *_kwnames
[] = { "self", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7295 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7297 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7306 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7307 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
* _resultobj
;
7311 PyObject
* _argo0
= 0;
7312 char *_kwnames
[] = { "self", NULL
};
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 _result
= (int )wxJoystick_GetXMin(_arg0
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) return NULL
;
7330 } _resultobj
= Py_BuildValue("i",_result
);
7334 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7335 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
* _resultobj
;
7339 PyObject
* _argo0
= 0;
7340 char *_kwnames
[] = { "self", NULL
};
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 _result
= (int )wxJoystick_GetYMin(_arg0
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) return NULL
;
7358 } _resultobj
= Py_BuildValue("i",_result
);
7362 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7363 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7367 PyObject
* _argo0
= 0;
7368 char *_kwnames
[] = { "self", NULL
};
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 _result
= (int )wxJoystick_GetZMin(_arg0
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) return NULL
;
7386 } _resultobj
= Py_BuildValue("i",_result
);
7390 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7391 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
* _resultobj
;
7395 PyObject
* _argo0
= 0;
7396 char *_kwnames
[] = { "self", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 _result
= (int )wxJoystick_GetXMax(_arg0
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) return NULL
;
7414 } _resultobj
= Py_BuildValue("i",_result
);
7418 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7419 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
* _resultobj
;
7423 PyObject
* _argo0
= 0;
7424 char *_kwnames
[] = { "self", NULL
};
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 _result
= (int )wxJoystick_GetYMax(_arg0
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) return NULL
;
7442 } _resultobj
= Py_BuildValue("i",_result
);
7446 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7447 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7451 PyObject
* _argo0
= 0;
7452 char *_kwnames
[] = { "self", NULL
};
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 _result
= (int )wxJoystick_GetZMax(_arg0
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) return NULL
;
7470 } _resultobj
= Py_BuildValue("i",_result
);
7474 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7475 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) return NULL
;
7498 } _resultobj
= Py_BuildValue("i",_result
);
7502 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7503 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7507 PyObject
* _argo0
= 0;
7508 char *_kwnames
[] = { "self", NULL
};
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) return NULL
;
7526 } _resultobj
= Py_BuildValue("i",_result
);
7530 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7531 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
* _resultobj
;
7535 PyObject
* _argo0
= 0;
7536 char *_kwnames
[] = { "self", NULL
};
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) return NULL
;
7554 } _resultobj
= Py_BuildValue("i",_result
);
7558 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7559 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7563 PyObject
* _argo0
= 0;
7564 char *_kwnames
[] = { "self", NULL
};
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) return NULL
;
7582 } _resultobj
= Py_BuildValue("i",_result
);
7586 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7587 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
* _resultobj
;
7591 PyObject
* _argo0
= 0;
7592 char *_kwnames
[] = { "self", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) return NULL
;
7610 } _resultobj
= Py_BuildValue("i",_result
);
7614 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7615 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7619 PyObject
* _argo0
= 0;
7620 char *_kwnames
[] = { "self", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) return NULL
;
7638 } _resultobj
= Py_BuildValue("i",_result
);
7642 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7643 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } _resultobj
= Py_BuildValue("i",_result
);
7670 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7671 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7675 PyObject
* _argo0
= 0;
7676 char *_kwnames
[] = { "self", NULL
};
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) return NULL
;
7694 } _resultobj
= Py_BuildValue("i",_result
);
7698 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7699 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
* _resultobj
;
7703 PyObject
* _argo0
= 0;
7704 char *_kwnames
[] = { "self", NULL
};
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 _result
= (int )wxJoystick_GetUMin(_arg0
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) return NULL
;
7722 } _resultobj
= Py_BuildValue("i",_result
);
7726 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7727 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
* _resultobj
;
7731 PyObject
* _argo0
= 0;
7732 char *_kwnames
[] = { "self", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 _result
= (int )wxJoystick_GetUMax(_arg0
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) return NULL
;
7750 } _resultobj
= Py_BuildValue("i",_result
);
7754 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7755 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
* _resultobj
;
7759 PyObject
* _argo0
= 0;
7760 char *_kwnames
[] = { "self", NULL
};
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 _result
= (int )wxJoystick_GetVMin(_arg0
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7778 } _resultobj
= Py_BuildValue("i",_result
);
7782 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7783 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
* _resultobj
;
7787 PyObject
* _argo0
= 0;
7788 char *_kwnames
[] = { "self", NULL
};
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 _result
= (int )wxJoystick_GetVMax(_arg0
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) return NULL
;
7806 } _resultobj
= Py_BuildValue("i",_result
);
7810 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7811 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
* _resultobj
;
7815 PyObject
* _argo0
= 0;
7816 char *_kwnames
[] = { "self", NULL
};
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) return NULL
;
7834 } _resultobj
= Py_BuildValue("i",_result
);
7838 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7839 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
* _resultobj
;
7843 PyObject
* _argo0
= 0;
7844 char *_kwnames
[] = { "self", NULL
};
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 _result
= (bool )wxJoystick_HasZ(_arg0
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) return NULL
;
7862 } _resultobj
= Py_BuildValue("i",_result
);
7866 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7867 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
* _resultobj
;
7871 PyObject
* _argo0
= 0;
7872 char *_kwnames
[] = { "self", NULL
};
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 _result
= (bool )wxJoystick_HasU(_arg0
);
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) return NULL
;
7890 } _resultobj
= Py_BuildValue("i",_result
);
7894 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7895 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
* _resultobj
;
7899 PyObject
* _argo0
= 0;
7900 char *_kwnames
[] = { "self", NULL
};
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 _result
= (bool )wxJoystick_HasV(_arg0
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) return NULL
;
7918 } _resultobj
= Py_BuildValue("i",_result
);
7922 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7923 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
* _resultobj
;
7927 PyObject
* _argo0
= 0;
7928 char *_kwnames
[] = { "self", NULL
};
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) return NULL
;
7946 } _resultobj
= Py_BuildValue("i",_result
);
7950 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7951 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
* _resultobj
;
7955 PyObject
* _argo0
= 0;
7956 char *_kwnames
[] = { "self", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) return NULL
;
7974 } _resultobj
= Py_BuildValue("i",_result
);
7978 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7979 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
* _resultobj
;
7983 PyObject
* _argo0
= 0;
7984 char *_kwnames
[] = { "self", NULL
};
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8002 } _resultobj
= Py_BuildValue("i",_result
);
8006 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
8007 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8012 int _arg2
= (int ) 0;
8013 PyObject
* _argo0
= 0;
8014 PyObject
* _argo1
= 0;
8015 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
8028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) return NULL
;
8040 } _resultobj
= Py_BuildValue("i",_result
);
8044 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
8045 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8049 PyObject
* _argo0
= 0;
8050 char *_kwnames
[] = { "self", NULL
};
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
8056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) return NULL
;
8068 } _resultobj
= Py_BuildValue("i",_result
);
8072 static void *SwigwxWaveTowxObject(void *ptr
) {
8075 src
= (wxWave
*) ptr
;
8076 dest
= (wxObject
*) src
;
8077 return (void *) dest
;
8080 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
8081 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8085 bool _arg1
= (bool ) FALSE
;
8086 PyObject
* _obj0
= 0;
8087 int tempbool1
= (int) FALSE
;
8088 char *_kwnames
[] = { "fileName","isResource", NULL
};
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
8095 _arg0
= wxString_in_helper(_obj0
);
8099 _arg1
= (bool ) tempbool1
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) return NULL
;
8107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
8108 _resultobj
= Py_BuildValue("s",_ptemp
);
8111 _resultobj
= Py_None
;
8120 #define delete_wxWave(_swigobj) (delete _swigobj)
8121 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
* _resultobj
;
8124 PyObject
* _argo0
= 0;
8125 char *_kwnames
[] = { "self", NULL
};
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
8131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 delete_wxWave(_arg0
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) return NULL
;
8143 } Py_INCREF(Py_None
);
8144 _resultobj
= Py_None
;
8148 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8149 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
* _resultobj
;
8153 PyObject
* _argo0
= 0;
8154 char *_kwnames
[] = { "self", NULL
};
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 _result
= (bool )wxWave_IsOk(_arg0
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) return NULL
;
8172 } _resultobj
= Py_BuildValue("i",_result
);
8176 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8177 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8181 bool _arg1
= (bool ) TRUE
;
8182 bool _arg2
= (bool ) FALSE
;
8183 PyObject
* _argo0
= 0;
8184 int tempbool1
= (int) TRUE
;
8185 int tempbool2
= (int) FALSE
;
8186 char *_kwnames
[] = { "self","async","looped", NULL
};
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8198 _arg1
= (bool ) tempbool1
;
8199 _arg2
= (bool ) tempbool2
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) return NULL
;
8206 } _resultobj
= Py_BuildValue("i",_result
);
8210 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8211 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
* _resultobj
;
8213 wxFileTypeInfo
* _result
;
8218 PyObject
* _obj0
= 0;
8219 PyObject
* _obj1
= 0;
8220 PyObject
* _obj2
= 0;
8221 PyObject
* _obj3
= 0;
8222 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
8229 _arg0
= wxString_in_helper(_obj0
);
8234 _arg1
= wxString_in_helper(_obj1
);
8239 _arg2
= wxString_in_helper(_obj2
);
8244 _arg3
= wxString_in_helper(_obj3
);
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) return NULL
;
8255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8256 _resultobj
= Py_BuildValue("s",_ptemp
);
8259 _resultobj
= Py_None
;
8280 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8281 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
* _resultobj
;
8283 wxFileTypeInfo
* _result
;
8284 wxArrayString
* _arg0
;
8285 PyObject
* _obj0
= 0;
8286 char *_kwnames
[] = { "sArray", NULL
};
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8293 if (! PySequence_Check(_obj0
)) {
8294 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8297 _arg0
= new wxArrayString
;
8298 int i
, len
=PySequence_Length(_obj0
);
8299 for (i
=0; i
<len
; i
++) {
8300 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8302 PyObject
* str
= PyObject_Unicode(item
);
8304 PyObject
* str
= PyObject_Str(item
);
8306 _arg0
->Add(Py2wxString(str
));
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) return NULL
;
8318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8319 _resultobj
= Py_BuildValue("s",_ptemp
);
8322 _resultobj
= Py_None
;
8331 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8332 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
* _resultobj
;
8334 wxFileTypeInfo
* _result
;
8335 char *_kwnames
[] = { NULL
};
8339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) return NULL
;
8348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8349 _resultobj
= Py_BuildValue("s",_ptemp
);
8352 _resultobj
= Py_None
;
8357 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8358 static PyObject
*_wrap_wxFileTypeInfo_IsValid(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_IsValid",_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_IsValid. Expected _wxFileTypeInfo_p.");
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) return NULL
;
8381 } _resultobj
= Py_BuildValue("i",_result
);
8385 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8386 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
* _resultobj
;
8388 wxFileTypeInfo
* _arg0
;
8390 int _arg2
= (int ) 0;
8391 PyObject
* _argo0
= 0;
8392 PyObject
* _obj1
= 0;
8393 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8406 _arg1
= wxString_in_helper(_obj1
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) return NULL
;
8416 } Py_INCREF(Py_None
);
8417 _resultobj
= Py_None
;
8425 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8426 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
* _resultobj
;
8428 wxFileTypeInfo
* _arg0
;
8430 PyObject
* _argo0
= 0;
8431 PyObject
* _obj1
= 0;
8432 char *_kwnames
[] = { "self","shortDesc", NULL
};
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8445 _arg1
= wxString_in_helper(_obj1
);
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) return NULL
;
8455 } Py_INCREF(Py_None
);
8456 _resultobj
= Py_None
;
8464 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8465 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8466 PyObject
* _resultobj
;
8468 wxFileTypeInfo
* _arg0
;
8469 PyObject
* _argo0
= 0;
8470 char *_kwnames
[] = { "self", NULL
};
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8485 _result
= (wxString
*) &_result_ref
;
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) return NULL
;
8491 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8493 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8499 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8500 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
* _resultobj
;
8503 wxFileTypeInfo
* _arg0
;
8504 PyObject
* _argo0
= 0;
8505 char *_kwnames
[] = { "self", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8520 _result
= (wxString
*) &_result_ref
;
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) return NULL
;
8526 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8528 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8534 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8535 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
* _resultobj
;
8538 wxFileTypeInfo
* _arg0
;
8539 PyObject
* _argo0
= 0;
8540 char *_kwnames
[] = { "self", NULL
};
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8555 _result
= (wxString
*) &_result_ref
;
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) return NULL
;
8561 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8563 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8569 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8570 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
* _resultobj
;
8573 wxFileTypeInfo
* _arg0
;
8574 PyObject
* _argo0
= 0;
8575 char *_kwnames
[] = { "self", NULL
};
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8590 _result
= (wxString
*) &_result_ref
;
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) return NULL
;
8596 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8598 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8604 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8605 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
* _resultobj
;
8608 wxFileTypeInfo
* _arg0
;
8609 PyObject
* _argo0
= 0;
8610 char *_kwnames
[] = { "self", NULL
};
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8625 _result
= (wxString
*) &_result_ref
;
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) return NULL
;
8631 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8633 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8639 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8640 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8641 return wxArrayString2PyList_helper(arr
);
8643 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
* _resultobj
;
8646 wxFileTypeInfo
* _arg0
;
8647 PyObject
* _argo0
= 0;
8648 char *_kwnames
[] = { "self", NULL
};
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) return NULL
;
8667 _resultobj
= _result
;
8672 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8673 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
* _resultobj
;
8676 wxFileTypeInfo
* _arg0
;
8677 PyObject
* _argo0
= 0;
8678 char *_kwnames
[] = { "self", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) return NULL
;
8696 } _resultobj
= Py_BuildValue("i",_result
);
8700 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8701 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
* _resultobj
;
8704 wxFileTypeInfo
* _arg0
;
8705 PyObject
* _argo0
= 0;
8706 char *_kwnames
[] = { "self", NULL
};
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8721 _result
= (wxString
*) &_result_ref
;
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) return NULL
;
8727 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8729 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8735 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8736 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
* _resultobj
;
8739 wxFileTypeInfo
* _arg0
;
8740 PyObject
* _argo0
= 0;
8741 char *_kwnames
[] = { "self", NULL
};
8744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) return NULL
;
8759 } _resultobj
= Py_BuildValue("i",_result
);
8763 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8764 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
* _resultobj
;
8766 wxFileType
* _result
;
8767 wxFileTypeInfo
* _arg0
;
8768 PyObject
* _argo0
= 0;
8769 char *_kwnames
[] = { "ftInfo", NULL
};
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8776 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) return NULL
;
8788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8789 _resultobj
= Py_BuildValue("s",_ptemp
);
8792 _resultobj
= Py_None
;
8797 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8799 if (self
->GetMimeType(&str
)) {
8801 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8803 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8809 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
* _resultobj
;
8813 PyObject
* _argo0
= 0;
8814 char *_kwnames
[] = { "self", NULL
};
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) return NULL
;
8833 _resultobj
= _result
;
8838 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8840 if (self
->GetMimeTypes(arr
))
8841 return wxArrayString2PyList_helper(arr
);
8845 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
* _resultobj
;
8849 PyObject
* _argo0
= 0;
8850 char *_kwnames
[] = { "self", NULL
};
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) return NULL
;
8869 _resultobj
= _result
;
8874 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8876 if (self
->GetExtensions(arr
))
8877 return wxArrayString2PyList_helper(arr
);
8881 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
* _resultobj
;
8885 PyObject
* _argo0
= 0;
8886 char *_kwnames
[] = { "self", NULL
};
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) return NULL
;
8905 _resultobj
= _result
;
8910 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8912 if (self
->GetIcon(&loc
))
8913 return new wxIcon(loc
);
8917 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
* _resultobj
;
8921 PyObject
* _argo0
= 0;
8922 char *_kwnames
[] = { "self", NULL
};
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) return NULL
;
8942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8943 _resultobj
= Py_BuildValue("s",_ptemp
);
8946 _resultobj
= Py_None
;
8951 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8953 if (self
->GetIcon(&loc
)) {
8954 wxString iconFile
= loc
.GetFileName();
8957 iconIndex
= loc
.GetIndex();
8959 // Make a tuple and put the values in it
8960 wxPyBeginBlockThreads();
8961 PyObject
* tuple
= PyTuple_New(3);
8962 PyTuple_SetItem(tuple
, 0,
8963 wxPyConstructObject(new wxIcon(loc
), wxT("wxIcon"), TRUE
));
8965 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8967 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8969 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8970 wxPyEndBlockThreads();
8976 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
* _resultobj
;
8980 PyObject
* _argo0
= 0;
8981 char *_kwnames
[] = { "self", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) return NULL
;
9000 _resultobj
= _result
;
9005 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
9007 if (self
->GetDescription(&str
)) {
9009 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9011 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9016 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
* _resultobj
;
9020 PyObject
* _argo0
= 0;
9021 char *_kwnames
[] = { "self", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
9027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) return NULL
;
9040 _resultobj
= _result
;
9045 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9047 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9049 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9051 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9056 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
* _resultobj
;
9061 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9062 PyObject
* _argo0
= 0;
9063 PyObject
* _obj1
= 0;
9064 PyObject
* _obj2
= 0;
9065 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
9078 _arg1
= wxString_in_helper(_obj1
);
9084 _arg2
= wxString_in_helper(_obj2
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) return NULL
;
9095 _resultobj
= _result
;
9108 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9110 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9112 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9114 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9119 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
* _resultobj
;
9124 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9125 PyObject
* _argo0
= 0;
9126 PyObject
* _obj1
= 0;
9127 PyObject
* _obj2
= 0;
9128 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
9141 _arg1
= wxString_in_helper(_obj1
);
9147 _arg2
= wxString_in_helper(_obj2
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) return NULL
;
9158 _resultobj
= _result
;
9171 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9172 wxArrayString verbs
;
9173 wxArrayString commands
;
9174 if (self
->GetAllCommands(&verbs
, &commands
,
9175 wxFileType::MessageParameters(filename
, mimetype
))) {
9176 wxPyBeginBlockThreads();
9177 PyObject
* tuple
= PyTuple_New(2);
9178 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
9179 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
9180 wxPyEndBlockThreads();
9186 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
* _resultobj
;
9191 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9192 PyObject
* _argo0
= 0;
9193 PyObject
* _obj1
= 0;
9194 PyObject
* _obj2
= 0;
9195 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9208 _arg1
= wxString_in_helper(_obj1
);
9214 _arg2
= wxString_in_helper(_obj2
);
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) return NULL
;
9225 _resultobj
= _result
;
9238 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9239 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
* _resultobj
;
9245 bool _arg3
= (bool ) TRUE
;
9246 PyObject
* _argo0
= 0;
9247 PyObject
* _obj1
= 0;
9248 PyObject
* _obj2
= 0;
9249 int tempbool3
= (int) TRUE
;
9250 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9263 _arg1
= wxString_in_helper(_obj1
);
9268 _arg2
= wxString_in_helper(_obj2
);
9272 _arg3
= (bool ) tempbool3
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) return NULL
;
9279 } _resultobj
= Py_BuildValue("i",_result
);
9291 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9292 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
* _resultobj
;
9296 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9297 int _arg2
= (int ) 0;
9298 PyObject
* _argo0
= 0;
9299 PyObject
* _obj1
= 0;
9300 char *_kwnames
[] = { "self","cmd","index", NULL
};
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9314 _arg1
= wxString_in_helper(_obj1
);
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) return NULL
;
9324 } _resultobj
= Py_BuildValue("i",_result
);
9332 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9333 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
* _resultobj
;
9337 PyObject
* _argo0
= 0;
9338 char *_kwnames
[] = { "self", NULL
};
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 _result
= (bool )wxFileType_Unassociate(_arg0
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) return NULL
;
9356 } _resultobj
= Py_BuildValue("i",_result
);
9360 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
* _resultobj
;
9364 wxFileType::MessageParameters
* _arg1
;
9365 PyObject
* _obj0
= 0;
9366 PyObject
* _argo1
= 0;
9367 char *_kwnames
[] = { "command","params", NULL
};
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9373 _arg0
= wxString_in_helper(_obj0
);
9378 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) return NULL
;
9391 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9406 #define delete_wxFileType(_swigobj) (delete _swigobj)
9407 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
* _resultobj
;
9410 PyObject
* _argo0
= 0;
9411 char *_kwnames
[] = { "self", NULL
};
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 delete_wxFileType(_arg0
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) return NULL
;
9429 } Py_INCREF(Py_None
);
9430 _resultobj
= Py_None
;
9434 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
* _resultobj
;
9439 PyObject
* _obj0
= 0;
9440 PyObject
* _obj1
= 0;
9441 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9447 _arg0
= wxString_in_helper(_obj0
);
9452 _arg1
= wxString_in_helper(_obj1
);
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) return NULL
;
9462 } _resultobj
= Py_BuildValue("i",_result
);
9474 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9475 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
* _resultobj
;
9477 wxMimeTypesManager
* _result
;
9478 char *_kwnames
[] = { NULL
};
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) return NULL
;
9491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9492 _resultobj
= Py_BuildValue("s",_ptemp
);
9495 _resultobj
= Py_None
;
9500 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9501 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
* _resultobj
;
9503 wxMimeTypesManager
* _arg0
;
9504 int _arg1
= (int ) (wxMAILCAP_ALL
);
9505 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9506 PyObject
* _argo0
= 0;
9507 PyObject
* _obj2
= 0;
9508 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9522 _arg2
= wxString_in_helper(_obj2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) return NULL
;
9532 } Py_INCREF(Py_None
);
9533 _resultobj
= Py_None
;
9541 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9542 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
* _resultobj
;
9544 wxMimeTypesManager
* _arg0
;
9545 PyObject
* _argo0
= 0;
9546 char *_kwnames
[] = { "self", NULL
};
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 wxMimeTypesManager_ClearData(_arg0
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) return NULL
;
9564 } Py_INCREF(Py_None
);
9565 _resultobj
= Py_None
;
9569 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9570 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
* _resultobj
;
9572 wxFileType
* _result
;
9573 wxMimeTypesManager
* _arg0
;
9575 PyObject
* _argo0
= 0;
9576 PyObject
* _obj1
= 0;
9577 char *_kwnames
[] = { "self","ext", NULL
};
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9591 _arg1
= wxString_in_helper(_obj1
);
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) return NULL
;
9602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9603 _resultobj
= Py_BuildValue("s",_ptemp
);
9606 _resultobj
= Py_None
;
9615 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9616 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
* _resultobj
;
9618 wxFileType
* _result
;
9619 wxMimeTypesManager
* _arg0
;
9621 PyObject
* _argo0
= 0;
9622 PyObject
* _obj1
= 0;
9623 char *_kwnames
[] = { "self","mimeType", NULL
};
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9637 _arg1
= wxString_in_helper(_obj1
);
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) return NULL
;
9648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9649 _resultobj
= Py_BuildValue("s",_ptemp
);
9652 _resultobj
= Py_None
;
9661 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9662 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
* _resultobj
;
9665 wxMimeTypesManager
* _arg0
;
9667 bool _arg2
= (bool ) FALSE
;
9668 PyObject
* _argo0
= 0;
9669 PyObject
* _obj1
= 0;
9670 int tempbool2
= (int) FALSE
;
9671 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9684 _arg1
= wxString_in_helper(_obj1
);
9688 _arg2
= (bool ) tempbool2
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) return NULL
;
9695 } _resultobj
= Py_BuildValue("i",_result
);
9703 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9704 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
* _resultobj
;
9707 wxMimeTypesManager
* _arg0
;
9709 PyObject
* _argo0
= 0;
9710 PyObject
* _obj1
= 0;
9711 char *_kwnames
[] = { "self","filename", NULL
};
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9724 _arg1
= wxString_in_helper(_obj1
);
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) return NULL
;
9734 } _resultobj
= Py_BuildValue("i",_result
);
9742 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9744 self
->EnumAllFileTypes(arr
);
9745 return wxArrayString2PyList_helper(arr
);
9747 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
* _resultobj
;
9750 wxMimeTypesManager
* _arg0
;
9751 PyObject
* _argo0
= 0;
9752 char *_kwnames
[] = { "self", NULL
};
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) return NULL
;
9771 _resultobj
= _result
;
9776 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9777 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
* _resultobj
;
9779 wxMimeTypesManager
* _arg0
;
9780 wxFileTypeInfo
* _arg1
;
9781 PyObject
* _argo0
= 0;
9782 PyObject
* _argo1
= 0;
9783 char *_kwnames
[] = { "self","ft", NULL
};
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9796 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) return NULL
;
9807 } Py_INCREF(Py_None
);
9808 _resultobj
= Py_None
;
9812 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9813 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
* _resultobj
;
9815 wxFileType
* _result
;
9816 wxMimeTypesManager
* _arg0
;
9817 wxFileTypeInfo
* _arg1
;
9818 PyObject
* _argo0
= 0;
9819 PyObject
* _argo1
= 0;
9820 char *_kwnames
[] = { "self","ftInfo", NULL
};
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9834 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) return NULL
;
9846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9847 _resultobj
= Py_BuildValue("s",_ptemp
);
9850 _resultobj
= Py_None
;
9855 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9856 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
* _resultobj
;
9859 wxMimeTypesManager
* _arg0
;
9861 PyObject
* _argo0
= 0;
9862 PyObject
* _argo1
= 0;
9863 char *_kwnames
[] = { "self","ft", NULL
};
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9876 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9877 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) return NULL
;
9888 } _resultobj
= Py_BuildValue("i",_result
);
9892 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9893 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
* _resultobj
;
9895 wxMimeTypesManager
* _arg0
;
9896 PyObject
* _argo0
= 0;
9897 char *_kwnames
[] = { "self", NULL
};
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 delete_wxMimeTypesManager(_arg0
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) return NULL
;
9915 } Py_INCREF(Py_None
);
9916 _resultobj
= Py_None
;
9920 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9921 wxPyArtProvider
*src
;
9923 src
= (wxPyArtProvider
*) ptr
;
9924 dest
= (wxObject
*) src
;
9925 return (void *) dest
;
9928 #define new_wxArtProvider() (new wxPyArtProvider())
9929 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
* _resultobj
;
9931 wxPyArtProvider
* _result
;
9932 char *_kwnames
[] = { NULL
};
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) return NULL
;
9945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9946 _resultobj
= Py_BuildValue("s",_ptemp
);
9949 _resultobj
= Py_None
;
9954 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9955 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
* _resultobj
;
9957 wxPyArtProvider
* _arg0
;
9960 PyObject
* _argo0
= 0;
9961 PyObject
* _obj1
= 0;
9962 PyObject
* _obj2
= 0;
9963 char *_kwnames
[] = { "self","self","_class", NULL
};
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) return NULL
;
9987 } Py_INCREF(Py_None
);
9988 _resultobj
= Py_None
;
9992 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
* _resultobj
;
9994 wxPyArtProvider
* _arg0
;
9995 PyObject
* _argo0
= 0;
9996 char *_kwnames
[] = { "provider", NULL
};
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
10002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 wxPyArtProvider::PushProvider(_arg0
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) return NULL
;
10014 } Py_INCREF(Py_None
);
10015 _resultobj
= Py_None
;
10019 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
* _resultobj
;
10022 char *_kwnames
[] = { NULL
};
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 _result
= (bool )wxPyArtProvider::PopProvider();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) return NULL
;
10033 } _resultobj
= Py_BuildValue("i",_result
);
10037 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
* _resultobj
;
10040 wxPyArtProvider
* _arg0
;
10041 PyObject
* _argo0
= 0;
10042 char *_kwnames
[] = { "provider", NULL
};
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
10048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) return NULL
;
10060 } _resultobj
= Py_BuildValue("i",_result
);
10064 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
* _resultobj
;
10066 wxBitmap
* _result
;
10068 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10069 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10070 PyObject
* _obj0
= 0;
10071 PyObject
* _obj1
= 0;
10073 PyObject
* _obj2
= 0;
10074 char *_kwnames
[] = { "id","client","size", NULL
};
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10081 _arg0
= wxString_in_helper(_obj0
);
10087 _arg1
= wxString_in_helper(_obj1
);
10094 if (! wxSize_helper(_obj2
, &_arg2
))
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) return NULL
;
10103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10104 _resultobj
= Py_BuildValue("s",_ptemp
);
10116 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
* _resultobj
;
10120 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10121 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10122 PyObject
* _obj0
= 0;
10123 PyObject
* _obj1
= 0;
10125 PyObject
* _obj2
= 0;
10126 char *_kwnames
[] = { "id","client","size", NULL
};
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10133 _arg0
= wxString_in_helper(_obj0
);
10139 _arg1
= wxString_in_helper(_obj1
);
10146 if (! wxSize_helper(_obj2
, &_arg2
))
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) return NULL
;
10155 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
10156 _resultobj
= Py_BuildValue("s",_ptemp
);
10168 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10169 wxFileHistory
*src
;
10171 src
= (wxFileHistory
*) ptr
;
10172 dest
= (wxObject
*) src
;
10173 return (void *) dest
;
10176 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10177 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
* _resultobj
;
10179 wxFileHistory
* _result
;
10180 int _arg0
= (int ) 9;
10181 char *_kwnames
[] = { "maxFiles", NULL
};
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) return NULL
;
10194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10195 _resultobj
= Py_BuildValue("s",_ptemp
);
10197 Py_INCREF(Py_None
);
10198 _resultobj
= Py_None
;
10203 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10204 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
* _resultobj
;
10206 wxFileHistory
* _arg0
;
10207 PyObject
* _argo0
= 0;
10208 char *_kwnames
[] = { "self", NULL
};
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 delete_wxFileHistory(_arg0
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) return NULL
;
10226 } Py_INCREF(Py_None
);
10227 _resultobj
= Py_None
;
10231 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10232 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
* _resultobj
;
10234 wxFileHistory
* _arg0
;
10236 PyObject
* _argo0
= 0;
10237 PyObject
* _obj1
= 0;
10238 char *_kwnames
[] = { "self","file", NULL
};
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10251 _arg1
= wxString_in_helper(_obj1
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) return NULL
;
10261 } Py_INCREF(Py_None
);
10262 _resultobj
= Py_None
;
10270 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10271 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
* _resultobj
;
10273 wxFileHistory
* _arg0
;
10275 PyObject
* _argo0
= 0;
10276 char *_kwnames
[] = { "self","i", NULL
};
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) return NULL
;
10294 } Py_INCREF(Py_None
);
10295 _resultobj
= Py_None
;
10299 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10300 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
* _resultobj
;
10303 wxFileHistory
* _arg0
;
10304 PyObject
* _argo0
= 0;
10305 char *_kwnames
[] = { "self", NULL
};
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) return NULL
;
10323 } _resultobj
= Py_BuildValue("i",_result
);
10327 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10328 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
* _resultobj
;
10330 wxFileHistory
* _arg0
;
10332 PyObject
* _argo0
= 0;
10333 PyObject
* _argo1
= 0;
10334 char *_kwnames
[] = { "self","menu", NULL
};
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 wxFileHistory_UseMenu(_arg0
,_arg1
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) return NULL
;
10359 } Py_INCREF(Py_None
);
10360 _resultobj
= Py_None
;
10364 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10365 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
* _resultobj
;
10367 wxFileHistory
* _arg0
;
10369 PyObject
* _argo0
= 0;
10370 PyObject
* _argo1
= 0;
10371 char *_kwnames
[] = { "self","menu", NULL
};
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) return NULL
;
10396 } Py_INCREF(Py_None
);
10397 _resultobj
= Py_None
;
10401 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10402 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
* _resultobj
;
10404 wxFileHistory
* _arg0
;
10405 wxConfigBase
* _arg1
;
10406 PyObject
* _argo0
= 0;
10407 PyObject
* _argo1
= 0;
10408 char *_kwnames
[] = { "self","config", NULL
};
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10421 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 wxFileHistory_Load(_arg0
,*_arg1
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) return NULL
;
10432 } Py_INCREF(Py_None
);
10433 _resultobj
= Py_None
;
10437 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10438 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
* _resultobj
;
10440 wxFileHistory
* _arg0
;
10441 wxConfigBase
* _arg1
;
10442 PyObject
* _argo0
= 0;
10443 PyObject
* _argo1
= 0;
10444 char *_kwnames
[] = { "self","config", NULL
};
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10457 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 wxFileHistory_Save(_arg0
,*_arg1
);
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) return NULL
;
10468 } Py_INCREF(Py_None
);
10469 _resultobj
= Py_None
;
10473 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10474 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
* _resultobj
;
10476 wxFileHistory
* _arg0
;
10477 PyObject
* _argo0
= 0;
10478 char *_kwnames
[] = { "self", NULL
};
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 wxFileHistory_AddFilesToMenu(_arg0
);
10494 wxPyEndAllowThreads(__tstate
);
10495 if (PyErr_Occurred()) return NULL
;
10496 } Py_INCREF(Py_None
);
10497 _resultobj
= Py_None
;
10501 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10502 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
* _resultobj
;
10504 wxFileHistory
* _arg0
;
10506 PyObject
* _argo0
= 0;
10507 PyObject
* _argo1
= 0;
10508 char *_kwnames
[] = { "self","menu", NULL
};
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) return NULL
;
10533 } Py_INCREF(Py_None
);
10534 _resultobj
= Py_None
;
10538 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10539 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
* _resultobj
;
10541 wxString
* _result
;
10542 wxFileHistory
* _arg0
;
10544 PyObject
* _argo0
= 0;
10545 char *_kwnames
[] = { "self","i", NULL
};
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) return NULL
;
10565 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10567 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10576 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10577 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
* _resultobj
;
10580 wxFileHistory
* _arg0
;
10581 PyObject
* _argo0
= 0;
10582 char *_kwnames
[] = { "self", NULL
};
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 _result
= (int )wxFileHistory_GetCount(_arg0
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) return NULL
;
10600 } _resultobj
= Py_BuildValue("i",_result
);
10604 static void *SwigwxEffectsTowxObject(void *ptr
) {
10607 src
= (wxEffects
*) ptr
;
10608 dest
= (wxObject
*) src
;
10609 return (void *) dest
;
10612 #define new_wxEffects() (new wxEffects())
10613 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
* _resultobj
;
10615 wxEffects
* _result
;
10616 char *_kwnames
[] = { NULL
};
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 _result
= (wxEffects
*)new_wxEffects();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) return NULL
;
10629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10630 _resultobj
= Py_BuildValue("s",_ptemp
);
10632 Py_INCREF(Py_None
);
10633 _resultobj
= Py_None
;
10638 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10639 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
* _resultobj
;
10641 wxColour
* _result
;
10643 PyObject
* _argo0
= 0;
10644 char *_kwnames
[] = { "self", NULL
};
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) return NULL
;
10663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10664 _resultobj
= Py_BuildValue("s",_ptemp
);
10668 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10669 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
* _resultobj
;
10671 wxColour
* _result
;
10673 PyObject
* _argo0
= 0;
10674 char *_kwnames
[] = { "self", NULL
};
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) return NULL
;
10693 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10694 _resultobj
= Py_BuildValue("s",_ptemp
);
10698 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10699 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
* _resultobj
;
10701 wxColour
* _result
;
10703 PyObject
* _argo0
= 0;
10704 char *_kwnames
[] = { "self", NULL
};
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) return NULL
;
10723 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10724 _resultobj
= Py_BuildValue("s",_ptemp
);
10728 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10729 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
* _resultobj
;
10731 wxColour
* _result
;
10733 PyObject
* _argo0
= 0;
10734 char *_kwnames
[] = { "self", NULL
};
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) return NULL
;
10753 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10754 _resultobj
= Py_BuildValue("s",_ptemp
);
10758 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10759 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
* _resultobj
;
10761 wxColour
* _result
;
10763 PyObject
* _argo0
= 0;
10764 char *_kwnames
[] = { "self", NULL
};
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) return NULL
;
10783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10784 _resultobj
= Py_BuildValue("s",_ptemp
);
10788 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10789 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
* _resultobj
;
10793 PyObject
* _argo0
= 0;
10795 PyObject
* _obj1
= 0;
10796 char *_kwnames
[] = { "self","c", NULL
};
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10810 if (! wxColour_helper(_obj1
, &_arg1
))
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) return NULL
;
10819 } Py_INCREF(Py_None
);
10820 _resultobj
= Py_None
;
10824 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10825 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
* _resultobj
;
10829 PyObject
* _argo0
= 0;
10831 PyObject
* _obj1
= 0;
10832 char *_kwnames
[] = { "self","c", NULL
};
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10846 if (! wxColour_helper(_obj1
, &_arg1
))
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) return NULL
;
10855 } Py_INCREF(Py_None
);
10856 _resultobj
= Py_None
;
10860 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10861 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
* _resultobj
;
10865 PyObject
* _argo0
= 0;
10867 PyObject
* _obj1
= 0;
10868 char *_kwnames
[] = { "self","c", NULL
};
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10882 if (! wxColour_helper(_obj1
, &_arg1
))
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) return NULL
;
10891 } Py_INCREF(Py_None
);
10892 _resultobj
= Py_None
;
10896 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10897 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
* _resultobj
;
10901 PyObject
* _argo0
= 0;
10903 PyObject
* _obj1
= 0;
10904 char *_kwnames
[] = { "self","c", NULL
};
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10918 if (! wxColour_helper(_obj1
, &_arg1
))
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) return NULL
;
10927 } Py_INCREF(Py_None
);
10928 _resultobj
= Py_None
;
10932 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10933 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
* _resultobj
;
10937 PyObject
* _argo0
= 0;
10939 PyObject
* _obj1
= 0;
10940 char *_kwnames
[] = { "self","c", NULL
};
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10954 if (! wxColour_helper(_obj1
, &_arg1
))
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) return NULL
;
10963 } Py_INCREF(Py_None
);
10964 _resultobj
= Py_None
;
10968 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10969 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
* _resultobj
;
10977 PyObject
* _argo0
= 0;
10979 PyObject
* _obj1
= 0;
10981 PyObject
* _obj2
= 0;
10983 PyObject
* _obj3
= 0;
10985 PyObject
* _obj4
= 0;
10987 PyObject
* _obj5
= 0;
10988 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
11002 if (! wxColour_helper(_obj1
, &_arg1
))
11007 if (! wxColour_helper(_obj2
, &_arg2
))
11012 if (! wxColour_helper(_obj3
, &_arg3
))
11017 if (! wxColour_helper(_obj4
, &_arg4
))
11022 if (! wxColour_helper(_obj5
, &_arg5
))
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) return NULL
;
11031 } Py_INCREF(Py_None
);
11032 _resultobj
= Py_None
;
11036 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
11037 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
* _resultobj
;
11042 int _arg3
= (int ) 1;
11043 PyObject
* _argo0
= 0;
11044 PyObject
* _argo1
= 0;
11046 PyObject
* _obj2
= 0;
11047 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
11053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
11060 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
11061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
11067 if (! wxRect_helper(_obj2
, &_arg2
))
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) return NULL
;
11076 } Py_INCREF(Py_None
);
11077 _resultobj
= Py_None
;
11081 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
11082 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
* _resultobj
;
11089 PyObject
* _argo0
= 0;
11091 PyObject
* _obj1
= 0;
11092 PyObject
* _argo2
= 0;
11093 PyObject
* _argo3
= 0;
11094 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
11108 if (! wxRect_helper(_obj1
, &_arg1
))
11112 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
11118 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) return NULL
;
11129 } _resultobj
= Py_BuildValue("i",_result
);
11133 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11134 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
* _resultobj
;
11136 wxSingleInstanceChecker
* _result
;
11138 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11139 PyObject
* _obj0
= 0;
11140 PyObject
* _obj1
= 0;
11141 char *_kwnames
[] = { "name","path", NULL
};
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11148 _arg0
= wxString_in_helper(_obj0
);
11154 _arg1
= wxString_in_helper(_obj1
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) return NULL
;
11165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11166 _resultobj
= Py_BuildValue("s",_ptemp
);
11168 Py_INCREF(Py_None
);
11169 _resultobj
= Py_None
;
11182 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11183 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
* _resultobj
;
11185 wxSingleInstanceChecker
* _result
;
11186 char *_kwnames
[] = { NULL
};
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) return NULL
;
11199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11200 _resultobj
= Py_BuildValue("s",_ptemp
);
11202 Py_INCREF(Py_None
);
11203 _resultobj
= Py_None
;
11208 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11209 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
* _resultobj
;
11211 wxSingleInstanceChecker
* _arg0
;
11212 PyObject
* _argo0
= 0;
11213 char *_kwnames
[] = { "self", NULL
};
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 delete_wxSingleInstanceChecker(_arg0
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) return NULL
;
11231 } Py_INCREF(Py_None
);
11232 _resultobj
= Py_None
;
11236 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11237 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
* _resultobj
;
11240 wxSingleInstanceChecker
* _arg0
;
11242 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11243 PyObject
* _argo0
= 0;
11244 PyObject
* _obj1
= 0;
11245 PyObject
* _obj2
= 0;
11246 char *_kwnames
[] = { "self","name","path", NULL
};
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11259 _arg1
= wxString_in_helper(_obj1
);
11265 _arg2
= wxString_in_helper(_obj2
);
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) return NULL
;
11275 } _resultobj
= Py_BuildValue("i",_result
);
11287 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11288 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
* _resultobj
;
11291 wxSingleInstanceChecker
* _arg0
;
11292 PyObject
* _argo0
= 0;
11293 char *_kwnames
[] = { "self", NULL
};
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) return NULL
;
11311 } _resultobj
= Py_BuildValue("i",_result
);
11315 static PyMethodDef misc2cMethods
[] = {
11316 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxSystemOptions_HasOption", (PyCFunction
) _wrap_wxSystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxSystemOptions_GetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxSystemOptions_GetOption", (PyCFunction
) _wrap_wxSystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxSystemOptions_SetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxSystemOptions_SetOption", (PyCFunction
) _wrap_wxSystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "new_wxSystemOptions", (PyCFunction
) _wrap_new_wxSystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxDrawWindowOnDC", (PyCFunction
) _wrap_wxDrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11648 * This table is used by the pointer type-checker
11650 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11651 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11652 { "_signed_long","_long",0},
11653 { "_wxPrintQuality","_wxCoord",0},
11654 { "_wxPrintQuality","_int",0},
11655 { "_wxPrintQuality","_signed_int",0},
11656 { "_wxPrintQuality","_unsigned_int",0},
11657 { "_wxPrintQuality","_wxWindowID",0},
11658 { "_wxPrintQuality","_uint",0},
11659 { "_wxPrintQuality","_EBool",0},
11660 { "_wxPrintQuality","_size_t",0},
11661 { "_wxPrintQuality","_time_t",0},
11662 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11663 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11664 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11665 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11666 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11667 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11668 { "_byte","_unsigned_char",0},
11669 { "_long","_unsigned_long",0},
11670 { "_long","_signed_long",0},
11671 { "_size_t","_wxCoord",0},
11672 { "_size_t","_wxPrintQuality",0},
11673 { "_size_t","_time_t",0},
11674 { "_size_t","_unsigned_int",0},
11675 { "_size_t","_int",0},
11676 { "_size_t","_wxWindowID",0},
11677 { "_size_t","_uint",0},
11678 { "_uint","_wxCoord",0},
11679 { "_uint","_wxPrintQuality",0},
11680 { "_uint","_time_t",0},
11681 { "_uint","_size_t",0},
11682 { "_uint","_unsigned_int",0},
11683 { "_uint","_int",0},
11684 { "_uint","_wxWindowID",0},
11685 { "_wxChar","_char",0},
11686 { "_char","_wxChar",0},
11687 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11688 { "_EBool","_wxCoord",0},
11689 { "_EBool","_wxPrintQuality",0},
11690 { "_EBool","_signed_int",0},
11691 { "_EBool","_int",0},
11692 { "_EBool","_wxWindowID",0},
11693 { "_unsigned_long","_long",0},
11694 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11695 { "_signed_int","_wxCoord",0},
11696 { "_signed_int","_wxPrintQuality",0},
11697 { "_signed_int","_EBool",0},
11698 { "_signed_int","_wxWindowID",0},
11699 { "_signed_int","_int",0},
11700 { "_WXTYPE","_wxDateTime_t",0},
11701 { "_WXTYPE","_short",0},
11702 { "_WXTYPE","_signed_short",0},
11703 { "_WXTYPE","_unsigned_short",0},
11704 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11705 { "_unsigned_short","_wxDateTime_t",0},
11706 { "_unsigned_short","_WXTYPE",0},
11707 { "_unsigned_short","_short",0},
11708 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11709 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11710 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11711 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11712 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11713 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11714 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11715 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11716 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11717 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11718 { "_wxObject","_wxSystemOptions",SwigwxSystemOptionsTowxObject
},
11719 { "_signed_short","_WXTYPE",0},
11720 { "_signed_short","_short",0},
11721 { "_unsigned_char","_byte",0},
11722 { "_unsigned_int","_wxCoord",0},
11723 { "_unsigned_int","_wxPrintQuality",0},
11724 { "_unsigned_int","_time_t",0},
11725 { "_unsigned_int","_size_t",0},
11726 { "_unsigned_int","_uint",0},
11727 { "_unsigned_int","_wxWindowID",0},
11728 { "_unsigned_int","_int",0},
11729 { "_short","_wxDateTime_t",0},
11730 { "_short","_WXTYPE",0},
11731 { "_short","_unsigned_short",0},
11732 { "_short","_signed_short",0},
11733 { "_wxWindowID","_wxCoord",0},
11734 { "_wxWindowID","_wxPrintQuality",0},
11735 { "_wxWindowID","_time_t",0},
11736 { "_wxWindowID","_size_t",0},
11737 { "_wxWindowID","_EBool",0},
11738 { "_wxWindowID","_uint",0},
11739 { "_wxWindowID","_int",0},
11740 { "_wxWindowID","_signed_int",0},
11741 { "_wxWindowID","_unsigned_int",0},
11742 { "_int","_wxCoord",0},
11743 { "_int","_wxPrintQuality",0},
11744 { "_int","_time_t",0},
11745 { "_int","_size_t",0},
11746 { "_int","_EBool",0},
11747 { "_int","_uint",0},
11748 { "_int","_wxWindowID",0},
11749 { "_int","_unsigned_int",0},
11750 { "_int","_signed_int",0},
11751 { "_wxDateTime_t","_unsigned_short",0},
11752 { "_wxDateTime_t","_short",0},
11753 { "_wxDateTime_t","_WXTYPE",0},
11754 { "_time_t","_wxCoord",0},
11755 { "_time_t","_wxPrintQuality",0},
11756 { "_time_t","_unsigned_int",0},
11757 { "_time_t","_int",0},
11758 { "_time_t","_wxWindowID",0},
11759 { "_time_t","_uint",0},
11760 { "_time_t","_size_t",0},
11761 { "_wxCoord","_int",0},
11762 { "_wxCoord","_signed_int",0},
11763 { "_wxCoord","_unsigned_int",0},
11764 { "_wxCoord","_wxWindowID",0},
11765 { "_wxCoord","_uint",0},
11766 { "_wxCoord","_EBool",0},
11767 { "_wxCoord","_size_t",0},
11768 { "_wxCoord","_time_t",0},
11769 { "_wxCoord","_wxPrintQuality",0},
11770 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11773 static PyObject
*SWIG_globals
;
11777 SWIGEXPORT(void) initmisc2c() {
11779 SWIG_globals
= SWIG_newvarlink();
11780 m
= Py_InitModule("misc2c", misc2cMethods
);
11781 d
= PyModule_GetDict(m
);
11782 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11783 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11784 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11785 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11786 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11787 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11788 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11789 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11790 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11791 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11792 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11793 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11794 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11795 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11796 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11797 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11798 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11799 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11800 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11801 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11802 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11803 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11804 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11805 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11806 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11807 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11808 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11809 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11810 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11811 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11812 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11813 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11814 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11815 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11816 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11817 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11818 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11819 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11820 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11821 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11822 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11823 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11824 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11825 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11826 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11827 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11828 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11829 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11830 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11831 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11832 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11833 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11834 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11835 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11836 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11837 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11838 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11839 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11840 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11841 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11842 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11843 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11844 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11845 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11846 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11847 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11848 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11849 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11850 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11851 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11852 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11853 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11854 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11855 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11856 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11857 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11858 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11859 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11860 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11861 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11862 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11863 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11864 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11865 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11866 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11867 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11868 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11869 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11870 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11871 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11872 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11873 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11874 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11875 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11876 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11877 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11878 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11879 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11880 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11881 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11882 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11883 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11884 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11885 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11886 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11887 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11888 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11889 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11890 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11891 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11892 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11893 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11894 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11895 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11896 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11897 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11898 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11899 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11900 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11901 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11902 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11903 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11904 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11905 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11906 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11907 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11908 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11909 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11910 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11911 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11912 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11913 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11914 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11915 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11916 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11917 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11918 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11919 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11920 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11921 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11922 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11923 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11924 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11925 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11926 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11927 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11928 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11929 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11930 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11932 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11933 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11934 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11938 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11939 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);