2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmisc2c
55 #define SWIG_name "misc2c"
58 #include "pyistream.h"
59 #include <wx/tooltip.h>
61 #include <wx/tipdlg.h>
62 #include <wx/process.h>
64 #if wxUSE_JOYSTICK || defined(__WXMSW__)
65 #include <wx/joystick.h>
68 #if wxUSE_WAVE || defined(__WXMSW__)
72 #include <wx/mimetype.h>
73 #include <wx/snglinst.h>
74 #include <wx/effects.h>
75 #include <wx/sysopt.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(FileSelectorPromptStr
);
106 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
107 DECLARE_DEF_STRING(DirSelectorPromptStr
);
108 static const wxString
wxPyEmptyString(wxT(""));
110 int wxCaret_GetBlinkTime() {
111 return wxCaret::GetBlinkTime();
114 void wxCaret_SetBlinkTime(int milliseconds
) {
115 wxCaret::SetBlinkTime(milliseconds
);
118 bool wxThread_IsMain() {
119 #ifdef WXP_WITH_THREAD
120 return wxThread::IsMain();
126 class wxPyTipProvider
: public wxTipProvider
{
128 wxPyTipProvider(size_t currentTip
)
129 : wxTipProvider(currentTip
) {}
131 DEC_PYCALLBACK_STRING__pure(GetTip
);
132 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
136 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
137 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
139 #include <wx/generic/dragimgg.h>
141 // A wxLog class that can be derived from in wxPython
142 class wxPyLog
: public wxLog
{
144 wxPyLog() : wxLog() {}
146 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
148 wxPyBeginBlockThreads();
149 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
150 PyObject
* s
= wx2PyString(szString
);
151 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
154 wxPyEndBlockThreads();
156 wxLog::DoLog(level
, szString
, t
);
159 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
161 wxPyBeginBlockThreads();
162 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
163 PyObject
* s
= wx2PyString(szString
);
164 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
167 wxPyEndBlockThreads();
169 wxLog::DoLogString(szString
, t
);
174 // C++ version of wxProcess derived class
176 class wxPyProcess
: public wxProcess
{
178 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
179 : wxProcess(parent
, id
)
182 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
187 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
190 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
191 // A C++ stub class for wxJoystick for platforms that don't have it.
192 class wxJoystick
: public wxObject
{
194 wxJoystick(int joystick
= wxJOYSTICK1
) {
195 wxPyBeginBlockThreads();
196 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
197 wxPyEndBlockThreads();
199 wxPoint
GetPosition() { return wxPoint(-1,-1); }
200 int GetZPosition() { return -1; }
201 int GetButtonState() { return -1; }
202 int GetPOVPosition() { return -1; }
203 int GetPOVCTSPosition() { return -1; }
204 int GetRudderPosition() { return -1; }
205 int GetUPosition() { return -1; }
206 int GetVPosition() { return -1; }
207 int GetMovementThreshold() { return -1; }
208 void SetMovementThreshold(int threshold
) {}
210 bool IsOk(void) { return FALSE
; }
211 int GetNumberJoysticks() { return -1; }
212 int GetManufacturerId() { return -1; }
213 int GetProductId() { return -1; }
214 wxString
GetProductName() { return ""; }
215 int GetXMin() { return -1; }
216 int GetYMin() { return -1; }
217 int GetZMin() { return -1; }
218 int GetXMax() { return -1; }
219 int GetYMax() { return -1; }
220 int GetZMax() { return -1; }
221 int GetNumberButtons() { return -1; }
222 int GetNumberAxes() { return -1; }
223 int GetMaxButtons() { return -1; }
224 int GetMaxAxes() { return -1; }
225 int GetPollingMin() { return -1; }
226 int GetPollingMax() { return -1; }
227 int GetRudderMin() { return -1; }
228 int GetRudderMax() { return -1; }
229 int GetUMin() { return -1; }
230 int GetUMax() { return -1; }
231 int GetVMin() { return -1; }
232 int GetVMax() { return -1; }
234 bool HasRudder() { return FALSE
; }
235 bool HasZ() { return FALSE
; }
236 bool HasU() { return FALSE
; }
237 bool HasV() { return FALSE
; }
238 bool HasPOV() { return FALSE
; }
239 bool HasPOV4Dir() { return FALSE
; }
240 bool HasPOVCTS() { return FALSE
; }
242 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
243 bool ReleaseCapture() { return FALSE
; }
248 // A C++ stub class for wxWave for platforms that don't have it.
249 class wxWave
: public wxObject
252 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
253 wxPyBeginBlockThreads();
254 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
255 wxPyEndBlockThreads();
257 wxWave(int size
, const wxByte
* data
) {
258 wxPyBeginBlockThreads();
259 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
260 wxPyEndBlockThreads();
265 bool IsOk() const { return FALSE
; }
266 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
270 // Implementations of some alternate "constructors"
271 wxWave
* wxWaveData(const wxString
& data
) {
272 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
276 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
280 #include <wx/artprov.h>
282 DECLARE_DEF_STRING(ART_OTHER
);
284 // Python aware wxArtProvider
285 class wxPyArtProvider
: public wxArtProvider
{
288 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
289 const wxArtClient
& client
,
290 const wxSize
& size
) {
291 wxBitmap rval
= wxNullBitmap
;
292 wxPyBeginBlockThreads();
293 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
294 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
298 s1
= wx2PyString(id
);
299 s2
= wx2PyString(client
);
300 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
305 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
310 wxPyEndBlockThreads();
317 #include <wx/docview.h>
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 // convention that not all widgets adhear to. For example, for
334 // some widgets backgrounds or non-client areas may not be
336 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
340 // This one works much better, except for on XP. On Win2k all
341 // widgets and their children are captured correctly[**]. On XP
342 // with Themes activated most native widgets draw only partially,
343 // if at all. Without themes it works just like on Win2k.
345 // ** The radio buttons in a wxRadioBox are not its children by
346 // default, but you can capture the panel instead...
347 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
348 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
349 PRF_ERASEBKGND
| PRF_OWNED
);
353 // This one is only defined in the latest SDK and only available
354 // on XP. MSDN says it is similar to sending WM_PRINT so I expect
355 // that it will work similar to the above. Since it is avaialble
356 // only on XP, it can't be compiled like this and will have to be
357 // loaded dynamically.
358 //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
364 // Use PrintWindow if available, or fallback to WM_PRINT
365 // otherwise. Unfortunately using PrintWindow is even worse than
366 // WM_PRINT. For most native widgets nothing is drawn to the dc
367 // at all, with or without Themes.
368 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
369 static bool s_triedToLoad
= false;
370 static PrintWindow_t pfnPrintWindow
= NULL
;
371 if ( !s_triedToLoad
)
374 s_triedToLoad
= true;
375 wxDynamicLibrary
dllUser32(_T("user32.dll"));
376 if ( dllUser32
.IsLoaded() )
378 wxLogNull nolog
; // Don't report errors here
379 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
384 printf("Using PrintWindow\n");
385 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
389 printf("Using WM_PRINT\n");
390 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
391 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
400 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
404 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
405 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
406 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
407 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
408 int _arg5
= (int ) 0;
409 wxWindow
* _arg6
= (wxWindow
*) NULL
;
410 int _arg7
= (int ) -1;
411 int _arg8
= (int ) -1;
412 PyObject
* _obj0
= 0;
413 PyObject
* _obj1
= 0;
414 PyObject
* _obj2
= 0;
415 PyObject
* _obj3
= 0;
416 PyObject
* _obj4
= 0;
417 PyObject
* _argo6
= 0;
418 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
425 _arg0
= wxString_in_helper(_obj0
);
431 _arg1
= wxString_in_helper(_obj1
);
437 _arg2
= wxString_in_helper(_obj2
);
443 _arg3
= wxString_in_helper(_obj3
);
449 _arg4
= wxString_in_helper(_obj4
);
454 if (_argo6
== Py_None
) { _arg6
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
462 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
464 wxPyEndAllowThreads(__tstate
);
465 if (PyErr_Occurred()) return NULL
;
468 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
470 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
499 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
504 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
505 wxWindow
* _arg3
= (wxWindow
*) NULL
;
506 PyObject
* _obj0
= 0;
507 PyObject
* _obj1
= 0;
508 PyObject
* _obj2
= 0;
509 PyObject
* _argo3
= 0;
510 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
516 _arg0
= wxString_in_helper(_obj0
);
521 _arg1
= wxString_in_helper(_obj1
);
527 _arg2
= wxString_in_helper(_obj2
);
532 if (_argo3
== Py_None
) { _arg3
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
546 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
548 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
569 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
574 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
575 wxWindow
* _arg3
= (wxWindow
*) NULL
;
576 PyObject
* _obj0
= 0;
577 PyObject
* _obj1
= 0;
578 PyObject
* _obj2
= 0;
579 PyObject
* _argo3
= 0;
580 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
586 _arg0
= wxString_in_helper(_obj0
);
591 _arg1
= wxString_in_helper(_obj1
);
597 _arg2
= wxString_in_helper(_obj2
);
602 if (_argo3
== Py_None
) { _arg3
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
616 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
618 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
639 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
642 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
643 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
644 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
645 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
646 wxWindow
* _arg4
= (wxWindow
*) NULL
;
647 PyObject
* _obj0
= 0;
648 PyObject
* _obj1
= 0;
650 PyObject
* _obj3
= 0;
651 PyObject
* _argo4
= 0;
652 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
659 _arg0
= wxString_in_helper(_obj0
);
665 _arg1
= wxString_in_helper(_obj1
);
672 if (! wxPoint_helper(_obj3
, &_arg3
))
676 if (_argo4
== Py_None
) { _arg4
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
684 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
686 wxPyEndAllowThreads(__tstate
);
687 if (PyErr_Occurred()) return NULL
;
690 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
692 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
709 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 PyObject
* _resultobj
;
713 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
714 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
715 wxWindow
* _arg3
= (wxWindow
*) NULL
;
716 int _arg4
= (int ) -1;
717 int _arg5
= (int ) -1;
718 bool _arg6
= (bool ) TRUE
;
719 PyObject
* _obj0
= 0;
720 PyObject
* _obj1
= 0;
721 PyObject
* _obj2
= 0;
722 PyObject
* _argo3
= 0;
723 int tempbool6
= (int) TRUE
;
724 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
730 _arg0
= wxString_in_helper(_obj0
);
736 _arg1
= wxString_in_helper(_obj1
);
742 _arg2
= wxString_in_helper(_obj2
);
747 if (_argo3
== Py_None
) { _arg3
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
753 _arg6
= (bool ) tempbool6
;
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
762 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
764 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
785 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
789 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
790 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
791 wxWindow
* _arg3
= (wxWindow
*) NULL
;
792 PyObject
* _obj0
= 0;
793 PyObject
* _obj1
= 0;
794 PyObject
* _obj2
= 0;
795 PyObject
* _argo3
= 0;
796 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
802 _arg0
= wxString_in_helper(_obj0
);
808 _arg1
= wxString_in_helper(_obj1
);
814 _arg2
= wxString_in_helper(_obj2
);
819 if (_argo3
== Py_None
) { _arg3
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
827 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
829 wxPyEndAllowThreads(__tstate
);
830 if (PyErr_Occurred()) return NULL
;
833 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
835 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
856 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
863 wxWindow
* _arg4
= (wxWindow
*) NULL
;
864 int _arg5
= (int ) -1;
865 int _arg6
= (int ) -1;
866 bool _arg7
= (bool ) TRUE
;
867 int _arg8
= (int ) 150;
868 int _arg9
= (int ) 200;
869 PyObject
* _obj0
= 0;
870 PyObject
* _obj1
= 0;
871 PyObject
* _obj3
= 0;
872 PyObject
* _argo4
= 0;
873 int tempbool7
= (int) TRUE
;
874 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
880 _arg0
= wxString_in_helper(_obj0
);
885 _arg1
= wxString_in_helper(_obj1
);
891 _arg3
= wxString_LIST_helper(_obj3
);
897 if (_argo4
== Py_None
) { _arg4
= NULL
; }
898 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
903 _arg7
= (bool ) tempbool7
;
906 _arg2
= PyList_Size(_obj3
);
913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
914 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
916 wxPyEndAllowThreads(__tstate
);
917 if (PyErr_Occurred()) return NULL
;
920 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
922 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
942 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
949 wxWindow
* _arg4
= (wxWindow
*) NULL
;
950 int _arg5
= (int ) -1;
951 int _arg6
= (int ) -1;
952 bool _arg7
= (bool ) TRUE
;
953 int _arg8
= (int ) 150;
954 int _arg9
= (int ) 200;
955 PyObject
* _obj0
= 0;
956 PyObject
* _obj1
= 0;
957 PyObject
* _obj3
= 0;
958 PyObject
* _argo4
= 0;
959 int tempbool7
= (int) TRUE
;
960 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
966 _arg0
= wxString_in_helper(_obj0
);
971 _arg1
= wxString_in_helper(_obj1
);
977 _arg3
= wxString_LIST_helper(_obj3
);
983 if (_argo4
== Py_None
) { _arg4
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
989 _arg7
= (bool ) tempbool7
;
992 _arg2
= PyList_Size(_obj3
);
999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1000 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
1002 wxPyEndAllowThreads(__tstate
);
1003 if (PyErr_Occurred()) return NULL
;
1004 } _resultobj
= Py_BuildValue("i",_result
);
1019 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1023 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1024 int _arg2
= (int ) wxOK
|wxCENTRE
;
1025 wxWindow
* _arg3
= (wxWindow
*) NULL
;
1026 int _arg4
= (int ) -1;
1027 int _arg5
= (int ) -1;
1028 PyObject
* _obj0
= 0;
1029 PyObject
* _obj1
= 0;
1030 PyObject
* _argo3
= 0;
1031 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
1037 _arg0
= wxString_in_helper(_obj0
);
1043 _arg1
= wxString_in_helper(_obj1
);
1048 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1060 } _resultobj
= Py_BuildValue("i",_result
);
1072 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1079 long _arg4
= (long ) 0;
1080 long _arg5
= (long ) 100;
1081 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1082 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1083 PyObject
* _obj0
= 0;
1084 PyObject
* _obj1
= 0;
1085 PyObject
* _obj2
= 0;
1086 PyObject
* _argo6
= 0;
1088 PyObject
* _obj7
= 0;
1089 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1095 _arg0
= wxString_in_helper(_obj0
);
1100 _arg1
= wxString_in_helper(_obj1
);
1105 _arg2
= wxString_in_helper(_obj2
);
1110 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1119 if (! wxPoint_helper(_obj7
, &_arg7
))
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } _resultobj
= Py_BuildValue("l",_result
);
1144 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1147 char *_kwnames
[] = { NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 _result
= (bool )wxColourDisplay();
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
* _resultobj
;
1165 char *_kwnames
[] = { NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 _result
= (int )wxDisplayDepth();
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) return NULL
;
1176 } _resultobj
= Py_BuildValue("i",_result
);
1180 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1183 char *_kwnames
[] = { NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 _result
= (int )wxGetDisplayDepth();
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) return NULL
;
1194 } _resultobj
= Py_BuildValue("i",_result
);
1198 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1204 char *_kwnames
[] = { NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxDisplaySize(_arg0
,_arg1
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1225 o
= PyInt_FromLong((long) (*_arg0
));
1226 _resultobj
= t_output_helper(_resultobj
, o
);
1230 o
= PyInt_FromLong((long) (*_arg1
));
1231 _resultobj
= t_output_helper(_resultobj
, o
);
1236 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1239 char *_kwnames
[] = { NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1247 _result
= new wxSize (wxGetDisplaySize());
1249 wxPyEndAllowThreads(__tstate
);
1250 if (PyErr_Occurred()) return NULL
;
1251 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1252 _resultobj
= Py_BuildValue("s",_ptemp
);
1256 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1262 char *_kwnames
[] = { NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 wxDisplaySizeMM(_arg0
,_arg1
);
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) return NULL
;
1279 } Py_INCREF(Py_None
);
1280 _resultobj
= Py_None
;
1283 o
= PyInt_FromLong((long) (*_arg0
));
1284 _resultobj
= t_output_helper(_resultobj
, o
);
1288 o
= PyInt_FromLong((long) (*_arg1
));
1289 _resultobj
= t_output_helper(_resultobj
, o
);
1294 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1297 char *_kwnames
[] = { NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 _result
= new wxSize (wxGetDisplaySizeMM());
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1310 _resultobj
= Py_BuildValue("s",_ptemp
);
1314 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1324 char *_kwnames
[] = { NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 } Py_INCREF(Py_None
);
1348 _resultobj
= Py_None
;
1351 o
= PyInt_FromLong((long) (*_arg0
));
1352 _resultobj
= t_output_helper(_resultobj
, o
);
1356 o
= PyInt_FromLong((long) (*_arg1
));
1357 _resultobj
= t_output_helper(_resultobj
, o
);
1361 o
= PyInt_FromLong((long) (*_arg2
));
1362 _resultobj
= t_output_helper(_resultobj
, o
);
1366 o
= PyInt_FromLong((long) (*_arg3
));
1367 _resultobj
= t_output_helper(_resultobj
, o
);
1372 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1375 char *_kwnames
[] = { NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1383 _result
= new wxRect (wxGetClientDisplayRect());
1385 wxPyEndAllowThreads(__tstate
);
1386 if (PyErr_Occurred()) return NULL
;
1387 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1388 _resultobj
= Py_BuildValue("s",_ptemp
);
1392 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1395 PyObject
* _argo0
= 0;
1396 char *_kwnames
[] = { "cursor", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1402 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 wxSetCursor(*_arg0
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } Py_INCREF(Py_None
);
1414 _resultobj
= Py_None
;
1418 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1420 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1421 PyObject
* _argo0
= 0;
1422 char *_kwnames
[] = { "cursor", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 wxBeginBusyCursor(_arg0
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 char *_kwnames
[] = { NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (wxWindow
*)wxGetActiveWindow();
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1463 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1468 PyObject
* _obj0
= 0;
1469 char *_kwnames
[] = { "pt", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1476 if (! wxPoint_helper(_obj0
, &_arg0
))
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) return NULL
;
1485 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1489 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1494 PyObject
* _obj0
= 0;
1495 char *_kwnames
[] = { "pt", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1502 if (! wxPoint_helper(_obj0
, &_arg0
))
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1515 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1519 PyObject
* _argo0
= 0;
1520 char *_kwnames
[] = { "wnd", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 _result
= (bool )wxCheckForInterrupt(_arg0
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) return NULL
;
1538 } _resultobj
= Py_BuildValue("i",_result
);
1542 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "win", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1569 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1572 char *_kwnames
[] = { NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 _result
= (int )wxCaret_GetBlinkTime();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } _resultobj
= Py_BuildValue("i",_result
);
1587 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1590 char *_kwnames
[] = { "milliseconds", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 wxCaret_SetBlinkTime(_arg0
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) return NULL
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
* _resultobj
;
1609 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1610 bool _arg1
= (bool ) FALSE
;
1611 PyObject
* _argo0
= 0;
1612 int tempbool1
= (int) FALSE
;
1613 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1625 _arg1
= (bool ) tempbool1
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) return NULL
;
1632 } _resultobj
= Py_BuildValue("i",_result
);
1636 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1638 wxEvtHandler
* _arg0
;
1640 PyObject
* _argo0
= 0;
1641 PyObject
* _argo1
= 0;
1642 char *_kwnames
[] = { "dest","event", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1655 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 wxPostEvent(_arg0
,*_arg1
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) return NULL
;
1666 } Py_INCREF(Py_None
);
1667 _resultobj
= Py_None
;
1671 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1673 char *_kwnames
[] = { NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) return NULL
;
1684 } Py_INCREF(Py_None
);
1685 _resultobj
= Py_None
;
1689 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1691 char *_kwnames
[] = { NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 wxWakeUpMainThread();
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) return NULL
;
1702 } Py_INCREF(Py_None
);
1703 _resultobj
= Py_None
;
1707 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 char *_kwnames
[] = { NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) return NULL
;
1720 } Py_INCREF(Py_None
);
1721 _resultobj
= Py_None
;
1725 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1727 char *_kwnames
[] = { NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1746 char *_kwnames
[] = { NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 _result
= (bool )wxThread_IsMain();
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) return NULL
;
1757 } _resultobj
= Py_BuildValue("i",_result
);
1761 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1765 wxTipProvider
* _arg1
;
1766 bool _arg2
= (bool ) TRUE
;
1767 PyObject
* _argo0
= 0;
1768 PyObject
* _argo1
= 0;
1769 int tempbool2
= (int) TRUE
;
1770 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1783 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1789 _arg2
= (bool ) tempbool2
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) return NULL
;
1796 } _resultobj
= Py_BuildValue("i",_result
);
1800 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 wxTipProvider
* _result
;
1805 PyObject
* _obj0
= 0;
1806 char *_kwnames
[] = { "filename","currentTip", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1813 _arg0
= wxString_in_helper(_obj0
);
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1825 _resultobj
= Py_BuildValue("s",_ptemp
);
1828 _resultobj
= Py_None
;
1837 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1839 unsigned long _result
;
1840 char *_kwnames
[] = { NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 _result
= (unsigned long )wxSysErrorCode();
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) return NULL
;
1851 } _resultobj
= Py_BuildValue("l",_result
);
1855 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1858 unsigned long _arg0
= (unsigned long ) 0;
1859 char *_kwnames
[] = { "nErrCode", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 _result
= new wxString (wxSysErrorMsg(_arg0
));
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) return NULL
;
1872 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1874 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1883 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1886 PyObject
* _obj0
= 0;
1887 char *_kwnames
[] = { "msg", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1893 _arg0
= wxString_in_helper(_obj0
);
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 wxLogFatalError(*_arg0
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } Py_INCREF(Py_None
);
1904 _resultobj
= Py_None
;
1912 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1915 PyObject
* _obj0
= 0;
1916 char *_kwnames
[] = { "msg", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1922 _arg0
= wxString_in_helper(_obj0
);
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) return NULL
;
1932 } Py_INCREF(Py_None
);
1933 _resultobj
= Py_None
;
1941 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1944 PyObject
* _obj0
= 0;
1945 char *_kwnames
[] = { "msg", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1951 _arg0
= wxString_in_helper(_obj0
);
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 wxLogWarning(*_arg0
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) return NULL
;
1961 } Py_INCREF(Py_None
);
1962 _resultobj
= Py_None
;
1970 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1973 PyObject
* _obj0
= 0;
1974 char *_kwnames
[] = { "msg", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1980 _arg0
= wxString_in_helper(_obj0
);
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 wxLogMessage(*_arg0
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1999 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
* _resultobj
;
2002 PyObject
* _obj0
= 0;
2003 char *_kwnames
[] = { "msg", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2009 _arg0
= wxString_in_helper(_obj0
);
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) return NULL
;
2019 } Py_INCREF(Py_None
);
2020 _resultobj
= Py_None
;
2028 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 PyObject
* _obj0
= 0;
2032 char *_kwnames
[] = { "msg", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
2038 _arg0
= wxString_in_helper(_obj0
);
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } Py_INCREF(Py_None
);
2049 _resultobj
= Py_None
;
2057 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 PyObject
* _obj0
= 0;
2061 char *_kwnames
[] = { "msg", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2067 _arg0
= wxString_in_helper(_obj0
);
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxLogVerbose(*_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2086 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2089 PyObject
* _obj0
= 0;
2090 char *_kwnames
[] = { "msg", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2096 _arg0
= wxString_in_helper(_obj0
);
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2102 wxLogStatus(*_arg0
);
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) return NULL
;
2106 } Py_INCREF(Py_None
);
2107 _resultobj
= Py_None
;
2115 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2119 PyObject
* _argo0
= 0;
2120 PyObject
* _obj1
= 0;
2121 char *_kwnames
[] = { "pFrame","msg", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2134 _arg1
= wxString_in_helper(_obj1
);
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 wxLogStatus(_arg0
,*_arg1
);
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) return NULL
;
2144 } Py_INCREF(Py_None
);
2145 _resultobj
= Py_None
;
2153 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2156 PyObject
* _obj0
= 0;
2157 char *_kwnames
[] = { "msg", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2163 _arg0
= wxString_in_helper(_obj0
);
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 wxLogSysError(*_arg0
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) return NULL
;
2173 } Py_INCREF(Py_None
);
2174 _resultobj
= Py_None
;
2182 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2185 PyObject
* _obj0
= 0;
2186 char *_kwnames
[] = { "msg", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2192 _arg0
= wxString_in_helper(_obj0
);
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) return NULL
;
2202 } Py_INCREF(Py_None
);
2203 _resultobj
= Py_None
;
2211 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2215 PyObject
* _obj0
= 0;
2216 PyObject
* _obj1
= 0;
2217 char *_kwnames
[] = { "mask","msg", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2223 _arg0
= wxString_in_helper(_obj0
);
2228 _arg1
= wxString_in_helper(_obj1
);
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 wxLogTrace(*_arg0
,*_arg1
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } Py_INCREF(Py_None
);
2239 _resultobj
= Py_None
;
2251 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2253 unsigned long _arg0
;
2255 PyObject
* _obj1
= 0;
2256 char *_kwnames
[] = { "level","msg", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2262 _arg1
= wxString_in_helper(_obj1
);
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 wxLogGeneric(_arg0
,*_arg1
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) return NULL
;
2272 } Py_INCREF(Py_None
);
2273 _resultobj
= Py_None
;
2281 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2285 PyObject
* _obj0
= 0;
2286 PyObject
* _obj1
= 0;
2287 char *_kwnames
[] = { "title","text", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2293 _arg0
= wxString_in_helper(_obj0
);
2298 _arg1
= wxString_in_helper(_obj1
);
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 wxSafeShowMessage(*_arg0
,*_arg1
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) return NULL
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2321 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2325 int _arg1
= (int ) (wxEXEC_ASYNC
);
2326 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2327 PyObject
* _obj0
= 0;
2328 PyObject
* _argo2
= 0;
2329 char *_kwnames
[] = { "command","flags","process", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2335 _arg0
= wxString_in_helper(_obj0
);
2340 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2352 } _resultobj
= Py_BuildValue("l",_result
);
2360 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2364 PyObject
* _obj0
= 0;
2365 char *_kwnames
[] = { "data", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2372 _arg0
= wxString_in_helper(_obj0
);
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 _result
= (wxWave
*)wxWaveData(*_arg0
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) return NULL
;
2383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2384 _resultobj
= Py_BuildValue("s",_ptemp
);
2387 _resultobj
= Py_None
;
2396 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2398 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2402 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2406 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2407 pyobj
= PyString_FromString(ptemp
);
2411 static PyObject
*_wrap_wxDrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2416 PyObject
* _argo0
= 0;
2417 PyObject
* _argo1
= 0;
2418 char *_kwnames
[] = { "window","dc","method", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDrawWindowOnDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDrawWindowOnDC. Expected _wxWindow_p.");
2431 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDrawWindowOnDC. Expected _wxDC_p.");
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 wxDrawWindowOnDC(_arg0
,*_arg1
,_arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) return NULL
;
2442 } Py_INCREF(Py_None
);
2443 _resultobj
= Py_None
;
2447 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2450 wxSystemColour _arg0
;
2451 char *_kwnames
[] = { "index", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2464 _resultobj
= Py_BuildValue("s",_ptemp
);
2468 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2472 char *_kwnames
[] = { "index", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) return NULL
;
2484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2485 _resultobj
= Py_BuildValue("s",_ptemp
);
2489 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2492 wxSystemMetric _arg0
;
2493 char *_kwnames
[] = { "index", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) return NULL
;
2504 } _resultobj
= Py_BuildValue("i",_result
);
2508 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2511 wxSystemFeature _arg0
;
2512 char *_kwnames
[] = { "index", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) return NULL
;
2523 } _resultobj
= Py_BuildValue("i",_result
);
2527 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2529 wxSystemScreenType _result
;
2530 char *_kwnames
[] = { NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) return NULL
;
2541 } _resultobj
= Py_BuildValue("i",_result
);
2545 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2547 wxSystemScreenType _arg0
;
2548 char *_kwnames
[] = { "screen", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 wxSystemSettings::SetScreenType(_arg0
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) return NULL
;
2559 } Py_INCREF(Py_None
);
2560 _resultobj
= Py_None
;
2564 static void *SwigwxSystemOptionsTowxObject(void *ptr
) {
2565 wxSystemOptions
*src
;
2567 src
= (wxSystemOptions
*) ptr
;
2568 dest
= (wxObject
*) src
;
2569 return (void *) dest
;
2572 #define new_wxSystemOptions() (new wxSystemOptions())
2573 static PyObject
*_wrap_new_wxSystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2575 wxSystemOptions
* _result
;
2576 char *_kwnames
[] = { NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSystemOptions",_kwnames
))
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 _result
= (wxSystemOptions
*)new_wxSystemOptions();
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) return NULL
;
2589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSystemOptions_p");
2590 _resultobj
= Py_BuildValue("s",_ptemp
);
2593 _resultobj
= Py_None
;
2598 static PyObject
*_wrap_wxSystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2602 PyObject
* _obj0
= 0;
2603 PyObject
* _obj1
= 0;
2604 char *_kwnames
[] = { "name","value", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSystemOptions_SetOption",_kwnames
,&_obj0
,&_obj1
))
2610 _arg0
= wxString_in_helper(_obj0
);
2615 _arg1
= wxString_in_helper(_obj1
);
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 wxSystemOptions::SetOption(*_arg0
,*_arg1
);
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) return NULL
;
2625 } Py_INCREF(Py_None
);
2626 _resultobj
= Py_None
;
2638 static PyObject
*_wrap_wxSystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2642 PyObject
* _obj0
= 0;
2643 char *_kwnames
[] = { "name","value", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSystemOptions_SetOptionInt",_kwnames
,&_obj0
,&_arg1
))
2649 _arg0
= wxString_in_helper(_obj0
);
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 wxSystemOptions::SetOption(*_arg0
,_arg1
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) return NULL
;
2659 } Py_INCREF(Py_None
);
2660 _resultobj
= Py_None
;
2668 static PyObject
*_wrap_wxSystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2672 PyObject
* _obj0
= 0;
2673 char *_kwnames
[] = { "name", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOption",_kwnames
,&_obj0
))
2679 _arg0
= wxString_in_helper(_obj0
);
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 _result
= new wxString (wxSystemOptions::GetOption(*_arg0
));
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) return NULL
;
2691 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2693 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2706 static PyObject
*_wrap_wxSystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2710 PyObject
* _obj0
= 0;
2711 char *_kwnames
[] = { "name", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOptionInt",_kwnames
,&_obj0
))
2717 _arg0
= wxString_in_helper(_obj0
);
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 _result
= (int )wxSystemOptions::GetOptionInt(*_arg0
);
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) return NULL
;
2727 } _resultobj
= Py_BuildValue("i",_result
);
2735 static PyObject
*_wrap_wxSystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2739 PyObject
* _obj0
= 0;
2740 char *_kwnames
[] = { "name", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_HasOption",_kwnames
,&_obj0
))
2746 _arg0
= wxString_in_helper(_obj0
);
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 _result
= (bool )wxSystemOptions::HasOption(*_arg0
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } _resultobj
= Py_BuildValue("i",_result
);
2764 static void *SwigwxToolTipTowxObject(void *ptr
) {
2767 src
= (wxToolTip
*) ptr
;
2768 dest
= (wxObject
*) src
;
2769 return (void *) dest
;
2772 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2773 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2775 wxToolTip
* _result
;
2777 PyObject
* _obj0
= 0;
2778 char *_kwnames
[] = { "tip", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2785 _arg0
= wxString_in_helper(_obj0
);
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2797 _resultobj
= Py_BuildValue("s",_ptemp
);
2800 _resultobj
= Py_None
;
2809 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2810 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 PyObject
* _obj1
= 0;
2816 char *_kwnames
[] = { "self","tip", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2829 _arg1
= wxString_in_helper(_obj1
);
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 wxToolTip_SetTip(_arg0
,*_arg1
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) return NULL
;
2839 } Py_INCREF(Py_None
);
2840 _resultobj
= Py_None
;
2848 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2849 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2853 PyObject
* _argo0
= 0;
2854 char *_kwnames
[] = { "self", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) return NULL
;
2874 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2876 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2885 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2886 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) return NULL
;
2909 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2913 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2917 char *_kwnames
[] = { "flag", NULL
};
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2922 _arg0
= (bool ) tempbool0
;
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 wxToolTip::Enable(_arg0
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) return NULL
;
2929 } Py_INCREF(Py_None
);
2930 _resultobj
= Py_None
;
2934 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2937 char *_kwnames
[] = { "milliseconds", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 wxToolTip::SetDelay(_arg0
);
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) return NULL
;
2948 } Py_INCREF(Py_None
);
2949 _resultobj
= Py_None
;
2953 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2954 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2959 PyObject
* _argo0
= 0;
2961 PyObject
* _obj1
= 0;
2962 char *_kwnames
[] = { "window","size", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2977 if (! wxSize_helper(_obj1
, &_arg1
))
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) return NULL
;
2987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2988 _resultobj
= Py_BuildValue("s",_ptemp
);
2991 _resultobj
= Py_None
;
2996 #define delete_wxCaret(_swigobj) (delete _swigobj)
2997 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 delete_wxCaret(_arg0
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
3025 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3029 PyObject
* _argo0
= 0;
3030 char *_kwnames
[] = { "self", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 _result
= (bool )wxCaret_IsOk(_arg0
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) return NULL
;
3048 } _resultobj
= Py_BuildValue("i",_result
);
3052 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
3053 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3057 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 _result
= (bool )wxCaret_IsVisible(_arg0
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) return NULL
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3081 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) return NULL
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3117 o
= PyInt_FromLong((long) (*_arg1
));
3118 _resultobj
= t_output_helper(_resultobj
, o
);
3122 o
= PyInt_FromLong((long) (*_arg2
));
3123 _resultobj
= t_output_helper(_resultobj
, o
);
3128 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
3129 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3133 PyObject
* _argo0
= 0;
3134 char *_kwnames
[] = { "self", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) return NULL
;
3153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3154 _resultobj
= Py_BuildValue("s",_ptemp
);
3158 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3159 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) return NULL
;
3191 } Py_INCREF(Py_None
);
3192 _resultobj
= Py_None
;
3195 o
= PyInt_FromLong((long) (*_arg1
));
3196 _resultobj
= t_output_helper(_resultobj
, o
);
3200 o
= PyInt_FromLong((long) (*_arg2
));
3201 _resultobj
= t_output_helper(_resultobj
, o
);
3206 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3207 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3211 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3231 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3232 _resultobj
= Py_BuildValue("s",_ptemp
);
3236 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3237 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3260 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3264 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3265 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self","x","y", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) return NULL
;
3289 } Py_INCREF(Py_None
);
3290 _resultobj
= Py_None
;
3294 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3295 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3299 PyObject
* _argo0
= 0;
3301 PyObject
* _obj1
= 0;
3302 char *_kwnames
[] = { "self","pt", NULL
};
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3316 if (! wxPoint_helper(_obj1
, &_arg1
))
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxCaret_Move(_arg0
,*_arg1
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) return NULL
;
3325 } Py_INCREF(Py_None
);
3326 _resultobj
= Py_None
;
3330 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3331 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
* _resultobj
;
3336 PyObject
* _argo0
= 0;
3337 char *_kwnames
[] = { "self","width","height", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3361 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3365 PyObject
* _argo0
= 0;
3367 PyObject
* _obj1
= 0;
3368 char *_kwnames
[] = { "self","size", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3382 if (! wxSize_helper(_obj1
, &_arg1
))
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 wxCaret_SetSize(_arg0
,*_arg1
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) return NULL
;
3391 } Py_INCREF(Py_None
);
3392 _resultobj
= Py_None
;
3396 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3397 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3400 int _arg1
= (int ) TRUE
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self","show", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 wxCaret_Show(_arg0
,_arg1
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) return NULL
;
3420 } Py_INCREF(Py_None
);
3421 _resultobj
= Py_None
;
3425 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3426 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
* _resultobj
;
3429 PyObject
* _argo0
= 0;
3430 char *_kwnames
[] = { "self", NULL
};
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 wxCaret_Hide(_arg0
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) return NULL
;
3448 } Py_INCREF(Py_None
);
3449 _resultobj
= Py_None
;
3453 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3454 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxBusyCursor
* _result
;
3457 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3458 PyObject
* _argo0
= 0;
3459 char *_kwnames
[] = { "cursor", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) return NULL
;
3479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3480 _resultobj
= Py_BuildValue("s",_ptemp
);
3483 _resultobj
= Py_None
;
3488 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3489 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
* _resultobj
;
3491 wxBusyCursor
* _arg0
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 delete_wxBusyCursor(_arg0
);
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) return NULL
;
3511 } Py_INCREF(Py_None
);
3512 _resultobj
= Py_None
;
3516 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3517 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
* _resultobj
;
3519 wxWindowDisabler
* _result
;
3520 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3521 PyObject
* _argo0
= 0;
3522 char *_kwnames
[] = { "winToSkip", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) return NULL
;
3542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3543 _resultobj
= Py_BuildValue("s",_ptemp
);
3546 _resultobj
= Py_None
;
3551 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3552 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
* _resultobj
;
3554 wxWindowDisabler
* _arg0
;
3555 PyObject
* _argo0
= 0;
3556 char *_kwnames
[] = { "self", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 delete_wxWindowDisabler(_arg0
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) return NULL
;
3574 } Py_INCREF(Py_None
);
3575 _resultobj
= Py_None
;
3579 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3580 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3582 wxMutexGuiLocker
* _result
;
3583 char *_kwnames
[] = { NULL
};
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3597 _resultobj
= Py_BuildValue("s",_ptemp
);
3600 _resultobj
= Py_None
;
3605 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3606 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
* _resultobj
;
3608 wxMutexGuiLocker
* _arg0
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 delete_wxMutexGuiLocker(_arg0
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) return NULL
;
3628 } Py_INCREF(Py_None
);
3629 _resultobj
= Py_None
;
3633 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3634 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3636 wxTipProvider
* _arg0
;
3637 PyObject
* _argo0
= 0;
3638 char *_kwnames
[] = { "self", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 delete_wxTipProvider(_arg0
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) return NULL
;
3656 } Py_INCREF(Py_None
);
3657 _resultobj
= Py_None
;
3661 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3662 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3665 wxTipProvider
* _arg0
;
3666 PyObject
* _argo0
= 0;
3667 char *_kwnames
[] = { "self", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) return NULL
;
3687 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3689 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3698 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3699 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
* _resultobj
;
3702 wxTipProvider
* _arg0
;
3703 PyObject
* _argo0
= 0;
3704 char *_kwnames
[] = { "self", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) return NULL
;
3722 } _resultobj
= Py_BuildValue("i",_result
);
3726 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3727 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
* _resultobj
;
3730 wxTipProvider
* _arg0
;
3732 PyObject
* _argo0
= 0;
3733 PyObject
* _obj1
= 0;
3734 char *_kwnames
[] = { "self","tip", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3747 _arg1
= wxString_in_helper(_obj1
);
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) return NULL
;
3759 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3774 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3775 wxPyTipProvider
*src
;
3776 wxTipProvider
*dest
;
3777 src
= (wxPyTipProvider
*) ptr
;
3778 dest
= (wxTipProvider
*) src
;
3779 return (void *) dest
;
3782 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3783 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3785 wxPyTipProvider
* _result
;
3787 char *_kwnames
[] = { "currentTip", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) return NULL
;
3800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3801 _resultobj
= Py_BuildValue("s",_ptemp
);
3804 _resultobj
= Py_None
;
3809 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3810 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3812 wxPyTipProvider
* _arg0
;
3815 PyObject
* _argo0
= 0;
3816 PyObject
* _obj1
= 0;
3817 PyObject
* _obj2
= 0;
3818 char *_kwnames
[] = { "self","self","_class", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) return NULL
;
3842 } Py_INCREF(Py_None
);
3843 _resultobj
= Py_None
;
3847 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3848 wxGenericDragImage
*src
;
3850 src
= (wxGenericDragImage
*) ptr
;
3851 dest
= (wxObject
*) src
;
3852 return (void *) dest
;
3855 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3856 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3858 wxGenericDragImage
* _result
;
3860 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3861 PyObject
* _argo0
= 0;
3862 PyObject
* _argo1
= 0;
3863 char *_kwnames
[] = { "image","cursor", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3870 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3876 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) return NULL
;
3888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3889 _resultobj
= Py_BuildValue("s",_ptemp
);
3892 _resultobj
= Py_None
;
3897 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3898 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
* _resultobj
;
3900 wxGenericDragImage
* _result
;
3902 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3903 PyObject
* _argo0
= 0;
3904 PyObject
* _argo1
= 0;
3905 char *_kwnames
[] = { "image","cursor", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3912 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3918 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3931 _resultobj
= Py_BuildValue("s",_ptemp
);
3934 _resultobj
= Py_None
;
3939 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3940 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3942 wxGenericDragImage
* _result
;
3944 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3945 PyObject
* _obj0
= 0;
3946 PyObject
* _argo1
= 0;
3947 char *_kwnames
[] = { "str","cursor", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3954 _arg0
= wxString_in_helper(_obj0
);
3959 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) return NULL
;
3971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3972 _resultobj
= Py_BuildValue("s",_ptemp
);
3975 _resultobj
= Py_None
;
3984 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3985 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3987 wxGenericDragImage
* _result
;
3989 wxTreeItemId
* _arg1
;
3990 PyObject
* _argo0
= 0;
3991 PyObject
* _argo1
= 0;
3992 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3999 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
4005 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) return NULL
;
4017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
4018 _resultobj
= Py_BuildValue("s",_ptemp
);
4021 _resultobj
= Py_None
;
4026 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
4027 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4029 wxGenericDragImage
* _result
;
4032 PyObject
* _argo0
= 0;
4033 char *_kwnames
[] = { "listCtrl","id", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
4040 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) return NULL
;
4052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
4053 _resultobj
= Py_BuildValue("s",_ptemp
);
4056 _resultobj
= Py_None
;
4061 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
4062 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4064 wxGenericDragImage
* _arg0
;
4065 PyObject
* _argo0
= 0;
4066 char *_kwnames
[] = { "self", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
4072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 delete_wxGenericDragImage(_arg0
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) return NULL
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
4090 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4092 wxGenericDragImage
* _arg0
;
4094 PyObject
* _argo0
= 0;
4095 PyObject
* _argo1
= 0;
4096 char *_kwnames
[] = { "self","bitmap", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
4109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) return NULL
;
4121 } Py_INCREF(Py_None
);
4122 _resultobj
= Py_None
;
4126 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4127 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4130 wxGenericDragImage
* _arg0
;
4133 bool _arg3
= (bool ) FALSE
;
4134 wxRect
* _arg4
= (wxRect
*) NULL
;
4135 PyObject
* _argo0
= 0;
4137 PyObject
* _obj1
= 0;
4138 PyObject
* _argo2
= 0;
4139 int tempbool3
= (int) FALSE
;
4141 PyObject
* _obj4
= 0;
4142 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
4156 if (! wxPoint_helper(_obj1
, &_arg1
))
4160 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4161 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
4166 _arg3
= (bool ) tempbool3
;
4170 if (! wxRect_helper(_obj4
, &_arg4
))
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) return NULL
;
4179 } _resultobj
= Py_BuildValue("i",_result
);
4183 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4184 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4187 wxGenericDragImage
* _arg0
;
4191 PyObject
* _argo0
= 0;
4193 PyObject
* _obj1
= 0;
4194 PyObject
* _argo2
= 0;
4195 PyObject
* _argo3
= 0;
4196 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
4210 if (! wxPoint_helper(_obj1
, &_arg1
))
4214 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4221 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) return NULL
;
4233 } _resultobj
= Py_BuildValue("i",_result
);
4237 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4238 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4241 wxGenericDragImage
* _arg0
;
4242 PyObject
* _argo0
= 0;
4243 char *_kwnames
[] = { "self", NULL
};
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) return NULL
;
4261 } _resultobj
= Py_BuildValue("i",_result
);
4265 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4266 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
* _resultobj
;
4269 wxGenericDragImage
* _arg0
;
4271 PyObject
* _argo0
= 0;
4273 PyObject
* _obj1
= 0;
4274 char *_kwnames
[] = { "self","pt", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4288 if (! wxPoint_helper(_obj1
, &_arg1
))
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4295 wxPyEndAllowThreads(__tstate
);
4296 if (PyErr_Occurred()) return NULL
;
4297 } _resultobj
= Py_BuildValue("i",_result
);
4301 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4302 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4305 wxGenericDragImage
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 _result
= (bool )wxDragImage_Show(_arg0
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) return NULL
;
4325 } _resultobj
= Py_BuildValue("i",_result
);
4329 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4330 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4333 wxGenericDragImage
* _arg0
;
4334 PyObject
* _argo0
= 0;
4335 char *_kwnames
[] = { "self", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 _result
= (bool )wxDragImage_Hide(_arg0
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) return NULL
;
4353 } _resultobj
= Py_BuildValue("i",_result
);
4357 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4358 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
* _resultobj
;
4361 wxGenericDragImage
* _arg0
;
4363 PyObject
* _argo0
= 0;
4365 PyObject
* _obj1
= 0;
4366 char *_kwnames
[] = { "self","pos", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
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_GetImageRect. Expected _wxGenericDragImage_p.");
4381 if (! wxPoint_helper(_obj1
, &_arg1
))
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4390 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4391 _resultobj
= Py_BuildValue("s",_ptemp
);
4395 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4396 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4399 wxGenericDragImage
* _arg0
;
4404 PyObject
* _argo0
= 0;
4406 PyObject
* _obj1
= 0;
4408 PyObject
* _obj2
= 0;
4411 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4425 if (! wxPoint_helper(_obj1
, &_arg1
))
4430 if (! wxPoint_helper(_obj2
, &_arg2
))
4433 _arg3
= (bool ) tempbool3
;
4434 _arg4
= (bool ) tempbool4
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) return NULL
;
4441 } _resultobj
= Py_BuildValue("i",_result
);
4445 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4448 src
= (wxPyTimer
*) ptr
;
4449 dest
= (wxObject
*) src
;
4450 return (void *) dest
;
4453 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4454 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4456 wxPyTimer
* _result
;
4458 PyObject
* _obj0
= 0;
4459 char *_kwnames
[] = { "notify", NULL
};
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) return NULL
;
4475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4476 _resultobj
= Py_BuildValue("s",_ptemp
);
4479 _resultobj
= Py_None
;
4484 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4485 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4488 PyObject
* _argo0
= 0;
4489 char *_kwnames
[] = { "self", NULL
};
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 delete_wxPyTimer(_arg0
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) return NULL
;
4507 } Py_INCREF(Py_None
);
4508 _resultobj
= Py_None
;
4512 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4513 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
* _resultobj
;
4517 PyObject
* _argo0
= 0;
4518 char *_kwnames
[] = { "self", NULL
};
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) return NULL
;
4536 } _resultobj
= Py_BuildValue("i",_result
);
4540 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4541 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "self", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) return NULL
;
4564 } _resultobj
= Py_BuildValue("i",_result
);
4568 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4569 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) return NULL
;
4592 } _resultobj
= Py_BuildValue("i",_result
);
4596 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4597 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4600 wxEvtHandler
* _arg1
;
4601 int _arg2
= (int ) -1;
4602 PyObject
* _argo0
= 0;
4603 PyObject
* _argo1
= 0;
4604 char *_kwnames
[] = { "self","owner","id", NULL
};
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) return NULL
;
4629 } Py_INCREF(Py_None
);
4630 _resultobj
= Py_None
;
4634 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4635 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4639 int _arg1
= (int ) -1;
4640 int _arg2
= (int ) FALSE
;
4641 PyObject
* _argo0
= 0;
4642 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 } _resultobj
= Py_BuildValue("i",_result
);
4664 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4665 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4668 PyObject
* _argo0
= 0;
4669 char *_kwnames
[] = { "self", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 wxPyTimer_Stop(_arg0
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) return NULL
;
4687 } Py_INCREF(Py_None
);
4688 _resultobj
= Py_None
;
4692 #define new_wxStopWatch() (new wxStopWatch())
4693 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
* _resultobj
;
4695 wxStopWatch
* _result
;
4696 char *_kwnames
[] = { NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 _result
= (wxStopWatch
*)new_wxStopWatch();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) return NULL
;
4709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4710 _resultobj
= Py_BuildValue("s",_ptemp
);
4713 _resultobj
= Py_None
;
4718 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4719 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
* _resultobj
;
4721 wxStopWatch
* _arg0
;
4722 PyObject
* _argo0
= 0;
4723 char *_kwnames
[] = { "self", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 delete_wxStopWatch(_arg0
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) return NULL
;
4741 } Py_INCREF(Py_None
);
4742 _resultobj
= Py_None
;
4746 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4747 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
* _resultobj
;
4749 wxStopWatch
* _arg0
;
4750 long _arg1
= (long ) 0;
4751 PyObject
* _argo0
= 0;
4752 char *_kwnames
[] = { "self","t", NULL
};
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 wxStopWatch_Start(_arg0
,_arg1
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) return NULL
;
4770 } Py_INCREF(Py_None
);
4771 _resultobj
= Py_None
;
4775 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4776 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4778 wxStopWatch
* _arg0
;
4779 PyObject
* _argo0
= 0;
4780 char *_kwnames
[] = { "self", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 wxStopWatch_Pause(_arg0
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) return NULL
;
4798 } Py_INCREF(Py_None
);
4799 _resultobj
= Py_None
;
4803 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4804 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4806 wxStopWatch
* _arg0
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 wxStopWatch_Resume(_arg0
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) return NULL
;
4826 } Py_INCREF(Py_None
);
4827 _resultobj
= Py_None
;
4831 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4832 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4835 wxStopWatch
* _arg0
;
4836 PyObject
* _argo0
= 0;
4837 char *_kwnames
[] = { "self", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 _result
= (long )wxStopWatch_Time(_arg0
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) return NULL
;
4855 } _resultobj
= Py_BuildValue("l",_result
);
4859 #define new_wxLog() (new wxLog())
4860 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
* _resultobj
;
4863 char *_kwnames
[] = { NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 _result
= (wxLog
*)new_wxLog();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) return NULL
;
4876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4877 _resultobj
= Py_BuildValue("s",_ptemp
);
4880 _resultobj
= Py_None
;
4885 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4888 char *_kwnames
[] = { NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 _result
= (bool )wxLog::IsEnabled();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) return NULL
;
4899 } _resultobj
= Py_BuildValue("i",_result
);
4903 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
* _resultobj
;
4906 bool _arg0
= (bool ) TRUE
;
4907 int tempbool0
= (int) TRUE
;
4908 char *_kwnames
[] = { "doIt", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4913 _arg0
= (bool ) tempbool0
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 _result
= (bool )wxLog::EnableLogging(_arg0
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) return NULL
;
4920 } _resultobj
= Py_BuildValue("i",_result
);
4924 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
* _resultobj
;
4926 unsigned long _arg0
;
4928 int _arg2
= (int ) 0;
4929 PyObject
* _obj1
= 0;
4930 char *_kwnames
[] = { "level","szString","t", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4936 _arg1
= wxString_in_helper(_obj1
);
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) return NULL
;
4946 } Py_INCREF(Py_None
);
4947 _resultobj
= Py_None
;
4955 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4956 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) return NULL
;
4978 } Py_INCREF(Py_None
);
4979 _resultobj
= Py_None
;
4983 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4985 char *_kwnames
[] = { NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 wxLog::FlushActive();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) return NULL
;
4996 } Py_INCREF(Py_None
);
4997 _resultobj
= Py_None
;
5001 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5004 char *_kwnames
[] = { NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 _result
= (wxLog
*)wxLog::GetActiveTarget();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) return NULL
;
5017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5018 _resultobj
= Py_BuildValue("s",_ptemp
);
5021 _resultobj
= Py_None
;
5026 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5030 PyObject
* _argo0
= 0;
5031 char *_kwnames
[] = { "pLogger", NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
5038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) return NULL
;
5051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5052 _resultobj
= Py_BuildValue("s",_ptemp
);
5055 _resultobj
= Py_None
;
5060 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5062 char *_kwnames
[] = { NULL
};
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) return NULL
;
5073 } Py_INCREF(Py_None
);
5074 _resultobj
= Py_None
;
5078 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5080 char *_kwnames
[] = { NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) return NULL
;
5091 } Py_INCREF(Py_None
);
5092 _resultobj
= Py_None
;
5096 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5098 bool _arg0
= (bool ) TRUE
;
5099 int tempbool0
= (int) TRUE
;
5100 char *_kwnames
[] = { "bVerbose", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
5105 _arg0
= (bool ) tempbool0
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 wxLog::SetVerbose(_arg0
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) return NULL
;
5112 } Py_INCREF(Py_None
);
5113 _resultobj
= Py_None
;
5117 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5119 char *_kwnames
[] = { NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxLog::DontCreateOnDemand();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) return NULL
;
5130 } Py_INCREF(Py_None
);
5131 _resultobj
= Py_None
;
5135 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
* _resultobj
;
5138 char *_kwnames
[] = { "ulMask", NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 wxLog::SetTraceMask(_arg0
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) return NULL
;
5149 } Py_INCREF(Py_None
);
5150 _resultobj
= Py_None
;
5154 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5157 PyObject
* _obj0
= 0;
5158 char *_kwnames
[] = { "str", NULL
};
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5164 _arg0
= wxString_in_helper(_obj0
);
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 wxLog::AddTraceMask(*_arg0
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5183 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5186 PyObject
* _obj0
= 0;
5187 char *_kwnames
[] = { "str", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5193 _arg0
= wxString_in_helper(_obj0
);
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 wxLog::RemoveTraceMask(*_arg0
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) return NULL
;
5203 } Py_INCREF(Py_None
);
5204 _resultobj
= Py_None
;
5212 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5214 char *_kwnames
[] = { NULL
};
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 wxLog::ClearTraceMasks();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) return NULL
;
5225 } Py_INCREF(Py_None
);
5226 _resultobj
= Py_None
;
5230 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
* _resultobj
;
5232 wxArrayString
* _result
;
5233 char *_kwnames
[] = { NULL
};
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5242 _result
= (wxArrayString
*) &_result_ref
;
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) return NULL
;
5247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5248 _resultobj
= Py_BuildValue("s",_ptemp
);
5251 _resultobj
= Py_None
;
5256 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5259 PyObject
* _obj0
= 0;
5260 char *_kwnames
[] = { "ts", NULL
};
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5266 _arg0
= wxString_in_helper(_obj0
);
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 wxLog::SetTimestamp(*_arg0
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) return NULL
;
5276 } Py_INCREF(Py_None
);
5277 _resultobj
= Py_None
;
5285 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5288 char *_kwnames
[] = { NULL
};
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 const wxString
& _result_ref
= wxLog::GetTimestamp();
5296 _result
= (wxString
*) &_result_ref
;
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) return NULL
;
5302 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5304 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5310 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5311 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5315 PyObject
* _argo0
= 0;
5316 char *_kwnames
[] = { "self", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 _result
= (bool )wxLog_GetVerbose(_arg0
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) return NULL
;
5334 } _resultobj
= Py_BuildValue("i",_result
);
5338 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5340 unsigned long _result
;
5341 char *_kwnames
[] = { NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 _result
= (unsigned long )wxLog::GetTraceMask();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5352 } _resultobj
= Py_BuildValue("l",_result
);
5356 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5360 PyObject
* _obj0
= 0;
5361 char *_kwnames
[] = { "mask", NULL
};
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5367 _arg0
= wxString_in_helper(_obj0
);
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) return NULL
;
5377 } _resultobj
= Py_BuildValue("i",_result
);
5385 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
* _resultobj
;
5387 unsigned long _arg0
;
5388 char *_kwnames
[] = { "logLevel", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 wxLog::SetLogLevel(_arg0
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) return NULL
;
5399 } Py_INCREF(Py_None
);
5400 _resultobj
= Py_None
;
5404 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5406 unsigned long _result
;
5407 char *_kwnames
[] = { NULL
};
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 _result
= (unsigned long )wxLog::GetLogLevel();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) return NULL
;
5418 } _resultobj
= Py_BuildValue("l",_result
);
5422 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5424 wxLog::TimeStamp(&msg
);
5427 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5452 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5454 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5463 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5466 src
= (wxLogStderr
*) ptr
;
5467 dest
= (wxLog
*) src
;
5468 return (void *) dest
;
5471 #define new_wxLogStderr() (new wxLogStderr())
5472 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5474 wxLogStderr
* _result
;
5475 char *_kwnames
[] = { NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 _result
= (wxLogStderr
*)new_wxLogStderr();
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) return NULL
;
5488 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5489 _resultobj
= Py_BuildValue("s",_ptemp
);
5492 _resultobj
= Py_None
;
5497 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5500 src
= (wxLogTextCtrl
*) ptr
;
5501 dest
= (wxLog
*) src
;
5502 return (void *) dest
;
5505 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5506 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5508 wxLogTextCtrl
* _result
;
5510 PyObject
* _argo0
= 0;
5511 char *_kwnames
[] = { "pTextCtrl", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) return NULL
;
5531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5532 _resultobj
= Py_BuildValue("s",_ptemp
);
5535 _resultobj
= Py_None
;
5540 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5543 src
= (wxLogGui
*) ptr
;
5544 dest
= (wxLog
*) src
;
5545 return (void *) dest
;
5548 #define new_wxLogGui() (new wxLogGui())
5549 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
* _resultobj
;
5552 char *_kwnames
[] = { NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 _result
= (wxLogGui
*)new_wxLogGui();
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) return NULL
;
5565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5566 _resultobj
= Py_BuildValue("s",_ptemp
);
5569 _resultobj
= Py_None
;
5574 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5577 src
= (wxLogWindow
*) ptr
;
5578 dest
= (wxLog
*) src
;
5579 return (void *) dest
;
5582 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5583 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5585 wxLogWindow
* _result
;
5588 bool _arg2
= (bool ) TRUE
;
5589 bool _arg3
= (bool ) TRUE
;
5590 PyObject
* _argo0
= 0;
5591 PyObject
* _obj1
= 0;
5592 int tempbool2
= (int) TRUE
;
5593 int tempbool3
= (int) TRUE
;
5594 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5608 _arg1
= wxString_in_helper(_obj1
);
5612 _arg2
= (bool ) tempbool2
;
5613 _arg3
= (bool ) tempbool3
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) return NULL
;
5621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5622 _resultobj
= Py_BuildValue("s",_ptemp
);
5625 _resultobj
= Py_None
;
5634 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5635 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
* _resultobj
;
5637 wxLogWindow
* _arg0
;
5638 bool _arg1
= (bool ) TRUE
;
5639 PyObject
* _argo0
= 0;
5640 int tempbool1
= (int) TRUE
;
5641 char *_kwnames
[] = { "self","bShow", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5653 _arg1
= (bool ) tempbool1
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 wxLogWindow_Show(_arg0
,_arg1
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) return NULL
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5665 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5666 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5669 wxLogWindow
* _arg0
;
5670 PyObject
* _argo0
= 0;
5671 char *_kwnames
[] = { "self", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) return NULL
;
5689 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5693 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5694 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5697 wxLogWindow
* _arg0
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self", NULL
};
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) return NULL
;
5719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5720 _resultobj
= Py_BuildValue("s",_ptemp
);
5723 _resultobj
= Py_None
;
5728 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5729 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5732 wxLogWindow
* _arg0
;
5733 PyObject
* _argo0
= 0;
5734 char *_kwnames
[] = { "self", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) return NULL
;
5752 } _resultobj
= Py_BuildValue("i",_result
);
5756 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5757 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5759 wxLogWindow
* _arg0
;
5761 PyObject
* _argo0
= 0;
5763 char *_kwnames
[] = { "self","bDoPass", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5775 _arg1
= (bool ) tempbool1
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 wxLogWindow_PassMessages(_arg0
,_arg1
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5782 } Py_INCREF(Py_None
);
5783 _resultobj
= Py_None
;
5787 static void *SwigwxLogChainTowxLog(void *ptr
) {
5790 src
= (wxLogChain
*) ptr
;
5791 dest
= (wxLog
*) src
;
5792 return (void *) dest
;
5795 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5796 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
* _resultobj
;
5798 wxLogChain
* _result
;
5800 PyObject
* _argo0
= 0;
5801 char *_kwnames
[] = { "logger", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) return NULL
;
5821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5822 _resultobj
= Py_BuildValue("s",_ptemp
);
5825 _resultobj
= Py_None
;
5830 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5831 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 PyObject
* _argo1
= 0;
5837 char *_kwnames
[] = { "self","logger", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 wxLogChain_SetLog(_arg0
,_arg1
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) return NULL
;
5862 } Py_INCREF(Py_None
);
5863 _resultobj
= Py_None
;
5867 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5868 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
* _resultobj
;
5872 PyObject
* _argo0
= 0;
5874 char *_kwnames
[] = { "self","bDoPass", NULL
};
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5886 _arg1
= (bool ) tempbool1
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 wxLogChain_PassMessages(_arg0
,_arg1
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) return NULL
;
5893 } Py_INCREF(Py_None
);
5894 _resultobj
= Py_None
;
5898 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5899 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) return NULL
;
5922 } _resultobj
= Py_BuildValue("i",_result
);
5926 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5927 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) return NULL
;
5952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5953 _resultobj
= Py_BuildValue("s",_ptemp
);
5956 _resultobj
= Py_None
;
5961 #define new_wxLogNull() (new wxLogNull())
5962 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5964 wxLogNull
* _result
;
5965 char *_kwnames
[] = { NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 _result
= (wxLogNull
*)new_wxLogNull();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5979 _resultobj
= Py_BuildValue("s",_ptemp
);
5982 _resultobj
= Py_None
;
5987 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5988 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
* _resultobj
;
5991 PyObject
* _argo0
= 0;
5992 char *_kwnames
[] = { "self", NULL
};
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
6000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 delete_wxLogNull(_arg0
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) return NULL
;
6010 } Py_INCREF(Py_None
);
6011 _resultobj
= Py_None
;
6015 static void *SwigwxPyLogTowxLog(void *ptr
) {
6018 src
= (wxPyLog
*) ptr
;
6019 dest
= (wxLog
*) src
;
6020 return (void *) dest
;
6023 #define new_wxPyLog() (new wxPyLog())
6024 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6027 char *_kwnames
[] = { NULL
};
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 _result
= (wxPyLog
*)new_wxPyLog();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) return NULL
;
6040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
6041 _resultobj
= Py_BuildValue("s",_ptemp
);
6044 _resultobj
= Py_None
;
6049 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6050 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
* _resultobj
;
6055 PyObject
* _argo0
= 0;
6056 PyObject
* _obj1
= 0;
6057 PyObject
* _obj2
= 0;
6058 char *_kwnames
[] = { "self","self","_class", NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
6066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) return NULL
;
6082 } Py_INCREF(Py_None
);
6083 _resultobj
= Py_None
;
6087 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
6088 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6091 PyObject
* _argo0
= 0;
6092 char *_kwnames
[] = { "self", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 wxPyLog_Destroy(_arg0
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) return NULL
;
6110 } Py_INCREF(Py_None
);
6111 _resultobj
= Py_None
;
6115 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
6116 wxProcessEvent
*src
;
6118 src
= (wxProcessEvent
*) ptr
;
6119 dest
= (wxEvent
*) src
;
6120 return (void *) dest
;
6123 static void *SwigwxProcessEventTowxObject(void *ptr
) {
6124 wxProcessEvent
*src
;
6126 src
= (wxProcessEvent
*) ptr
;
6127 dest
= (wxObject
*) src
;
6128 return (void *) dest
;
6131 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
6132 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
* _resultobj
;
6134 wxProcessEvent
* _result
;
6135 int _arg0
= (int ) 0;
6136 int _arg1
= (int ) 0;
6137 int _arg2
= (int ) 0;
6138 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) return NULL
;
6151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
6152 _resultobj
= Py_BuildValue("s",_ptemp
);
6155 _resultobj
= Py_None
;
6160 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
6161 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6164 wxProcessEvent
* _arg0
;
6165 PyObject
* _argo0
= 0;
6166 char *_kwnames
[] = { "self", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 _result
= (int )wxProcessEvent_GetPid(_arg0
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) return NULL
;
6184 } _resultobj
= Py_BuildValue("i",_result
);
6188 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6189 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6192 wxProcessEvent
* _arg0
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) return NULL
;
6212 } _resultobj
= Py_BuildValue("i",_result
);
6216 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6217 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6220 wxProcessEvent
* _arg0
;
6222 PyObject
* _argo0
= 0;
6223 char *_kwnames
[] = { "self","m_pid", NULL
};
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) return NULL
;
6241 } _resultobj
= Py_BuildValue("i",_result
);
6245 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6246 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
* _resultobj
;
6249 wxProcessEvent
* _arg0
;
6250 PyObject
* _argo0
= 0;
6251 char *_kwnames
[] = { "self", NULL
};
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) return NULL
;
6269 } _resultobj
= Py_BuildValue("i",_result
);
6273 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6274 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
* _resultobj
;
6277 wxProcessEvent
* _arg0
;
6279 PyObject
* _argo0
= 0;
6280 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) return NULL
;
6298 } _resultobj
= Py_BuildValue("i",_result
);
6302 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6303 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
* _resultobj
;
6306 wxProcessEvent
* _arg0
;
6307 PyObject
* _argo0
= 0;
6308 char *_kwnames
[] = { "self", NULL
};
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) return NULL
;
6326 } _resultobj
= Py_BuildValue("i",_result
);
6330 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6333 src
= (wxPyProcess
*) ptr
;
6334 dest
= (wxEvtHandler
*) src
;
6335 return (void *) dest
;
6338 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6341 src
= (wxPyProcess
*) ptr
;
6342 dest
= (wxObject
*) src
;
6343 return (void *) dest
;
6346 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
* _resultobj
;
6348 wxKillError _result
;
6350 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6351 char *_kwnames
[] = { "pid","sig", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6362 } _resultobj
= Py_BuildValue("i",_result
);
6366 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6370 char *_kwnames
[] = { "pid", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 _result
= (bool )wxPyProcess::Exists(_arg0
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) return NULL
;
6381 } _resultobj
= Py_BuildValue("i",_result
);
6385 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
* _resultobj
;
6387 wxPyProcess
* _result
;
6389 int _arg1
= (int ) wxEXEC_ASYNC
;
6390 PyObject
* _obj0
= 0;
6391 char *_kwnames
[] = { "cmd","flags", NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6398 _arg0
= wxString_in_helper(_obj0
);
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) return NULL
;
6409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6410 _resultobj
= Py_BuildValue("s",_ptemp
);
6413 _resultobj
= Py_None
;
6422 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6423 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6425 wxPyProcess
* _result
;
6426 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6427 int _arg1
= (int ) -1;
6428 PyObject
* _argo0
= 0;
6429 char *_kwnames
[] = { "parent","id", NULL
};
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) return NULL
;
6449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6450 _resultobj
= Py_BuildValue("s",_ptemp
);
6453 _resultobj
= Py_None
;
6458 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6459 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6461 wxPyProcess
* _arg0
;
6462 PyObject
* _argo0
= 0;
6463 char *_kwnames
[] = { "self", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 wxPyProcess_Destroy(_arg0
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) return NULL
;
6481 } Py_INCREF(Py_None
);
6482 _resultobj
= Py_None
;
6486 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6487 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
* _resultobj
;
6489 wxPyProcess
* _arg0
;
6492 PyObject
* _argo0
= 0;
6493 PyObject
* _obj1
= 0;
6494 PyObject
* _obj2
= 0;
6495 char *_kwnames
[] = { "self","self","_class", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) return NULL
;
6519 } Py_INCREF(Py_None
);
6520 _resultobj
= Py_None
;
6524 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6525 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6527 wxPyProcess
* _arg0
;
6530 PyObject
* _argo0
= 0;
6531 char *_kwnames
[] = { "self","pid","status", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6549 } Py_INCREF(Py_None
);
6550 _resultobj
= Py_None
;
6554 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6555 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
* _resultobj
;
6557 wxPyProcess
* _arg0
;
6558 PyObject
* _argo0
= 0;
6559 char *_kwnames
[] = { "self", NULL
};
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 wxProcess_Redirect(_arg0
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } Py_INCREF(Py_None
);
6578 _resultobj
= Py_None
;
6582 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6583 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6586 wxPyProcess
* _arg0
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) return NULL
;
6606 } _resultobj
= Py_BuildValue("i",_result
);
6610 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6611 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6613 wxPyProcess
* _arg0
;
6614 PyObject
* _argo0
= 0;
6615 char *_kwnames
[] = { "self", NULL
};
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 wxProcess_Detach(_arg0
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) return NULL
;
6633 } Py_INCREF(Py_None
);
6634 _resultobj
= Py_None
;
6638 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6639 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6641 wxInputStream
* _result
;
6642 wxPyProcess
* _arg0
;
6643 PyObject
* _argo0
= 0;
6644 char *_kwnames
[] = { "self", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) return NULL
;
6663 wxPyInputStream
* _ptr
= NULL
;
6666 _ptr
= new wxPyInputStream(_result
);
6668 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6673 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6674 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6676 wxInputStream
* _result
;
6677 wxPyProcess
* _arg0
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6698 wxPyInputStream
* _ptr
= NULL
;
6701 _ptr
= new wxPyInputStream(_result
);
6703 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6708 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6709 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6711 wxOutputStream
* _result
;
6712 wxPyProcess
* _arg0
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) return NULL
;
6734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6735 _resultobj
= Py_BuildValue("s",_ptemp
);
6738 _resultobj
= Py_None
;
6743 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6744 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6746 wxPyProcess
* _arg0
;
6747 PyObject
* _argo0
= 0;
6748 char *_kwnames
[] = { "self", NULL
};
6751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 wxProcess_CloseOutput(_arg0
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) return NULL
;
6766 } Py_INCREF(Py_None
);
6767 _resultobj
= Py_None
;
6771 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6772 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6775 wxPyProcess
* _arg0
;
6776 PyObject
* _argo0
= 0;
6777 char *_kwnames
[] = { "self", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) return NULL
;
6795 } _resultobj
= Py_BuildValue("i",_result
);
6799 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6800 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6803 wxPyProcess
* _arg0
;
6804 PyObject
* _argo0
= 0;
6805 char *_kwnames
[] = { "self", NULL
};
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) return NULL
;
6823 } _resultobj
= Py_BuildValue("i",_result
);
6827 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6828 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6831 wxPyProcess
* _arg0
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) return NULL
;
6851 } _resultobj
= Py_BuildValue("i",_result
);
6855 static void *SwigwxJoystickTowxObject(void *ptr
) {
6858 src
= (wxJoystick
*) ptr
;
6859 dest
= (wxObject
*) src
;
6860 return (void *) dest
;
6863 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6864 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6866 wxJoystick
* _result
;
6867 int _arg0
= (int ) (wxJOYSTICK1
);
6868 char *_kwnames
[] = { "joystick", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) return NULL
;
6881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6882 _resultobj
= Py_BuildValue("s",_ptemp
);
6885 _resultobj
= Py_None
;
6890 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6891 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
* _resultobj
;
6894 PyObject
* _argo0
= 0;
6895 char *_kwnames
[] = { "self", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 delete_wxJoystick(_arg0
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) return NULL
;
6913 } Py_INCREF(Py_None
);
6914 _resultobj
= Py_None
;
6918 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6919 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
* _resultobj
;
6923 PyObject
* _argo0
= 0;
6924 char *_kwnames
[] = { "self", NULL
};
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) return NULL
;
6943 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6944 _resultobj
= Py_BuildValue("s",_ptemp
);
6948 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6949 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
* _resultobj
;
6953 PyObject
* _argo0
= 0;
6954 char *_kwnames
[] = { "self", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) return NULL
;
6972 } _resultobj
= Py_BuildValue("i",_result
);
6976 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6977 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) return NULL
;
7000 } _resultobj
= Py_BuildValue("i",_result
);
7004 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
7005 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
* _resultobj
;
7009 PyObject
* _argo0
= 0;
7010 char *_kwnames
[] = { "self", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } _resultobj
= Py_BuildValue("i",_result
);
7032 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
7033 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7037 PyObject
* _argo0
= 0;
7038 char *_kwnames
[] = { "self", NULL
};
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
7044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) return NULL
;
7056 } _resultobj
= Py_BuildValue("i",_result
);
7060 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
7061 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
* _resultobj
;
7065 PyObject
* _argo0
= 0;
7066 char *_kwnames
[] = { "self", NULL
};
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
7072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) return NULL
;
7084 } _resultobj
= Py_BuildValue("i",_result
);
7088 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
7089 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 _result
= (int )wxJoystick_GetUPosition(_arg0
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) return NULL
;
7112 } _resultobj
= Py_BuildValue("i",_result
);
7116 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
7117 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7121 PyObject
* _argo0
= 0;
7122 char *_kwnames
[] = { "self", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 _result
= (int )wxJoystick_GetVPosition(_arg0
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) return NULL
;
7140 } _resultobj
= Py_BuildValue("i",_result
);
7144 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
7145 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7149 PyObject
* _argo0
= 0;
7150 char *_kwnames
[] = { "self", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) return NULL
;
7168 } _resultobj
= Py_BuildValue("i",_result
);
7172 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
7173 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
* _resultobj
;
7177 PyObject
* _argo0
= 0;
7178 char *_kwnames
[] = { "self","threshold", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) return NULL
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7201 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7202 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7206 PyObject
* _argo0
= 0;
7207 char *_kwnames
[] = { "self", NULL
};
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 _result
= (bool )wxJoystick_IsOk(_arg0
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) return NULL
;
7225 } _resultobj
= Py_BuildValue("i",_result
);
7229 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7230 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
* _resultobj
;
7234 PyObject
* _argo0
= 0;
7235 char *_kwnames
[] = { "self", NULL
};
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) return NULL
;
7253 } _resultobj
= Py_BuildValue("i",_result
);
7257 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7258 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
* _resultobj
;
7262 PyObject
* _argo0
= 0;
7263 char *_kwnames
[] = { "self", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) return NULL
;
7281 } _resultobj
= Py_BuildValue("i",_result
);
7285 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7286 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
* _resultobj
;
7290 PyObject
* _argo0
= 0;
7291 char *_kwnames
[] = { "self", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 _result
= (int )wxJoystick_GetProductId(_arg0
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) return NULL
;
7309 } _resultobj
= Py_BuildValue("i",_result
);
7313 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7314 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
* _resultobj
;
7318 PyObject
* _argo0
= 0;
7319 char *_kwnames
[] = { "self", NULL
};
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) return NULL
;
7339 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7341 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7350 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7351 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7355 PyObject
* _argo0
= 0;
7356 char *_kwnames
[] = { "self", NULL
};
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 _result
= (int )wxJoystick_GetXMin(_arg0
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) return NULL
;
7374 } _resultobj
= Py_BuildValue("i",_result
);
7378 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7379 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
* _resultobj
;
7383 PyObject
* _argo0
= 0;
7384 char *_kwnames
[] = { "self", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 _result
= (int )wxJoystick_GetYMin(_arg0
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) return NULL
;
7402 } _resultobj
= Py_BuildValue("i",_result
);
7406 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7407 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
* _resultobj
;
7411 PyObject
* _argo0
= 0;
7412 char *_kwnames
[] = { "self", NULL
};
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= (int )wxJoystick_GetZMin(_arg0
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 } _resultobj
= Py_BuildValue("i",_result
);
7434 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7435 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7439 PyObject
* _argo0
= 0;
7440 char *_kwnames
[] = { "self", NULL
};
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 _result
= (int )wxJoystick_GetXMax(_arg0
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) return NULL
;
7458 } _resultobj
= Py_BuildValue("i",_result
);
7462 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7463 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
* _resultobj
;
7467 PyObject
* _argo0
= 0;
7468 char *_kwnames
[] = { "self", NULL
};
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 _result
= (int )wxJoystick_GetYMax(_arg0
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) return NULL
;
7486 } _resultobj
= Py_BuildValue("i",_result
);
7490 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7491 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
* _resultobj
;
7495 PyObject
* _argo0
= 0;
7496 char *_kwnames
[] = { "self", NULL
};
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 _result
= (int )wxJoystick_GetZMax(_arg0
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) return NULL
;
7514 } _resultobj
= Py_BuildValue("i",_result
);
7518 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7519 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
* _resultobj
;
7523 PyObject
* _argo0
= 0;
7524 char *_kwnames
[] = { "self", NULL
};
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) return NULL
;
7542 } _resultobj
= Py_BuildValue("i",_result
);
7546 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7547 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
* _resultobj
;
7551 PyObject
* _argo0
= 0;
7552 char *_kwnames
[] = { "self", NULL
};
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) return NULL
;
7570 } _resultobj
= Py_BuildValue("i",_result
);
7574 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7575 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
* _resultobj
;
7579 PyObject
* _argo0
= 0;
7580 char *_kwnames
[] = { "self", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) return NULL
;
7598 } _resultobj
= Py_BuildValue("i",_result
);
7602 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7603 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
* _resultobj
;
7607 PyObject
* _argo0
= 0;
7608 char *_kwnames
[] = { "self", NULL
};
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) return NULL
;
7626 } _resultobj
= Py_BuildValue("i",_result
);
7630 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7631 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7635 PyObject
* _argo0
= 0;
7636 char *_kwnames
[] = { "self", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) return NULL
;
7654 } _resultobj
= Py_BuildValue("i",_result
);
7658 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7659 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
* _resultobj
;
7663 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) return NULL
;
7682 } _resultobj
= Py_BuildValue("i",_result
);
7686 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7687 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7691 PyObject
* _argo0
= 0;
7692 char *_kwnames
[] = { "self", NULL
};
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) return NULL
;
7710 } _resultobj
= Py_BuildValue("i",_result
);
7714 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7715 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
* _resultobj
;
7719 PyObject
* _argo0
= 0;
7720 char *_kwnames
[] = { "self", NULL
};
7723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) return NULL
;
7738 } _resultobj
= Py_BuildValue("i",_result
);
7742 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7743 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7747 PyObject
* _argo0
= 0;
7748 char *_kwnames
[] = { "self", NULL
};
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 _result
= (int )wxJoystick_GetUMin(_arg0
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) return NULL
;
7766 } _resultobj
= Py_BuildValue("i",_result
);
7770 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7771 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
* _resultobj
;
7775 PyObject
* _argo0
= 0;
7776 char *_kwnames
[] = { "self", NULL
};
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 _result
= (int )wxJoystick_GetUMax(_arg0
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) return NULL
;
7794 } _resultobj
= Py_BuildValue("i",_result
);
7798 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7799 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7803 PyObject
* _argo0
= 0;
7804 char *_kwnames
[] = { "self", NULL
};
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 _result
= (int )wxJoystick_GetVMin(_arg0
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) return NULL
;
7822 } _resultobj
= Py_BuildValue("i",_result
);
7826 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7827 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
* _resultobj
;
7831 PyObject
* _argo0
= 0;
7832 char *_kwnames
[] = { "self", NULL
};
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 _result
= (int )wxJoystick_GetVMax(_arg0
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) return NULL
;
7850 } _resultobj
= Py_BuildValue("i",_result
);
7854 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7855 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
* _resultobj
;
7859 PyObject
* _argo0
= 0;
7860 char *_kwnames
[] = { "self", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) return NULL
;
7878 } _resultobj
= Py_BuildValue("i",_result
);
7882 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7883 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
* _resultobj
;
7887 PyObject
* _argo0
= 0;
7888 char *_kwnames
[] = { "self", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 _result
= (bool )wxJoystick_HasZ(_arg0
);
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) return NULL
;
7906 } _resultobj
= Py_BuildValue("i",_result
);
7910 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7911 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
* _resultobj
;
7915 PyObject
* _argo0
= 0;
7916 char *_kwnames
[] = { "self", NULL
};
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 _result
= (bool )wxJoystick_HasU(_arg0
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) return NULL
;
7934 } _resultobj
= Py_BuildValue("i",_result
);
7938 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7939 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
* _resultobj
;
7943 PyObject
* _argo0
= 0;
7944 char *_kwnames
[] = { "self", NULL
};
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 _result
= (bool )wxJoystick_HasV(_arg0
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) return NULL
;
7962 } _resultobj
= Py_BuildValue("i",_result
);
7966 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7967 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
* _resultobj
;
7971 PyObject
* _argo0
= 0;
7972 char *_kwnames
[] = { "self", NULL
};
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) return NULL
;
7990 } _resultobj
= Py_BuildValue("i",_result
);
7994 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7995 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
* _resultobj
;
7999 PyObject
* _argo0
= 0;
8000 char *_kwnames
[] = { "self", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
8006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) return NULL
;
8018 } _resultobj
= Py_BuildValue("i",_result
);
8022 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
8023 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
* _resultobj
;
8027 PyObject
* _argo0
= 0;
8028 char *_kwnames
[] = { "self", NULL
};
8031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
8034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) return NULL
;
8046 } _resultobj
= Py_BuildValue("i",_result
);
8050 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
8051 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
* _resultobj
;
8056 int _arg2
= (int ) 0;
8057 PyObject
* _argo0
= 0;
8058 PyObject
* _argo1
= 0;
8059 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
8072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) return NULL
;
8084 } _resultobj
= Py_BuildValue("i",_result
);
8088 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
8089 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
* _resultobj
;
8093 PyObject
* _argo0
= 0;
8094 char *_kwnames
[] = { "self", NULL
};
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
8100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) return NULL
;
8112 } _resultobj
= Py_BuildValue("i",_result
);
8116 static void *SwigwxWaveTowxObject(void *ptr
) {
8119 src
= (wxWave
*) ptr
;
8120 dest
= (wxObject
*) src
;
8121 return (void *) dest
;
8124 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
8125 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
* _resultobj
;
8129 bool _arg1
= (bool ) FALSE
;
8130 PyObject
* _obj0
= 0;
8131 int tempbool1
= (int) FALSE
;
8132 char *_kwnames
[] = { "fileName","isResource", NULL
};
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
8139 _arg0
= wxString_in_helper(_obj0
);
8143 _arg1
= (bool ) tempbool1
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) return NULL
;
8151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
8152 _resultobj
= Py_BuildValue("s",_ptemp
);
8155 _resultobj
= Py_None
;
8164 #define delete_wxWave(_swigobj) (delete _swigobj)
8165 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8168 PyObject
* _argo0
= 0;
8169 char *_kwnames
[] = { "self", NULL
};
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
8175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 delete_wxWave(_arg0
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) return NULL
;
8187 } Py_INCREF(Py_None
);
8188 _resultobj
= Py_None
;
8192 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8193 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
* _resultobj
;
8197 PyObject
* _argo0
= 0;
8198 char *_kwnames
[] = { "self", NULL
};
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 _result
= (bool )wxWave_IsOk(_arg0
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) return NULL
;
8216 } _resultobj
= Py_BuildValue("i",_result
);
8220 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8221 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
* _resultobj
;
8225 bool _arg1
= (bool ) TRUE
;
8226 bool _arg2
= (bool ) FALSE
;
8227 PyObject
* _argo0
= 0;
8228 int tempbool1
= (int) TRUE
;
8229 int tempbool2
= (int) FALSE
;
8230 char *_kwnames
[] = { "self","async","looped", NULL
};
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8242 _arg1
= (bool ) tempbool1
;
8243 _arg2
= (bool ) tempbool2
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) return NULL
;
8250 } _resultobj
= Py_BuildValue("i",_result
);
8254 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8255 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
* _resultobj
;
8257 wxFileTypeInfo
* _result
;
8262 PyObject
* _obj0
= 0;
8263 PyObject
* _obj1
= 0;
8264 PyObject
* _obj2
= 0;
8265 PyObject
* _obj3
= 0;
8266 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
8273 _arg0
= wxString_in_helper(_obj0
);
8278 _arg1
= wxString_in_helper(_obj1
);
8283 _arg2
= wxString_in_helper(_obj2
);
8288 _arg3
= wxString_in_helper(_obj3
);
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) return NULL
;
8299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8300 _resultobj
= Py_BuildValue("s",_ptemp
);
8303 _resultobj
= Py_None
;
8324 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8325 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8327 wxFileTypeInfo
* _result
;
8328 wxArrayString
* _arg0
;
8329 PyObject
* _obj0
= 0;
8330 char *_kwnames
[] = { "sArray", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8337 if (! PySequence_Check(_obj0
)) {
8338 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8341 _arg0
= new wxArrayString
;
8342 int i
, len
=PySequence_Length(_obj0
);
8343 for (i
=0; i
<len
; i
++) {
8344 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8346 PyObject
* str
= PyObject_Unicode(item
);
8348 PyObject
* str
= PyObject_Str(item
);
8350 _arg0
->Add(Py2wxString(str
));
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) return NULL
;
8362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8363 _resultobj
= Py_BuildValue("s",_ptemp
);
8366 _resultobj
= Py_None
;
8375 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8376 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8378 wxFileTypeInfo
* _result
;
8379 char *_kwnames
[] = { NULL
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) return NULL
;
8392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8393 _resultobj
= Py_BuildValue("s",_ptemp
);
8396 _resultobj
= Py_None
;
8401 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8402 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
* _resultobj
;
8405 wxFileTypeInfo
* _arg0
;
8406 PyObject
* _argo0
= 0;
8407 char *_kwnames
[] = { "self", NULL
};
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) return NULL
;
8425 } _resultobj
= Py_BuildValue("i",_result
);
8429 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8430 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
* _resultobj
;
8432 wxFileTypeInfo
* _arg0
;
8434 int _arg2
= (int ) 0;
8435 PyObject
* _argo0
= 0;
8436 PyObject
* _obj1
= 0;
8437 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8450 _arg1
= wxString_in_helper(_obj1
);
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) return NULL
;
8460 } Py_INCREF(Py_None
);
8461 _resultobj
= Py_None
;
8469 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8470 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
* _resultobj
;
8472 wxFileTypeInfo
* _arg0
;
8474 PyObject
* _argo0
= 0;
8475 PyObject
* _obj1
= 0;
8476 char *_kwnames
[] = { "self","shortDesc", NULL
};
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8489 _arg1
= wxString_in_helper(_obj1
);
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) return NULL
;
8499 } Py_INCREF(Py_None
);
8500 _resultobj
= Py_None
;
8508 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8509 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
* _resultobj
;
8512 wxFileTypeInfo
* _arg0
;
8513 PyObject
* _argo0
= 0;
8514 char *_kwnames
[] = { "self", NULL
};
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8529 _result
= (wxString
*) &_result_ref
;
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) return NULL
;
8535 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8543 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8544 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
* _resultobj
;
8547 wxFileTypeInfo
* _arg0
;
8548 PyObject
* _argo0
= 0;
8549 char *_kwnames
[] = { "self", NULL
};
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8564 _result
= (wxString
*) &_result_ref
;
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) return NULL
;
8570 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8572 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8578 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8579 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
* _resultobj
;
8582 wxFileTypeInfo
* _arg0
;
8583 PyObject
* _argo0
= 0;
8584 char *_kwnames
[] = { "self", NULL
};
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8599 _result
= (wxString
*) &_result_ref
;
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) return NULL
;
8605 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8607 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8613 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8614 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
* _resultobj
;
8617 wxFileTypeInfo
* _arg0
;
8618 PyObject
* _argo0
= 0;
8619 char *_kwnames
[] = { "self", NULL
};
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8634 _result
= (wxString
*) &_result_ref
;
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) return NULL
;
8640 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8642 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8648 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8649 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
* _resultobj
;
8652 wxFileTypeInfo
* _arg0
;
8653 PyObject
* _argo0
= 0;
8654 char *_kwnames
[] = { "self", NULL
};
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8669 _result
= (wxString
*) &_result_ref
;
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) return NULL
;
8675 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8677 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8683 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8684 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8685 return wxArrayString2PyList_helper(arr
);
8687 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
* _resultobj
;
8690 wxFileTypeInfo
* _arg0
;
8691 PyObject
* _argo0
= 0;
8692 char *_kwnames
[] = { "self", NULL
};
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) return NULL
;
8711 _resultobj
= _result
;
8716 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8717 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
* _resultobj
;
8720 wxFileTypeInfo
* _arg0
;
8721 PyObject
* _argo0
= 0;
8722 char *_kwnames
[] = { "self", NULL
};
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) return NULL
;
8740 } _resultobj
= Py_BuildValue("i",_result
);
8744 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8745 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
* _resultobj
;
8748 wxFileTypeInfo
* _arg0
;
8749 PyObject
* _argo0
= 0;
8750 char *_kwnames
[] = { "self", NULL
};
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8765 _result
= (wxString
*) &_result_ref
;
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) return NULL
;
8771 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8773 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8779 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8780 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
* _resultobj
;
8783 wxFileTypeInfo
* _arg0
;
8784 PyObject
* _argo0
= 0;
8785 char *_kwnames
[] = { "self", NULL
};
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) return NULL
;
8803 } _resultobj
= Py_BuildValue("i",_result
);
8807 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8808 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
* _resultobj
;
8810 wxFileType
* _result
;
8811 wxFileTypeInfo
* _arg0
;
8812 PyObject
* _argo0
= 0;
8813 char *_kwnames
[] = { "ftInfo", NULL
};
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8820 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) return NULL
;
8832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8833 _resultobj
= Py_BuildValue("s",_ptemp
);
8836 _resultobj
= Py_None
;
8841 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8843 if (self
->GetMimeType(&str
)) {
8845 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8847 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8853 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
* _resultobj
;
8857 PyObject
* _argo0
= 0;
8858 char *_kwnames
[] = { "self", NULL
};
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) return NULL
;
8877 _resultobj
= _result
;
8882 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8884 if (self
->GetMimeTypes(arr
))
8885 return wxArrayString2PyList_helper(arr
);
8889 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
* _resultobj
;
8893 PyObject
* _argo0
= 0;
8894 char *_kwnames
[] = { "self", NULL
};
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) return NULL
;
8913 _resultobj
= _result
;
8918 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8920 if (self
->GetExtensions(arr
))
8921 return wxArrayString2PyList_helper(arr
);
8925 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
* _resultobj
;
8929 PyObject
* _argo0
= 0;
8930 char *_kwnames
[] = { "self", NULL
};
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) return NULL
;
8949 _resultobj
= _result
;
8954 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8956 if (self
->GetIcon(&loc
))
8957 return new wxIcon(loc
);
8961 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
* _resultobj
;
8965 PyObject
* _argo0
= 0;
8966 char *_kwnames
[] = { "self", NULL
};
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) return NULL
;
8986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8987 _resultobj
= Py_BuildValue("s",_ptemp
);
8990 _resultobj
= Py_None
;
8995 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8997 if (self
->GetIcon(&loc
)) {
8998 wxString iconFile
= loc
.GetFileName();
9001 iconIndex
= loc
.GetIndex();
9003 // Make a tuple and put the values in it
9004 wxPyBeginBlockThreads();
9005 PyObject
* tuple
= PyTuple_New(3);
9006 PyTuple_SetItem(tuple
, 0,
9007 wxPyConstructObject(new wxIcon(loc
), wxT("wxIcon"), TRUE
));
9009 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
9011 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
9013 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
9014 wxPyEndBlockThreads();
9020 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
* _resultobj
;
9024 PyObject
* _argo0
= 0;
9025 char *_kwnames
[] = { "self", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
9031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) return NULL
;
9044 _resultobj
= _result
;
9049 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
9051 if (self
->GetDescription(&str
)) {
9053 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9055 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9060 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
* _resultobj
;
9064 PyObject
* _argo0
= 0;
9065 char *_kwnames
[] = { "self", NULL
};
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
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_GetDescription. Expected _wxFileType_p.");
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) return NULL
;
9084 _resultobj
= _result
;
9089 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9091 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9093 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9095 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9100 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
* _resultobj
;
9105 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9106 PyObject
* _argo0
= 0;
9107 PyObject
* _obj1
= 0;
9108 PyObject
* _obj2
= 0;
9109 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
9122 _arg1
= wxString_in_helper(_obj1
);
9128 _arg2
= wxString_in_helper(_obj2
);
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) return NULL
;
9139 _resultobj
= _result
;
9152 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9154 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9156 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9158 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9163 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
* _resultobj
;
9168 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9169 PyObject
* _argo0
= 0;
9170 PyObject
* _obj1
= 0;
9171 PyObject
* _obj2
= 0;
9172 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
9185 _arg1
= wxString_in_helper(_obj1
);
9191 _arg2
= wxString_in_helper(_obj2
);
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) return NULL
;
9202 _resultobj
= _result
;
9215 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9216 wxArrayString verbs
;
9217 wxArrayString commands
;
9218 if (self
->GetAllCommands(&verbs
, &commands
,
9219 wxFileType::MessageParameters(filename
, mimetype
))) {
9220 wxPyBeginBlockThreads();
9221 PyObject
* tuple
= PyTuple_New(2);
9222 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
9223 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
9224 wxPyEndBlockThreads();
9230 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
* _resultobj
;
9235 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9236 PyObject
* _argo0
= 0;
9237 PyObject
* _obj1
= 0;
9238 PyObject
* _obj2
= 0;
9239 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9252 _arg1
= wxString_in_helper(_obj1
);
9258 _arg2
= wxString_in_helper(_obj2
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9269 _resultobj
= _result
;
9282 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9283 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
* _resultobj
;
9289 bool _arg3
= (bool ) TRUE
;
9290 PyObject
* _argo0
= 0;
9291 PyObject
* _obj1
= 0;
9292 PyObject
* _obj2
= 0;
9293 int tempbool3
= (int) TRUE
;
9294 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9307 _arg1
= wxString_in_helper(_obj1
);
9312 _arg2
= wxString_in_helper(_obj2
);
9316 _arg3
= (bool ) tempbool3
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) return NULL
;
9323 } _resultobj
= Py_BuildValue("i",_result
);
9335 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9336 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
* _resultobj
;
9340 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9341 int _arg2
= (int ) 0;
9342 PyObject
* _argo0
= 0;
9343 PyObject
* _obj1
= 0;
9344 char *_kwnames
[] = { "self","cmd","index", NULL
};
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9358 _arg1
= wxString_in_helper(_obj1
);
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) return NULL
;
9368 } _resultobj
= Py_BuildValue("i",_result
);
9376 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9377 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
* _resultobj
;
9381 PyObject
* _argo0
= 0;
9382 char *_kwnames
[] = { "self", NULL
};
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 _result
= (bool )wxFileType_Unassociate(_arg0
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) return NULL
;
9400 } _resultobj
= Py_BuildValue("i",_result
);
9404 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
* _resultobj
;
9408 wxFileType::MessageParameters
* _arg1
;
9409 PyObject
* _obj0
= 0;
9410 PyObject
* _argo1
= 0;
9411 char *_kwnames
[] = { "command","params", NULL
};
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9417 _arg0
= wxString_in_helper(_obj0
);
9422 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) return NULL
;
9435 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9450 #define delete_wxFileType(_swigobj) (delete _swigobj)
9451 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
* _resultobj
;
9454 PyObject
* _argo0
= 0;
9455 char *_kwnames
[] = { "self", NULL
};
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 delete_wxFileType(_arg0
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) return NULL
;
9473 } Py_INCREF(Py_None
);
9474 _resultobj
= Py_None
;
9478 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9483 PyObject
* _obj0
= 0;
9484 PyObject
* _obj1
= 0;
9485 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9491 _arg0
= wxString_in_helper(_obj0
);
9496 _arg1
= wxString_in_helper(_obj1
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) return NULL
;
9506 } _resultobj
= Py_BuildValue("i",_result
);
9518 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9519 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
* _resultobj
;
9521 wxMimeTypesManager
* _result
;
9522 char *_kwnames
[] = { NULL
};
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) return NULL
;
9535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9536 _resultobj
= Py_BuildValue("s",_ptemp
);
9539 _resultobj
= Py_None
;
9544 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9545 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
* _resultobj
;
9547 wxMimeTypesManager
* _arg0
;
9548 int _arg1
= (int ) (wxMAILCAP_ALL
);
9549 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9550 PyObject
* _argo0
= 0;
9551 PyObject
* _obj2
= 0;
9552 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9566 _arg2
= wxString_in_helper(_obj2
);
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) return NULL
;
9576 } Py_INCREF(Py_None
);
9577 _resultobj
= Py_None
;
9585 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9586 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
* _resultobj
;
9588 wxMimeTypesManager
* _arg0
;
9589 PyObject
* _argo0
= 0;
9590 char *_kwnames
[] = { "self", NULL
};
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 wxMimeTypesManager_ClearData(_arg0
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) return NULL
;
9608 } Py_INCREF(Py_None
);
9609 _resultobj
= Py_None
;
9613 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9614 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
* _resultobj
;
9616 wxFileType
* _result
;
9617 wxMimeTypesManager
* _arg0
;
9619 PyObject
* _argo0
= 0;
9620 PyObject
* _obj1
= 0;
9621 char *_kwnames
[] = { "self","ext", NULL
};
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9635 _arg1
= wxString_in_helper(_obj1
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) return NULL
;
9646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9647 _resultobj
= Py_BuildValue("s",_ptemp
);
9650 _resultobj
= Py_None
;
9659 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9660 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
* _resultobj
;
9662 wxFileType
* _result
;
9663 wxMimeTypesManager
* _arg0
;
9665 PyObject
* _argo0
= 0;
9666 PyObject
* _obj1
= 0;
9667 char *_kwnames
[] = { "self","mimeType", NULL
};
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9681 _arg1
= wxString_in_helper(_obj1
);
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) return NULL
;
9692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9693 _resultobj
= Py_BuildValue("s",_ptemp
);
9696 _resultobj
= Py_None
;
9705 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9706 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
* _resultobj
;
9709 wxMimeTypesManager
* _arg0
;
9711 bool _arg2
= (bool ) FALSE
;
9712 PyObject
* _argo0
= 0;
9713 PyObject
* _obj1
= 0;
9714 int tempbool2
= (int) FALSE
;
9715 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9728 _arg1
= wxString_in_helper(_obj1
);
9732 _arg2
= (bool ) tempbool2
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) return NULL
;
9739 } _resultobj
= Py_BuildValue("i",_result
);
9747 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9748 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
* _resultobj
;
9751 wxMimeTypesManager
* _arg0
;
9753 PyObject
* _argo0
= 0;
9754 PyObject
* _obj1
= 0;
9755 char *_kwnames
[] = { "self","filename", NULL
};
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9768 _arg1
= wxString_in_helper(_obj1
);
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) return NULL
;
9778 } _resultobj
= Py_BuildValue("i",_result
);
9786 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9788 self
->EnumAllFileTypes(arr
);
9789 return wxArrayString2PyList_helper(arr
);
9791 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
* _resultobj
;
9794 wxMimeTypesManager
* _arg0
;
9795 PyObject
* _argo0
= 0;
9796 char *_kwnames
[] = { "self", NULL
};
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) return NULL
;
9815 _resultobj
= _result
;
9820 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9821 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
* _resultobj
;
9823 wxMimeTypesManager
* _arg0
;
9824 wxFileTypeInfo
* _arg1
;
9825 PyObject
* _argo0
= 0;
9826 PyObject
* _argo1
= 0;
9827 char *_kwnames
[] = { "self","ft", NULL
};
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9840 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) return NULL
;
9851 } Py_INCREF(Py_None
);
9852 _resultobj
= Py_None
;
9856 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9857 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
* _resultobj
;
9859 wxFileType
* _result
;
9860 wxMimeTypesManager
* _arg0
;
9861 wxFileTypeInfo
* _arg1
;
9862 PyObject
* _argo0
= 0;
9863 PyObject
* _argo1
= 0;
9864 char *_kwnames
[] = { "self","ftInfo", NULL
};
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9878 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) return NULL
;
9890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9891 _resultobj
= Py_BuildValue("s",_ptemp
);
9894 _resultobj
= Py_None
;
9899 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9900 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
* _resultobj
;
9903 wxMimeTypesManager
* _arg0
;
9905 PyObject
* _argo0
= 0;
9906 PyObject
* _argo1
= 0;
9907 char *_kwnames
[] = { "self","ft", NULL
};
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9920 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9921 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) return NULL
;
9932 } _resultobj
= Py_BuildValue("i",_result
);
9936 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9937 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
* _resultobj
;
9939 wxMimeTypesManager
* _arg0
;
9940 PyObject
* _argo0
= 0;
9941 char *_kwnames
[] = { "self", NULL
};
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 delete_wxMimeTypesManager(_arg0
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) return NULL
;
9959 } Py_INCREF(Py_None
);
9960 _resultobj
= Py_None
;
9964 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9965 wxPyArtProvider
*src
;
9967 src
= (wxPyArtProvider
*) ptr
;
9968 dest
= (wxObject
*) src
;
9969 return (void *) dest
;
9972 #define new_wxArtProvider() (new wxPyArtProvider())
9973 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
* _resultobj
;
9975 wxPyArtProvider
* _result
;
9976 char *_kwnames
[] = { NULL
};
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) return NULL
;
9989 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9990 _resultobj
= Py_BuildValue("s",_ptemp
);
9993 _resultobj
= Py_None
;
9998 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9999 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
* _resultobj
;
10001 wxPyArtProvider
* _arg0
;
10004 PyObject
* _argo0
= 0;
10005 PyObject
* _obj1
= 0;
10006 PyObject
* _obj2
= 0;
10007 char *_kwnames
[] = { "self","self","_class", NULL
};
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) return NULL
;
10031 } Py_INCREF(Py_None
);
10032 _resultobj
= Py_None
;
10036 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
* _resultobj
;
10038 wxPyArtProvider
* _arg0
;
10039 PyObject
* _argo0
= 0;
10040 char *_kwnames
[] = { "provider", NULL
};
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
10046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 wxPyArtProvider::PushProvider(_arg0
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) return NULL
;
10058 } Py_INCREF(Py_None
);
10059 _resultobj
= Py_None
;
10063 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
* _resultobj
;
10066 char *_kwnames
[] = { NULL
};
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 _result
= (bool )wxPyArtProvider::PopProvider();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) return NULL
;
10077 } _resultobj
= Py_BuildValue("i",_result
);
10081 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
* _resultobj
;
10084 wxPyArtProvider
* _arg0
;
10085 PyObject
* _argo0
= 0;
10086 char *_kwnames
[] = { "provider", NULL
};
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
10092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) return NULL
;
10104 } _resultobj
= Py_BuildValue("i",_result
);
10108 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
* _resultobj
;
10110 wxBitmap
* _result
;
10112 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10113 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10114 PyObject
* _obj0
= 0;
10115 PyObject
* _obj1
= 0;
10117 PyObject
* _obj2
= 0;
10118 char *_kwnames
[] = { "id","client","size", NULL
};
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10125 _arg0
= wxString_in_helper(_obj0
);
10131 _arg1
= wxString_in_helper(_obj1
);
10138 if (! wxSize_helper(_obj2
, &_arg2
))
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) return NULL
;
10147 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10148 _resultobj
= Py_BuildValue("s",_ptemp
);
10160 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
* _resultobj
;
10164 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10165 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10166 PyObject
* _obj0
= 0;
10167 PyObject
* _obj1
= 0;
10169 PyObject
* _obj2
= 0;
10170 char *_kwnames
[] = { "id","client","size", NULL
};
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10177 _arg0
= wxString_in_helper(_obj0
);
10183 _arg1
= wxString_in_helper(_obj1
);
10190 if (! wxSize_helper(_obj2
, &_arg2
))
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10195 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) return NULL
;
10199 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
10200 _resultobj
= Py_BuildValue("s",_ptemp
);
10212 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10213 wxFileHistory
*src
;
10215 src
= (wxFileHistory
*) ptr
;
10216 dest
= (wxObject
*) src
;
10217 return (void *) dest
;
10220 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10221 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
* _resultobj
;
10223 wxFileHistory
* _result
;
10224 int _arg0
= (int ) 9;
10225 char *_kwnames
[] = { "maxFiles", NULL
};
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) return NULL
;
10238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10239 _resultobj
= Py_BuildValue("s",_ptemp
);
10241 Py_INCREF(Py_None
);
10242 _resultobj
= Py_None
;
10247 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10248 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
* _resultobj
;
10250 wxFileHistory
* _arg0
;
10251 PyObject
* _argo0
= 0;
10252 char *_kwnames
[] = { "self", NULL
};
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 delete_wxFileHistory(_arg0
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) return NULL
;
10270 } Py_INCREF(Py_None
);
10271 _resultobj
= Py_None
;
10275 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10276 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
* _resultobj
;
10278 wxFileHistory
* _arg0
;
10280 PyObject
* _argo0
= 0;
10281 PyObject
* _obj1
= 0;
10282 char *_kwnames
[] = { "self","file", NULL
};
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10295 _arg1
= wxString_in_helper(_obj1
);
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) return NULL
;
10305 } Py_INCREF(Py_None
);
10306 _resultobj
= Py_None
;
10314 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10315 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
* _resultobj
;
10317 wxFileHistory
* _arg0
;
10319 PyObject
* _argo0
= 0;
10320 char *_kwnames
[] = { "self","i", NULL
};
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) return NULL
;
10338 } Py_INCREF(Py_None
);
10339 _resultobj
= Py_None
;
10343 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10344 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
* _resultobj
;
10347 wxFileHistory
* _arg0
;
10348 PyObject
* _argo0
= 0;
10349 char *_kwnames
[] = { "self", NULL
};
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) return NULL
;
10367 } _resultobj
= Py_BuildValue("i",_result
);
10371 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10372 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
* _resultobj
;
10374 wxFileHistory
* _arg0
;
10376 PyObject
* _argo0
= 0;
10377 PyObject
* _argo1
= 0;
10378 char *_kwnames
[] = { "self","menu", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 wxFileHistory_UseMenu(_arg0
,_arg1
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) return NULL
;
10403 } Py_INCREF(Py_None
);
10404 _resultobj
= Py_None
;
10408 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10409 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
* _resultobj
;
10411 wxFileHistory
* _arg0
;
10413 PyObject
* _argo0
= 0;
10414 PyObject
* _argo1
= 0;
10415 char *_kwnames
[] = { "self","menu", NULL
};
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10428 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10429 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) return NULL
;
10440 } Py_INCREF(Py_None
);
10441 _resultobj
= Py_None
;
10445 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10446 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
* _resultobj
;
10448 wxFileHistory
* _arg0
;
10449 wxConfigBase
* _arg1
;
10450 PyObject
* _argo0
= 0;
10451 PyObject
* _argo1
= 0;
10452 char *_kwnames
[] = { "self","config", NULL
};
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10465 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 wxFileHistory_Load(_arg0
,*_arg1
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) return NULL
;
10476 } Py_INCREF(Py_None
);
10477 _resultobj
= Py_None
;
10481 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10482 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
* _resultobj
;
10484 wxFileHistory
* _arg0
;
10485 wxConfigBase
* _arg1
;
10486 PyObject
* _argo0
= 0;
10487 PyObject
* _argo1
= 0;
10488 char *_kwnames
[] = { "self","config", NULL
};
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10501 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 wxFileHistory_Save(_arg0
,*_arg1
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) return NULL
;
10512 } Py_INCREF(Py_None
);
10513 _resultobj
= Py_None
;
10517 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10518 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
* _resultobj
;
10520 wxFileHistory
* _arg0
;
10521 PyObject
* _argo0
= 0;
10522 char *_kwnames
[] = { "self", NULL
};
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxFileHistory_AddFilesToMenu(_arg0
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) return NULL
;
10540 } Py_INCREF(Py_None
);
10541 _resultobj
= Py_None
;
10545 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10546 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
* _resultobj
;
10548 wxFileHistory
* _arg0
;
10550 PyObject
* _argo0
= 0;
10551 PyObject
* _argo1
= 0;
10552 char *_kwnames
[] = { "self","menu", NULL
};
10555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) return NULL
;
10577 } Py_INCREF(Py_None
);
10578 _resultobj
= Py_None
;
10582 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10583 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
* _resultobj
;
10585 wxString
* _result
;
10586 wxFileHistory
* _arg0
;
10588 PyObject
* _argo0
= 0;
10589 char *_kwnames
[] = { "self","i", NULL
};
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) return NULL
;
10609 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10611 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10620 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10621 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
* _resultobj
;
10624 wxFileHistory
* _arg0
;
10625 PyObject
* _argo0
= 0;
10626 char *_kwnames
[] = { "self", NULL
};
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 _result
= (int )wxFileHistory_GetCount(_arg0
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) return NULL
;
10644 } _resultobj
= Py_BuildValue("i",_result
);
10648 static void *SwigwxEffectsTowxObject(void *ptr
) {
10651 src
= (wxEffects
*) ptr
;
10652 dest
= (wxObject
*) src
;
10653 return (void *) dest
;
10656 #define new_wxEffects() (new wxEffects())
10657 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
* _resultobj
;
10659 wxEffects
* _result
;
10660 char *_kwnames
[] = { NULL
};
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 _result
= (wxEffects
*)new_wxEffects();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) return NULL
;
10673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10674 _resultobj
= Py_BuildValue("s",_ptemp
);
10676 Py_INCREF(Py_None
);
10677 _resultobj
= Py_None
;
10682 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10683 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
* _resultobj
;
10685 wxColour
* _result
;
10687 PyObject
* _argo0
= 0;
10688 char *_kwnames
[] = { "self", NULL
};
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) return NULL
;
10707 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10708 _resultobj
= Py_BuildValue("s",_ptemp
);
10712 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10713 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
* _resultobj
;
10715 wxColour
* _result
;
10717 PyObject
* _argo0
= 0;
10718 char *_kwnames
[] = { "self", NULL
};
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) return NULL
;
10737 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10738 _resultobj
= Py_BuildValue("s",_ptemp
);
10742 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10743 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
* _resultobj
;
10745 wxColour
* _result
;
10747 PyObject
* _argo0
= 0;
10748 char *_kwnames
[] = { "self", NULL
};
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) return NULL
;
10767 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10768 _resultobj
= Py_BuildValue("s",_ptemp
);
10772 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10773 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
* _resultobj
;
10775 wxColour
* _result
;
10777 PyObject
* _argo0
= 0;
10778 char *_kwnames
[] = { "self", NULL
};
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) return NULL
;
10797 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10798 _resultobj
= Py_BuildValue("s",_ptemp
);
10802 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10803 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
* _resultobj
;
10805 wxColour
* _result
;
10807 PyObject
* _argo0
= 0;
10808 char *_kwnames
[] = { "self", NULL
};
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) return NULL
;
10827 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10828 _resultobj
= Py_BuildValue("s",_ptemp
);
10832 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10833 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
* _resultobj
;
10837 PyObject
* _argo0
= 0;
10839 PyObject
* _obj1
= 0;
10840 char *_kwnames
[] = { "self","c", NULL
};
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10854 if (! wxColour_helper(_obj1
, &_arg1
))
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) return NULL
;
10863 } Py_INCREF(Py_None
);
10864 _resultobj
= Py_None
;
10868 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10869 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10873 PyObject
* _argo0
= 0;
10875 PyObject
* _obj1
= 0;
10876 char *_kwnames
[] = { "self","c", NULL
};
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10890 if (! wxColour_helper(_obj1
, &_arg1
))
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) return NULL
;
10899 } Py_INCREF(Py_None
);
10900 _resultobj
= Py_None
;
10904 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10905 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
* _resultobj
;
10909 PyObject
* _argo0
= 0;
10911 PyObject
* _obj1
= 0;
10912 char *_kwnames
[] = { "self","c", NULL
};
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10926 if (! wxColour_helper(_obj1
, &_arg1
))
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) return NULL
;
10935 } Py_INCREF(Py_None
);
10936 _resultobj
= Py_None
;
10940 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10941 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
* _resultobj
;
10945 PyObject
* _argo0
= 0;
10947 PyObject
* _obj1
= 0;
10948 char *_kwnames
[] = { "self","c", NULL
};
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10962 if (! wxColour_helper(_obj1
, &_arg1
))
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) return NULL
;
10971 } Py_INCREF(Py_None
);
10972 _resultobj
= Py_None
;
10976 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10977 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
* _resultobj
;
10981 PyObject
* _argo0
= 0;
10983 PyObject
* _obj1
= 0;
10984 char *_kwnames
[] = { "self","c", NULL
};
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10998 if (! wxColour_helper(_obj1
, &_arg1
))
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) return NULL
;
11007 } Py_INCREF(Py_None
);
11008 _resultobj
= Py_None
;
11012 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11013 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
* _resultobj
;
11021 PyObject
* _argo0
= 0;
11023 PyObject
* _obj1
= 0;
11025 PyObject
* _obj2
= 0;
11027 PyObject
* _obj3
= 0;
11029 PyObject
* _obj4
= 0;
11031 PyObject
* _obj5
= 0;
11032 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
11038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
11046 if (! wxColour_helper(_obj1
, &_arg1
))
11051 if (! wxColour_helper(_obj2
, &_arg2
))
11056 if (! wxColour_helper(_obj3
, &_arg3
))
11061 if (! wxColour_helper(_obj4
, &_arg4
))
11066 if (! wxColour_helper(_obj5
, &_arg5
))
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) return NULL
;
11075 } Py_INCREF(Py_None
);
11076 _resultobj
= Py_None
;
11080 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
11081 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
* _resultobj
;
11086 int _arg3
= (int ) 1;
11087 PyObject
* _argo0
= 0;
11088 PyObject
* _argo1
= 0;
11090 PyObject
* _obj2
= 0;
11091 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
11097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
11104 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
11111 if (! wxRect_helper(_obj2
, &_arg2
))
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) return NULL
;
11120 } Py_INCREF(Py_None
);
11121 _resultobj
= Py_None
;
11125 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
11126 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
* _resultobj
;
11133 PyObject
* _argo0
= 0;
11135 PyObject
* _obj1
= 0;
11136 PyObject
* _argo2
= 0;
11137 PyObject
* _argo3
= 0;
11138 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
11152 if (! wxRect_helper(_obj1
, &_arg1
))
11156 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
11162 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) return NULL
;
11173 } _resultobj
= Py_BuildValue("i",_result
);
11177 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11178 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
* _resultobj
;
11180 wxSingleInstanceChecker
* _result
;
11182 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11183 PyObject
* _obj0
= 0;
11184 PyObject
* _obj1
= 0;
11185 char *_kwnames
[] = { "name","path", NULL
};
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11192 _arg0
= wxString_in_helper(_obj0
);
11198 _arg1
= wxString_in_helper(_obj1
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) return NULL
;
11209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11210 _resultobj
= Py_BuildValue("s",_ptemp
);
11212 Py_INCREF(Py_None
);
11213 _resultobj
= Py_None
;
11226 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11227 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
* _resultobj
;
11229 wxSingleInstanceChecker
* _result
;
11230 char *_kwnames
[] = { NULL
};
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) return NULL
;
11243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11244 _resultobj
= Py_BuildValue("s",_ptemp
);
11246 Py_INCREF(Py_None
);
11247 _resultobj
= Py_None
;
11252 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11253 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
* _resultobj
;
11255 wxSingleInstanceChecker
* _arg0
;
11256 PyObject
* _argo0
= 0;
11257 char *_kwnames
[] = { "self", NULL
};
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 delete_wxSingleInstanceChecker(_arg0
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) return NULL
;
11275 } Py_INCREF(Py_None
);
11276 _resultobj
= Py_None
;
11280 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11281 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
* _resultobj
;
11284 wxSingleInstanceChecker
* _arg0
;
11286 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11287 PyObject
* _argo0
= 0;
11288 PyObject
* _obj1
= 0;
11289 PyObject
* _obj2
= 0;
11290 char *_kwnames
[] = { "self","name","path", NULL
};
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11303 _arg1
= wxString_in_helper(_obj1
);
11309 _arg2
= wxString_in_helper(_obj2
);
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) return NULL
;
11319 } _resultobj
= Py_BuildValue("i",_result
);
11331 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11332 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
* _resultobj
;
11335 wxSingleInstanceChecker
* _arg0
;
11336 PyObject
* _argo0
= 0;
11337 char *_kwnames
[] = { "self", NULL
};
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) return NULL
;
11355 } _resultobj
= Py_BuildValue("i",_result
);
11359 static PyMethodDef misc2cMethods
[] = {
11360 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxSystemOptions_HasOption", (PyCFunction
) _wrap_wxSystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxSystemOptions_GetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxSystemOptions_GetOption", (PyCFunction
) _wrap_wxSystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxSystemOptions_SetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxSystemOptions_SetOption", (PyCFunction
) _wrap_wxSystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "new_wxSystemOptions", (PyCFunction
) _wrap_new_wxSystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxDrawWindowOnDC", (PyCFunction
) _wrap_wxDrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11694 * This table is used by the pointer type-checker
11696 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11697 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11698 { "_signed_long","_long",0},
11699 { "_wxPrintQuality","_wxCoord",0},
11700 { "_wxPrintQuality","_int",0},
11701 { "_wxPrintQuality","_signed_int",0},
11702 { "_wxPrintQuality","_unsigned_int",0},
11703 { "_wxPrintQuality","_wxWindowID",0},
11704 { "_wxPrintQuality","_uint",0},
11705 { "_wxPrintQuality","_EBool",0},
11706 { "_wxPrintQuality","_size_t",0},
11707 { "_wxPrintQuality","_time_t",0},
11708 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11709 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11710 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11711 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11712 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11713 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11714 { "_byte","_unsigned_char",0},
11715 { "_long","_unsigned_long",0},
11716 { "_long","_signed_long",0},
11717 { "_size_t","_wxCoord",0},
11718 { "_size_t","_wxPrintQuality",0},
11719 { "_size_t","_time_t",0},
11720 { "_size_t","_unsigned_int",0},
11721 { "_size_t","_int",0},
11722 { "_size_t","_wxWindowID",0},
11723 { "_size_t","_uint",0},
11724 { "_uint","_wxCoord",0},
11725 { "_uint","_wxPrintQuality",0},
11726 { "_uint","_time_t",0},
11727 { "_uint","_size_t",0},
11728 { "_uint","_unsigned_int",0},
11729 { "_uint","_int",0},
11730 { "_uint","_wxWindowID",0},
11731 { "_wxChar","_char",0},
11732 { "_char","_wxChar",0},
11733 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11734 { "_EBool","_wxCoord",0},
11735 { "_EBool","_wxPrintQuality",0},
11736 { "_EBool","_signed_int",0},
11737 { "_EBool","_int",0},
11738 { "_EBool","_wxWindowID",0},
11739 { "_unsigned_long","_long",0},
11740 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11741 { "_signed_int","_wxCoord",0},
11742 { "_signed_int","_wxPrintQuality",0},
11743 { "_signed_int","_EBool",0},
11744 { "_signed_int","_wxWindowID",0},
11745 { "_signed_int","_int",0},
11746 { "_WXTYPE","_wxDateTime_t",0},
11747 { "_WXTYPE","_short",0},
11748 { "_WXTYPE","_signed_short",0},
11749 { "_WXTYPE","_unsigned_short",0},
11750 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11751 { "_unsigned_short","_wxDateTime_t",0},
11752 { "_unsigned_short","_WXTYPE",0},
11753 { "_unsigned_short","_short",0},
11754 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11755 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11756 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11757 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11758 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11759 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11760 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11761 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11762 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11763 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11764 { "_wxObject","_wxSystemOptions",SwigwxSystemOptionsTowxObject
},
11765 { "_signed_short","_WXTYPE",0},
11766 { "_signed_short","_short",0},
11767 { "_unsigned_char","_byte",0},
11768 { "_unsigned_int","_wxCoord",0},
11769 { "_unsigned_int","_wxPrintQuality",0},
11770 { "_unsigned_int","_time_t",0},
11771 { "_unsigned_int","_size_t",0},
11772 { "_unsigned_int","_uint",0},
11773 { "_unsigned_int","_wxWindowID",0},
11774 { "_unsigned_int","_int",0},
11775 { "_short","_wxDateTime_t",0},
11776 { "_short","_WXTYPE",0},
11777 { "_short","_unsigned_short",0},
11778 { "_short","_signed_short",0},
11779 { "_wxWindowID","_wxCoord",0},
11780 { "_wxWindowID","_wxPrintQuality",0},
11781 { "_wxWindowID","_time_t",0},
11782 { "_wxWindowID","_size_t",0},
11783 { "_wxWindowID","_EBool",0},
11784 { "_wxWindowID","_uint",0},
11785 { "_wxWindowID","_int",0},
11786 { "_wxWindowID","_signed_int",0},
11787 { "_wxWindowID","_unsigned_int",0},
11788 { "_int","_wxCoord",0},
11789 { "_int","_wxPrintQuality",0},
11790 { "_int","_time_t",0},
11791 { "_int","_size_t",0},
11792 { "_int","_EBool",0},
11793 { "_int","_uint",0},
11794 { "_int","_wxWindowID",0},
11795 { "_int","_unsigned_int",0},
11796 { "_int","_signed_int",0},
11797 { "_wxDateTime_t","_unsigned_short",0},
11798 { "_wxDateTime_t","_short",0},
11799 { "_wxDateTime_t","_WXTYPE",0},
11800 { "_time_t","_wxCoord",0},
11801 { "_time_t","_wxPrintQuality",0},
11802 { "_time_t","_unsigned_int",0},
11803 { "_time_t","_int",0},
11804 { "_time_t","_wxWindowID",0},
11805 { "_time_t","_uint",0},
11806 { "_time_t","_size_t",0},
11807 { "_wxCoord","_int",0},
11808 { "_wxCoord","_signed_int",0},
11809 { "_wxCoord","_unsigned_int",0},
11810 { "_wxCoord","_wxWindowID",0},
11811 { "_wxCoord","_uint",0},
11812 { "_wxCoord","_EBool",0},
11813 { "_wxCoord","_size_t",0},
11814 { "_wxCoord","_time_t",0},
11815 { "_wxCoord","_wxPrintQuality",0},
11816 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11819 static PyObject
*SWIG_globals
;
11823 SWIGEXPORT(void) initmisc2c() {
11825 SWIG_globals
= SWIG_newvarlink();
11826 m
= Py_InitModule("misc2c", misc2cMethods
);
11827 d
= PyModule_GetDict(m
);
11828 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11829 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11830 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11831 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11832 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11833 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11834 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11835 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11836 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11837 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11838 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11839 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11840 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11841 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11842 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11843 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11844 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11845 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11846 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11847 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11848 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11849 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11850 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11851 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11852 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11853 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11854 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11855 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11856 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11857 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11858 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11859 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11860 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11861 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11862 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11863 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11864 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11865 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11866 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11867 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11868 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11869 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11870 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11871 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11872 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11873 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11874 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11875 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11876 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11877 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11878 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11879 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11880 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11881 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11882 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11883 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11884 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11885 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11886 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11887 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11888 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11889 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11890 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11891 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11892 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11893 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11894 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11895 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11896 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11897 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11898 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11899 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11900 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11901 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11902 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11903 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11904 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11905 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11906 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11907 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11908 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11909 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11910 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11911 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11912 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11913 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11914 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11915 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11916 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11917 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11918 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11919 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11920 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11921 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11922 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11923 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11924 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11925 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11926 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11927 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11928 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11929 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11930 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11931 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11932 PyDict_SetItemString(d
,"wxTRACE_OleCalls", PyString_FromString("ole"));
11933 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11934 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11935 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11936 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11937 PyDict_SetItemString(d
,"wxTraceOleCalls", PyInt_FromLong((long) wxTraceOleCalls
));
11938 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11939 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11940 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11941 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11942 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11943 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11944 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11945 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11946 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11947 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11948 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11949 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11950 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11951 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11952 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11953 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11954 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11955 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11956 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11957 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11958 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11959 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11960 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11961 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11962 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11963 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11964 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11965 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11966 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11967 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11968 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11969 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11970 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11971 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11972 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11973 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11974 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11975 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11976 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11977 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11978 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11980 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11981 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11982 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11986 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11987 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);