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 // "standard" convention that not all widgets adhear to. For
334 // example, for some widgets backgrounds or non-client areas may
336 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
340 // This one works much better, except for on XP. On Win2k nearly
341 // all widgets and their children are captured correctly[**]. On
342 // XP with Themes activated most native widgets draw only
343 // partially, if at all. Without themes it works just like on
346 // ** For example the radio buttons in a wxRadioBox are not its
347 // children by default, but you can capture it via the panel
348 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
349 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
350 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
351 PRF_ERASEBKGND
| PRF_OWNED
);
355 // This one is only defined in the latest SDK and is only
356 // available on XP. MSDN says it is similar to sending WM_PRINT
357 // so I expect that it will work similar to the above. Since it
358 // is avaialble only on XP, it can't be compiled like this and
359 // will have to be loaded dynamically.
360 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
365 // Use PrintWindow if available, or fallback to WM_PRINT
366 // otherwise. Unfortunately using PrintWindow is even worse than
367 // WM_PRINT. For most native widgets nothing is drawn to the dc
368 // at all, with or without Themes.
369 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
370 static bool s_triedToLoad
= false;
371 static PrintWindow_t pfnPrintWindow
= NULL
;
372 if ( !s_triedToLoad
)
375 s_triedToLoad
= true;
376 wxDynamicLibrary
dllUser32(_T("user32.dll"));
377 if ( dllUser32
.IsLoaded() )
379 wxLogNull nolog
; // Don't report errors here
380 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
385 printf("Using PrintWindow\n");
386 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
390 printf("Using WM_PRINT\n");
391 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
392 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
401 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
404 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
405 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
406 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
407 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
408 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
409 int _arg5
= (int ) 0;
410 wxWindow
* _arg6
= (wxWindow
*) NULL
;
411 int _arg7
= (int ) -1;
412 int _arg8
= (int ) -1;
413 PyObject
* _obj0
= 0;
414 PyObject
* _obj1
= 0;
415 PyObject
* _obj2
= 0;
416 PyObject
* _obj3
= 0;
417 PyObject
* _obj4
= 0;
418 PyObject
* _argo6
= 0;
419 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
426 _arg0
= wxString_in_helper(_obj0
);
432 _arg1
= wxString_in_helper(_obj1
);
438 _arg2
= wxString_in_helper(_obj2
);
444 _arg3
= wxString_in_helper(_obj3
);
450 _arg4
= wxString_in_helper(_obj4
);
455 if (_argo6
== Py_None
) { _arg6
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
463 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
469 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
471 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
500 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
505 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
506 wxWindow
* _arg3
= (wxWindow
*) NULL
;
507 PyObject
* _obj0
= 0;
508 PyObject
* _obj1
= 0;
509 PyObject
* _obj2
= 0;
510 PyObject
* _argo3
= 0;
511 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
517 _arg0
= wxString_in_helper(_obj0
);
522 _arg1
= wxString_in_helper(_obj1
);
528 _arg2
= wxString_in_helper(_obj2
);
533 if (_argo3
== Py_None
) { _arg3
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
547 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
549 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
570 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
571 PyObject
* _resultobj
;
575 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
576 wxWindow
* _arg3
= (wxWindow
*) NULL
;
577 PyObject
* _obj0
= 0;
578 PyObject
* _obj1
= 0;
579 PyObject
* _obj2
= 0;
580 PyObject
* _argo3
= 0;
581 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
587 _arg0
= wxString_in_helper(_obj0
);
592 _arg1
= wxString_in_helper(_obj1
);
598 _arg2
= wxString_in_helper(_obj2
);
603 if (_argo3
== Py_None
) { _arg3
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
611 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
613 wxPyEndAllowThreads(__tstate
);
614 if (PyErr_Occurred()) return NULL
;
617 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
619 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
640 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
641 PyObject
* _resultobj
;
643 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
644 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
645 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
646 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
647 wxWindow
* _arg4
= (wxWindow
*) NULL
;
648 PyObject
* _obj0
= 0;
649 PyObject
* _obj1
= 0;
651 PyObject
* _obj3
= 0;
652 PyObject
* _argo4
= 0;
653 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
660 _arg0
= wxString_in_helper(_obj0
);
666 _arg1
= wxString_in_helper(_obj1
);
673 if (! wxPoint_helper(_obj3
, &_arg3
))
677 if (_argo4
== Py_None
) { _arg4
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
691 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
693 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
710 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
714 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
715 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
716 wxWindow
* _arg3
= (wxWindow
*) NULL
;
717 int _arg4
= (int ) -1;
718 int _arg5
= (int ) -1;
719 bool _arg6
= (bool ) TRUE
;
720 PyObject
* _obj0
= 0;
721 PyObject
* _obj1
= 0;
722 PyObject
* _obj2
= 0;
723 PyObject
* _argo3
= 0;
724 int tempbool6
= (int) TRUE
;
725 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
731 _arg0
= wxString_in_helper(_obj0
);
737 _arg1
= wxString_in_helper(_obj1
);
743 _arg2
= wxString_in_helper(_obj2
);
748 if (_argo3
== Py_None
) { _arg3
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
754 _arg6
= (bool ) tempbool6
;
756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
757 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
759 wxPyEndAllowThreads(__tstate
);
760 if (PyErr_Occurred()) return NULL
;
763 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
765 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
786 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
790 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
791 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
792 wxWindow
* _arg3
= (wxWindow
*) NULL
;
793 PyObject
* _obj0
= 0;
794 PyObject
* _obj1
= 0;
795 PyObject
* _obj2
= 0;
796 PyObject
* _argo3
= 0;
797 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
803 _arg0
= wxString_in_helper(_obj0
);
809 _arg1
= wxString_in_helper(_obj1
);
815 _arg2
= wxString_in_helper(_obj2
);
820 if (_argo3
== Py_None
) { _arg3
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
828 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
830 wxPyEndAllowThreads(__tstate
);
831 if (PyErr_Occurred()) return NULL
;
834 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
857 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
864 wxWindow
* _arg4
= (wxWindow
*) NULL
;
865 int _arg5
= (int ) -1;
866 int _arg6
= (int ) -1;
867 bool _arg7
= (bool ) TRUE
;
868 int _arg8
= (int ) 150;
869 int _arg9
= (int ) 200;
870 PyObject
* _obj0
= 0;
871 PyObject
* _obj1
= 0;
872 PyObject
* _obj3
= 0;
873 PyObject
* _argo4
= 0;
874 int tempbool7
= (int) TRUE
;
875 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
881 _arg0
= wxString_in_helper(_obj0
);
886 _arg1
= wxString_in_helper(_obj1
);
892 _arg3
= wxString_LIST_helper(_obj3
);
898 if (_argo4
== Py_None
) { _arg4
= NULL
; }
899 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
904 _arg7
= (bool ) tempbool7
;
907 _arg2
= PyList_Size(_obj3
);
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
921 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
923 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
943 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
950 wxWindow
* _arg4
= (wxWindow
*) NULL
;
951 int _arg5
= (int ) -1;
952 int _arg6
= (int ) -1;
953 bool _arg7
= (bool ) TRUE
;
954 int _arg8
= (int ) 150;
955 int _arg9
= (int ) 200;
956 PyObject
* _obj0
= 0;
957 PyObject
* _obj1
= 0;
958 PyObject
* _obj3
= 0;
959 PyObject
* _argo4
= 0;
960 int tempbool7
= (int) TRUE
;
961 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
967 _arg0
= wxString_in_helper(_obj0
);
972 _arg1
= wxString_in_helper(_obj1
);
978 _arg3
= wxString_LIST_helper(_obj3
);
984 if (_argo4
== Py_None
) { _arg4
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
990 _arg7
= (bool ) tempbool7
;
993 _arg2
= PyList_Size(_obj3
);
1000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1001 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
1003 wxPyEndAllowThreads(__tstate
);
1004 if (PyErr_Occurred()) return NULL
;
1005 } _resultobj
= Py_BuildValue("i",_result
);
1020 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1024 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
1025 int _arg2
= (int ) wxOK
|wxCENTRE
;
1026 wxWindow
* _arg3
= (wxWindow
*) NULL
;
1027 int _arg4
= (int ) -1;
1028 int _arg5
= (int ) -1;
1029 PyObject
* _obj0
= 0;
1030 PyObject
* _obj1
= 0;
1031 PyObject
* _argo3
= 0;
1032 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
1038 _arg0
= wxString_in_helper(_obj0
);
1044 _arg1
= wxString_in_helper(_obj1
);
1049 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) return NULL
;
1061 } _resultobj
= Py_BuildValue("i",_result
);
1073 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1080 long _arg4
= (long ) 0;
1081 long _arg5
= (long ) 100;
1082 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1083 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1084 PyObject
* _obj0
= 0;
1085 PyObject
* _obj1
= 0;
1086 PyObject
* _obj2
= 0;
1087 PyObject
* _argo6
= 0;
1089 PyObject
* _obj7
= 0;
1090 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1096 _arg0
= wxString_in_helper(_obj0
);
1101 _arg1
= wxString_in_helper(_obj1
);
1106 _arg2
= wxString_in_helper(_obj2
);
1111 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1120 if (! wxPoint_helper(_obj7
, &_arg7
))
1124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1125 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1127 wxPyEndAllowThreads(__tstate
);
1128 if (PyErr_Occurred()) return NULL
;
1129 } _resultobj
= Py_BuildValue("l",_result
);
1145 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
* _resultobj
;
1148 char *_kwnames
[] = { NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= (bool )wxColourDisplay();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1159 } _resultobj
= Py_BuildValue("i",_result
);
1163 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1166 char *_kwnames
[] = { NULL
};
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 _result
= (int )wxDisplayDepth();
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) return NULL
;
1177 } _resultobj
= Py_BuildValue("i",_result
);
1181 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1184 char *_kwnames
[] = { NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 _result
= (int )wxGetDisplayDepth();
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } _resultobj
= Py_BuildValue("i",_result
);
1199 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1205 char *_kwnames
[] = { NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxDisplaySize(_arg0
,_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1226 o
= PyInt_FromLong((long) (*_arg0
));
1227 _resultobj
= t_output_helper(_resultobj
, o
);
1231 o
= PyInt_FromLong((long) (*_arg1
));
1232 _resultobj
= t_output_helper(_resultobj
, o
);
1237 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1240 char *_kwnames
[] = { NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 _result
= new wxSize (wxGetDisplaySize());
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) return NULL
;
1252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1253 _resultobj
= Py_BuildValue("s",_ptemp
);
1257 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1258 PyObject
* _resultobj
;
1263 char *_kwnames
[] = { NULL
};
1272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1276 wxDisplaySizeMM(_arg0
,_arg1
);
1278 wxPyEndAllowThreads(__tstate
);
1279 if (PyErr_Occurred()) return NULL
;
1280 } Py_INCREF(Py_None
);
1281 _resultobj
= Py_None
;
1284 o
= PyInt_FromLong((long) (*_arg0
));
1285 _resultobj
= t_output_helper(_resultobj
, o
);
1289 o
= PyInt_FromLong((long) (*_arg1
));
1290 _resultobj
= t_output_helper(_resultobj
, o
);
1295 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1298 char *_kwnames
[] = { NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 _result
= new wxSize (wxGetDisplaySizeMM());
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1311 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1325 char *_kwnames
[] = { NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) return NULL
;
1348 } Py_INCREF(Py_None
);
1349 _resultobj
= Py_None
;
1352 o
= PyInt_FromLong((long) (*_arg0
));
1353 _resultobj
= t_output_helper(_resultobj
, o
);
1357 o
= PyInt_FromLong((long) (*_arg1
));
1358 _resultobj
= t_output_helper(_resultobj
, o
);
1362 o
= PyInt_FromLong((long) (*_arg2
));
1363 _resultobj
= t_output_helper(_resultobj
, o
);
1367 o
= PyInt_FromLong((long) (*_arg3
));
1368 _resultobj
= t_output_helper(_resultobj
, o
);
1373 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1376 char *_kwnames
[] = { NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 _result
= new wxRect (wxGetClientDisplayRect());
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) return NULL
;
1388 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1389 _resultobj
= Py_BuildValue("s",_ptemp
);
1393 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1396 PyObject
* _argo0
= 0;
1397 char *_kwnames
[] = { "cursor", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1403 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 wxSetCursor(*_arg0
);
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) return NULL
;
1414 } Py_INCREF(Py_None
);
1415 _resultobj
= Py_None
;
1419 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1421 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "cursor", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 wxBeginBusyCursor(_arg0
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1449 char *_kwnames
[] = { NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 _result
= (wxWindow
*)wxGetActiveWindow();
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1464 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1469 PyObject
* _obj0
= 0;
1470 char *_kwnames
[] = { "pt", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1477 if (! wxPoint_helper(_obj0
, &_arg0
))
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1490 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
* _resultobj
;
1495 PyObject
* _obj0
= 0;
1496 char *_kwnames
[] = { "pt", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1503 if (! wxPoint_helper(_obj0
, &_arg0
))
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) return NULL
;
1512 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1516 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "wnd", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (bool )wxCheckForInterrupt(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } _resultobj
= Py_BuildValue("i",_result
);
1543 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "win", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) return NULL
;
1566 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1570 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1573 char *_kwnames
[] = { NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (int )wxCaret_GetBlinkTime();
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1591 char *_kwnames
[] = { "milliseconds", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 wxCaret_SetBlinkTime(_arg0
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) return NULL
;
1602 } Py_INCREF(Py_None
);
1603 _resultobj
= Py_None
;
1607 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1610 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1611 bool _arg1
= (bool ) FALSE
;
1612 PyObject
* _argo0
= 0;
1613 int tempbool1
= (int) FALSE
;
1614 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1626 _arg1
= (bool ) tempbool1
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) return NULL
;
1633 } _resultobj
= Py_BuildValue("i",_result
);
1637 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1639 wxEvtHandler
* _arg0
;
1641 PyObject
* _argo0
= 0;
1642 PyObject
* _argo1
= 0;
1643 char *_kwnames
[] = { "dest","event", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1656 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 wxPostEvent(_arg0
,*_arg1
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) return NULL
;
1667 } Py_INCREF(Py_None
);
1668 _resultobj
= Py_None
;
1672 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1674 char *_kwnames
[] = { NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1685 } Py_INCREF(Py_None
);
1686 _resultobj
= Py_None
;
1690 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 char *_kwnames
[] = { NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 wxWakeUpMainThread();
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } Py_INCREF(Py_None
);
1704 _resultobj
= Py_None
;
1708 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1710 char *_kwnames
[] = { NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) return NULL
;
1721 } Py_INCREF(Py_None
);
1722 _resultobj
= Py_None
;
1726 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1728 char *_kwnames
[] = { NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) return NULL
;
1739 } Py_INCREF(Py_None
);
1740 _resultobj
= Py_None
;
1744 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1747 char *_kwnames
[] = { NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 _result
= (bool )wxThread_IsMain();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1758 } _resultobj
= Py_BuildValue("i",_result
);
1762 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1766 wxTipProvider
* _arg1
;
1767 bool _arg2
= (bool ) TRUE
;
1768 PyObject
* _argo0
= 0;
1769 PyObject
* _argo1
= 0;
1770 int tempbool2
= (int) TRUE
;
1771 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1790 _arg2
= (bool ) tempbool2
;
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) return NULL
;
1797 } _resultobj
= Py_BuildValue("i",_result
);
1801 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 wxTipProvider
* _result
;
1806 PyObject
* _obj0
= 0;
1807 char *_kwnames
[] = { "filename","currentTip", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1814 _arg0
= wxString_in_helper(_obj0
);
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) return NULL
;
1825 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1826 _resultobj
= Py_BuildValue("s",_ptemp
);
1829 _resultobj
= Py_None
;
1838 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1840 unsigned long _result
;
1841 char *_kwnames
[] = { NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 _result
= (unsigned long )wxSysErrorCode();
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) return NULL
;
1852 } _resultobj
= Py_BuildValue("l",_result
);
1856 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1859 unsigned long _arg0
= (unsigned long ) 0;
1860 char *_kwnames
[] = { "nErrCode", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 _result
= new wxString (wxSysErrorMsg(_arg0
));
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) return NULL
;
1873 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1875 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1884 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1887 PyObject
* _obj0
= 0;
1888 char *_kwnames
[] = { "msg", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1894 _arg0
= wxString_in_helper(_obj0
);
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 wxLogFatalError(*_arg0
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) return NULL
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1913 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1916 PyObject
* _obj0
= 0;
1917 char *_kwnames
[] = { "msg", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1923 _arg0
= wxString_in_helper(_obj0
);
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } Py_INCREF(Py_None
);
1934 _resultobj
= Py_None
;
1942 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1945 PyObject
* _obj0
= 0;
1946 char *_kwnames
[] = { "msg", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1952 _arg0
= wxString_in_helper(_obj0
);
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 wxLogWarning(*_arg0
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 } Py_INCREF(Py_None
);
1963 _resultobj
= Py_None
;
1971 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1974 PyObject
* _obj0
= 0;
1975 char *_kwnames
[] = { "msg", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1981 _arg0
= wxString_in_helper(_obj0
);
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 wxLogMessage(*_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
2000 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 PyObject
* _obj0
= 0;
2004 char *_kwnames
[] = { "msg", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2010 _arg0
= wxString_in_helper(_obj0
);
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2029 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2032 PyObject
* _obj0
= 0;
2033 char *_kwnames
[] = { "msg", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
2039 _arg0
= wxString_in_helper(_obj0
);
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2058 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2061 PyObject
* _obj0
= 0;
2062 char *_kwnames
[] = { "msg", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2068 _arg0
= wxString_in_helper(_obj0
);
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 wxLogVerbose(*_arg0
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2087 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 PyObject
* _obj0
= 0;
2091 char *_kwnames
[] = { "msg", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2097 _arg0
= wxString_in_helper(_obj0
);
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 wxLogStatus(*_arg0
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) return NULL
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2116 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
* _resultobj
;
2120 PyObject
* _argo0
= 0;
2121 PyObject
* _obj1
= 0;
2122 char *_kwnames
[] = { "pFrame","msg", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2135 _arg1
= wxString_in_helper(_obj1
);
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 wxLogStatus(_arg0
,*_arg1
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) return NULL
;
2145 } Py_INCREF(Py_None
);
2146 _resultobj
= Py_None
;
2154 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2155 PyObject
* _resultobj
;
2157 PyObject
* _obj0
= 0;
2158 char *_kwnames
[] = { "msg", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2164 _arg0
= wxString_in_helper(_obj0
);
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 wxLogSysError(*_arg0
);
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) return NULL
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2183 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2186 PyObject
* _obj0
= 0;
2187 char *_kwnames
[] = { "msg", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2193 _arg0
= wxString_in_helper(_obj0
);
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) return NULL
;
2203 } Py_INCREF(Py_None
);
2204 _resultobj
= Py_None
;
2212 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2216 PyObject
* _obj0
= 0;
2217 PyObject
* _obj1
= 0;
2218 char *_kwnames
[] = { "mask","msg", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2224 _arg0
= wxString_in_helper(_obj0
);
2229 _arg1
= wxString_in_helper(_obj1
);
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 wxLogTrace(*_arg0
,*_arg1
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2239 } Py_INCREF(Py_None
);
2240 _resultobj
= Py_None
;
2252 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2254 unsigned long _arg0
;
2256 PyObject
* _obj1
= 0;
2257 char *_kwnames
[] = { "level","msg", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2263 _arg1
= wxString_in_helper(_obj1
);
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 wxLogGeneric(_arg0
,*_arg1
);
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2282 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2286 PyObject
* _obj0
= 0;
2287 PyObject
* _obj1
= 0;
2288 char *_kwnames
[] = { "title","text", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2294 _arg0
= wxString_in_helper(_obj0
);
2299 _arg1
= wxString_in_helper(_obj1
);
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 wxSafeShowMessage(*_arg0
,*_arg1
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) return NULL
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2322 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2326 int _arg1
= (int ) (wxEXEC_ASYNC
);
2327 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2328 PyObject
* _obj0
= 0;
2329 PyObject
* _argo2
= 0;
2330 char *_kwnames
[] = { "command","flags","process", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2336 _arg0
= wxString_in_helper(_obj0
);
2341 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2342 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) return NULL
;
2353 } _resultobj
= Py_BuildValue("l",_result
);
2361 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2365 PyObject
* _obj0
= 0;
2366 char *_kwnames
[] = { "data", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2373 _arg0
= wxString_in_helper(_obj0
);
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 _result
= (wxWave
*)wxWaveData(*_arg0
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) return NULL
;
2384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2385 _resultobj
= Py_BuildValue("s",_ptemp
);
2388 _resultobj
= Py_None
;
2397 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2399 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2403 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2407 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2408 pyobj
= PyString_FromString(ptemp
);
2412 static PyObject
*_wrap_wxDrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2417 PyObject
* _argo0
= 0;
2418 PyObject
* _argo1
= 0;
2419 char *_kwnames
[] = { "window","dc","method", NULL
};
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxDrawWindowOnDC",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDrawWindowOnDC. Expected _wxWindow_p.");
2432 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDrawWindowOnDC. Expected _wxDC_p.");
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 wxDrawWindowOnDC(_arg0
,*_arg1
,_arg2
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) return NULL
;
2443 } Py_INCREF(Py_None
);
2444 _resultobj
= Py_None
;
2448 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
* _resultobj
;
2451 wxSystemColour _arg0
;
2452 char *_kwnames
[] = { "index", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2465 _resultobj
= Py_BuildValue("s",_ptemp
);
2469 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2473 char *_kwnames
[] = { "index", NULL
};
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) return NULL
;
2485 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2486 _resultobj
= Py_BuildValue("s",_ptemp
);
2490 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2493 wxSystemMetric _arg0
;
2494 char *_kwnames
[] = { "index", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) return NULL
;
2505 } _resultobj
= Py_BuildValue("i",_result
);
2509 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2512 wxSystemFeature _arg0
;
2513 char *_kwnames
[] = { "index", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) return NULL
;
2524 } _resultobj
= Py_BuildValue("i",_result
);
2528 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2530 wxSystemScreenType _result
;
2531 char *_kwnames
[] = { NULL
};
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) return NULL
;
2542 } _resultobj
= Py_BuildValue("i",_result
);
2546 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2548 wxSystemScreenType _arg0
;
2549 char *_kwnames
[] = { "screen", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 wxSystemSettings::SetScreenType(_arg0
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) return NULL
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2565 static void *SwigwxSystemOptionsTowxObject(void *ptr
) {
2566 wxSystemOptions
*src
;
2568 src
= (wxSystemOptions
*) ptr
;
2569 dest
= (wxObject
*) src
;
2570 return (void *) dest
;
2573 #define new_wxSystemOptions() (new wxSystemOptions())
2574 static PyObject
*_wrap_new_wxSystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2576 wxSystemOptions
* _result
;
2577 char *_kwnames
[] = { NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxSystemOptions",_kwnames
))
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 _result
= (wxSystemOptions
*)new_wxSystemOptions();
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSystemOptions_p");
2591 _resultobj
= Py_BuildValue("s",_ptemp
);
2594 _resultobj
= Py_None
;
2599 static PyObject
*_wrap_wxSystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2603 PyObject
* _obj0
= 0;
2604 PyObject
* _obj1
= 0;
2605 char *_kwnames
[] = { "name","value", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSystemOptions_SetOption",_kwnames
,&_obj0
,&_obj1
))
2611 _arg0
= wxString_in_helper(_obj0
);
2616 _arg1
= wxString_in_helper(_obj1
);
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 wxSystemOptions::SetOption(*_arg0
,*_arg1
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) return NULL
;
2626 } Py_INCREF(Py_None
);
2627 _resultobj
= Py_None
;
2639 static PyObject
*_wrap_wxSystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2643 PyObject
* _obj0
= 0;
2644 char *_kwnames
[] = { "name","value", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSystemOptions_SetOptionInt",_kwnames
,&_obj0
,&_arg1
))
2650 _arg0
= wxString_in_helper(_obj0
);
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 wxSystemOptions::SetOption(*_arg0
,_arg1
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) return NULL
;
2660 } Py_INCREF(Py_None
);
2661 _resultobj
= Py_None
;
2669 static PyObject
*_wrap_wxSystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2673 PyObject
* _obj0
= 0;
2674 char *_kwnames
[] = { "name", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOption",_kwnames
,&_obj0
))
2680 _arg0
= wxString_in_helper(_obj0
);
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 _result
= new wxString (wxSystemOptions::GetOption(*_arg0
));
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) return NULL
;
2692 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2694 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2707 static PyObject
*_wrap_wxSystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
* _resultobj
;
2711 PyObject
* _obj0
= 0;
2712 char *_kwnames
[] = { "name", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_GetOptionInt",_kwnames
,&_obj0
))
2718 _arg0
= wxString_in_helper(_obj0
);
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (int )wxSystemOptions::GetOptionInt(*_arg0
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2736 static PyObject
*_wrap_wxSystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2740 PyObject
* _obj0
= 0;
2741 char *_kwnames
[] = { "name", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSystemOptions_HasOption",_kwnames
,&_obj0
))
2747 _arg0
= wxString_in_helper(_obj0
);
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 _result
= (bool )wxSystemOptions::HasOption(*_arg0
);
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2757 } _resultobj
= Py_BuildValue("i",_result
);
2765 static void *SwigwxToolTipTowxObject(void *ptr
) {
2768 src
= (wxToolTip
*) ptr
;
2769 dest
= (wxObject
*) src
;
2770 return (void *) dest
;
2773 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2774 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2776 wxToolTip
* _result
;
2778 PyObject
* _obj0
= 0;
2779 char *_kwnames
[] = { "tip", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2786 _arg0
= wxString_in_helper(_obj0
);
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2810 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2811 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2815 PyObject
* _argo0
= 0;
2816 PyObject
* _obj1
= 0;
2817 char *_kwnames
[] = { "self","tip", NULL
};
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2830 _arg1
= wxString_in_helper(_obj1
);
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 wxToolTip_SetTip(_arg0
,*_arg1
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2840 } Py_INCREF(Py_None
);
2841 _resultobj
= Py_None
;
2849 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2850 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) return NULL
;
2875 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2877 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2886 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2887 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) return NULL
;
2910 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2914 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2918 char *_kwnames
[] = { "flag", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2923 _arg0
= (bool ) tempbool0
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 wxToolTip::Enable(_arg0
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2938 char *_kwnames
[] = { "milliseconds", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 wxToolTip::SetDelay(_arg0
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) return NULL
;
2949 } Py_INCREF(Py_None
);
2950 _resultobj
= Py_None
;
2954 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2955 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2960 PyObject
* _argo0
= 0;
2962 PyObject
* _obj1
= 0;
2963 char *_kwnames
[] = { "window","size", NULL
};
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2978 if (! wxSize_helper(_obj1
, &_arg1
))
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) return NULL
;
2988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2989 _resultobj
= Py_BuildValue("s",_ptemp
);
2992 _resultobj
= Py_None
;
2997 #define delete_wxCaret(_swigobj) (delete _swigobj)
2998 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3001 PyObject
* _argo0
= 0;
3002 char *_kwnames
[] = { "self", NULL
};
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
3008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 delete_wxCaret(_arg0
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) return NULL
;
3020 } Py_INCREF(Py_None
);
3021 _resultobj
= Py_None
;
3025 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
3026 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3030 PyObject
* _argo0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
3037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 _result
= (bool )wxCaret_IsOk(_arg0
);
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) return NULL
;
3049 } _resultobj
= Py_BuildValue("i",_result
);
3053 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
3054 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 _result
= (bool )wxCaret_IsVisible(_arg0
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) return NULL
;
3077 } _resultobj
= Py_BuildValue("i",_result
);
3081 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
3082 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) return NULL
;
3114 } Py_INCREF(Py_None
);
3115 _resultobj
= Py_None
;
3118 o
= PyInt_FromLong((long) (*_arg1
));
3119 _resultobj
= t_output_helper(_resultobj
, o
);
3123 o
= PyInt_FromLong((long) (*_arg2
));
3124 _resultobj
= t_output_helper(_resultobj
, o
);
3129 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
3130 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3134 PyObject
* _argo0
= 0;
3135 char *_kwnames
[] = { "self", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3155 _resultobj
= Py_BuildValue("s",_ptemp
);
3159 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3160 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) return NULL
;
3192 } Py_INCREF(Py_None
);
3193 _resultobj
= Py_None
;
3196 o
= PyInt_FromLong((long) (*_arg1
));
3197 _resultobj
= t_output_helper(_resultobj
, o
);
3201 o
= PyInt_FromLong((long) (*_arg2
));
3202 _resultobj
= t_output_helper(_resultobj
, o
);
3207 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3208 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) return NULL
;
3232 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3233 _resultobj
= Py_BuildValue("s",_ptemp
);
3237 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3238 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
* _resultobj
;
3242 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) return NULL
;
3261 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3265 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3266 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3271 PyObject
* _argo0
= 0;
3272 char *_kwnames
[] = { "self","x","y", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3290 } Py_INCREF(Py_None
);
3291 _resultobj
= Py_None
;
3295 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3296 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3300 PyObject
* _argo0
= 0;
3302 PyObject
* _obj1
= 0;
3303 char *_kwnames
[] = { "self","pt", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3317 if (! wxPoint_helper(_obj1
, &_arg1
))
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxCaret_Move(_arg0
,*_arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3331 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3332 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self","width","height", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) return NULL
;
3356 } Py_INCREF(Py_None
);
3357 _resultobj
= Py_None
;
3361 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3362 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3366 PyObject
* _argo0
= 0;
3368 PyObject
* _obj1
= 0;
3369 char *_kwnames
[] = { "self","size", NULL
};
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3383 if (! wxSize_helper(_obj1
, &_arg1
))
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 wxCaret_SetSize(_arg0
,*_arg1
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) return NULL
;
3392 } Py_INCREF(Py_None
);
3393 _resultobj
= Py_None
;
3397 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3398 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3401 int _arg1
= (int ) TRUE
;
3402 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self","show", NULL
};
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3417 wxCaret_Show(_arg0
,_arg1
);
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) return NULL
;
3421 } Py_INCREF(Py_None
);
3422 _resultobj
= Py_None
;
3426 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3427 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3430 PyObject
* _argo0
= 0;
3431 char *_kwnames
[] = { "self", NULL
};
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 wxCaret_Hide(_arg0
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) return NULL
;
3449 } Py_INCREF(Py_None
);
3450 _resultobj
= Py_None
;
3454 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3455 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
* _resultobj
;
3457 wxBusyCursor
* _result
;
3458 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3459 PyObject
* _argo0
= 0;
3460 char *_kwnames
[] = { "cursor", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) return NULL
;
3480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3481 _resultobj
= Py_BuildValue("s",_ptemp
);
3484 _resultobj
= Py_None
;
3489 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3490 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3492 wxBusyCursor
* _arg0
;
3493 PyObject
* _argo0
= 0;
3494 char *_kwnames
[] = { "self", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 delete_wxBusyCursor(_arg0
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) return NULL
;
3512 } Py_INCREF(Py_None
);
3513 _resultobj
= Py_None
;
3517 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3518 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3520 wxWindowDisabler
* _result
;
3521 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "winToSkip", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) return NULL
;
3543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3544 _resultobj
= Py_BuildValue("s",_ptemp
);
3547 _resultobj
= Py_None
;
3552 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3553 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3555 wxWindowDisabler
* _arg0
;
3556 PyObject
* _argo0
= 0;
3557 char *_kwnames
[] = { "self", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 delete_wxWindowDisabler(_arg0
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3575 } Py_INCREF(Py_None
);
3576 _resultobj
= Py_None
;
3580 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3581 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxMutexGuiLocker
* _result
;
3584 char *_kwnames
[] = { NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) return NULL
;
3597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3598 _resultobj
= Py_BuildValue("s",_ptemp
);
3601 _resultobj
= Py_None
;
3606 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3607 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
* _resultobj
;
3609 wxMutexGuiLocker
* _arg0
;
3610 PyObject
* _argo0
= 0;
3611 char *_kwnames
[] = { "self", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3625 delete_wxMutexGuiLocker(_arg0
);
3627 wxPyEndAllowThreads(__tstate
);
3628 if (PyErr_Occurred()) return NULL
;
3629 } Py_INCREF(Py_None
);
3630 _resultobj
= Py_None
;
3634 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3635 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
* _resultobj
;
3637 wxTipProvider
* _arg0
;
3638 PyObject
* _argo0
= 0;
3639 char *_kwnames
[] = { "self", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 delete_wxTipProvider(_arg0
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3657 } Py_INCREF(Py_None
);
3658 _resultobj
= Py_None
;
3662 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3663 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3666 wxTipProvider
* _arg0
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self", NULL
};
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) return NULL
;
3688 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3699 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3700 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3703 wxTipProvider
* _arg0
;
3704 PyObject
* _argo0
= 0;
3705 char *_kwnames
[] = { "self", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) return NULL
;
3723 } _resultobj
= Py_BuildValue("i",_result
);
3727 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3728 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
* _resultobj
;
3731 wxTipProvider
* _arg0
;
3733 PyObject
* _argo0
= 0;
3734 PyObject
* _obj1
= 0;
3735 char *_kwnames
[] = { "self","tip", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3748 _arg1
= wxString_in_helper(_obj1
);
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) return NULL
;
3760 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3762 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3775 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3776 wxPyTipProvider
*src
;
3777 wxTipProvider
*dest
;
3778 src
= (wxPyTipProvider
*) ptr
;
3779 dest
= (wxTipProvider
*) src
;
3780 return (void *) dest
;
3783 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3784 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3786 wxPyTipProvider
* _result
;
3788 char *_kwnames
[] = { "currentTip", NULL
};
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) return NULL
;
3801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3802 _resultobj
= Py_BuildValue("s",_ptemp
);
3805 _resultobj
= Py_None
;
3810 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3811 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3813 wxPyTipProvider
* _arg0
;
3816 PyObject
* _argo0
= 0;
3817 PyObject
* _obj1
= 0;
3818 PyObject
* _obj2
= 0;
3819 char *_kwnames
[] = { "self","self","_class", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) return NULL
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3849 wxGenericDragImage
*src
;
3851 src
= (wxGenericDragImage
*) ptr
;
3852 dest
= (wxObject
*) src
;
3853 return (void *) dest
;
3856 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3857 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3859 wxGenericDragImage
* _result
;
3861 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3862 PyObject
* _argo0
= 0;
3863 PyObject
* _argo1
= 0;
3864 char *_kwnames
[] = { "image","cursor", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3871 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3877 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) return NULL
;
3889 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3890 _resultobj
= Py_BuildValue("s",_ptemp
);
3893 _resultobj
= Py_None
;
3898 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3899 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3901 wxGenericDragImage
* _result
;
3903 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3904 PyObject
* _argo0
= 0;
3905 PyObject
* _argo1
= 0;
3906 char *_kwnames
[] = { "image","cursor", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3913 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3919 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) return NULL
;
3931 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3932 _resultobj
= Py_BuildValue("s",_ptemp
);
3935 _resultobj
= Py_None
;
3940 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3941 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3943 wxGenericDragImage
* _result
;
3945 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3946 PyObject
* _obj0
= 0;
3947 PyObject
* _argo1
= 0;
3948 char *_kwnames
[] = { "str","cursor", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3955 _arg0
= wxString_in_helper(_obj0
);
3960 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) return NULL
;
3972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3973 _resultobj
= Py_BuildValue("s",_ptemp
);
3976 _resultobj
= Py_None
;
3985 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3986 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3988 wxGenericDragImage
* _result
;
3990 wxTreeItemId
* _arg1
;
3991 PyObject
* _argo0
= 0;
3992 PyObject
* _argo1
= 0;
3993 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
4000 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
4006 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) return NULL
;
4018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
4019 _resultobj
= Py_BuildValue("s",_ptemp
);
4022 _resultobj
= Py_None
;
4027 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
4028 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4030 wxGenericDragImage
* _result
;
4033 PyObject
* _argo0
= 0;
4034 char *_kwnames
[] = { "listCtrl","id", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
4041 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) return NULL
;
4053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
4054 _resultobj
= Py_BuildValue("s",_ptemp
);
4057 _resultobj
= Py_None
;
4062 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
4063 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4065 wxGenericDragImage
* _arg0
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 delete_wxGenericDragImage(_arg0
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } Py_INCREF(Py_None
);
4086 _resultobj
= Py_None
;
4090 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
4091 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
* _resultobj
;
4093 wxGenericDragImage
* _arg0
;
4095 PyObject
* _argo0
= 0;
4096 PyObject
* _argo1
= 0;
4097 char *_kwnames
[] = { "self","bitmap", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
4110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) return NULL
;
4122 } Py_INCREF(Py_None
);
4123 _resultobj
= Py_None
;
4127 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4128 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4131 wxGenericDragImage
* _arg0
;
4134 bool _arg3
= (bool ) FALSE
;
4135 wxRect
* _arg4
= (wxRect
*) NULL
;
4136 PyObject
* _argo0
= 0;
4138 PyObject
* _obj1
= 0;
4139 PyObject
* _argo2
= 0;
4140 int tempbool3
= (int) FALSE
;
4142 PyObject
* _obj4
= 0;
4143 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
4157 if (! wxPoint_helper(_obj1
, &_arg1
))
4161 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
4167 _arg3
= (bool ) tempbool3
;
4171 if (! wxRect_helper(_obj4
, &_arg4
))
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) return NULL
;
4180 } _resultobj
= Py_BuildValue("i",_result
);
4184 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4185 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
* _resultobj
;
4188 wxGenericDragImage
* _arg0
;
4192 PyObject
* _argo0
= 0;
4194 PyObject
* _obj1
= 0;
4195 PyObject
* _argo2
= 0;
4196 PyObject
* _argo3
= 0;
4197 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
4211 if (! wxPoint_helper(_obj1
, &_arg1
))
4215 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4222 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4223 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } _resultobj
= Py_BuildValue("i",_result
);
4238 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4239 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4242 wxGenericDragImage
* _arg0
;
4243 PyObject
* _argo0
= 0;
4244 char *_kwnames
[] = { "self", NULL
};
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) return NULL
;
4262 } _resultobj
= Py_BuildValue("i",_result
);
4266 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4267 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
* _resultobj
;
4270 wxGenericDragImage
* _arg0
;
4272 PyObject
* _argo0
= 0;
4274 PyObject
* _obj1
= 0;
4275 char *_kwnames
[] = { "self","pt", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4289 if (! wxPoint_helper(_obj1
, &_arg1
))
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) return NULL
;
4298 } _resultobj
= Py_BuildValue("i",_result
);
4302 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4303 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4306 wxGenericDragImage
* _arg0
;
4307 PyObject
* _argo0
= 0;
4308 char *_kwnames
[] = { "self", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 _result
= (bool )wxDragImage_Show(_arg0
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4326 } _resultobj
= Py_BuildValue("i",_result
);
4330 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4331 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
* _resultobj
;
4334 wxGenericDragImage
* _arg0
;
4335 PyObject
* _argo0
= 0;
4336 char *_kwnames
[] = { "self", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 _result
= (bool )wxDragImage_Hide(_arg0
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) return NULL
;
4354 } _resultobj
= Py_BuildValue("i",_result
);
4358 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4359 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4362 wxGenericDragImage
* _arg0
;
4364 PyObject
* _argo0
= 0;
4366 PyObject
* _obj1
= 0;
4367 char *_kwnames
[] = { "self","pos", NULL
};
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4382 if (! wxPoint_helper(_obj1
, &_arg1
))
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) return NULL
;
4391 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4392 _resultobj
= Py_BuildValue("s",_ptemp
);
4396 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4397 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4400 wxGenericDragImage
* _arg0
;
4405 PyObject
* _argo0
= 0;
4407 PyObject
* _obj1
= 0;
4409 PyObject
* _obj2
= 0;
4412 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4426 if (! wxPoint_helper(_obj1
, &_arg1
))
4431 if (! wxPoint_helper(_obj2
, &_arg2
))
4434 _arg3
= (bool ) tempbool3
;
4435 _arg4
= (bool ) tempbool4
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) return NULL
;
4442 } _resultobj
= Py_BuildValue("i",_result
);
4446 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4449 src
= (wxPyTimer
*) ptr
;
4450 dest
= (wxObject
*) src
;
4451 return (void *) dest
;
4454 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4455 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
* _resultobj
;
4457 wxPyTimer
* _result
;
4459 PyObject
* _obj0
= 0;
4460 char *_kwnames
[] = { "notify", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) return NULL
;
4476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4477 _resultobj
= Py_BuildValue("s",_ptemp
);
4480 _resultobj
= Py_None
;
4485 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4486 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4489 PyObject
* _argo0
= 0;
4490 char *_kwnames
[] = { "self", NULL
};
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 delete_wxPyTimer(_arg0
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) return NULL
;
4508 } Py_INCREF(Py_None
);
4509 _resultobj
= Py_None
;
4513 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4514 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4518 PyObject
* _argo0
= 0;
4519 char *_kwnames
[] = { "self", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) return NULL
;
4537 } _resultobj
= Py_BuildValue("i",_result
);
4541 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4542 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
* _resultobj
;
4546 PyObject
* _argo0
= 0;
4547 char *_kwnames
[] = { "self", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) return NULL
;
4565 } _resultobj
= Py_BuildValue("i",_result
);
4569 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4570 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
* _resultobj
;
4574 PyObject
* _argo0
= 0;
4575 char *_kwnames
[] = { "self", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) return NULL
;
4593 } _resultobj
= Py_BuildValue("i",_result
);
4597 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4598 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4601 wxEvtHandler
* _arg1
;
4602 int _arg2
= (int ) -1;
4603 PyObject
* _argo0
= 0;
4604 PyObject
* _argo1
= 0;
4605 char *_kwnames
[] = { "self","owner","id", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) return NULL
;
4630 } Py_INCREF(Py_None
);
4631 _resultobj
= Py_None
;
4635 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4636 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4640 int _arg1
= (int ) -1;
4641 int _arg2
= (int ) FALSE
;
4642 PyObject
* _argo0
= 0;
4643 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } _resultobj
= Py_BuildValue("i",_result
);
4665 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4666 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4669 PyObject
* _argo0
= 0;
4670 char *_kwnames
[] = { "self", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 wxPyTimer_Stop(_arg0
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 #define new_wxStopWatch() (new wxStopWatch())
4694 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4696 wxStopWatch
* _result
;
4697 char *_kwnames
[] = { NULL
};
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 _result
= (wxStopWatch
*)new_wxStopWatch();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) return NULL
;
4710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4711 _resultobj
= Py_BuildValue("s",_ptemp
);
4714 _resultobj
= Py_None
;
4719 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4720 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4722 wxStopWatch
* _arg0
;
4723 PyObject
* _argo0
= 0;
4724 char *_kwnames
[] = { "self", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 delete_wxStopWatch(_arg0
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4747 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4748 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4750 wxStopWatch
* _arg0
;
4751 long _arg1
= (long ) 0;
4752 PyObject
* _argo0
= 0;
4753 char *_kwnames
[] = { "self","t", NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 wxStopWatch_Start(_arg0
,_arg1
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) return NULL
;
4771 } Py_INCREF(Py_None
);
4772 _resultobj
= Py_None
;
4776 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4777 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
* _resultobj
;
4779 wxStopWatch
* _arg0
;
4780 PyObject
* _argo0
= 0;
4781 char *_kwnames
[] = { "self", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 wxStopWatch_Pause(_arg0
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) return NULL
;
4799 } Py_INCREF(Py_None
);
4800 _resultobj
= Py_None
;
4804 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4805 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
* _resultobj
;
4807 wxStopWatch
* _arg0
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "self", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxStopWatch_Resume(_arg0
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4833 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4836 wxStopWatch
* _arg0
;
4837 PyObject
* _argo0
= 0;
4838 char *_kwnames
[] = { "self", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 _result
= (long )wxStopWatch_Time(_arg0
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) return NULL
;
4856 } _resultobj
= Py_BuildValue("l",_result
);
4860 #define new_wxLog() (new wxLog())
4861 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4864 char *_kwnames
[] = { NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 _result
= (wxLog
*)new_wxLog();
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) return NULL
;
4877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4878 _resultobj
= Py_BuildValue("s",_ptemp
);
4881 _resultobj
= Py_None
;
4886 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 char *_kwnames
[] = { NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 _result
= (bool )wxLog::IsEnabled();
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4900 } _resultobj
= Py_BuildValue("i",_result
);
4904 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
* _resultobj
;
4907 bool _arg0
= (bool ) TRUE
;
4908 int tempbool0
= (int) TRUE
;
4909 char *_kwnames
[] = { "doIt", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4914 _arg0
= (bool ) tempbool0
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 _result
= (bool )wxLog::EnableLogging(_arg0
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) return NULL
;
4921 } _resultobj
= Py_BuildValue("i",_result
);
4925 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4927 unsigned long _arg0
;
4929 int _arg2
= (int ) 0;
4930 PyObject
* _obj1
= 0;
4931 char *_kwnames
[] = { "level","szString","t", NULL
};
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4937 _arg1
= wxString_in_helper(_obj1
);
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) return NULL
;
4947 } Py_INCREF(Py_None
);
4948 _resultobj
= Py_None
;
4956 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4957 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) return NULL
;
4979 } Py_INCREF(Py_None
);
4980 _resultobj
= Py_None
;
4984 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4986 char *_kwnames
[] = { NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxLog::FlushActive();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) return NULL
;
4997 } Py_INCREF(Py_None
);
4998 _resultobj
= Py_None
;
5002 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5005 char *_kwnames
[] = { NULL
};
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 _result
= (wxLog
*)wxLog::GetActiveTarget();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5019 _resultobj
= Py_BuildValue("s",_ptemp
);
5022 _resultobj
= Py_None
;
5027 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5031 PyObject
* _argo0
= 0;
5032 char *_kwnames
[] = { "pLogger", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) return NULL
;
5052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5053 _resultobj
= Py_BuildValue("s",_ptemp
);
5056 _resultobj
= Py_None
;
5061 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5063 char *_kwnames
[] = { NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) return NULL
;
5074 } Py_INCREF(Py_None
);
5075 _resultobj
= Py_None
;
5079 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
* _resultobj
;
5081 char *_kwnames
[] = { NULL
};
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) return NULL
;
5092 } Py_INCREF(Py_None
);
5093 _resultobj
= Py_None
;
5097 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5099 bool _arg0
= (bool ) TRUE
;
5100 int tempbool0
= (int) TRUE
;
5101 char *_kwnames
[] = { "bVerbose", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
5106 _arg0
= (bool ) tempbool0
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 wxLog::SetVerbose(_arg0
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) return NULL
;
5113 } Py_INCREF(Py_None
);
5114 _resultobj
= Py_None
;
5118 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5120 char *_kwnames
[] = { NULL
};
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxLog::DontCreateOnDemand();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5131 } Py_INCREF(Py_None
);
5132 _resultobj
= Py_None
;
5136 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5139 char *_kwnames
[] = { "ulMask", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 wxLog::SetTraceMask(_arg0
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) return NULL
;
5150 } Py_INCREF(Py_None
);
5151 _resultobj
= Py_None
;
5155 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5158 PyObject
* _obj0
= 0;
5159 char *_kwnames
[] = { "str", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5165 _arg0
= wxString_in_helper(_obj0
);
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 wxLog::AddTraceMask(*_arg0
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) return NULL
;
5175 } Py_INCREF(Py_None
);
5176 _resultobj
= Py_None
;
5184 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5187 PyObject
* _obj0
= 0;
5188 char *_kwnames
[] = { "str", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5194 _arg0
= wxString_in_helper(_obj0
);
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 wxLog::RemoveTraceMask(*_arg0
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) return NULL
;
5204 } Py_INCREF(Py_None
);
5205 _resultobj
= Py_None
;
5213 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5215 char *_kwnames
[] = { NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 wxLog::ClearTraceMasks();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) return NULL
;
5226 } Py_INCREF(Py_None
);
5227 _resultobj
= Py_None
;
5231 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5233 wxArrayString
* _result
;
5234 char *_kwnames
[] = { NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5243 _result
= (wxArrayString
*) &_result_ref
;
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5249 _resultobj
= Py_BuildValue("s",_ptemp
);
5252 _resultobj
= Py_None
;
5257 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
* _resultobj
;
5260 PyObject
* _obj0
= 0;
5261 char *_kwnames
[] = { "ts", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5267 _arg0
= wxString_in_helper(_obj0
);
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 wxLog::SetTimestamp(*_arg0
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) return NULL
;
5277 } Py_INCREF(Py_None
);
5278 _resultobj
= Py_None
;
5286 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
* _resultobj
;
5289 char *_kwnames
[] = { NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 const wxString
& _result_ref
= wxLog::GetTimestamp();
5297 _result
= (wxString
*) &_result_ref
;
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) return NULL
;
5303 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5305 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5311 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5312 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 _result
= (bool )wxLog_GetVerbose(_arg0
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5335 } _resultobj
= Py_BuildValue("i",_result
);
5339 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5341 unsigned long _result
;
5342 char *_kwnames
[] = { NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 _result
= (unsigned long )wxLog::GetTraceMask();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) return NULL
;
5353 } _resultobj
= Py_BuildValue("l",_result
);
5357 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5361 PyObject
* _obj0
= 0;
5362 char *_kwnames
[] = { "mask", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5368 _arg0
= wxString_in_helper(_obj0
);
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) return NULL
;
5378 } _resultobj
= Py_BuildValue("i",_result
);
5386 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
* _resultobj
;
5388 unsigned long _arg0
;
5389 char *_kwnames
[] = { "logLevel", NULL
};
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 wxLog::SetLogLevel(_arg0
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) return NULL
;
5400 } Py_INCREF(Py_None
);
5401 _resultobj
= Py_None
;
5405 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
* _resultobj
;
5407 unsigned long _result
;
5408 char *_kwnames
[] = { NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 _result
= (unsigned long )wxLog::GetLogLevel();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) return NULL
;
5419 } _resultobj
= Py_BuildValue("l",_result
);
5423 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5425 wxLog::TimeStamp(&msg
);
5428 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5432 PyObject
* _argo0
= 0;
5433 char *_kwnames
[] = { "self", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) return NULL
;
5453 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5455 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5464 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5467 src
= (wxLogStderr
*) ptr
;
5468 dest
= (wxLog
*) src
;
5469 return (void *) dest
;
5472 #define new_wxLogStderr() (new wxLogStderr())
5473 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5475 wxLogStderr
* _result
;
5476 char *_kwnames
[] = { NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 _result
= (wxLogStderr
*)new_wxLogStderr();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) return NULL
;
5489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5490 _resultobj
= Py_BuildValue("s",_ptemp
);
5493 _resultobj
= Py_None
;
5498 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5501 src
= (wxLogTextCtrl
*) ptr
;
5502 dest
= (wxLog
*) src
;
5503 return (void *) dest
;
5506 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5507 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5509 wxLogTextCtrl
* _result
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "pTextCtrl", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5533 _resultobj
= Py_BuildValue("s",_ptemp
);
5536 _resultobj
= Py_None
;
5541 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5544 src
= (wxLogGui
*) ptr
;
5545 dest
= (wxLog
*) src
;
5546 return (void *) dest
;
5549 #define new_wxLogGui() (new wxLogGui())
5550 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
* _resultobj
;
5553 char *_kwnames
[] = { NULL
};
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 _result
= (wxLogGui
*)new_wxLogGui();
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5567 _resultobj
= Py_BuildValue("s",_ptemp
);
5570 _resultobj
= Py_None
;
5575 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5578 src
= (wxLogWindow
*) ptr
;
5579 dest
= (wxLog
*) src
;
5580 return (void *) dest
;
5583 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5584 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5586 wxLogWindow
* _result
;
5589 bool _arg2
= (bool ) TRUE
;
5590 bool _arg3
= (bool ) TRUE
;
5591 PyObject
* _argo0
= 0;
5592 PyObject
* _obj1
= 0;
5593 int tempbool2
= (int) TRUE
;
5594 int tempbool3
= (int) TRUE
;
5595 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5609 _arg1
= wxString_in_helper(_obj1
);
5613 _arg2
= (bool ) tempbool2
;
5614 _arg3
= (bool ) tempbool3
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) return NULL
;
5622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5623 _resultobj
= Py_BuildValue("s",_ptemp
);
5626 _resultobj
= Py_None
;
5635 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5636 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5638 wxLogWindow
* _arg0
;
5639 bool _arg1
= (bool ) TRUE
;
5640 PyObject
* _argo0
= 0;
5641 int tempbool1
= (int) TRUE
;
5642 char *_kwnames
[] = { "self","bShow", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5654 _arg1
= (bool ) tempbool1
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxLogWindow_Show(_arg0
,_arg1
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) return NULL
;
5661 } Py_INCREF(Py_None
);
5662 _resultobj
= Py_None
;
5666 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5667 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 wxLogWindow
* _arg0
;
5671 PyObject
* _argo0
= 0;
5672 char *_kwnames
[] = { "self", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) return NULL
;
5690 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5694 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5695 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5698 wxLogWindow
* _arg0
;
5699 PyObject
* _argo0
= 0;
5700 char *_kwnames
[] = { "self", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) return NULL
;
5720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5721 _resultobj
= Py_BuildValue("s",_ptemp
);
5724 _resultobj
= Py_None
;
5729 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5730 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
* _resultobj
;
5733 wxLogWindow
* _arg0
;
5734 PyObject
* _argo0
= 0;
5735 char *_kwnames
[] = { "self", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) return NULL
;
5753 } _resultobj
= Py_BuildValue("i",_result
);
5757 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5758 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5760 wxLogWindow
* _arg0
;
5762 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self","bDoPass", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5776 _arg1
= (bool ) tempbool1
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 wxLogWindow_PassMessages(_arg0
,_arg1
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) return NULL
;
5783 } Py_INCREF(Py_None
);
5784 _resultobj
= Py_None
;
5788 static void *SwigwxLogChainTowxLog(void *ptr
) {
5791 src
= (wxLogChain
*) ptr
;
5792 dest
= (wxLog
*) src
;
5793 return (void *) dest
;
5796 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5797 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5799 wxLogChain
* _result
;
5801 PyObject
* _argo0
= 0;
5802 char *_kwnames
[] = { "logger", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) return NULL
;
5822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5823 _resultobj
= Py_BuildValue("s",_ptemp
);
5826 _resultobj
= Py_None
;
5831 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5832 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5836 PyObject
* _argo0
= 0;
5837 PyObject
* _argo1
= 0;
5838 char *_kwnames
[] = { "self","logger", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 wxLogChain_SetLog(_arg0
,_arg1
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) return NULL
;
5863 } Py_INCREF(Py_None
);
5864 _resultobj
= Py_None
;
5868 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5869 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5873 PyObject
* _argo0
= 0;
5875 char *_kwnames
[] = { "self","bDoPass", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5887 _arg1
= (bool ) tempbool1
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxLogChain_PassMessages(_arg0
,_arg1
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) return NULL
;
5894 } Py_INCREF(Py_None
);
5895 _resultobj
= Py_None
;
5899 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5900 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) return NULL
;
5923 } _resultobj
= Py_BuildValue("i",_result
);
5927 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5928 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5932 PyObject
* _argo0
= 0;
5933 char *_kwnames
[] = { "self", NULL
};
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) return NULL
;
5953 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5954 _resultobj
= Py_BuildValue("s",_ptemp
);
5957 _resultobj
= Py_None
;
5962 #define new_wxLogNull() (new wxLogNull())
5963 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
* _resultobj
;
5965 wxLogNull
* _result
;
5966 char *_kwnames
[] = { NULL
};
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 _result
= (wxLogNull
*)new_wxLogNull();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) return NULL
;
5979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5980 _resultobj
= Py_BuildValue("s",_ptemp
);
5983 _resultobj
= Py_None
;
5988 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5989 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5992 PyObject
* _argo0
= 0;
5993 char *_kwnames
[] = { "self", NULL
};
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 delete_wxLogNull(_arg0
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) return NULL
;
6011 } Py_INCREF(Py_None
);
6012 _resultobj
= Py_None
;
6016 static void *SwigwxPyLogTowxLog(void *ptr
) {
6019 src
= (wxPyLog
*) ptr
;
6020 dest
= (wxLog
*) src
;
6021 return (void *) dest
;
6024 #define new_wxPyLog() (new wxPyLog())
6025 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
* _resultobj
;
6028 char *_kwnames
[] = { NULL
};
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 _result
= (wxPyLog
*)new_wxPyLog();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) return NULL
;
6041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
6042 _resultobj
= Py_BuildValue("s",_ptemp
);
6045 _resultobj
= Py_None
;
6050 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6051 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
* _resultobj
;
6056 PyObject
* _argo0
= 0;
6057 PyObject
* _obj1
= 0;
6058 PyObject
* _obj2
= 0;
6059 char *_kwnames
[] = { "self","self","_class", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) return NULL
;
6083 } Py_INCREF(Py_None
);
6084 _resultobj
= Py_None
;
6088 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
6089 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "self", NULL
};
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
6099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 wxPyLog_Destroy(_arg0
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) return NULL
;
6111 } Py_INCREF(Py_None
);
6112 _resultobj
= Py_None
;
6116 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
6117 wxProcessEvent
*src
;
6119 src
= (wxProcessEvent
*) ptr
;
6120 dest
= (wxEvent
*) src
;
6121 return (void *) dest
;
6124 static void *SwigwxProcessEventTowxObject(void *ptr
) {
6125 wxProcessEvent
*src
;
6127 src
= (wxProcessEvent
*) ptr
;
6128 dest
= (wxObject
*) src
;
6129 return (void *) dest
;
6132 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
6133 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
* _resultobj
;
6135 wxProcessEvent
* _result
;
6136 int _arg0
= (int ) 0;
6137 int _arg1
= (int ) 0;
6138 int _arg2
= (int ) 0;
6139 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) return NULL
;
6152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
6153 _resultobj
= Py_BuildValue("s",_ptemp
);
6156 _resultobj
= Py_None
;
6161 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
6162 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
* _resultobj
;
6165 wxProcessEvent
* _arg0
;
6166 PyObject
* _argo0
= 0;
6167 char *_kwnames
[] = { "self", NULL
};
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
6173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 _result
= (int )wxProcessEvent_GetPid(_arg0
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) return NULL
;
6185 } _resultobj
= Py_BuildValue("i",_result
);
6189 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6190 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
* _resultobj
;
6193 wxProcessEvent
* _arg0
;
6194 PyObject
* _argo0
= 0;
6195 char *_kwnames
[] = { "self", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) return NULL
;
6213 } _resultobj
= Py_BuildValue("i",_result
);
6217 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6218 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6221 wxProcessEvent
* _arg0
;
6223 PyObject
* _argo0
= 0;
6224 char *_kwnames
[] = { "self","m_pid", NULL
};
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) return NULL
;
6242 } _resultobj
= Py_BuildValue("i",_result
);
6246 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6247 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
* _resultobj
;
6250 wxProcessEvent
* _arg0
;
6251 PyObject
* _argo0
= 0;
6252 char *_kwnames
[] = { "self", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) return NULL
;
6270 } _resultobj
= Py_BuildValue("i",_result
);
6274 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6275 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
* _resultobj
;
6278 wxProcessEvent
* _arg0
;
6280 PyObject
* _argo0
= 0;
6281 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) return NULL
;
6299 } _resultobj
= Py_BuildValue("i",_result
);
6303 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6304 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6307 wxProcessEvent
* _arg0
;
6308 PyObject
* _argo0
= 0;
6309 char *_kwnames
[] = { "self", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) return NULL
;
6327 } _resultobj
= Py_BuildValue("i",_result
);
6331 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6334 src
= (wxPyProcess
*) ptr
;
6335 dest
= (wxEvtHandler
*) src
;
6336 return (void *) dest
;
6339 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6342 src
= (wxPyProcess
*) ptr
;
6343 dest
= (wxObject
*) src
;
6344 return (void *) dest
;
6347 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxKillError _result
;
6351 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6352 char *_kwnames
[] = { "pid","sig", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) return NULL
;
6363 } _resultobj
= Py_BuildValue("i",_result
);
6367 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
* _resultobj
;
6371 char *_kwnames
[] = { "pid", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 _result
= (bool )wxPyProcess::Exists(_arg0
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) return NULL
;
6382 } _resultobj
= Py_BuildValue("i",_result
);
6386 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6388 wxPyProcess
* _result
;
6390 int _arg1
= (int ) wxEXEC_ASYNC
;
6391 PyObject
* _obj0
= 0;
6392 char *_kwnames
[] = { "cmd","flags", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6399 _arg0
= wxString_in_helper(_obj0
);
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) return NULL
;
6410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6411 _resultobj
= Py_BuildValue("s",_ptemp
);
6414 _resultobj
= Py_None
;
6423 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6424 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
* _resultobj
;
6426 wxPyProcess
* _result
;
6427 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6428 int _arg1
= (int ) -1;
6429 PyObject
* _argo0
= 0;
6430 char *_kwnames
[] = { "parent","id", NULL
};
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) return NULL
;
6450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6451 _resultobj
= Py_BuildValue("s",_ptemp
);
6454 _resultobj
= Py_None
;
6459 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6460 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6462 wxPyProcess
* _arg0
;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 wxPyProcess_Destroy(_arg0
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) return NULL
;
6482 } Py_INCREF(Py_None
);
6483 _resultobj
= Py_None
;
6487 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6488 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6490 wxPyProcess
* _arg0
;
6493 PyObject
* _argo0
= 0;
6494 PyObject
* _obj1
= 0;
6495 PyObject
* _obj2
= 0;
6496 char *_kwnames
[] = { "self","self","_class", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) return NULL
;
6520 } Py_INCREF(Py_None
);
6521 _resultobj
= Py_None
;
6525 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6526 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6528 wxPyProcess
* _arg0
;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self","pid","status", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) return NULL
;
6550 } Py_INCREF(Py_None
);
6551 _resultobj
= Py_None
;
6555 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6556 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6558 wxPyProcess
* _arg0
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 wxProcess_Redirect(_arg0
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) return NULL
;
6578 } Py_INCREF(Py_None
);
6579 _resultobj
= Py_None
;
6583 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6584 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
* _resultobj
;
6587 wxPyProcess
* _arg0
;
6588 PyObject
* _argo0
= 0;
6589 char *_kwnames
[] = { "self", NULL
};
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) return NULL
;
6607 } _resultobj
= Py_BuildValue("i",_result
);
6611 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6612 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
* _resultobj
;
6614 wxPyProcess
* _arg0
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 wxProcess_Detach(_arg0
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6634 } Py_INCREF(Py_None
);
6635 _resultobj
= Py_None
;
6639 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6640 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
* _resultobj
;
6642 wxInputStream
* _result
;
6643 wxPyProcess
* _arg0
;
6644 PyObject
* _argo0
= 0;
6645 char *_kwnames
[] = { "self", NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) return NULL
;
6664 wxPyInputStream
* _ptr
= NULL
;
6667 _ptr
= new wxPyInputStream(_result
);
6669 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6674 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6675 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
* _resultobj
;
6677 wxInputStream
* _result
;
6678 wxPyProcess
* _arg0
;
6679 PyObject
* _argo0
= 0;
6680 char *_kwnames
[] = { "self", NULL
};
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) return NULL
;
6699 wxPyInputStream
* _ptr
= NULL
;
6702 _ptr
= new wxPyInputStream(_result
);
6704 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6709 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6710 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6712 wxOutputStream
* _result
;
6713 wxPyProcess
* _arg0
;
6714 PyObject
* _argo0
= 0;
6715 char *_kwnames
[] = { "self", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) return NULL
;
6735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6736 _resultobj
= Py_BuildValue("s",_ptemp
);
6739 _resultobj
= Py_None
;
6744 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6745 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6747 wxPyProcess
* _arg0
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 wxProcess_CloseOutput(_arg0
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) return NULL
;
6767 } Py_INCREF(Py_None
);
6768 _resultobj
= Py_None
;
6772 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6773 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
* _resultobj
;
6776 wxPyProcess
* _arg0
;
6777 PyObject
* _argo0
= 0;
6778 char *_kwnames
[] = { "self", NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) return NULL
;
6796 } _resultobj
= Py_BuildValue("i",_result
);
6800 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6801 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
* _resultobj
;
6804 wxPyProcess
* _arg0
;
6805 PyObject
* _argo0
= 0;
6806 char *_kwnames
[] = { "self", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) return NULL
;
6824 } _resultobj
= Py_BuildValue("i",_result
);
6828 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6829 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
* _resultobj
;
6832 wxPyProcess
* _arg0
;
6833 PyObject
* _argo0
= 0;
6834 char *_kwnames
[] = { "self", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) return NULL
;
6852 } _resultobj
= Py_BuildValue("i",_result
);
6856 static void *SwigwxJoystickTowxObject(void *ptr
) {
6859 src
= (wxJoystick
*) ptr
;
6860 dest
= (wxObject
*) src
;
6861 return (void *) dest
;
6864 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6865 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6867 wxJoystick
* _result
;
6868 int _arg0
= (int ) (wxJOYSTICK1
);
6869 char *_kwnames
[] = { "joystick", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6883 _resultobj
= Py_BuildValue("s",_ptemp
);
6886 _resultobj
= Py_None
;
6891 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6892 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
* _resultobj
;
6895 PyObject
* _argo0
= 0;
6896 char *_kwnames
[] = { "self", NULL
};
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 delete_wxJoystick(_arg0
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6914 } Py_INCREF(Py_None
);
6915 _resultobj
= Py_None
;
6919 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6920 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
* _resultobj
;
6924 PyObject
* _argo0
= 0;
6925 char *_kwnames
[] = { "self", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) return NULL
;
6944 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6945 _resultobj
= Py_BuildValue("s",_ptemp
);
6949 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6950 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6954 PyObject
* _argo0
= 0;
6955 char *_kwnames
[] = { "self", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) return NULL
;
6973 } _resultobj
= Py_BuildValue("i",_result
);
6977 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6978 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
* _resultobj
;
6982 PyObject
* _argo0
= 0;
6983 char *_kwnames
[] = { "self", NULL
};
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) return NULL
;
7001 } _resultobj
= Py_BuildValue("i",_result
);
7005 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
7006 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 char *_kwnames
[] = { "self", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) return NULL
;
7029 } _resultobj
= Py_BuildValue("i",_result
);
7033 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
7034 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 char *_kwnames
[] = { "self", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) return NULL
;
7057 } _resultobj
= Py_BuildValue("i",_result
);
7061 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
7062 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
* _resultobj
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) return NULL
;
7085 } _resultobj
= Py_BuildValue("i",_result
);
7089 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
7090 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7094 PyObject
* _argo0
= 0;
7095 char *_kwnames
[] = { "self", NULL
};
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
7101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 _result
= (int )wxJoystick_GetUPosition(_arg0
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) return NULL
;
7113 } _resultobj
= Py_BuildValue("i",_result
);
7117 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
7118 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7122 PyObject
* _argo0
= 0;
7123 char *_kwnames
[] = { "self", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 _result
= (int )wxJoystick_GetVPosition(_arg0
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) return NULL
;
7141 } _resultobj
= Py_BuildValue("i",_result
);
7145 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
7146 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
* _resultobj
;
7150 PyObject
* _argo0
= 0;
7151 char *_kwnames
[] = { "self", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) return NULL
;
7169 } _resultobj
= Py_BuildValue("i",_result
);
7173 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
7174 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 char *_kwnames
[] = { "self","threshold", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
7185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) return NULL
;
7197 } Py_INCREF(Py_None
);
7198 _resultobj
= Py_None
;
7202 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7203 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 _result
= (bool )wxJoystick_IsOk(_arg0
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7226 } _resultobj
= Py_BuildValue("i",_result
);
7230 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7231 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
* _resultobj
;
7235 PyObject
* _argo0
= 0;
7236 char *_kwnames
[] = { "self", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } _resultobj
= Py_BuildValue("i",_result
);
7258 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7259 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7263 PyObject
* _argo0
= 0;
7264 char *_kwnames
[] = { "self", NULL
};
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) return NULL
;
7282 } _resultobj
= Py_BuildValue("i",_result
);
7286 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7287 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7291 PyObject
* _argo0
= 0;
7292 char *_kwnames
[] = { "self", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 _result
= (int )wxJoystick_GetProductId(_arg0
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) return NULL
;
7310 } _resultobj
= Py_BuildValue("i",_result
);
7314 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7315 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7340 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7351 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7352 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
* _resultobj
;
7356 PyObject
* _argo0
= 0;
7357 char *_kwnames
[] = { "self", NULL
};
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 _result
= (int )wxJoystick_GetXMin(_arg0
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) return NULL
;
7375 } _resultobj
= Py_BuildValue("i",_result
);
7379 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7380 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
* _resultobj
;
7384 PyObject
* _argo0
= 0;
7385 char *_kwnames
[] = { "self", NULL
};
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 _result
= (int )wxJoystick_GetYMin(_arg0
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) return NULL
;
7403 } _resultobj
= Py_BuildValue("i",_result
);
7407 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7408 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
* _resultobj
;
7412 PyObject
* _argo0
= 0;
7413 char *_kwnames
[] = { "self", NULL
};
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 _result
= (int )wxJoystick_GetZMin(_arg0
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) return NULL
;
7431 } _resultobj
= Py_BuildValue("i",_result
);
7435 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7436 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
* _resultobj
;
7440 PyObject
* _argo0
= 0;
7441 char *_kwnames
[] = { "self", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 _result
= (int )wxJoystick_GetXMax(_arg0
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) return NULL
;
7459 } _resultobj
= Py_BuildValue("i",_result
);
7463 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7464 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
* _resultobj
;
7468 PyObject
* _argo0
= 0;
7469 char *_kwnames
[] = { "self", NULL
};
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 _result
= (int )wxJoystick_GetYMax(_arg0
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) return NULL
;
7487 } _resultobj
= Py_BuildValue("i",_result
);
7491 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7492 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
* _resultobj
;
7496 PyObject
* _argo0
= 0;
7497 char *_kwnames
[] = { "self", NULL
};
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 _result
= (int )wxJoystick_GetZMax(_arg0
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) return NULL
;
7515 } _resultobj
= Py_BuildValue("i",_result
);
7519 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7520 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
* _resultobj
;
7524 PyObject
* _argo0
= 0;
7525 char *_kwnames
[] = { "self", NULL
};
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) return NULL
;
7543 } _resultobj
= Py_BuildValue("i",_result
);
7547 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7548 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
* _resultobj
;
7552 PyObject
* _argo0
= 0;
7553 char *_kwnames
[] = { "self", NULL
};
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) return NULL
;
7571 } _resultobj
= Py_BuildValue("i",_result
);
7575 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7576 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
* _resultobj
;
7580 PyObject
* _argo0
= 0;
7581 char *_kwnames
[] = { "self", NULL
};
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) return NULL
;
7599 } _resultobj
= Py_BuildValue("i",_result
);
7603 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7604 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7608 PyObject
* _argo0
= 0;
7609 char *_kwnames
[] = { "self", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) return NULL
;
7627 } _resultobj
= Py_BuildValue("i",_result
);
7631 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7632 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
* _resultobj
;
7636 PyObject
* _argo0
= 0;
7637 char *_kwnames
[] = { "self", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) return NULL
;
7655 } _resultobj
= Py_BuildValue("i",_result
);
7659 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7660 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
* _resultobj
;
7664 PyObject
* _argo0
= 0;
7665 char *_kwnames
[] = { "self", NULL
};
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) return NULL
;
7683 } _resultobj
= Py_BuildValue("i",_result
);
7687 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7688 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
* _resultobj
;
7692 PyObject
* _argo0
= 0;
7693 char *_kwnames
[] = { "self", NULL
};
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) return NULL
;
7711 } _resultobj
= Py_BuildValue("i",_result
);
7715 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7716 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
* _resultobj
;
7720 PyObject
* _argo0
= 0;
7721 char *_kwnames
[] = { "self", NULL
};
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) return NULL
;
7739 } _resultobj
= Py_BuildValue("i",_result
);
7743 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7744 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
* _resultobj
;
7748 PyObject
* _argo0
= 0;
7749 char *_kwnames
[] = { "self", NULL
};
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 _result
= (int )wxJoystick_GetUMin(_arg0
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) return NULL
;
7767 } _resultobj
= Py_BuildValue("i",_result
);
7771 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7772 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
* _resultobj
;
7776 PyObject
* _argo0
= 0;
7777 char *_kwnames
[] = { "self", NULL
};
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7791 _result
= (int )wxJoystick_GetUMax(_arg0
);
7793 wxPyEndAllowThreads(__tstate
);
7794 if (PyErr_Occurred()) return NULL
;
7795 } _resultobj
= Py_BuildValue("i",_result
);
7799 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7800 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
* _resultobj
;
7804 PyObject
* _argo0
= 0;
7805 char *_kwnames
[] = { "self", NULL
};
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 _result
= (int )wxJoystick_GetVMin(_arg0
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) return NULL
;
7823 } _resultobj
= Py_BuildValue("i",_result
);
7827 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7828 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
* _resultobj
;
7832 PyObject
* _argo0
= 0;
7833 char *_kwnames
[] = { "self", NULL
};
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 _result
= (int )wxJoystick_GetVMax(_arg0
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) return NULL
;
7851 } _resultobj
= Py_BuildValue("i",_result
);
7855 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7856 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7860 PyObject
* _argo0
= 0;
7861 char *_kwnames
[] = { "self", NULL
};
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) return NULL
;
7879 } _resultobj
= Py_BuildValue("i",_result
);
7883 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7884 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
* _resultobj
;
7888 PyObject
* _argo0
= 0;
7889 char *_kwnames
[] = { "self", NULL
};
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 _result
= (bool )wxJoystick_HasZ(_arg0
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) return NULL
;
7907 } _resultobj
= Py_BuildValue("i",_result
);
7911 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7912 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
* _resultobj
;
7916 PyObject
* _argo0
= 0;
7917 char *_kwnames
[] = { "self", NULL
};
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 _result
= (bool )wxJoystick_HasU(_arg0
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) return NULL
;
7935 } _resultobj
= Py_BuildValue("i",_result
);
7939 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7940 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7944 PyObject
* _argo0
= 0;
7945 char *_kwnames
[] = { "self", NULL
};
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 _result
= (bool )wxJoystick_HasV(_arg0
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) return NULL
;
7963 } _resultobj
= Py_BuildValue("i",_result
);
7967 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7968 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
* _resultobj
;
7972 PyObject
* _argo0
= 0;
7973 char *_kwnames
[] = { "self", NULL
};
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) return NULL
;
7991 } _resultobj
= Py_BuildValue("i",_result
);
7995 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7996 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
* _resultobj
;
8000 PyObject
* _argo0
= 0;
8001 char *_kwnames
[] = { "self", NULL
};
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
8007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) return NULL
;
8019 } _resultobj
= Py_BuildValue("i",_result
);
8023 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
8024 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
* _resultobj
;
8028 PyObject
* _argo0
= 0;
8029 char *_kwnames
[] = { "self", NULL
};
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
8035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) return NULL
;
8047 } _resultobj
= Py_BuildValue("i",_result
);
8051 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
8052 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8057 int _arg2
= (int ) 0;
8058 PyObject
* _argo0
= 0;
8059 PyObject
* _argo1
= 0;
8060 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
8066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
8073 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8074 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) return NULL
;
8085 } _resultobj
= Py_BuildValue("i",_result
);
8089 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
8090 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
* _resultobj
;
8094 PyObject
* _argo0
= 0;
8095 char *_kwnames
[] = { "self", NULL
};
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
8101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) return NULL
;
8113 } _resultobj
= Py_BuildValue("i",_result
);
8117 static void *SwigwxWaveTowxObject(void *ptr
) {
8120 src
= (wxWave
*) ptr
;
8121 dest
= (wxObject
*) src
;
8122 return (void *) dest
;
8125 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
8126 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
* _resultobj
;
8130 bool _arg1
= (bool ) FALSE
;
8131 PyObject
* _obj0
= 0;
8132 int tempbool1
= (int) FALSE
;
8133 char *_kwnames
[] = { "fileName","isResource", NULL
};
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
8140 _arg0
= wxString_in_helper(_obj0
);
8144 _arg1
= (bool ) tempbool1
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) return NULL
;
8152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
8153 _resultobj
= Py_BuildValue("s",_ptemp
);
8156 _resultobj
= Py_None
;
8165 #define delete_wxWave(_swigobj) (delete _swigobj)
8166 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
* _resultobj
;
8169 PyObject
* _argo0
= 0;
8170 char *_kwnames
[] = { "self", NULL
};
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
8176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 delete_wxWave(_arg0
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) return NULL
;
8188 } Py_INCREF(Py_None
);
8189 _resultobj
= Py_None
;
8193 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8194 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
* _resultobj
;
8198 PyObject
* _argo0
= 0;
8199 char *_kwnames
[] = { "self", NULL
};
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 _result
= (bool )wxWave_IsOk(_arg0
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) return NULL
;
8217 } _resultobj
= Py_BuildValue("i",_result
);
8221 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8222 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
* _resultobj
;
8226 bool _arg1
= (bool ) TRUE
;
8227 bool _arg2
= (bool ) FALSE
;
8228 PyObject
* _argo0
= 0;
8229 int tempbool1
= (int) TRUE
;
8230 int tempbool2
= (int) FALSE
;
8231 char *_kwnames
[] = { "self","async","looped", NULL
};
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8243 _arg1
= (bool ) tempbool1
;
8244 _arg2
= (bool ) tempbool2
;
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) return NULL
;
8251 } _resultobj
= Py_BuildValue("i",_result
);
8255 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8256 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
* _resultobj
;
8258 wxFileTypeInfo
* _result
;
8263 PyObject
* _obj0
= 0;
8264 PyObject
* _obj1
= 0;
8265 PyObject
* _obj2
= 0;
8266 PyObject
* _obj3
= 0;
8267 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
8274 _arg0
= wxString_in_helper(_obj0
);
8279 _arg1
= wxString_in_helper(_obj1
);
8284 _arg2
= wxString_in_helper(_obj2
);
8289 _arg3
= wxString_in_helper(_obj3
);
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) return NULL
;
8300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8301 _resultobj
= Py_BuildValue("s",_ptemp
);
8304 _resultobj
= Py_None
;
8325 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8326 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
* _resultobj
;
8328 wxFileTypeInfo
* _result
;
8329 wxArrayString
* _arg0
;
8330 PyObject
* _obj0
= 0;
8331 char *_kwnames
[] = { "sArray", NULL
};
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8338 if (! PySequence_Check(_obj0
)) {
8339 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8342 _arg0
= new wxArrayString
;
8343 int i
, len
=PySequence_Length(_obj0
);
8344 for (i
=0; i
<len
; i
++) {
8345 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8347 PyObject
* str
= PyObject_Unicode(item
);
8349 PyObject
* str
= PyObject_Str(item
);
8351 _arg0
->Add(Py2wxString(str
));
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) return NULL
;
8363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8364 _resultobj
= Py_BuildValue("s",_ptemp
);
8367 _resultobj
= Py_None
;
8376 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8377 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
* _resultobj
;
8379 wxFileTypeInfo
* _result
;
8380 char *_kwnames
[] = { NULL
};
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) return NULL
;
8393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8394 _resultobj
= Py_BuildValue("s",_ptemp
);
8397 _resultobj
= Py_None
;
8402 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8403 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
* _resultobj
;
8406 wxFileTypeInfo
* _arg0
;
8407 PyObject
* _argo0
= 0;
8408 char *_kwnames
[] = { "self", NULL
};
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) return NULL
;
8426 } _resultobj
= Py_BuildValue("i",_result
);
8430 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8431 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8433 wxFileTypeInfo
* _arg0
;
8435 int _arg2
= (int ) 0;
8436 PyObject
* _argo0
= 0;
8437 PyObject
* _obj1
= 0;
8438 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8451 _arg1
= wxString_in_helper(_obj1
);
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) return NULL
;
8461 } Py_INCREF(Py_None
);
8462 _resultobj
= Py_None
;
8470 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8471 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8473 wxFileTypeInfo
* _arg0
;
8475 PyObject
* _argo0
= 0;
8476 PyObject
* _obj1
= 0;
8477 char *_kwnames
[] = { "self","shortDesc", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8490 _arg1
= wxString_in_helper(_obj1
);
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) return NULL
;
8500 } Py_INCREF(Py_None
);
8501 _resultobj
= Py_None
;
8509 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8510 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
* _resultobj
;
8513 wxFileTypeInfo
* _arg0
;
8514 PyObject
* _argo0
= 0;
8515 char *_kwnames
[] = { "self", NULL
};
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8530 _result
= (wxString
*) &_result_ref
;
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) return NULL
;
8536 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8538 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8544 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8545 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
* _resultobj
;
8548 wxFileTypeInfo
* _arg0
;
8549 PyObject
* _argo0
= 0;
8550 char *_kwnames
[] = { "self", NULL
};
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8565 _result
= (wxString
*) &_result_ref
;
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) return NULL
;
8571 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8573 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8579 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8580 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
* _resultobj
;
8583 wxFileTypeInfo
* _arg0
;
8584 PyObject
* _argo0
= 0;
8585 char *_kwnames
[] = { "self", NULL
};
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8600 _result
= (wxString
*) &_result_ref
;
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) return NULL
;
8606 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8608 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8614 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8615 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
* _resultobj
;
8618 wxFileTypeInfo
* _arg0
;
8619 PyObject
* _argo0
= 0;
8620 char *_kwnames
[] = { "self", NULL
};
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8635 _result
= (wxString
*) &_result_ref
;
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) return NULL
;
8641 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8649 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8650 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
* _resultobj
;
8653 wxFileTypeInfo
* _arg0
;
8654 PyObject
* _argo0
= 0;
8655 char *_kwnames
[] = { "self", NULL
};
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8670 _result
= (wxString
*) &_result_ref
;
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) return NULL
;
8676 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8678 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8684 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8685 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8686 return wxArrayString2PyList_helper(arr
);
8688 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
* _resultobj
;
8691 wxFileTypeInfo
* _arg0
;
8692 PyObject
* _argo0
= 0;
8693 char *_kwnames
[] = { "self", NULL
};
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) return NULL
;
8712 _resultobj
= _result
;
8717 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8718 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
* _resultobj
;
8721 wxFileTypeInfo
* _arg0
;
8722 PyObject
* _argo0
= 0;
8723 char *_kwnames
[] = { "self", NULL
};
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) return NULL
;
8741 } _resultobj
= Py_BuildValue("i",_result
);
8745 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8746 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
* _resultobj
;
8749 wxFileTypeInfo
* _arg0
;
8750 PyObject
* _argo0
= 0;
8751 char *_kwnames
[] = { "self", NULL
};
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8766 _result
= (wxString
*) &_result_ref
;
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) return NULL
;
8772 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8774 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8780 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8781 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
* _resultobj
;
8784 wxFileTypeInfo
* _arg0
;
8785 PyObject
* _argo0
= 0;
8786 char *_kwnames
[] = { "self", NULL
};
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) return NULL
;
8804 } _resultobj
= Py_BuildValue("i",_result
);
8808 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8809 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
* _resultobj
;
8811 wxFileType
* _result
;
8812 wxFileTypeInfo
* _arg0
;
8813 PyObject
* _argo0
= 0;
8814 char *_kwnames
[] = { "ftInfo", NULL
};
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8821 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) return NULL
;
8833 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8834 _resultobj
= Py_BuildValue("s",_ptemp
);
8837 _resultobj
= Py_None
;
8842 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8844 if (self
->GetMimeType(&str
)) {
8846 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8848 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8854 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
* _resultobj
;
8858 PyObject
* _argo0
= 0;
8859 char *_kwnames
[] = { "self", NULL
};
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) return NULL
;
8878 _resultobj
= _result
;
8883 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8885 if (self
->GetMimeTypes(arr
))
8886 return wxArrayString2PyList_helper(arr
);
8890 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
* _resultobj
;
8894 PyObject
* _argo0
= 0;
8895 char *_kwnames
[] = { "self", NULL
};
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) return NULL
;
8914 _resultobj
= _result
;
8919 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8921 if (self
->GetExtensions(arr
))
8922 return wxArrayString2PyList_helper(arr
);
8926 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
* _resultobj
;
8930 PyObject
* _argo0
= 0;
8931 char *_kwnames
[] = { "self", NULL
};
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) return NULL
;
8950 _resultobj
= _result
;
8955 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8957 if (self
->GetIcon(&loc
))
8958 return new wxIcon(loc
);
8962 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
* _resultobj
;
8966 PyObject
* _argo0
= 0;
8967 char *_kwnames
[] = { "self", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8988 _resultobj
= Py_BuildValue("s",_ptemp
);
8991 _resultobj
= Py_None
;
8996 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8998 if (self
->GetIcon(&loc
)) {
8999 wxString iconFile
= loc
.GetFileName();
9002 iconIndex
= loc
.GetIndex();
9004 // Make a tuple and put the values in it
9005 wxPyBeginBlockThreads();
9006 PyObject
* tuple
= PyTuple_New(3);
9007 PyTuple_SetItem(tuple
, 0,
9008 wxPyConstructObject(new wxIcon(loc
), wxT("wxIcon"), TRUE
));
9010 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
9012 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
9014 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
9015 wxPyEndBlockThreads();
9021 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
* _resultobj
;
9025 PyObject
* _argo0
= 0;
9026 char *_kwnames
[] = { "self", NULL
};
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
9032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) return NULL
;
9045 _resultobj
= _result
;
9050 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
9052 if (self
->GetDescription(&str
)) {
9054 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9056 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9061 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
* _resultobj
;
9065 PyObject
* _argo0
= 0;
9066 char *_kwnames
[] = { "self", NULL
};
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
9072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) return NULL
;
9085 _resultobj
= _result
;
9090 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9092 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9094 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9096 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9101 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
* _resultobj
;
9106 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9107 PyObject
* _argo0
= 0;
9108 PyObject
* _obj1
= 0;
9109 PyObject
* _obj2
= 0;
9110 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
9123 _arg1
= wxString_in_helper(_obj1
);
9129 _arg2
= wxString_in_helper(_obj2
);
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) return NULL
;
9140 _resultobj
= _result
;
9153 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9155 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
9157 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
9159 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
9164 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
* _resultobj
;
9169 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9170 PyObject
* _argo0
= 0;
9171 PyObject
* _obj1
= 0;
9172 PyObject
* _obj2
= 0;
9173 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
9186 _arg1
= wxString_in_helper(_obj1
);
9192 _arg2
= wxString_in_helper(_obj2
);
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) return NULL
;
9203 _resultobj
= _result
;
9216 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9217 wxArrayString verbs
;
9218 wxArrayString commands
;
9219 if (self
->GetAllCommands(&verbs
, &commands
,
9220 wxFileType::MessageParameters(filename
, mimetype
))) {
9221 wxPyBeginBlockThreads();
9222 PyObject
* tuple
= PyTuple_New(2);
9223 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
9224 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
9225 wxPyEndBlockThreads();
9231 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
* _resultobj
;
9236 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9237 PyObject
* _argo0
= 0;
9238 PyObject
* _obj1
= 0;
9239 PyObject
* _obj2
= 0;
9240 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9253 _arg1
= wxString_in_helper(_obj1
);
9259 _arg2
= wxString_in_helper(_obj2
);
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) return NULL
;
9270 _resultobj
= _result
;
9283 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9284 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
* _resultobj
;
9290 bool _arg3
= (bool ) TRUE
;
9291 PyObject
* _argo0
= 0;
9292 PyObject
* _obj1
= 0;
9293 PyObject
* _obj2
= 0;
9294 int tempbool3
= (int) TRUE
;
9295 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9308 _arg1
= wxString_in_helper(_obj1
);
9313 _arg2
= wxString_in_helper(_obj2
);
9317 _arg3
= (bool ) tempbool3
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) return NULL
;
9324 } _resultobj
= Py_BuildValue("i",_result
);
9336 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9337 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
* _resultobj
;
9341 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9342 int _arg2
= (int ) 0;
9343 PyObject
* _argo0
= 0;
9344 PyObject
* _obj1
= 0;
9345 char *_kwnames
[] = { "self","cmd","index", NULL
};
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9359 _arg1
= wxString_in_helper(_obj1
);
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) return NULL
;
9369 } _resultobj
= Py_BuildValue("i",_result
);
9377 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9378 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
* _resultobj
;
9382 PyObject
* _argo0
= 0;
9383 char *_kwnames
[] = { "self", NULL
};
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 _result
= (bool )wxFileType_Unassociate(_arg0
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) return NULL
;
9401 } _resultobj
= Py_BuildValue("i",_result
);
9405 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
* _resultobj
;
9409 wxFileType::MessageParameters
* _arg1
;
9410 PyObject
* _obj0
= 0;
9411 PyObject
* _argo1
= 0;
9412 char *_kwnames
[] = { "command","params", NULL
};
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9418 _arg0
= wxString_in_helper(_obj0
);
9423 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) return NULL
;
9436 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9438 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9451 #define delete_wxFileType(_swigobj) (delete _swigobj)
9452 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
* _resultobj
;
9455 PyObject
* _argo0
= 0;
9456 char *_kwnames
[] = { "self", NULL
};
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 delete_wxFileType(_arg0
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) return NULL
;
9474 } Py_INCREF(Py_None
);
9475 _resultobj
= Py_None
;
9479 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
* _resultobj
;
9484 PyObject
* _obj0
= 0;
9485 PyObject
* _obj1
= 0;
9486 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9492 _arg0
= wxString_in_helper(_obj0
);
9497 _arg1
= wxString_in_helper(_obj1
);
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) return NULL
;
9507 } _resultobj
= Py_BuildValue("i",_result
);
9519 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9520 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
* _resultobj
;
9522 wxMimeTypesManager
* _result
;
9523 char *_kwnames
[] = { NULL
};
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) return NULL
;
9536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9537 _resultobj
= Py_BuildValue("s",_ptemp
);
9540 _resultobj
= Py_None
;
9545 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9546 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
* _resultobj
;
9548 wxMimeTypesManager
* _arg0
;
9549 int _arg1
= (int ) (wxMAILCAP_ALL
);
9550 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9551 PyObject
* _argo0
= 0;
9552 PyObject
* _obj2
= 0;
9553 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9567 _arg2
= wxString_in_helper(_obj2
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) return NULL
;
9577 } Py_INCREF(Py_None
);
9578 _resultobj
= Py_None
;
9586 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9587 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
* _resultobj
;
9589 wxMimeTypesManager
* _arg0
;
9590 PyObject
* _argo0
= 0;
9591 char *_kwnames
[] = { "self", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 wxMimeTypesManager_ClearData(_arg0
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) return NULL
;
9609 } Py_INCREF(Py_None
);
9610 _resultobj
= Py_None
;
9614 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9615 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
* _resultobj
;
9617 wxFileType
* _result
;
9618 wxMimeTypesManager
* _arg0
;
9620 PyObject
* _argo0
= 0;
9621 PyObject
* _obj1
= 0;
9622 char *_kwnames
[] = { "self","ext", NULL
};
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9636 _arg1
= wxString_in_helper(_obj1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) return NULL
;
9647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9648 _resultobj
= Py_BuildValue("s",_ptemp
);
9651 _resultobj
= Py_None
;
9660 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9661 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
* _resultobj
;
9663 wxFileType
* _result
;
9664 wxMimeTypesManager
* _arg0
;
9666 PyObject
* _argo0
= 0;
9667 PyObject
* _obj1
= 0;
9668 char *_kwnames
[] = { "self","mimeType", NULL
};
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9682 _arg1
= wxString_in_helper(_obj1
);
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) return NULL
;
9693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9694 _resultobj
= Py_BuildValue("s",_ptemp
);
9697 _resultobj
= Py_None
;
9706 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9707 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
* _resultobj
;
9710 wxMimeTypesManager
* _arg0
;
9712 bool _arg2
= (bool ) FALSE
;
9713 PyObject
* _argo0
= 0;
9714 PyObject
* _obj1
= 0;
9715 int tempbool2
= (int) FALSE
;
9716 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9729 _arg1
= wxString_in_helper(_obj1
);
9733 _arg2
= (bool ) tempbool2
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) return NULL
;
9740 } _resultobj
= Py_BuildValue("i",_result
);
9748 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9749 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
* _resultobj
;
9752 wxMimeTypesManager
* _arg0
;
9754 PyObject
* _argo0
= 0;
9755 PyObject
* _obj1
= 0;
9756 char *_kwnames
[] = { "self","filename", NULL
};
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9769 _arg1
= wxString_in_helper(_obj1
);
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) return NULL
;
9779 } _resultobj
= Py_BuildValue("i",_result
);
9787 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9789 self
->EnumAllFileTypes(arr
);
9790 return wxArrayString2PyList_helper(arr
);
9792 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
* _resultobj
;
9795 wxMimeTypesManager
* _arg0
;
9796 PyObject
* _argo0
= 0;
9797 char *_kwnames
[] = { "self", NULL
};
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) return NULL
;
9816 _resultobj
= _result
;
9821 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9822 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
* _resultobj
;
9824 wxMimeTypesManager
* _arg0
;
9825 wxFileTypeInfo
* _arg1
;
9826 PyObject
* _argo0
= 0;
9827 PyObject
* _argo1
= 0;
9828 char *_kwnames
[] = { "self","ft", NULL
};
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9841 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) return NULL
;
9852 } Py_INCREF(Py_None
);
9853 _resultobj
= Py_None
;
9857 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9858 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
* _resultobj
;
9860 wxFileType
* _result
;
9861 wxMimeTypesManager
* _arg0
;
9862 wxFileTypeInfo
* _arg1
;
9863 PyObject
* _argo0
= 0;
9864 PyObject
* _argo1
= 0;
9865 char *_kwnames
[] = { "self","ftInfo", NULL
};
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9879 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) return NULL
;
9891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9892 _resultobj
= Py_BuildValue("s",_ptemp
);
9895 _resultobj
= Py_None
;
9900 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9901 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
* _resultobj
;
9904 wxMimeTypesManager
* _arg0
;
9906 PyObject
* _argo0
= 0;
9907 PyObject
* _argo1
= 0;
9908 char *_kwnames
[] = { "self","ft", NULL
};
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9921 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9922 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) return NULL
;
9933 } _resultobj
= Py_BuildValue("i",_result
);
9937 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9938 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
* _resultobj
;
9940 wxMimeTypesManager
* _arg0
;
9941 PyObject
* _argo0
= 0;
9942 char *_kwnames
[] = { "self", NULL
};
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 delete_wxMimeTypesManager(_arg0
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) return NULL
;
9960 } Py_INCREF(Py_None
);
9961 _resultobj
= Py_None
;
9965 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9966 wxPyArtProvider
*src
;
9968 src
= (wxPyArtProvider
*) ptr
;
9969 dest
= (wxObject
*) src
;
9970 return (void *) dest
;
9973 #define new_wxArtProvider() (new wxPyArtProvider())
9974 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
* _resultobj
;
9976 wxPyArtProvider
* _result
;
9977 char *_kwnames
[] = { NULL
};
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) return NULL
;
9990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9991 _resultobj
= Py_BuildValue("s",_ptemp
);
9994 _resultobj
= Py_None
;
9999 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
10000 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
* _resultobj
;
10002 wxPyArtProvider
* _arg0
;
10005 PyObject
* _argo0
= 0;
10006 PyObject
* _obj1
= 0;
10007 PyObject
* _obj2
= 0;
10008 char *_kwnames
[] = { "self","self","_class", NULL
};
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) return NULL
;
10032 } Py_INCREF(Py_None
);
10033 _resultobj
= Py_None
;
10037 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
* _resultobj
;
10039 wxPyArtProvider
* _arg0
;
10040 PyObject
* _argo0
= 0;
10041 char *_kwnames
[] = { "provider", NULL
};
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
10047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 wxPyArtProvider::PushProvider(_arg0
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) return NULL
;
10059 } Py_INCREF(Py_None
);
10060 _resultobj
= Py_None
;
10064 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
* _resultobj
;
10067 char *_kwnames
[] = { NULL
};
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 _result
= (bool )wxPyArtProvider::PopProvider();
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) return NULL
;
10078 } _resultobj
= Py_BuildValue("i",_result
);
10082 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
* _resultobj
;
10085 wxPyArtProvider
* _arg0
;
10086 PyObject
* _argo0
= 0;
10087 char *_kwnames
[] = { "provider", NULL
};
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
10093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
10095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) return NULL
;
10105 } _resultobj
= Py_BuildValue("i",_result
);
10109 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
* _resultobj
;
10111 wxBitmap
* _result
;
10113 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10114 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10115 PyObject
* _obj0
= 0;
10116 PyObject
* _obj1
= 0;
10118 PyObject
* _obj2
= 0;
10119 char *_kwnames
[] = { "id","client","size", NULL
};
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10126 _arg0
= wxString_in_helper(_obj0
);
10132 _arg1
= wxString_in_helper(_obj1
);
10139 if (! wxSize_helper(_obj2
, &_arg2
))
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) return NULL
;
10148 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
10149 _resultobj
= Py_BuildValue("s",_ptemp
);
10161 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
* _resultobj
;
10165 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10166 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10167 PyObject
* _obj0
= 0;
10168 PyObject
* _obj1
= 0;
10170 PyObject
* _obj2
= 0;
10171 char *_kwnames
[] = { "id","client","size", NULL
};
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10178 _arg0
= wxString_in_helper(_obj0
);
10184 _arg1
= wxString_in_helper(_obj1
);
10191 if (! wxSize_helper(_obj2
, &_arg2
))
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) return NULL
;
10200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
10201 _resultobj
= Py_BuildValue("s",_ptemp
);
10213 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10214 wxFileHistory
*src
;
10216 src
= (wxFileHistory
*) ptr
;
10217 dest
= (wxObject
*) src
;
10218 return (void *) dest
;
10221 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10222 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
* _resultobj
;
10224 wxFileHistory
* _result
;
10225 int _arg0
= (int ) 9;
10226 char *_kwnames
[] = { "maxFiles", NULL
};
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) return NULL
;
10239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10240 _resultobj
= Py_BuildValue("s",_ptemp
);
10242 Py_INCREF(Py_None
);
10243 _resultobj
= Py_None
;
10248 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10249 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
* _resultobj
;
10251 wxFileHistory
* _arg0
;
10252 PyObject
* _argo0
= 0;
10253 char *_kwnames
[] = { "self", NULL
};
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 delete_wxFileHistory(_arg0
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) return NULL
;
10271 } Py_INCREF(Py_None
);
10272 _resultobj
= Py_None
;
10276 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10277 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
* _resultobj
;
10279 wxFileHistory
* _arg0
;
10281 PyObject
* _argo0
= 0;
10282 PyObject
* _obj1
= 0;
10283 char *_kwnames
[] = { "self","file", NULL
};
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10296 _arg1
= wxString_in_helper(_obj1
);
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) return NULL
;
10306 } Py_INCREF(Py_None
);
10307 _resultobj
= Py_None
;
10315 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10316 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
* _resultobj
;
10318 wxFileHistory
* _arg0
;
10320 PyObject
* _argo0
= 0;
10321 char *_kwnames
[] = { "self","i", NULL
};
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) return NULL
;
10339 } Py_INCREF(Py_None
);
10340 _resultobj
= Py_None
;
10344 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10345 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
* _resultobj
;
10348 wxFileHistory
* _arg0
;
10349 PyObject
* _argo0
= 0;
10350 char *_kwnames
[] = { "self", NULL
};
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) return NULL
;
10368 } _resultobj
= Py_BuildValue("i",_result
);
10372 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10373 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
* _resultobj
;
10375 wxFileHistory
* _arg0
;
10377 PyObject
* _argo0
= 0;
10378 PyObject
* _argo1
= 0;
10379 char *_kwnames
[] = { "self","menu", NULL
};
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 wxFileHistory_UseMenu(_arg0
,_arg1
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) return NULL
;
10404 } Py_INCREF(Py_None
);
10405 _resultobj
= Py_None
;
10409 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10410 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
* _resultobj
;
10412 wxFileHistory
* _arg0
;
10414 PyObject
* _argo0
= 0;
10415 PyObject
* _argo1
= 0;
10416 char *_kwnames
[] = { "self","menu", NULL
};
10419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) return NULL
;
10441 } Py_INCREF(Py_None
);
10442 _resultobj
= Py_None
;
10446 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10447 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
* _resultobj
;
10449 wxFileHistory
* _arg0
;
10450 wxConfigBase
* _arg1
;
10451 PyObject
* _argo0
= 0;
10452 PyObject
* _argo1
= 0;
10453 char *_kwnames
[] = { "self","config", NULL
};
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10466 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 wxFileHistory_Load(_arg0
,*_arg1
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) return NULL
;
10477 } Py_INCREF(Py_None
);
10478 _resultobj
= Py_None
;
10482 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10483 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
* _resultobj
;
10485 wxFileHistory
* _arg0
;
10486 wxConfigBase
* _arg1
;
10487 PyObject
* _argo0
= 0;
10488 PyObject
* _argo1
= 0;
10489 char *_kwnames
[] = { "self","config", NULL
};
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10502 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxFileHistory_Save(_arg0
,*_arg1
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) return NULL
;
10513 } Py_INCREF(Py_None
);
10514 _resultobj
= Py_None
;
10518 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10519 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
* _resultobj
;
10521 wxFileHistory
* _arg0
;
10522 PyObject
* _argo0
= 0;
10523 char *_kwnames
[] = { "self", NULL
};
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxFileHistory_AddFilesToMenu(_arg0
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) return NULL
;
10541 } Py_INCREF(Py_None
);
10542 _resultobj
= Py_None
;
10546 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10547 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
* _resultobj
;
10549 wxFileHistory
* _arg0
;
10551 PyObject
* _argo0
= 0;
10552 PyObject
* _argo1
= 0;
10553 char *_kwnames
[] = { "self","menu", NULL
};
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) return NULL
;
10578 } Py_INCREF(Py_None
);
10579 _resultobj
= Py_None
;
10583 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10584 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
* _resultobj
;
10586 wxString
* _result
;
10587 wxFileHistory
* _arg0
;
10589 PyObject
* _argo0
= 0;
10590 char *_kwnames
[] = { "self","i", NULL
};
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) return NULL
;
10610 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10621 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10622 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10625 wxFileHistory
* _arg0
;
10626 PyObject
* _argo0
= 0;
10627 char *_kwnames
[] = { "self", NULL
};
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 _result
= (int )wxFileHistory_GetCount(_arg0
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) return NULL
;
10645 } _resultobj
= Py_BuildValue("i",_result
);
10649 static void *SwigwxEffectsTowxObject(void *ptr
) {
10652 src
= (wxEffects
*) ptr
;
10653 dest
= (wxObject
*) src
;
10654 return (void *) dest
;
10657 #define new_wxEffects() (new wxEffects())
10658 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
* _resultobj
;
10660 wxEffects
* _result
;
10661 char *_kwnames
[] = { NULL
};
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 _result
= (wxEffects
*)new_wxEffects();
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) return NULL
;
10674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10675 _resultobj
= Py_BuildValue("s",_ptemp
);
10677 Py_INCREF(Py_None
);
10678 _resultobj
= Py_None
;
10683 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10684 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
* _resultobj
;
10686 wxColour
* _result
;
10688 PyObject
* _argo0
= 0;
10689 char *_kwnames
[] = { "self", NULL
};
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) return NULL
;
10708 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10709 _resultobj
= Py_BuildValue("s",_ptemp
);
10713 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10714 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
* _resultobj
;
10716 wxColour
* _result
;
10718 PyObject
* _argo0
= 0;
10719 char *_kwnames
[] = { "self", NULL
};
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) return NULL
;
10738 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10739 _resultobj
= Py_BuildValue("s",_ptemp
);
10743 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10744 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
* _resultobj
;
10746 wxColour
* _result
;
10748 PyObject
* _argo0
= 0;
10749 char *_kwnames
[] = { "self", NULL
};
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) return NULL
;
10768 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10769 _resultobj
= Py_BuildValue("s",_ptemp
);
10773 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10774 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
* _resultobj
;
10776 wxColour
* _result
;
10778 PyObject
* _argo0
= 0;
10779 char *_kwnames
[] = { "self", NULL
};
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) return NULL
;
10798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10799 _resultobj
= Py_BuildValue("s",_ptemp
);
10803 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10804 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
* _resultobj
;
10806 wxColour
* _result
;
10808 PyObject
* _argo0
= 0;
10809 char *_kwnames
[] = { "self", NULL
};
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) return NULL
;
10828 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10829 _resultobj
= Py_BuildValue("s",_ptemp
);
10833 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10834 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
* _resultobj
;
10838 PyObject
* _argo0
= 0;
10840 PyObject
* _obj1
= 0;
10841 char *_kwnames
[] = { "self","c", NULL
};
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10855 if (! wxColour_helper(_obj1
, &_arg1
))
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) return NULL
;
10864 } Py_INCREF(Py_None
);
10865 _resultobj
= Py_None
;
10869 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10870 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
* _resultobj
;
10874 PyObject
* _argo0
= 0;
10876 PyObject
* _obj1
= 0;
10877 char *_kwnames
[] = { "self","c", NULL
};
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10891 if (! wxColour_helper(_obj1
, &_arg1
))
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) return NULL
;
10900 } Py_INCREF(Py_None
);
10901 _resultobj
= Py_None
;
10905 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10906 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
* _resultobj
;
10910 PyObject
* _argo0
= 0;
10912 PyObject
* _obj1
= 0;
10913 char *_kwnames
[] = { "self","c", NULL
};
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10927 if (! wxColour_helper(_obj1
, &_arg1
))
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) return NULL
;
10936 } Py_INCREF(Py_None
);
10937 _resultobj
= Py_None
;
10941 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10942 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
* _resultobj
;
10946 PyObject
* _argo0
= 0;
10948 PyObject
* _obj1
= 0;
10949 char *_kwnames
[] = { "self","c", NULL
};
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10963 if (! wxColour_helper(_obj1
, &_arg1
))
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) return NULL
;
10972 } Py_INCREF(Py_None
);
10973 _resultobj
= Py_None
;
10977 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10978 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
* _resultobj
;
10982 PyObject
* _argo0
= 0;
10984 PyObject
* _obj1
= 0;
10985 char *_kwnames
[] = { "self","c", NULL
};
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10999 if (! wxColour_helper(_obj1
, &_arg1
))
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) return NULL
;
11008 } Py_INCREF(Py_None
);
11009 _resultobj
= Py_None
;
11013 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11014 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
* _resultobj
;
11022 PyObject
* _argo0
= 0;
11024 PyObject
* _obj1
= 0;
11026 PyObject
* _obj2
= 0;
11028 PyObject
* _obj3
= 0;
11030 PyObject
* _obj4
= 0;
11032 PyObject
* _obj5
= 0;
11033 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
11036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
11039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
11047 if (! wxColour_helper(_obj1
, &_arg1
))
11052 if (! wxColour_helper(_obj2
, &_arg2
))
11057 if (! wxColour_helper(_obj3
, &_arg3
))
11062 if (! wxColour_helper(_obj4
, &_arg4
))
11067 if (! wxColour_helper(_obj5
, &_arg5
))
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) return NULL
;
11076 } Py_INCREF(Py_None
);
11077 _resultobj
= Py_None
;
11081 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
11082 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
* _resultobj
;
11087 int _arg3
= (int ) 1;
11088 PyObject
* _argo0
= 0;
11089 PyObject
* _argo1
= 0;
11091 PyObject
* _obj2
= 0;
11092 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
11098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
11105 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
11106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
11112 if (! wxRect_helper(_obj2
, &_arg2
))
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) return NULL
;
11121 } Py_INCREF(Py_None
);
11122 _resultobj
= Py_None
;
11126 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
11127 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
* _resultobj
;
11134 PyObject
* _argo0
= 0;
11136 PyObject
* _obj1
= 0;
11137 PyObject
* _argo2
= 0;
11138 PyObject
* _argo3
= 0;
11139 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
11153 if (! wxRect_helper(_obj1
, &_arg1
))
11157 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
11163 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) return NULL
;
11174 } _resultobj
= Py_BuildValue("i",_result
);
11178 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11179 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
* _resultobj
;
11181 wxSingleInstanceChecker
* _result
;
11183 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11184 PyObject
* _obj0
= 0;
11185 PyObject
* _obj1
= 0;
11186 char *_kwnames
[] = { "name","path", NULL
};
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11193 _arg0
= wxString_in_helper(_obj0
);
11199 _arg1
= wxString_in_helper(_obj1
);
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) return NULL
;
11210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11211 _resultobj
= Py_BuildValue("s",_ptemp
);
11213 Py_INCREF(Py_None
);
11214 _resultobj
= Py_None
;
11227 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11228 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
* _resultobj
;
11230 wxSingleInstanceChecker
* _result
;
11231 char *_kwnames
[] = { NULL
};
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) return NULL
;
11244 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11245 _resultobj
= Py_BuildValue("s",_ptemp
);
11247 Py_INCREF(Py_None
);
11248 _resultobj
= Py_None
;
11253 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11254 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
* _resultobj
;
11256 wxSingleInstanceChecker
* _arg0
;
11257 PyObject
* _argo0
= 0;
11258 char *_kwnames
[] = { "self", NULL
};
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 delete_wxSingleInstanceChecker(_arg0
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) return NULL
;
11276 } Py_INCREF(Py_None
);
11277 _resultobj
= Py_None
;
11281 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11282 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
* _resultobj
;
11285 wxSingleInstanceChecker
* _arg0
;
11287 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11288 PyObject
* _argo0
= 0;
11289 PyObject
* _obj1
= 0;
11290 PyObject
* _obj2
= 0;
11291 char *_kwnames
[] = { "self","name","path", NULL
};
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11304 _arg1
= wxString_in_helper(_obj1
);
11310 _arg2
= wxString_in_helper(_obj2
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) return NULL
;
11320 } _resultobj
= Py_BuildValue("i",_result
);
11332 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11333 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
* _resultobj
;
11336 wxSingleInstanceChecker
* _arg0
;
11337 PyObject
* _argo0
= 0;
11338 char *_kwnames
[] = { "self", NULL
};
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) return NULL
;
11356 } _resultobj
= Py_BuildValue("i",_result
);
11360 static PyMethodDef misc2cMethods
[] = {
11361 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxSystemOptions_HasOption", (PyCFunction
) _wrap_wxSystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxSystemOptions_GetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxSystemOptions_GetOption", (PyCFunction
) _wrap_wxSystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxSystemOptions_SetOptionInt", (PyCFunction
) _wrap_wxSystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxSystemOptions_SetOption", (PyCFunction
) _wrap_wxSystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "new_wxSystemOptions", (PyCFunction
) _wrap_new_wxSystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxDrawWindowOnDC", (PyCFunction
) _wrap_wxDrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11695 * This table is used by the pointer type-checker
11697 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11698 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11699 { "_signed_long","_long",0},
11700 { "_wxPrintQuality","_wxCoord",0},
11701 { "_wxPrintQuality","_int",0},
11702 { "_wxPrintQuality","_signed_int",0},
11703 { "_wxPrintQuality","_unsigned_int",0},
11704 { "_wxPrintQuality","_wxWindowID",0},
11705 { "_wxPrintQuality","_uint",0},
11706 { "_wxPrintQuality","_EBool",0},
11707 { "_wxPrintQuality","_size_t",0},
11708 { "_wxPrintQuality","_time_t",0},
11709 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11710 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11711 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11712 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11713 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11714 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11715 { "_byte","_unsigned_char",0},
11716 { "_long","_unsigned_long",0},
11717 { "_long","_signed_long",0},
11718 { "_size_t","_wxCoord",0},
11719 { "_size_t","_wxPrintQuality",0},
11720 { "_size_t","_time_t",0},
11721 { "_size_t","_unsigned_int",0},
11722 { "_size_t","_int",0},
11723 { "_size_t","_wxWindowID",0},
11724 { "_size_t","_uint",0},
11725 { "_uint","_wxCoord",0},
11726 { "_uint","_wxPrintQuality",0},
11727 { "_uint","_time_t",0},
11728 { "_uint","_size_t",0},
11729 { "_uint","_unsigned_int",0},
11730 { "_uint","_int",0},
11731 { "_uint","_wxWindowID",0},
11732 { "_wxChar","_char",0},
11733 { "_char","_wxChar",0},
11734 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11735 { "_EBool","_wxCoord",0},
11736 { "_EBool","_wxPrintQuality",0},
11737 { "_EBool","_signed_int",0},
11738 { "_EBool","_int",0},
11739 { "_EBool","_wxWindowID",0},
11740 { "_unsigned_long","_long",0},
11741 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11742 { "_signed_int","_wxCoord",0},
11743 { "_signed_int","_wxPrintQuality",0},
11744 { "_signed_int","_EBool",0},
11745 { "_signed_int","_wxWindowID",0},
11746 { "_signed_int","_int",0},
11747 { "_WXTYPE","_wxDateTime_t",0},
11748 { "_WXTYPE","_short",0},
11749 { "_WXTYPE","_signed_short",0},
11750 { "_WXTYPE","_unsigned_short",0},
11751 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11752 { "_unsigned_short","_wxDateTime_t",0},
11753 { "_unsigned_short","_WXTYPE",0},
11754 { "_unsigned_short","_short",0},
11755 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11756 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11757 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11758 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11759 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11760 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11761 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11762 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11763 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11764 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11765 { "_wxObject","_wxSystemOptions",SwigwxSystemOptionsTowxObject
},
11766 { "_signed_short","_WXTYPE",0},
11767 { "_signed_short","_short",0},
11768 { "_unsigned_char","_byte",0},
11769 { "_unsigned_int","_wxCoord",0},
11770 { "_unsigned_int","_wxPrintQuality",0},
11771 { "_unsigned_int","_time_t",0},
11772 { "_unsigned_int","_size_t",0},
11773 { "_unsigned_int","_uint",0},
11774 { "_unsigned_int","_wxWindowID",0},
11775 { "_unsigned_int","_int",0},
11776 { "_short","_wxDateTime_t",0},
11777 { "_short","_WXTYPE",0},
11778 { "_short","_unsigned_short",0},
11779 { "_short","_signed_short",0},
11780 { "_wxWindowID","_wxCoord",0},
11781 { "_wxWindowID","_wxPrintQuality",0},
11782 { "_wxWindowID","_time_t",0},
11783 { "_wxWindowID","_size_t",0},
11784 { "_wxWindowID","_EBool",0},
11785 { "_wxWindowID","_uint",0},
11786 { "_wxWindowID","_int",0},
11787 { "_wxWindowID","_signed_int",0},
11788 { "_wxWindowID","_unsigned_int",0},
11789 { "_int","_wxCoord",0},
11790 { "_int","_wxPrintQuality",0},
11791 { "_int","_time_t",0},
11792 { "_int","_size_t",0},
11793 { "_int","_EBool",0},
11794 { "_int","_uint",0},
11795 { "_int","_wxWindowID",0},
11796 { "_int","_unsigned_int",0},
11797 { "_int","_signed_int",0},
11798 { "_wxDateTime_t","_unsigned_short",0},
11799 { "_wxDateTime_t","_short",0},
11800 { "_wxDateTime_t","_WXTYPE",0},
11801 { "_time_t","_wxCoord",0},
11802 { "_time_t","_wxPrintQuality",0},
11803 { "_time_t","_unsigned_int",0},
11804 { "_time_t","_int",0},
11805 { "_time_t","_wxWindowID",0},
11806 { "_time_t","_uint",0},
11807 { "_time_t","_size_t",0},
11808 { "_wxCoord","_int",0},
11809 { "_wxCoord","_signed_int",0},
11810 { "_wxCoord","_unsigned_int",0},
11811 { "_wxCoord","_wxWindowID",0},
11812 { "_wxCoord","_uint",0},
11813 { "_wxCoord","_EBool",0},
11814 { "_wxCoord","_size_t",0},
11815 { "_wxCoord","_time_t",0},
11816 { "_wxCoord","_wxPrintQuality",0},
11817 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11820 static PyObject
*SWIG_globals
;
11824 SWIGEXPORT(void) initmisc2c() {
11826 SWIG_globals
= SWIG_newvarlink();
11827 m
= Py_InitModule("misc2c", misc2cMethods
);
11828 d
= PyModule_GetDict(m
);
11829 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11830 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11831 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11832 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11833 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11834 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11835 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11836 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11837 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11838 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11839 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11840 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11841 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11842 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11843 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11844 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11845 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11846 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11847 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11848 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11849 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11850 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11851 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11852 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11853 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11854 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11855 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11856 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11857 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11858 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11859 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11860 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11861 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11862 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11863 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11864 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11865 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11866 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11867 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11868 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11869 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11870 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11871 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11872 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11873 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11874 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11875 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11876 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11877 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11878 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11879 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11880 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11881 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11882 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11883 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11884 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11885 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11886 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11887 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11888 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11889 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11890 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11891 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11892 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11893 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11894 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11895 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11896 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11897 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11898 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11899 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11900 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11901 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11902 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11903 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11904 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11905 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11906 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11907 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11908 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11909 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11910 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11911 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11912 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11913 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11914 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11915 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11916 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11917 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11918 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11919 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11920 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11921 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11922 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11923 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11924 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11925 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11926 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11927 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11928 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11929 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11930 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11931 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11932 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11933 PyDict_SetItemString(d
,"wxTRACE_OleCalls", PyString_FromString("ole"));
11934 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11935 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11936 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11937 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11938 PyDict_SetItemString(d
,"wxTraceOleCalls", PyInt_FromLong((long) wxTraceOleCalls
));
11939 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11940 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11941 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11942 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11943 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11944 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11945 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11946 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11947 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11948 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11949 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11950 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11951 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11952 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11953 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11954 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11955 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11956 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11957 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11958 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11959 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11960 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11961 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11962 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11963 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11964 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11965 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11966 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11967 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11968 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11969 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11970 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11971 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11972 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11973 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11974 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11975 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11976 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11977 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11978 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11979 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11981 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11982 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11983 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11987 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11988 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);