2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmisc2c
54 #define SWIG_name "misc2c"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
60 #include <wx/fontenum.h>
61 #include <wx/tipdlg.h>
62 #include <wx/process.h>
63 #include <wx/joystick.h>
65 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 static char* wxStringErrorMsg
= "string type is required for parameter";
113 static wxString
wxPyEmptyStr("");
116 wxColour
wxSystemSettings_GetSystemColour(int index
) {
117 return wxSystemSettings::GetSystemColour(index
);
120 wxFont
wxSystemSettings_GetSystemFont(int index
) {
121 return wxSystemSettings::GetSystemFont(index
);
124 int wxSystemSettings_GetSystemMetric(int index
) {
125 return wxSystemSettings::GetSystemMetric(index
);
128 void wxToolTip_Enable(bool flag
) {
129 wxToolTip::Enable(flag
);
132 void wxToolTip_SetDelay(long milliseconds
) {
133 wxToolTip::SetDelay(milliseconds
);
136 int wxCaret_GetBlinkTime() {
137 return wxCaret::GetBlinkTime();
140 void wxCaret_SetBlinkTime(int milliseconds
) {
141 wxCaret::SetBlinkTime(milliseconds
);
144 class wxPyFontEnumerator
: public wxFontEnumerator
{
146 wxPyFontEnumerator() {}
147 ~wxPyFontEnumerator() {}
149 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
150 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
155 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
156 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
159 class wxPyTipProvider
: public wxTipProvider
{
161 wxPyTipProvider(size_t currentTip
)
162 : wxTipProvider(currentTip
) {}
164 DEC_PYCALLBACK_STRING__pure(GetTip
);
169 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
172 #include <wx/generic/dragimgg.h>
173 static wxPoint wxPyNullPoint
;
176 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
177 const wxCursor
& cursor
,
178 const wxPoint
& hotspot
) {
179 return new wxGenericDragImage(image
, cursor
, hotspot
);
182 wxGenericDragImage
* wxDragString(const wxString
& str
,
183 const wxCursor
& cursor
,
184 const wxPoint
& hotspot
) {
185 return new wxGenericDragImage(str
, cursor
, hotspot
);
188 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
189 return new wxGenericDragImage(treeCtrl
, id
);
192 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
193 return new wxGenericDragImage(listCtrl
, id
);
196 // C++ version of wxProcess derived class
198 class wxPyProcess
: public wxProcess
{
200 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
201 : wxProcess(parent
, id
)
204 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
209 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
213 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
214 PyObject
* _resultobj
;
217 char * _arg1
= (char *) NULL
;
218 char * _arg2
= (char *) NULL
;
219 char * _arg3
= (char *) NULL
;
220 char * _arg4
= (char *) "*.*";
221 int _arg5
= (int ) 0;
222 wxWindow
* _arg6
= (wxWindow
*) NULL
;
223 int _arg7
= (int ) -1;
224 int _arg8
= (int ) -1;
225 PyObject
* _argo6
= 0;
226 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
232 if (_argo6
== Py_None
) { _arg6
= NULL
; }
233 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
239 wxPy_BEGIN_ALLOW_THREADS
;
240 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
242 wxPy_END_ALLOW_THREADS
;
244 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
252 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
256 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
257 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
258 wxWindow
* _arg3
= (wxWindow
*) NULL
;
259 int _arg4
= (int ) -1;
260 int _arg5
= (int ) -1;
261 bool _arg6
= (bool ) TRUE
;
262 PyObject
* _obj0
= 0;
263 PyObject
* _obj1
= 0;
264 PyObject
* _obj2
= 0;
265 PyObject
* _argo3
= 0;
266 int tempbool6
= (int) TRUE
;
267 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
273 #if PYTHON_API_VERSION >= 1009
274 char* tmpPtr
; int tmpSize
;
275 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
276 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
279 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
281 _arg0
= new wxString(tmpPtr
, tmpSize
);
283 if (!PyString_Check(_obj0
)) {
284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
287 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
292 #if PYTHON_API_VERSION >= 1009
293 char* tmpPtr
; int tmpSize
;
294 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
295 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
298 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
300 _arg1
= new wxString(tmpPtr
, tmpSize
);
302 if (!PyString_Check(_obj1
)) {
303 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
306 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
311 #if PYTHON_API_VERSION >= 1009
312 char* tmpPtr
; int tmpSize
;
313 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
314 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
317 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
319 _arg2
= new wxString(tmpPtr
, tmpSize
);
321 if (!PyString_Check(_obj2
)) {
322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
325 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
329 if (_argo3
== Py_None
) { _arg3
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
335 _arg6
= (bool ) tempbool6
;
337 wxPy_BEGIN_ALLOW_THREADS
;
338 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
340 wxPy_END_ALLOW_THREADS
;
342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
362 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
363 PyObject
* _resultobj
;
366 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
367 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
368 wxWindow
* _arg3
= (wxWindow
*) NULL
;
369 PyObject
* _obj0
= 0;
370 PyObject
* _obj1
= 0;
371 PyObject
* _obj2
= 0;
372 PyObject
* _argo3
= 0;
373 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
379 #if PYTHON_API_VERSION >= 1009
380 char* tmpPtr
; int tmpSize
;
381 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
382 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
385 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
387 _arg0
= new wxString(tmpPtr
, tmpSize
);
389 if (!PyString_Check(_obj0
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
398 #if PYTHON_API_VERSION >= 1009
399 char* tmpPtr
; int tmpSize
;
400 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
401 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
404 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
406 _arg1
= new wxString(tmpPtr
, tmpSize
);
408 if (!PyString_Check(_obj1
)) {
409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
412 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
417 #if PYTHON_API_VERSION >= 1009
418 char* tmpPtr
; int tmpSize
;
419 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
420 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
423 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
425 _arg2
= new wxString(tmpPtr
, tmpSize
);
427 if (!PyString_Check(_obj2
)) {
428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
431 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
435 if (_argo3
== Py_None
) { _arg3
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
442 wxPy_BEGIN_ALLOW_THREADS
;
443 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
445 wxPy_END_ALLOW_THREADS
;
447 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
467 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
474 wxWindow
* _arg4
= (wxWindow
*) NULL
;
475 int _arg5
= (int ) -1;
476 int _arg6
= (int ) -1;
477 bool _arg7
= (bool ) TRUE
;
478 int _arg8
= (int ) 150;
479 int _arg9
= (int ) 200;
480 PyObject
* _obj0
= 0;
481 PyObject
* _obj1
= 0;
482 PyObject
* _obj3
= 0;
483 PyObject
* _argo4
= 0;
484 int tempbool7
= (int) TRUE
;
485 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
491 #if PYTHON_API_VERSION >= 1009
492 char* tmpPtr
; int tmpSize
;
493 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
494 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
497 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
499 _arg0
= new wxString(tmpPtr
, tmpSize
);
501 if (!PyString_Check(_obj0
)) {
502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
505 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
509 #if PYTHON_API_VERSION >= 1009
510 char* tmpPtr
; int tmpSize
;
511 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
512 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
515 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
517 _arg1
= new wxString(tmpPtr
, tmpSize
);
519 if (!PyString_Check(_obj1
)) {
520 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
523 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
528 _arg3
= wxString_LIST_helper(_obj3
);
534 if (_argo4
== Py_None
) { _arg4
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
540 _arg7
= (bool ) tempbool7
;
543 _arg2
= PyList_Size(_obj3
);
550 wxPy_BEGIN_ALLOW_THREADS
;
551 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
553 wxPy_END_ALLOW_THREADS
;
555 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
574 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
581 wxWindow
* _arg4
= (wxWindow
*) NULL
;
582 int _arg5
= (int ) -1;
583 int _arg6
= (int ) -1;
584 bool _arg7
= (bool ) TRUE
;
585 int _arg8
= (int ) 150;
586 int _arg9
= (int ) 200;
587 PyObject
* _obj0
= 0;
588 PyObject
* _obj1
= 0;
589 PyObject
* _obj3
= 0;
590 PyObject
* _argo4
= 0;
591 int tempbool7
= (int) TRUE
;
592 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
598 #if PYTHON_API_VERSION >= 1009
599 char* tmpPtr
; int tmpSize
;
600 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
601 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
604 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
606 _arg0
= new wxString(tmpPtr
, tmpSize
);
608 if (!PyString_Check(_obj0
)) {
609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
612 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
616 #if PYTHON_API_VERSION >= 1009
617 char* tmpPtr
; int tmpSize
;
618 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
619 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
622 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
624 _arg1
= new wxString(tmpPtr
, tmpSize
);
626 if (!PyString_Check(_obj1
)) {
627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
630 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
635 _arg3
= wxString_LIST_helper(_obj3
);
641 if (_argo4
== Py_None
) { _arg4
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
647 _arg7
= (bool ) tempbool7
;
650 _arg2
= PyList_Size(_obj3
);
657 wxPy_BEGIN_ALLOW_THREADS
;
658 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
660 wxPy_END_ALLOW_THREADS
;
661 } _resultobj
= Py_BuildValue("i",_result
);
676 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
680 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
681 int _arg2
= (int ) wxOK
|wxCENTRE
;
682 wxWindow
* _arg3
= (wxWindow
*) NULL
;
683 int _arg4
= (int ) -1;
684 int _arg5
= (int ) -1;
685 PyObject
* _obj0
= 0;
686 PyObject
* _obj1
= 0;
687 PyObject
* _argo3
= 0;
688 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
694 #if PYTHON_API_VERSION >= 1009
695 char* tmpPtr
; int tmpSize
;
696 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
697 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
700 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
702 _arg0
= new wxString(tmpPtr
, tmpSize
);
704 if (!PyString_Check(_obj0
)) {
705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
708 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
713 #if PYTHON_API_VERSION >= 1009
714 char* tmpPtr
; int tmpSize
;
715 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
716 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
719 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
721 _arg1
= new wxString(tmpPtr
, tmpSize
);
723 if (!PyString_Check(_obj1
)) {
724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
727 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
731 if (_argo3
== Py_None
) { _arg3
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
738 wxPy_BEGIN_ALLOW_THREADS
;
739 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
741 wxPy_END_ALLOW_THREADS
;
742 } _resultobj
= Py_BuildValue("i",_result
);
754 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
761 long _arg4
= (long ) 0;
762 long _arg5
= (long ) 100;
763 wxWindow
* _arg6
= (wxWindow
*) NULL
;
764 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
765 PyObject
* _obj0
= 0;
766 PyObject
* _obj1
= 0;
767 PyObject
* _obj2
= 0;
768 PyObject
* _argo6
= 0;
770 PyObject
* _obj7
= 0;
771 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
777 #if PYTHON_API_VERSION >= 1009
778 char* tmpPtr
; int tmpSize
;
779 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
780 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
783 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
785 _arg0
= new wxString(tmpPtr
, tmpSize
);
787 if (!PyString_Check(_obj0
)) {
788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
791 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
795 #if PYTHON_API_VERSION >= 1009
796 char* tmpPtr
; int tmpSize
;
797 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
798 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
801 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
803 _arg1
= new wxString(tmpPtr
, tmpSize
);
805 if (!PyString_Check(_obj1
)) {
806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
809 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
813 #if PYTHON_API_VERSION >= 1009
814 char* tmpPtr
; int tmpSize
;
815 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
816 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
819 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
821 _arg2
= new wxString(tmpPtr
, tmpSize
);
823 if (!PyString_Check(_obj2
)) {
824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
827 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
831 if (_argo6
== Py_None
) { _arg6
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
840 if (! wxPoint_helper(_obj7
, &_arg7
))
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
847 wxPy_END_ALLOW_THREADS
;
848 } _resultobj
= Py_BuildValue("l",_result
);
864 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
867 char *_kwnames
[] = { NULL
};
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
873 wxPy_BEGIN_ALLOW_THREADS
;
874 _result
= (bool )wxColourDisplay();
876 wxPy_END_ALLOW_THREADS
;
877 } _resultobj
= Py_BuildValue("i",_result
);
881 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
884 char *_kwnames
[] = { NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
890 wxPy_BEGIN_ALLOW_THREADS
;
891 _result
= (int )wxDisplayDepth();
893 wxPy_END_ALLOW_THREADS
;
894 } _resultobj
= Py_BuildValue("i",_result
);
898 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
901 char *_kwnames
[] = { NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (int )wxGetDisplayDepth();
910 wxPy_END_ALLOW_THREADS
;
911 } _resultobj
= Py_BuildValue("i",_result
);
915 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
921 char *_kwnames
[] = { NULL
};
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
933 wxPy_BEGIN_ALLOW_THREADS
;
934 wxDisplaySize(_arg0
,_arg1
);
936 wxPy_END_ALLOW_THREADS
;
937 } Py_INCREF(Py_None
);
938 _resultobj
= Py_None
;
941 o
= PyInt_FromLong((long) (*_arg0
));
942 _resultobj
= t_output_helper(_resultobj
, o
);
946 o
= PyInt_FromLong((long) (*_arg1
));
947 _resultobj
= t_output_helper(_resultobj
, o
);
952 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
955 char *_kwnames
[] = { NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
962 wxPy_BEGIN_ALLOW_THREADS
;
963 _result
= new wxSize (wxGetDisplaySize());
965 wxPy_END_ALLOW_THREADS
;
966 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
967 _resultobj
= Py_BuildValue("s",_ptemp
);
971 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
977 char *_kwnames
[] = { NULL
};
986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
989 wxPy_BEGIN_ALLOW_THREADS
;
990 wxDisplaySizeMM(_arg0
,_arg1
);
992 wxPy_END_ALLOW_THREADS
;
993 } Py_INCREF(Py_None
);
994 _resultobj
= Py_None
;
997 o
= PyInt_FromLong((long) (*_arg0
));
998 _resultobj
= t_output_helper(_resultobj
, o
);
1002 o
= PyInt_FromLong((long) (*_arg1
));
1003 _resultobj
= t_output_helper(_resultobj
, o
);
1008 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1011 char *_kwnames
[] = { NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1018 wxPy_BEGIN_ALLOW_THREADS
;
1019 _result
= new wxSize (wxGetDisplaySizeMM());
1021 wxPy_END_ALLOW_THREADS
;
1022 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1023 _resultobj
= Py_BuildValue("s",_ptemp
);
1027 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
* _resultobj
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "cursor", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 wxSetCursor(*_arg0
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } Py_INCREF(Py_None
);
1049 _resultobj
= Py_None
;
1053 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1057 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1058 PyObject
* _obj0
= 0;
1059 PyObject
* _argo1
= 0;
1060 char *_kwnames
[] = { "label","parent", NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1067 #if PYTHON_API_VERSION >= 1009
1068 char* tmpPtr
; int tmpSize
;
1069 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1070 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1073 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1075 _arg0
= new wxString(tmpPtr
, tmpSize
);
1077 if (!PyString_Check(_obj0
)) {
1078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1081 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1085 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1095 wxPy_END_ALLOW_THREADS
;
1097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1098 _resultobj
= Py_BuildValue("s",_ptemp
);
1101 _resultobj
= Py_None
;
1110 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1114 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1115 PyObject
* _obj0
= 0;
1116 PyObject
* _argo1
= 0;
1117 char *_kwnames
[] = { "name","parent", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1124 #if PYTHON_API_VERSION >= 1009
1125 char* tmpPtr
; int tmpSize
;
1126 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1127 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1130 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1132 _arg0
= new wxString(tmpPtr
, tmpSize
);
1134 if (!PyString_Check(_obj0
)) {
1135 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1138 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1152 wxPy_END_ALLOW_THREADS
;
1154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1155 _resultobj
= Py_BuildValue("s",_ptemp
);
1158 _resultobj
= Py_None
;
1167 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1170 PyObject
* _argo0
= 0;
1171 char *_kwnames
[] = { "cursor", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 wxBeginBusyCursor(_arg0
);
1187 wxPy_END_ALLOW_THREADS
;
1188 } Py_INCREF(Py_None
);
1189 _resultobj
= Py_None
;
1193 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1196 char *_kwnames
[] = { NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 _result
= (wxWindow
*)wxGetActiveWindow();
1206 wxPy_END_ALLOW_THREADS
;
1208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1209 _resultobj
= Py_BuildValue("s",_ptemp
);
1212 _resultobj
= Py_None
;
1217 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1222 char *_kwnames
[] = { "name","value", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1228 wxPy_BEGIN_ALLOW_THREADS
;
1229 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1231 wxPy_END_ALLOW_THREADS
;
1232 } _resultobj
= Py_BuildValue("i",_result
);
1236 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1238 char *_kwnames
[] = { NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1244 wxPy_BEGIN_ALLOW_THREADS
;
1247 wxPy_END_ALLOW_THREADS
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1257 char *_kwnames
[] = { "resource", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1267 wxPy_END_ALLOW_THREADS
;
1268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1269 _resultobj
= Py_BuildValue("s",_ptemp
);
1273 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1277 char *_kwnames
[] = { "resource", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1287 wxPy_END_ALLOW_THREADS
;
1288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1289 _resultobj
= Py_BuildValue("s",_ptemp
);
1293 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1295 wxMenuBar
* _result
;
1297 char *_kwnames
[] = { "resource", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1307 wxPy_END_ALLOW_THREADS
;
1309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1310 _resultobj
= Py_BuildValue("s",_ptemp
);
1313 _resultobj
= Py_None
;
1318 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1322 char *_kwnames
[] = { "name", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (int )wxResourceGetIdentifier(_arg0
);
1331 wxPy_END_ALLOW_THREADS
;
1332 } _resultobj
= Py_BuildValue("i",_result
);
1336 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1340 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1341 PyObject
* _argo1
= 0;
1342 char *_kwnames
[] = { "resource","table", NULL
};
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1358 wxPy_END_ALLOW_THREADS
;
1359 } _resultobj
= Py_BuildValue("i",_result
);
1363 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1367 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1368 PyObject
* _argo1
= 0;
1369 char *_kwnames
[] = { "filename","table", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1375 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1385 wxPy_END_ALLOW_THREADS
;
1386 } _resultobj
= Py_BuildValue("i",_result
);
1390 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1394 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1395 PyObject
* _argo1
= 0;
1396 char *_kwnames
[] = { "resource","table", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1409 wxPy_BEGIN_ALLOW_THREADS
;
1410 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1412 wxPy_END_ALLOW_THREADS
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1421 char *_kwnames
[] = { "index", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1431 wxPy_END_ALLOW_THREADS
;
1432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1433 _resultobj
= Py_BuildValue("s",_ptemp
);
1437 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1441 char *_kwnames
[] = { "index", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1451 wxPy_END_ALLOW_THREADS
;
1452 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1453 _resultobj
= Py_BuildValue("s",_ptemp
);
1457 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1461 char *_kwnames
[] = { "index", NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1470 wxPy_END_ALLOW_THREADS
;
1471 } _resultobj
= Py_BuildValue("i",_result
);
1475 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1479 char *_kwnames
[] = { "flag", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1484 _arg0
= (bool ) tempbool0
;
1486 wxPy_BEGIN_ALLOW_THREADS
;
1487 wxToolTip_Enable(_arg0
);
1489 wxPy_END_ALLOW_THREADS
;
1490 } Py_INCREF(Py_None
);
1491 _resultobj
= Py_None
;
1495 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
* _resultobj
;
1498 char *_kwnames
[] = { "milliseconds", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 wxToolTip_SetDelay(_arg0
);
1507 wxPy_END_ALLOW_THREADS
;
1508 } Py_INCREF(Py_None
);
1509 _resultobj
= Py_None
;
1513 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1516 char *_kwnames
[] = { NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 _result
= (int )wxCaret_GetBlinkTime();
1525 wxPy_END_ALLOW_THREADS
;
1526 } _resultobj
= Py_BuildValue("i",_result
);
1530 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1533 char *_kwnames
[] = { "milliseconds", NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 wxCaret_SetBlinkTime(_arg0
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1548 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
* _resultobj
;
1550 wxEvtHandler
* _arg0
;
1552 PyObject
* _argo0
= 0;
1553 PyObject
* _argo1
= 0;
1554 char *_kwnames
[] = { "dest","event", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 wxPostEvent(_arg0
,*_arg1
);
1577 wxPy_END_ALLOW_THREADS
;
1578 } Py_INCREF(Py_None
);
1579 _resultobj
= Py_None
;
1583 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1585 char *_kwnames
[] = { NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1591 wxPy_BEGIN_ALLOW_THREADS
;
1594 wxPy_END_ALLOW_THREADS
;
1595 } Py_INCREF(Py_None
);
1596 _resultobj
= Py_None
;
1600 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1603 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1604 PyObject
* _argo0
= 0;
1605 char *_kwnames
[] = { "win", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1618 wxPy_BEGIN_ALLOW_THREADS
;
1619 _result
= (bool )wxSafeYield(_arg0
);
1621 wxPy_END_ALLOW_THREADS
;
1622 } _resultobj
= Py_BuildValue("i",_result
);
1626 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1630 wxTipProvider
* _arg1
;
1631 bool _arg2
= (bool ) TRUE
;
1632 PyObject
* _argo0
= 0;
1633 PyObject
* _argo1
= 0;
1634 int tempbool2
= (int) TRUE
;
1635 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1654 _arg2
= (bool ) tempbool2
;
1656 wxPy_BEGIN_ALLOW_THREADS
;
1657 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1659 wxPy_END_ALLOW_THREADS
;
1660 } _resultobj
= Py_BuildValue("i",_result
);
1664 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1666 wxTipProvider
* _result
;
1669 PyObject
* _obj0
= 0;
1670 char *_kwnames
[] = { "filename","currentTip", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1677 #if PYTHON_API_VERSION >= 1009
1678 char* tmpPtr
; int tmpSize
;
1679 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1680 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1683 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1685 _arg0
= new wxString(tmpPtr
, tmpSize
);
1687 if (!PyString_Check(_obj0
)) {
1688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1691 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1698 wxPy_END_ALLOW_THREADS
;
1700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1701 _resultobj
= Py_BuildValue("s",_ptemp
);
1704 _resultobj
= Py_None
;
1713 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1715 wxGenericDragImage
* _result
;
1717 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1718 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _argo1
= 0;
1722 PyObject
* _obj2
= 0;
1723 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1746 if (! wxPoint_helper(_obj2
, &_arg2
))
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1753 wxPy_END_ALLOW_THREADS
;
1755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1756 _resultobj
= Py_BuildValue("s",_ptemp
);
1759 _resultobj
= Py_None
;
1764 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1766 wxGenericDragImage
* _result
;
1768 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1769 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1770 PyObject
* _obj0
= 0;
1771 PyObject
* _argo1
= 0;
1773 PyObject
* _obj2
= 0;
1774 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1781 #if PYTHON_API_VERSION >= 1009
1782 char* tmpPtr
; int tmpSize
;
1783 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1784 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1787 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1789 _arg0
= new wxString(tmpPtr
, tmpSize
);
1791 if (!PyString_Check(_obj0
)) {
1792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1795 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1799 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1808 if (! wxPoint_helper(_obj2
, &_arg2
))
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1815 wxPy_END_ALLOW_THREADS
;
1817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1818 _resultobj
= Py_BuildValue("s",_ptemp
);
1821 _resultobj
= Py_None
;
1830 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1832 wxGenericDragImage
* _result
;
1834 wxTreeItemId
* _arg1
;
1835 PyObject
* _argo0
= 0;
1836 PyObject
* _argo1
= 0;
1837 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1861 wxPy_END_ALLOW_THREADS
;
1863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1864 _resultobj
= Py_BuildValue("s",_ptemp
);
1867 _resultobj
= Py_None
;
1872 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1874 wxGenericDragImage
* _result
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "listCtrl","id", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
1895 wxPy_END_ALLOW_THREADS
;
1897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1898 _resultobj
= Py_BuildValue("s",_ptemp
);
1901 _resultobj
= Py_None
;
1906 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1908 unsigned long _result
;
1909 char *_kwnames
[] = { NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= (unsigned long )wxSysErrorCode();
1918 wxPy_END_ALLOW_THREADS
;
1919 } _resultobj
= Py_BuildValue("l",_result
);
1923 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1926 unsigned long _arg0
= (unsigned long ) 0;
1927 char *_kwnames
[] = { "nErrCode", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 _result
= (char *)wxSysErrorMsg(_arg0
);
1936 wxPy_END_ALLOW_THREADS
;
1937 } _resultobj
= Py_BuildValue("s", _result
);
1941 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1944 char *_kwnames
[] = { "szFormat", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 wxLogFatalError(_arg0
);
1953 wxPy_END_ALLOW_THREADS
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1959 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1962 char *_kwnames
[] = { "szFormat", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1968 wxPy_BEGIN_ALLOW_THREADS
;
1971 wxPy_END_ALLOW_THREADS
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1977 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1980 char *_kwnames
[] = { "szFormat", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1986 wxPy_BEGIN_ALLOW_THREADS
;
1987 wxLogWarning(_arg0
);
1989 wxPy_END_ALLOW_THREADS
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1995 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1998 char *_kwnames
[] = { "szFormat", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 wxLogMessage(_arg0
);
2007 wxPy_END_ALLOW_THREADS
;
2008 } Py_INCREF(Py_None
);
2009 _resultobj
= Py_None
;
2013 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2016 char *_kwnames
[] = { "szFormat", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2022 wxPy_BEGIN_ALLOW_THREADS
;
2025 wxPy_END_ALLOW_THREADS
;
2026 } Py_INCREF(Py_None
);
2027 _resultobj
= Py_None
;
2031 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2034 char *_kwnames
[] = { "szFormat", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2040 wxPy_BEGIN_ALLOW_THREADS
;
2041 wxLogVerbose(_arg0
);
2043 wxPy_END_ALLOW_THREADS
;
2044 } Py_INCREF(Py_None
);
2045 _resultobj
= Py_None
;
2049 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2052 char *_kwnames
[] = { "szFormat", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2058 wxPy_BEGIN_ALLOW_THREADS
;
2061 wxPy_END_ALLOW_THREADS
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2071 PyObject
* _argo0
= 0;
2072 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2085 wxPy_BEGIN_ALLOW_THREADS
;
2086 wxLogStatus(_arg0
,_arg1
);
2088 wxPy_END_ALLOW_THREADS
;
2089 } Py_INCREF(Py_None
);
2090 _resultobj
= Py_None
;
2094 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2097 char *_kwnames
[] = { "szFormat", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 wxLogSysError(_arg0
);
2106 wxPy_END_ALLOW_THREADS
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2112 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2116 int _arg1
= (int ) FALSE
;
2117 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2118 PyObject
* _obj0
= 0;
2119 PyObject
* _argo2
= 0;
2120 char *_kwnames
[] = { "command","sync","process", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2126 #if PYTHON_API_VERSION >= 1009
2127 char* tmpPtr
; int tmpSize
;
2128 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2129 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2132 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2134 _arg0
= new wxString(tmpPtr
, tmpSize
);
2136 if (!PyString_Check(_obj0
)) {
2137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2140 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2144 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2154 wxPy_END_ALLOW_THREADS
;
2155 } _resultobj
= Py_BuildValue("l",_result
);
2163 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2164 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2166 wxToolTip
* _result
;
2168 PyObject
* _obj0
= 0;
2169 char *_kwnames
[] = { "tip", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2176 #if PYTHON_API_VERSION >= 1009
2177 char* tmpPtr
; int tmpSize
;
2178 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2179 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2182 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2184 _arg0
= new wxString(tmpPtr
, tmpSize
);
2186 if (!PyString_Check(_obj0
)) {
2187 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2190 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2194 wxPy_BEGIN_ALLOW_THREADS
;
2195 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2197 wxPy_END_ALLOW_THREADS
;
2199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2200 _resultobj
= Py_BuildValue("s",_ptemp
);
2203 _resultobj
= Py_None
;
2212 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2213 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2217 PyObject
* _argo0
= 0;
2218 PyObject
* _obj1
= 0;
2219 char *_kwnames
[] = { "self","tip", NULL
};
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2232 #if PYTHON_API_VERSION >= 1009
2233 char* tmpPtr
; int tmpSize
;
2234 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2235 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2238 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2240 _arg1
= new wxString(tmpPtr
, tmpSize
);
2242 if (!PyString_Check(_obj1
)) {
2243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2246 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2250 wxPy_BEGIN_ALLOW_THREADS
;
2251 wxToolTip_SetTip(_arg0
,*_arg1
);
2253 wxPy_END_ALLOW_THREADS
;
2254 } Py_INCREF(Py_None
);
2255 _resultobj
= Py_None
;
2263 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2264 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2268 PyObject
* _argo0
= 0;
2269 char *_kwnames
[] = { "self", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2282 wxPy_BEGIN_ALLOW_THREADS
;
2283 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2285 wxPy_END_ALLOW_THREADS
;
2287 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2295 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2296 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2300 PyObject
* _argo0
= 0;
2301 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2318 wxPy_END_ALLOW_THREADS
;
2320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2321 _resultobj
= Py_BuildValue("s",_ptemp
);
2324 _resultobj
= Py_None
;
2329 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2330 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2335 PyObject
* _argo0
= 0;
2337 PyObject
* _obj1
= 0;
2338 char *_kwnames
[] = { "window","size", NULL
};
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2353 if (! wxSize_helper(_obj1
, &_arg1
))
2357 wxPy_BEGIN_ALLOW_THREADS
;
2358 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2360 wxPy_END_ALLOW_THREADS
;
2362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2363 _resultobj
= Py_BuildValue("s",_ptemp
);
2366 _resultobj
= Py_None
;
2371 #define delete_wxCaret(_swigobj) (delete _swigobj)
2372 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2375 PyObject
* _argo0
= 0;
2376 char *_kwnames
[] = { "self", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 delete_wxCaret(_arg0
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2398 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2399 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2403 PyObject
* _argo0
= 0;
2404 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2417 wxPy_BEGIN_ALLOW_THREADS
;
2418 _result
= (bool )wxCaret_IsOk(_arg0
);
2420 wxPy_END_ALLOW_THREADS
;
2421 } _resultobj
= Py_BuildValue("i",_result
);
2425 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2426 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2430 PyObject
* _argo0
= 0;
2431 char *_kwnames
[] = { "self", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 _result
= (bool )wxCaret_IsVisible(_arg0
);
2447 wxPy_END_ALLOW_THREADS
;
2448 } _resultobj
= Py_BuildValue("i",_result
);
2452 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2453 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2460 PyObject
* _argo0
= 0;
2461 char *_kwnames
[] = { "self", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2480 wxPy_BEGIN_ALLOW_THREADS
;
2481 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2483 wxPy_END_ALLOW_THREADS
;
2484 } Py_INCREF(Py_None
);
2485 _resultobj
= Py_None
;
2488 o
= PyInt_FromLong((long) (*_arg1
));
2489 _resultobj
= t_output_helper(_resultobj
, o
);
2493 o
= PyInt_FromLong((long) (*_arg2
));
2494 _resultobj
= t_output_helper(_resultobj
, o
);
2499 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2500 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2504 PyObject
* _argo0
= 0;
2505 char *_kwnames
[] = { "self", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2519 wxPy_BEGIN_ALLOW_THREADS
;
2520 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2522 wxPy_END_ALLOW_THREADS
;
2523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2524 _resultobj
= Py_BuildValue("s",_ptemp
);
2528 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2529 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2564 o
= PyInt_FromLong((long) (*_arg1
));
2565 _resultobj
= t_output_helper(_resultobj
, o
);
2569 o
= PyInt_FromLong((long) (*_arg2
));
2570 _resultobj
= t_output_helper(_resultobj
, o
);
2575 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2576 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2580 PyObject
* _argo0
= 0;
2581 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2598 wxPy_END_ALLOW_THREADS
;
2599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2600 _resultobj
= Py_BuildValue("s",_ptemp
);
2604 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2605 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2627 wxPy_END_ALLOW_THREADS
;
2629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2630 _resultobj
= Py_BuildValue("s",_ptemp
);
2633 _resultobj
= Py_None
;
2638 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2639 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self","x","y", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2661 wxPy_END_ALLOW_THREADS
;
2662 } Py_INCREF(Py_None
);
2663 _resultobj
= Py_None
;
2667 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2668 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2672 PyObject
* _argo0
= 0;
2674 PyObject
* _obj1
= 0;
2675 char *_kwnames
[] = { "self","pt", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2689 if (! wxPoint_helper(_obj1
, &_arg1
))
2693 wxPy_BEGIN_ALLOW_THREADS
;
2694 wxCaret_Move(_arg0
,*_arg1
);
2696 wxPy_END_ALLOW_THREADS
;
2697 } Py_INCREF(Py_None
);
2698 _resultobj
= Py_None
;
2702 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2703 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self","width","height", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2732 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2736 PyObject
* _argo0
= 0;
2738 PyObject
* _obj1
= 0;
2739 char *_kwnames
[] = { "self","size", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2753 if (! wxSize_helper(_obj1
, &_arg1
))
2757 wxPy_BEGIN_ALLOW_THREADS
;
2758 wxCaret_SetSize(_arg0
,*_arg1
);
2760 wxPy_END_ALLOW_THREADS
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2767 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2770 int _arg1
= (int ) TRUE
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self","show", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2785 wxPy_BEGIN_ALLOW_THREADS
;
2786 wxCaret_Show(_arg0
,_arg1
);
2788 wxPy_END_ALLOW_THREADS
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2795 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2798 PyObject
* _argo0
= 0;
2799 char *_kwnames
[] = { "self", NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2812 wxPy_BEGIN_ALLOW_THREADS
;
2813 wxCaret_Hide(_arg0
);
2815 wxPy_END_ALLOW_THREADS
;
2816 } Py_INCREF(Py_None
);
2817 _resultobj
= Py_None
;
2821 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2822 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2824 wxPyFontEnumerator
* _result
;
2825 char *_kwnames
[] = { NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2835 wxPy_END_ALLOW_THREADS
;
2837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2838 _resultobj
= Py_BuildValue("s",_ptemp
);
2841 _resultobj
= Py_None
;
2846 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2847 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2849 wxPyFontEnumerator
* _arg0
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 delete_wxPyFontEnumerator(_arg0
);
2867 wxPy_END_ALLOW_THREADS
;
2868 } Py_INCREF(Py_None
);
2869 _resultobj
= Py_None
;
2873 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2874 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2876 wxPyFontEnumerator
* _arg0
;
2879 PyObject
* _argo0
= 0;
2880 PyObject
* _obj1
= 0;
2881 PyObject
* _obj2
= 0;
2882 char *_kwnames
[] = { "self","self","_class", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2901 wxPy_BEGIN_ALLOW_THREADS
;
2902 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2904 wxPy_END_ALLOW_THREADS
;
2905 } Py_INCREF(Py_None
);
2906 _resultobj
= Py_None
;
2910 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2911 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2914 wxPyFontEnumerator
* _arg0
;
2915 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2916 bool _arg2
= (bool ) FALSE
;
2917 PyObject
* _argo0
= 0;
2918 int tempbool2
= (int) FALSE
;
2919 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2931 _arg2
= (bool ) tempbool2
;
2933 wxPy_BEGIN_ALLOW_THREADS
;
2934 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2936 wxPy_END_ALLOW_THREADS
;
2937 } _resultobj
= Py_BuildValue("i",_result
);
2941 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2942 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2945 wxPyFontEnumerator
* _arg0
;
2946 char * _arg1
= (char *) "";
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self","facename", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
2964 wxPy_END_ALLOW_THREADS
;
2965 } _resultobj
= Py_BuildValue("i",_result
);
2969 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2970 wxArrayString
* arr
= self
->GetEncodings();
2971 PyObject
* list
= PyList_New(0);
2972 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2973 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2976 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
* _resultobj
;
2979 wxPyFontEnumerator
* _arg0
;
2980 PyObject
* _argo0
= 0;
2981 char *_kwnames
[] = { "self", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2994 wxPy_BEGIN_ALLOW_THREADS
;
2995 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2997 wxPy_END_ALLOW_THREADS
;
2999 _resultobj
= _result
;
3004 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3005 wxArrayString
* arr
= self
->GetFacenames();
3006 PyObject
* list
= PyList_New(0);
3007 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3008 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3011 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3012 PyObject
* _resultobj
;
3014 wxPyFontEnumerator
* _arg0
;
3015 PyObject
* _argo0
= 0;
3016 char *_kwnames
[] = { "self", NULL
};
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3029 wxPy_BEGIN_ALLOW_THREADS
;
3030 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3032 wxPy_END_ALLOW_THREADS
;
3034 _resultobj
= _result
;
3039 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3040 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3042 wxBusyCursor
* _result
;
3043 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "cursor", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3062 wxPy_END_ALLOW_THREADS
;
3064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3065 _resultobj
= Py_BuildValue("s",_ptemp
);
3068 _resultobj
= Py_None
;
3073 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3074 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3076 wxBusyCursor
* _arg0
;
3077 PyObject
* _argo0
= 0;
3078 char *_kwnames
[] = { "self", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3091 wxPy_BEGIN_ALLOW_THREADS
;
3092 delete_wxBusyCursor(_arg0
);
3094 wxPy_END_ALLOW_THREADS
;
3095 } Py_INCREF(Py_None
);
3096 _resultobj
= Py_None
;
3100 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3101 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3103 wxWindowDisabler
* _result
;
3104 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3105 PyObject
* _argo0
= 0;
3106 char *_kwnames
[] = { "winToSkip", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3120 wxPy_BEGIN_ALLOW_THREADS
;
3121 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3123 wxPy_END_ALLOW_THREADS
;
3125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3126 _resultobj
= Py_BuildValue("s",_ptemp
);
3129 _resultobj
= Py_None
;
3134 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3135 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxWindowDisabler
* _arg0
;
3138 PyObject
* _argo0
= 0;
3139 char *_kwnames
[] = { "self", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 delete_wxWindowDisabler(_arg0
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3161 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3162 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3164 wxTipProvider
* _arg0
;
3165 PyObject
* _argo0
= 0;
3166 char *_kwnames
[] = { "self", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 delete_wxTipProvider(_arg0
);
3182 wxPy_END_ALLOW_THREADS
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3188 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3189 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3192 wxTipProvider
* _arg0
;
3193 PyObject
* _argo0
= 0;
3194 char *_kwnames
[] = { "self", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3207 wxPy_BEGIN_ALLOW_THREADS
;
3208 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3210 wxPy_END_ALLOW_THREADS
;
3212 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3220 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3221 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3224 wxTipProvider
* _arg0
;
3225 PyObject
* _argo0
= 0;
3226 char *_kwnames
[] = { "self", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3242 wxPy_END_ALLOW_THREADS
;
3243 } _resultobj
= Py_BuildValue("i",_result
);
3247 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3248 wxPyTipProvider
*src
;
3249 wxTipProvider
*dest
;
3250 src
= (wxPyTipProvider
*) ptr
;
3251 dest
= (wxTipProvider
*) src
;
3252 return (void *) dest
;
3255 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3256 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
* _resultobj
;
3258 wxPyTipProvider
* _result
;
3260 char *_kwnames
[] = { "currentTip", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3267 wxPy_BEGIN_ALLOW_THREADS
;
3268 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3270 wxPy_END_ALLOW_THREADS
;
3272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3273 _resultobj
= Py_BuildValue("s",_ptemp
);
3276 _resultobj
= Py_None
;
3281 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3282 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
* _resultobj
;
3284 wxGenericDragImage
* _result
;
3286 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3287 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3288 PyObject
* _argo0
= 0;
3289 PyObject
* _argo1
= 0;
3291 PyObject
* _obj2
= 0;
3292 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3315 if (! wxPoint_helper(_obj2
, &_arg2
))
3319 wxPy_BEGIN_ALLOW_THREADS
;
3320 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3322 wxPy_END_ALLOW_THREADS
;
3324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3325 _resultobj
= Py_BuildValue("s",_ptemp
);
3328 _resultobj
= Py_None
;
3333 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3334 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3336 wxGenericDragImage
* _arg0
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 delete_wxGenericDragImage(_arg0
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3361 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3364 wxGenericDragImage
* _arg0
;
3367 bool _arg3
= (bool ) FALSE
;
3368 wxRect
* _arg4
= (wxRect
*) NULL
;
3369 PyObject
* _argo0
= 0;
3371 PyObject
* _obj1
= 0;
3372 PyObject
* _argo2
= 0;
3373 int tempbool3
= (int) FALSE
;
3375 PyObject
* _obj4
= 0;
3376 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3390 if (! wxPoint_helper(_obj1
, &_arg1
))
3394 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3400 _arg3
= (bool ) tempbool3
;
3404 if (! wxRect_helper(_obj4
, &_arg4
))
3408 wxPy_BEGIN_ALLOW_THREADS
;
3409 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3411 wxPy_END_ALLOW_THREADS
;
3412 } _resultobj
= Py_BuildValue("i",_result
);
3416 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3417 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3420 wxGenericDragImage
* _arg0
;
3424 PyObject
* _argo0
= 0;
3426 PyObject
* _obj1
= 0;
3427 PyObject
* _argo2
= 0;
3428 PyObject
* _argo3
= 0;
3429 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3443 if (! wxPoint_helper(_obj1
, &_arg1
))
3447 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3454 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3464 wxPy_END_ALLOW_THREADS
;
3465 } _resultobj
= Py_BuildValue("i",_result
);
3469 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3470 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3473 wxGenericDragImage
* _arg0
;
3474 PyObject
* _argo0
= 0;
3475 char *_kwnames
[] = { "self", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3491 wxPy_END_ALLOW_THREADS
;
3492 } _resultobj
= Py_BuildValue("i",_result
);
3496 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3497 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3500 wxGenericDragImage
* _arg0
;
3502 PyObject
* _argo0
= 0;
3504 PyObject
* _obj1
= 0;
3505 char *_kwnames
[] = { "self","pt", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3519 if (! wxPoint_helper(_obj1
, &_arg1
))
3523 wxPy_BEGIN_ALLOW_THREADS
;
3524 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3526 wxPy_END_ALLOW_THREADS
;
3527 } _resultobj
= Py_BuildValue("i",_result
);
3531 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3532 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3535 wxGenericDragImage
* _arg0
;
3536 PyObject
* _argo0
= 0;
3537 char *_kwnames
[] = { "self", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3550 wxPy_BEGIN_ALLOW_THREADS
;
3551 _result
= (bool )wxDragImage_Show(_arg0
);
3553 wxPy_END_ALLOW_THREADS
;
3554 } _resultobj
= Py_BuildValue("i",_result
);
3558 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3559 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3562 wxGenericDragImage
* _arg0
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (bool )wxDragImage_Hide(_arg0
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } _resultobj
= Py_BuildValue("i",_result
);
3585 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3586 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3589 wxGenericDragImage
* _arg0
;
3591 PyObject
* _argo0
= 0;
3593 PyObject
* _obj1
= 0;
3594 char *_kwnames
[] = { "self","pos", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3609 if (! wxPoint_helper(_obj1
, &_arg1
))
3613 wxPy_BEGIN_ALLOW_THREADS
;
3614 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3616 wxPy_END_ALLOW_THREADS
;
3617 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3618 _resultobj
= Py_BuildValue("s",_ptemp
);
3622 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3623 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3626 wxGenericDragImage
* _arg0
;
3631 PyObject
* _argo0
= 0;
3633 PyObject
* _obj1
= 0;
3635 PyObject
* _obj2
= 0;
3638 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3652 if (! wxPoint_helper(_obj1
, &_arg1
))
3657 if (! wxPoint_helper(_obj2
, &_arg2
))
3660 _arg3
= (bool ) tempbool3
;
3661 _arg4
= (bool ) tempbool4
;
3663 wxPy_BEGIN_ALLOW_THREADS
;
3664 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3666 wxPy_END_ALLOW_THREADS
;
3667 } _resultobj
= Py_BuildValue("i",_result
);
3671 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3672 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3674 wxPyTimer
* _result
;
3676 PyObject
* _obj0
= 0;
3677 char *_kwnames
[] = { "notify", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3690 wxPy_END_ALLOW_THREADS
;
3692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3693 _resultobj
= Py_BuildValue("s",_ptemp
);
3696 _resultobj
= Py_None
;
3701 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3702 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3705 PyObject
* _argo0
= 0;
3706 char *_kwnames
[] = { "self", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3719 wxPy_BEGIN_ALLOW_THREADS
;
3720 delete_wxPyTimer(_arg0
);
3722 wxPy_END_ALLOW_THREADS
;
3723 } Py_INCREF(Py_None
);
3724 _resultobj
= Py_None
;
3728 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3729 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
* _resultobj
;
3733 PyObject
* _argo0
= 0;
3734 char *_kwnames
[] = { "self", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3747 wxPy_BEGIN_ALLOW_THREADS
;
3748 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3750 wxPy_END_ALLOW_THREADS
;
3751 } _resultobj
= Py_BuildValue("i",_result
);
3755 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3756 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3760 PyObject
* _argo0
= 0;
3761 char *_kwnames
[] = { "self", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3774 wxPy_BEGIN_ALLOW_THREADS
;
3775 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3777 wxPy_END_ALLOW_THREADS
;
3778 } _resultobj
= Py_BuildValue("i",_result
);
3782 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3783 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } _resultobj
= Py_BuildValue("i",_result
);
3809 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
3810 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3813 wxEvtHandler
* _arg1
;
3814 int _arg2
= (int ) -1;
3815 PyObject
* _argo0
= 0;
3816 PyObject
* _argo1
= 0;
3817 char *_kwnames
[] = { "self","owner","id", NULL
};
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
3830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
3837 wxPy_BEGIN_ALLOW_THREADS
;
3838 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
3840 wxPy_END_ALLOW_THREADS
;
3841 } Py_INCREF(Py_None
);
3842 _resultobj
= Py_None
;
3846 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3847 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3850 int _arg1
= (int ) -1;
3851 int _arg2
= (int ) FALSE
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } Py_INCREF(Py_None
);
3871 _resultobj
= Py_None
;
3875 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
3876 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 wxPyTimer_Stop(_arg0
);
3896 wxPy_END_ALLOW_THREADS
;
3897 } Py_INCREF(Py_None
);
3898 _resultobj
= Py_None
;
3902 #define new_wxLog() (new wxLog())
3903 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3906 char *_kwnames
[] = { NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 _result
= (wxLog
*)new_wxLog();
3916 wxPy_END_ALLOW_THREADS
;
3918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3919 _resultobj
= Py_BuildValue("s",_ptemp
);
3922 _resultobj
= Py_None
;
3927 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3930 char *_kwnames
[] = { NULL
};
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
3936 wxPy_BEGIN_ALLOW_THREADS
;
3937 _result
= (bool )wxLog::IsEnabled();
3939 wxPy_END_ALLOW_THREADS
;
3940 } _resultobj
= Py_BuildValue("i",_result
);
3944 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
* _resultobj
;
3947 bool _arg0
= (bool ) TRUE
;
3948 int tempbool0
= (int) TRUE
;
3949 char *_kwnames
[] = { "doIt", NULL
};
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
3954 _arg0
= (bool ) tempbool0
;
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 _result
= (bool )wxLog::EnableLogging(_arg0
);
3959 wxPy_END_ALLOW_THREADS
;
3960 } _resultobj
= Py_BuildValue("i",_result
);
3964 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3968 int _arg2
= (int ) 0;
3969 PyObject
* _argo0
= 0;
3970 char *_kwnames
[] = { "level","szString","t", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
3986 wxPy_END_ALLOW_THREADS
;
3987 } Py_INCREF(Py_None
);
3988 _resultobj
= Py_None
;
3992 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
3993 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3996 PyObject
* _argo0
= 0;
3997 char *_kwnames
[] = { "self", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4010 wxPy_BEGIN_ALLOW_THREADS
;
4013 wxPy_END_ALLOW_THREADS
;
4014 } Py_INCREF(Py_None
);
4015 _resultobj
= Py_None
;
4019 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4020 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4024 PyObject
* _argo0
= 0;
4025 char *_kwnames
[] = { "self", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4038 wxPy_BEGIN_ALLOW_THREADS
;
4039 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4041 wxPy_END_ALLOW_THREADS
;
4042 } _resultobj
= Py_BuildValue("i",_result
);
4046 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4048 char *_kwnames
[] = { NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 wxLog::FlushActive();
4057 wxPy_END_ALLOW_THREADS
;
4058 } Py_INCREF(Py_None
);
4059 _resultobj
= Py_None
;
4063 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
* _resultobj
;
4066 char *_kwnames
[] = { NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4073 wxPy_BEGIN_ALLOW_THREADS
;
4074 _result
= (wxLog
*)wxLog::GetActiveTarget();
4076 wxPy_END_ALLOW_THREADS
;
4078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4079 _resultobj
= Py_BuildValue("s",_ptemp
);
4082 _resultobj
= Py_None
;
4087 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4091 PyObject
* _argo0
= 0;
4092 char *_kwnames
[] = { "pLogger", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4106 wxPy_BEGIN_ALLOW_THREADS
;
4107 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4109 wxPy_END_ALLOW_THREADS
;
4111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4112 _resultobj
= Py_BuildValue("s",_ptemp
);
4115 _resultobj
= Py_None
;
4120 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4122 char *_kwnames
[] = { NULL
};
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4128 wxPy_BEGIN_ALLOW_THREADS
;
4131 wxPy_END_ALLOW_THREADS
;
4132 } Py_INCREF(Py_None
);
4133 _resultobj
= Py_None
;
4137 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4139 char *_kwnames
[] = { NULL
};
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4145 wxPy_BEGIN_ALLOW_THREADS
;
4148 wxPy_END_ALLOW_THREADS
;
4149 } Py_INCREF(Py_None
);
4150 _resultobj
= Py_None
;
4154 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4155 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4158 bool _arg1
= (bool ) TRUE
;
4159 PyObject
* _argo0
= 0;
4160 int tempbool1
= (int) TRUE
;
4161 char *_kwnames
[] = { "self","bVerbose", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4173 _arg1
= (bool ) tempbool1
;
4175 wxPy_BEGIN_ALLOW_THREADS
;
4176 wxLog_SetVerbose(_arg0
,_arg1
);
4178 wxPy_END_ALLOW_THREADS
;
4179 } Py_INCREF(Py_None
);
4180 _resultobj
= Py_None
;
4184 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
* _resultobj
;
4186 char *_kwnames
[] = { NULL
};
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 wxLog::DontCreateOnDemand();
4195 wxPy_END_ALLOW_THREADS
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4201 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4203 wxTraceMask
* _arg0
;
4204 PyObject
* _argo0
= 0;
4205 char *_kwnames
[] = { "ulMask", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxLog::SetTraceMask(*_arg0
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
* _resultobj
;
4230 PyObject
* _obj0
= 0;
4231 char *_kwnames
[] = { "str", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4237 #if PYTHON_API_VERSION >= 1009
4238 char* tmpPtr
; int tmpSize
;
4239 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4240 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4243 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4245 _arg0
= new wxString(tmpPtr
, tmpSize
);
4247 if (!PyString_Check(_obj0
)) {
4248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4251 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4255 wxPy_BEGIN_ALLOW_THREADS
;
4256 wxLog::AddTraceMask(*_arg0
);
4258 wxPy_END_ALLOW_THREADS
;
4259 } Py_INCREF(Py_None
);
4260 _resultobj
= Py_None
;
4268 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
* _resultobj
;
4271 PyObject
* _obj0
= 0;
4272 char *_kwnames
[] = { "str", NULL
};
4275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4278 #if PYTHON_API_VERSION >= 1009
4279 char* tmpPtr
; int tmpSize
;
4280 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4281 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4284 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4286 _arg0
= new wxString(tmpPtr
, tmpSize
);
4288 if (!PyString_Check(_obj0
)) {
4289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4292 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4296 wxPy_BEGIN_ALLOW_THREADS
;
4297 wxLog::RemoveTraceMask(*_arg0
);
4299 wxPy_END_ALLOW_THREADS
;
4300 } Py_INCREF(Py_None
);
4301 _resultobj
= Py_None
;
4309 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4310 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4314 PyObject
* _argo0
= 0;
4315 char *_kwnames
[] = { "self", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4328 wxPy_BEGIN_ALLOW_THREADS
;
4329 _result
= (bool )wxLog_GetVerbose(_arg0
);
4331 wxPy_END_ALLOW_THREADS
;
4332 } _resultobj
= Py_BuildValue("i",_result
);
4336 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
* _resultobj
;
4338 wxTraceMask
* _result
;
4339 char *_kwnames
[] = { NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4346 wxPy_BEGIN_ALLOW_THREADS
;
4347 _result
= new wxTraceMask (wxLog::GetTraceMask());
4349 wxPy_END_ALLOW_THREADS
;
4350 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4351 _resultobj
= Py_BuildValue("s",_ptemp
);
4355 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4359 char *_kwnames
[] = { "mask", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4368 wxPy_END_ALLOW_THREADS
;
4369 } _resultobj
= Py_BuildValue("i",_result
);
4373 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4376 src
= (wxLogStderr
*) ptr
;
4377 dest
= (wxLog
*) src
;
4378 return (void *) dest
;
4381 #define new_wxLogStderr() (new wxLogStderr())
4382 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
* _resultobj
;
4384 wxLogStderr
* _result
;
4385 char *_kwnames
[] = { NULL
};
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= (wxLogStderr
*)new_wxLogStderr();
4395 wxPy_END_ALLOW_THREADS
;
4397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4398 _resultobj
= Py_BuildValue("s",_ptemp
);
4401 _resultobj
= Py_None
;
4406 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4409 src
= (wxLogTextCtrl
*) ptr
;
4410 dest
= (wxLog
*) src
;
4411 return (void *) dest
;
4414 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4415 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
* _resultobj
;
4417 wxLogTextCtrl
* _result
;
4419 PyObject
* _argo0
= 0;
4420 char *_kwnames
[] = { "pTextCtrl", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4434 wxPy_BEGIN_ALLOW_THREADS
;
4435 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4437 wxPy_END_ALLOW_THREADS
;
4439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4440 _resultobj
= Py_BuildValue("s",_ptemp
);
4443 _resultobj
= Py_None
;
4448 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4451 src
= (wxLogGui
*) ptr
;
4452 dest
= (wxLog
*) src
;
4453 return (void *) dest
;
4456 #define new_wxLogGui() (new wxLogGui())
4457 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4460 char *_kwnames
[] = { NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4467 wxPy_BEGIN_ALLOW_THREADS
;
4468 _result
= (wxLogGui
*)new_wxLogGui();
4470 wxPy_END_ALLOW_THREADS
;
4472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4473 _resultobj
= Py_BuildValue("s",_ptemp
);
4476 _resultobj
= Py_None
;
4481 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4484 src
= (wxLogWindow
*) ptr
;
4485 dest
= (wxLog
*) src
;
4486 return (void *) dest
;
4489 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4490 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4492 wxLogWindow
* _result
;
4495 bool _arg2
= (bool ) TRUE
;
4496 bool _arg3
= (bool ) TRUE
;
4497 PyObject
* _argo0
= 0;
4498 int tempbool2
= (int) TRUE
;
4499 int tempbool3
= (int) TRUE
;
4500 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4513 _arg2
= (bool ) tempbool2
;
4514 _arg3
= (bool ) tempbool3
;
4516 wxPy_BEGIN_ALLOW_THREADS
;
4517 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4519 wxPy_END_ALLOW_THREADS
;
4521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4522 _resultobj
= Py_BuildValue("s",_ptemp
);
4525 _resultobj
= Py_None
;
4530 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4531 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4533 wxLogWindow
* _arg0
;
4534 bool _arg1
= (bool ) TRUE
;
4535 PyObject
* _argo0
= 0;
4536 int tempbool1
= (int) TRUE
;
4537 char *_kwnames
[] = { "self","bShow", NULL
};
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4549 _arg1
= (bool ) tempbool1
;
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 wxLogWindow_Show(_arg0
,_arg1
);
4554 wxPy_END_ALLOW_THREADS
;
4555 } Py_INCREF(Py_None
);
4556 _resultobj
= Py_None
;
4560 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4561 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4564 wxLogWindow
* _arg0
;
4565 PyObject
* _argo0
= 0;
4566 char *_kwnames
[] = { "self", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4580 wxPy_BEGIN_ALLOW_THREADS
;
4581 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4583 wxPy_END_ALLOW_THREADS
;
4585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4586 _resultobj
= Py_BuildValue("s",_ptemp
);
4589 _resultobj
= Py_None
;
4594 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4595 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4598 wxLogWindow
* _arg0
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4614 wxPy_BEGIN_ALLOW_THREADS
;
4615 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4617 wxPy_END_ALLOW_THREADS
;
4619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4620 _resultobj
= Py_BuildValue("s",_ptemp
);
4623 _resultobj
= Py_None
;
4628 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4629 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4632 wxLogWindow
* _arg0
;
4633 PyObject
* _argo0
= 0;
4634 char *_kwnames
[] = { "self", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4647 wxPy_BEGIN_ALLOW_THREADS
;
4648 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4650 wxPy_END_ALLOW_THREADS
;
4651 } _resultobj
= Py_BuildValue("i",_result
);
4655 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4656 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4658 wxLogWindow
* _arg0
;
4660 PyObject
* _argo0
= 0;
4662 char *_kwnames
[] = { "self","bDoPass", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4674 _arg1
= (bool ) tempbool1
;
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 wxLogWindow_PassMessages(_arg0
,_arg1
);
4679 wxPy_END_ALLOW_THREADS
;
4680 } Py_INCREF(Py_None
);
4681 _resultobj
= Py_None
;
4685 #define new_wxLogNull() (new wxLogNull())
4686 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4688 wxLogNull
* _result
;
4689 char *_kwnames
[] = { NULL
};
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 _result
= (wxLogNull
*)new_wxLogNull();
4699 wxPy_END_ALLOW_THREADS
;
4701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4702 _resultobj
= Py_BuildValue("s",_ptemp
);
4705 _resultobj
= Py_None
;
4710 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4711 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4714 PyObject
* _argo0
= 0;
4715 char *_kwnames
[] = { "self", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4728 wxPy_BEGIN_ALLOW_THREADS
;
4729 delete_wxLogNull(_arg0
);
4731 wxPy_END_ALLOW_THREADS
;
4732 } Py_INCREF(Py_None
);
4733 _resultobj
= Py_None
;
4737 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4738 wxProcessEvent
*src
;
4740 src
= (wxProcessEvent
*) ptr
;
4741 dest
= (wxEvent
*) src
;
4742 return (void *) dest
;
4745 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4746 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4748 wxProcessEvent
* _result
;
4749 int _arg0
= (int ) 0;
4750 int _arg1
= (int ) 0;
4751 int _arg2
= (int ) 0;
4752 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4759 wxPy_BEGIN_ALLOW_THREADS
;
4760 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4762 wxPy_END_ALLOW_THREADS
;
4764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4765 _resultobj
= Py_BuildValue("s",_ptemp
);
4768 _resultobj
= Py_None
;
4773 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4774 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 wxProcessEvent
* _arg0
;
4778 PyObject
* _argo0
= 0;
4779 char *_kwnames
[] = { "self", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 _result
= (int )wxProcessEvent_GetPid(_arg0
);
4795 wxPy_END_ALLOW_THREADS
;
4796 } _resultobj
= Py_BuildValue("i",_result
);
4800 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
4801 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4804 wxProcessEvent
* _arg0
;
4805 PyObject
* _argo0
= 0;
4806 char *_kwnames
[] = { "self", NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
4819 wxPy_BEGIN_ALLOW_THREADS
;
4820 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
4822 wxPy_END_ALLOW_THREADS
;
4823 } _resultobj
= Py_BuildValue("i",_result
);
4827 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
4828 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4831 wxProcessEvent
* _arg0
;
4833 PyObject
* _argo0
= 0;
4834 char *_kwnames
[] = { "self","m_pid", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
4840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
4847 wxPy_BEGIN_ALLOW_THREADS
;
4848 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
4850 wxPy_END_ALLOW_THREADS
;
4851 } _resultobj
= Py_BuildValue("i",_result
);
4855 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
4856 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4859 wxProcessEvent
* _arg0
;
4860 PyObject
* _argo0
= 0;
4861 char *_kwnames
[] = { "self", NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
4867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
4874 wxPy_BEGIN_ALLOW_THREADS
;
4875 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
4877 wxPy_END_ALLOW_THREADS
;
4878 } _resultobj
= Py_BuildValue("i",_result
);
4882 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
4883 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4886 wxProcessEvent
* _arg0
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self","m_exitcode", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
4902 wxPy_BEGIN_ALLOW_THREADS
;
4903 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
4905 wxPy_END_ALLOW_THREADS
;
4906 } _resultobj
= Py_BuildValue("i",_result
);
4910 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
4911 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4914 wxProcessEvent
* _arg0
;
4915 PyObject
* _argo0
= 0;
4916 char *_kwnames
[] = { "self", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
4922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
4929 wxPy_BEGIN_ALLOW_THREADS
;
4930 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
4932 wxPy_END_ALLOW_THREADS
;
4933 } _resultobj
= Py_BuildValue("i",_result
);
4937 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
4940 src
= (wxPyProcess
*) ptr
;
4941 dest
= (wxEvtHandler
*) src
;
4942 return (void *) dest
;
4945 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
4946 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 wxPyProcess
* _result
;
4949 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
4950 int _arg1
= (int ) -1;
4951 PyObject
* _argo0
= 0;
4952 char *_kwnames
[] = { "parent","id", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
4969 wxPy_END_ALLOW_THREADS
;
4971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
4972 _resultobj
= Py_BuildValue("s",_ptemp
);
4975 _resultobj
= Py_None
;
4980 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
4981 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
* _resultobj
;
4983 wxPyProcess
* _arg0
;
4984 PyObject
* _argo0
= 0;
4985 char *_kwnames
[] = { "self", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
4998 wxPy_BEGIN_ALLOW_THREADS
;
4999 wxPyProcess_Destroy(_arg0
);
5001 wxPy_END_ALLOW_THREADS
;
5002 } Py_INCREF(Py_None
);
5003 _resultobj
= Py_None
;
5007 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5008 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5010 wxPyProcess
* _arg0
;
5013 PyObject
* _argo0
= 0;
5014 PyObject
* _obj1
= 0;
5015 PyObject
* _obj2
= 0;
5016 char *_kwnames
[] = { "self","self","_class", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5035 wxPy_BEGIN_ALLOW_THREADS
;
5036 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5038 wxPy_END_ALLOW_THREADS
;
5039 } Py_INCREF(Py_None
);
5040 _resultobj
= Py_None
;
5044 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5045 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5047 wxPyProcess
* _arg0
;
5050 PyObject
* _argo0
= 0;
5051 char *_kwnames
[] = { "self","pid","status", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5067 wxPy_END_ALLOW_THREADS
;
5068 } Py_INCREF(Py_None
);
5069 _resultobj
= Py_None
;
5073 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5074 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5076 wxPyProcess
* _arg0
;
5077 PyObject
* _argo0
= 0;
5078 char *_kwnames
[] = { "self", NULL
};
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5091 wxPy_BEGIN_ALLOW_THREADS
;
5092 wxProcess_Redirect(_arg0
);
5094 wxPy_END_ALLOW_THREADS
;
5095 } Py_INCREF(Py_None
);
5096 _resultobj
= Py_None
;
5100 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5101 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
* _resultobj
;
5104 wxPyProcess
* _arg0
;
5105 PyObject
* _argo0
= 0;
5106 char *_kwnames
[] = { "self", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5122 wxPy_END_ALLOW_THREADS
;
5123 } _resultobj
= Py_BuildValue("i",_result
);
5127 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5128 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
* _resultobj
;
5130 wxPyProcess
* _arg0
;
5131 PyObject
* _argo0
= 0;
5132 char *_kwnames
[] = { "self", NULL
};
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5145 wxPy_BEGIN_ALLOW_THREADS
;
5146 wxProcess_Detach(_arg0
);
5148 wxPy_END_ALLOW_THREADS
;
5149 } Py_INCREF(Py_None
);
5150 _resultobj
= Py_None
;
5154 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5155 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5157 wxInputStream
* _result
;
5158 wxPyProcess
* _arg0
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5173 wxPy_BEGIN_ALLOW_THREADS
;
5174 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5176 wxPy_END_ALLOW_THREADS
;
5178 wxPyInputStream
* _ptr
= NULL
;
5181 _ptr
= new wxPyInputStream(_result
);
5185 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5187 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5190 _resultobj
= Py_None
;
5192 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5193 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5197 PyObject
* one
= PyInt_FromLong(1);
5198 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5203 _resultobj
= Py_None
;
5209 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5210 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5212 wxInputStream
* _result
;
5213 wxPyProcess
* _arg0
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "self", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5228 wxPy_BEGIN_ALLOW_THREADS
;
5229 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5231 wxPy_END_ALLOW_THREADS
;
5233 wxPyInputStream
* _ptr
= NULL
;
5236 _ptr
= new wxPyInputStream(_result
);
5240 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5242 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5245 _resultobj
= Py_None
;
5247 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5248 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5252 PyObject
* one
= PyInt_FromLong(1);
5253 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5258 _resultobj
= Py_None
;
5264 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5265 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5267 wxOutputStream
* _result
;
5268 wxPyProcess
* _arg0
;
5269 PyObject
* _argo0
= 0;
5270 char *_kwnames
[] = { "self", NULL
};
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5284 wxPy_BEGIN_ALLOW_THREADS
;
5285 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5287 wxPy_END_ALLOW_THREADS
;
5289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5290 _resultobj
= Py_BuildValue("s",_ptemp
);
5293 _resultobj
= Py_None
;
5298 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5299 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
* _resultobj
;
5301 wxPyProcess
* _arg0
;
5302 PyObject
* _argo0
= 0;
5303 char *_kwnames
[] = { "self", NULL
};
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5316 wxPy_BEGIN_ALLOW_THREADS
;
5317 wxProcess_CloseOutput(_arg0
);
5319 wxPy_END_ALLOW_THREADS
;
5320 } Py_INCREF(Py_None
);
5321 _resultobj
= Py_None
;
5325 static PyMethodDef misc2cMethods
[] = {
5326 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
5327 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
5328 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
5329 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
5330 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
5331 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
5332 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
5333 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
5334 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5335 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5336 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
5337 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
5338 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
5339 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
5340 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
5341 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
5342 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
5343 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
5344 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
5345 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
5346 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
5347 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
5348 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
5349 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5350 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
5351 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
5352 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
5353 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5354 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
5355 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5356 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5357 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5358 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5359 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5360 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5361 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
5362 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5363 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
5364 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
5365 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
5366 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
5367 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
5368 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
5369 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
5370 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
5488 * This table is used by the pointer type-checker
5490 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5491 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5492 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5493 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5494 { "_wxEvent","_class_wxEvent",0},
5495 { "_class_wxActivateEvent","_wxActivateEvent",0},
5496 { "_signed_long","_long",0},
5497 { "_wxMenuEvent","_class_wxMenuEvent",0},
5498 { "_class_wxProcessEvent","_wxProcessEvent",0},
5499 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5500 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5501 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5502 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
5503 { "_wxPrintQuality","_wxCoord",0},
5504 { "_wxPrintQuality","_int",0},
5505 { "_wxPrintQuality","_signed_int",0},
5506 { "_wxPrintQuality","_unsigned_int",0},
5507 { "_wxPrintQuality","_wxWindowID",0},
5508 { "_wxPrintQuality","_uint",0},
5509 { "_wxPrintQuality","_EBool",0},
5510 { "_wxPrintQuality","_size_t",0},
5511 { "_wxPrintQuality","_time_t",0},
5512 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5513 { "_class_wxRegionIterator","_wxRegionIterator",0},
5514 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5515 { "_class_wxMenuBar","_wxMenuBar",0},
5516 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5517 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5518 { "_class_wxEvtHandler","_wxEvtHandler",0},
5519 { "_wxPaintEvent","_class_wxPaintEvent",0},
5520 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5521 { "_wxCursor","_class_wxCursor",0},
5522 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5523 { "_wxPyProcess","_class_wxPyProcess",0},
5524 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
5525 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
5526 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
5527 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
5528 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5529 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5530 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
5531 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
5532 { "_wxLog","_class_wxLog",0},
5533 { "_wxMask","_class_wxMask",0},
5534 { "_wxToolTip","_class_wxToolTip",0},
5535 { "_wxPen","_class_wxPen",0},
5536 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5537 { "_byte","_unsigned_char",0},
5538 { "_wxDataObject","_class_wxDataObject",0},
5539 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
5540 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5541 { "_wxPyDropSource","_class_wxPyDropSource",0},
5542 { "_long","_unsigned_long",0},
5543 { "_long","_signed_long",0},
5544 { "_wxImageList","_class_wxImageList",0},
5545 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5546 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5547 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5548 { "_class_wxClipboard","_wxClipboard",0},
5549 { "_wxDC","_class_wxDC",0},
5550 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5551 { "_wxSpinEvent","_class_wxSpinEvent",0},
5552 { "_size_t","_wxCoord",0},
5553 { "_size_t","_wxPrintQuality",0},
5554 { "_size_t","_time_t",0},
5555 { "_size_t","_unsigned_int",0},
5556 { "_size_t","_int",0},
5557 { "_size_t","_wxWindowID",0},
5558 { "_size_t","_uint",0},
5559 { "_class_wxRealPoint","_wxRealPoint",0},
5560 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5561 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5562 { "_wxLogGui","_class_wxLogGui",0},
5563 { "_class_wxMenuItem","_wxMenuItem",0},
5564 { "_class_wxPaintEvent","_wxPaintEvent",0},
5565 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5566 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5567 { "_wxPanel","_class_wxPanel",0},
5568 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5569 { "_wxPyEvent","_class_wxPyEvent",0},
5570 { "_class_wxMask","_wxMask",0},
5571 { "_wxTextDataObject","_class_wxTextDataObject",0},
5572 { "_class_wxKeyEvent","_wxKeyEvent",0},
5573 { "_class_wxToolTip","_wxToolTip",0},
5574 { "_wxColour","_class_wxColour",0},
5575 { "_class_wxDialog","_wxDialog",0},
5576 { "_wxBusyCursor","_class_wxBusyCursor",0},
5577 { "_class_wxFileDataObject","_wxFileDataObject",0},
5578 { "_wxIdleEvent","_class_wxIdleEvent",0},
5579 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5580 { "_class_wxDataObject","_wxDataObject",0},
5581 { "_wxCaret","_class_wxCaret",0},
5582 { "_wxBrush","_class_wxBrush",0},
5583 { "_wxDataFormat","_class_wxDataFormat",0},
5584 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5585 { "_wxShowEvent","_class_wxShowEvent",0},
5586 { "_uint","_wxCoord",0},
5587 { "_uint","_wxPrintQuality",0},
5588 { "_uint","_time_t",0},
5589 { "_uint","_size_t",0},
5590 { "_uint","_unsigned_int",0},
5591 { "_uint","_int",0},
5592 { "_uint","_wxWindowID",0},
5593 { "_wxChar","_char",0},
5594 { "_wxPyValidator","_class_wxPyValidator",0},
5595 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5596 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5597 { "_class_wxEvent","_wxEvent",0},
5598 { "_wxRect","_class_wxRect",0},
5599 { "_wxCommandEvent","_class_wxCommandEvent",0},
5600 { "_wxSizeEvent","_class_wxSizeEvent",0},
5601 { "_class_wxLogWindow","_wxLogWindow",0},
5602 { "_wxPoint","_class_wxPoint",0},
5603 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
5604 { "_char","_wxChar",0},
5605 { "_wxBitmap","_class_wxBitmap",0},
5606 { "_wxWindowDC","_class_wxWindowDC",0},
5607 { "_wxTimerEvent","_class_wxTimerEvent",0},
5608 { "_wxPyTimer","_class_wxPyTimer",0},
5609 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5610 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5611 { "_class_wxValidator","_wxValidator",0},
5612 { "_class_wxPyEvent","_wxPyEvent",0},
5613 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5614 { "_class_wxBusyCursor","_wxBusyCursor",0},
5615 { "_wxDropTarget","_class_wxDropTarget",0},
5616 { "_wxScrollEvent","_class_wxScrollEvent",0},
5617 { "_EBool","_wxCoord",0},
5618 { "_EBool","_wxPrintQuality",0},
5619 { "_EBool","_signed_int",0},
5620 { "_EBool","_int",0},
5621 { "_EBool","_wxWindowID",0},
5622 { "_class_wxRegion","_wxRegion",0},
5623 { "_class_wxDataFormat","_wxDataFormat",0},
5624 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5625 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5626 { "_wxFont","_class_wxFont",0},
5627 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5628 { "_wxCloseEvent","_class_wxCloseEvent",0},
5629 { "_wxProcessEvent","_class_wxProcessEvent",0},
5630 { "_unsigned_long","_long",0},
5631 { "_class_wxRect","_wxRect",0},
5632 { "_class_wxDC","_wxDC",0},
5633 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5634 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
5635 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5636 { "_wxPyInputStream","_class_wxPyInputStream",0},
5637 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5638 { "_class_wxOutputStream","_wxOutputStream",0},
5639 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
5640 { "_wxFocusEvent","_class_wxFocusEvent",0},
5641 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5642 { "_class_wxTimerEvent","_wxTimerEvent",0},
5643 { "_class_wxPyTimer","_wxPyTimer",0},
5644 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5645 { "_class_wxPanel","_wxPanel",0},
5646 { "_signed_int","_wxCoord",0},
5647 { "_signed_int","_wxPrintQuality",0},
5648 { "_signed_int","_EBool",0},
5649 { "_signed_int","_wxWindowID",0},
5650 { "_signed_int","_int",0},
5651 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5652 { "_class_wxTextDataObject","_wxTextDataObject",0},
5653 { "_wxMenu","_class_wxMenu",0},
5654 { "_class_wxMoveEvent","_wxMoveEvent",0},
5655 { "_wxScreenDC","_class_wxScreenDC",0},
5656 { "_WXTYPE","_short",0},
5657 { "_WXTYPE","_signed_short",0},
5658 { "_WXTYPE","_unsigned_short",0},
5659 { "_class_wxDropTarget","_wxDropTarget",0},
5660 { "_class_wxCaret","_wxCaret",0},
5661 { "_class_wxBrush","_wxBrush",0},
5662 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5663 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5664 { "_wxTipProvider","_class_wxTipProvider",0},
5665 { "_unsigned_short","_WXTYPE",0},
5666 { "_unsigned_short","_short",0},
5667 { "_class_wxWindow","_wxWindow",0},
5668 { "_class_wxLogStderr","_wxLogStderr",0},
5669 { "_class_wxFont","_wxFont",0},
5670 { "_wxClipboard","_class_wxClipboard",0},
5671 { "_class_wxPyValidator","_wxPyValidator",0},
5672 { "_class_wxCloseEvent","_wxCloseEvent",0},
5673 { "_wxBusyInfo","_class_wxBusyInfo",0},
5674 { "_class_wxMenuEvent","_wxMenuEvent",0},
5675 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5676 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5677 { "_wxClientDC","_class_wxClientDC",0},
5678 { "_wxMouseEvent","_class_wxMouseEvent",0},
5679 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
5680 { "_class_wxPoint","_wxPoint",0},
5681 { "_class_wxPyInputStream","_wxPyInputStream",0},
5682 { "_wxRealPoint","_class_wxRealPoint",0},
5683 { "_signed_short","_WXTYPE",0},
5684 { "_signed_short","_short",0},
5685 { "_wxMemoryDC","_class_wxMemoryDC",0},
5686 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5687 { "_wxPaintDC","_class_wxPaintDC",0},
5688 { "_class_wxWindowDC","_wxWindowDC",0},
5689 { "_class_wxFocusEvent","_wxFocusEvent",0},
5690 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5691 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5692 { "_class_wxCursor","_wxCursor",0},
5693 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5694 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5695 { "_class_wxPyProcess","_wxPyProcess",0},
5696 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5697 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
5698 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
5699 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
5700 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
5701 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5702 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5703 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
5704 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
5705 { "_class_wxLog","_wxLog",0},
5706 { "_unsigned_char","_byte",0},
5707 { "_class_wxMenu","_wxMenu",0},
5708 { "_unsigned_int","_wxCoord",0},
5709 { "_unsigned_int","_wxPrintQuality",0},
5710 { "_unsigned_int","_time_t",0},
5711 { "_unsigned_int","_size_t",0},
5712 { "_unsigned_int","_uint",0},
5713 { "_unsigned_int","_wxWindowID",0},
5714 { "_unsigned_int","_int",0},
5715 { "_wxIcon","_class_wxIcon",0},
5716 { "_wxDialog","_class_wxDialog",0},
5717 { "_class_wxPen","_wxPen",0},
5718 { "_short","_WXTYPE",0},
5719 { "_short","_unsigned_short",0},
5720 { "_short","_signed_short",0},
5721 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5722 { "_class_wxPyDropSource","_wxPyDropSource",0},
5723 { "_class_wxScrollEvent","_wxScrollEvent",0},
5724 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5725 { "_class_wxImageList","_wxImageList",0},
5726 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
5727 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5728 { "_wxWindowID","_wxCoord",0},
5729 { "_wxWindowID","_wxPrintQuality",0},
5730 { "_wxWindowID","_time_t",0},
5731 { "_wxWindowID","_size_t",0},
5732 { "_wxWindowID","_EBool",0},
5733 { "_wxWindowID","_uint",0},
5734 { "_wxWindowID","_int",0},
5735 { "_wxWindowID","_signed_int",0},
5736 { "_wxWindowID","_unsigned_int",0},
5737 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5738 { "_int","_wxCoord",0},
5739 { "_int","_wxPrintQuality",0},
5740 { "_int","_time_t",0},
5741 { "_int","_size_t",0},
5742 { "_int","_EBool",0},
5743 { "_int","_uint",0},
5744 { "_int","_wxWindowID",0},
5745 { "_int","_unsigned_int",0},
5746 { "_int","_signed_int",0},
5747 { "_class_wxMouseEvent","_wxMouseEvent",0},
5748 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5749 { "_wxLogWindow","_class_wxLogWindow",0},
5750 { "_class_wxSpinEvent","_wxSpinEvent",0},
5751 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5752 { "_time_t","_wxCoord",0},
5753 { "_time_t","_wxPrintQuality",0},
5754 { "_time_t","_unsigned_int",0},
5755 { "_time_t","_int",0},
5756 { "_time_t","_wxWindowID",0},
5757 { "_time_t","_uint",0},
5758 { "_time_t","_size_t",0},
5759 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5760 { "_wxLogNull","_class_wxLogNull",0},
5761 { "_wxSize","_class_wxSize",0},
5762 { "_wxRegionIterator","_class_wxRegionIterator",0},
5763 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5764 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
5765 { "_class_wxLogGui","_wxLogGui",0},
5766 { "_class_wxPaintDC","_wxPaintDC",0},
5767 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5768 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5769 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5770 { "_wxValidator","_class_wxValidator",0},
5771 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5772 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5773 { "_class_wxIcon","_wxIcon",0},
5774 { "_class_wxColour","_wxColour",0},
5775 { "_class_wxScreenDC","_wxScreenDC",0},
5776 { "_wxPalette","_class_wxPalette",0},
5777 { "_class_wxIdleEvent","_wxIdleEvent",0},
5778 { "_wxCoord","_int",0},
5779 { "_wxCoord","_signed_int",0},
5780 { "_wxCoord","_unsigned_int",0},
5781 { "_wxCoord","_wxWindowID",0},
5782 { "_wxCoord","_uint",0},
5783 { "_wxCoord","_EBool",0},
5784 { "_wxCoord","_size_t",0},
5785 { "_wxCoord","_time_t",0},
5786 { "_wxCoord","_wxPrintQuality",0},
5787 { "_wxEraseEvent","_class_wxEraseEvent",0},
5788 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5789 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5790 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5791 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5792 { "_class_wxTipProvider","_wxTipProvider",0},
5793 { "_wxRegion","_class_wxRegion",0},
5794 { "_class_wxShowEvent","_wxShowEvent",0},
5795 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
5796 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5797 { "_wxActivateEvent","_class_wxActivateEvent",0},
5798 { "_class_wxBusyInfo","_wxBusyInfo",0},
5799 { "_class_wxCommandEvent","_wxCommandEvent",0},
5800 { "_class_wxClientDC","_wxClientDC",0},
5801 { "_class_wxSizeEvent","_wxSizeEvent",0},
5802 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5803 { "_class_wxLogNull","_wxLogNull",0},
5804 { "_class_wxSize","_wxSize",0},
5805 { "_class_wxBitmap","_wxBitmap",0},
5806 { "_class_wxMemoryDC","_wxMemoryDC",0},
5807 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5808 { "_wxMenuBar","_class_wxMenuBar",0},
5809 { "_wxOutputStream","_class_wxOutputStream",0},
5810 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5811 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5812 { "_wxEvtHandler","_class_wxEvtHandler",0},
5813 { "_wxMenuItem","_class_wxMenuItem",0},
5814 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5815 { "_wxKeyEvent","_class_wxKeyEvent",0},
5816 { "_wxMoveEvent","_class_wxMoveEvent",0},
5817 { "_class_wxPalette","_wxPalette",0},
5818 { "_wxFileDataObject","_class_wxFileDataObject",0},
5819 { "_class_wxEraseEvent","_wxEraseEvent",0},
5820 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
5821 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5822 { "_wxWindow","_class_wxWindow",0},
5823 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5824 { "_wxLogStderr","_class_wxLogStderr",0},
5827 static PyObject
*SWIG_globals
;
5831 SWIGEXPORT(void) initmisc2c() {
5833 SWIG_globals
= SWIG_newvarlink();
5834 m
= Py_InitModule("misc2c", misc2cMethods
);
5835 d
= PyModule_GetDict(m
);
5836 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
5837 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
5838 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
5839 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
5840 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
5841 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
5842 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
5843 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
5844 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
5845 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
5846 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
5847 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
5848 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
5849 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
5850 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
5851 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
5852 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
5853 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
5854 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
5855 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
5856 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
5857 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
5858 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
5859 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
5860 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
5861 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
5862 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
5863 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
5864 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
5865 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
5866 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
5867 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
5868 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
5869 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
5870 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
5871 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
5872 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
5873 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
5874 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
5875 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
5876 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
5877 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
5878 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
5879 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
5880 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
5881 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
5882 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
5883 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
5884 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
5885 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
5886 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
5887 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
5888 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
5889 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
5890 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
5891 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
5892 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
5893 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
5894 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
5895 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
5896 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
5897 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
5898 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
5899 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
5900 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
5901 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
5902 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
5903 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
5904 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
5905 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
5906 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
5907 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
5908 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
5909 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
5910 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
5911 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
5912 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
5913 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
5914 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
5915 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
5916 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
5917 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
5918 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
5919 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
5920 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
5921 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
5922 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
5923 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
5924 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
5925 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
5926 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
5927 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
5928 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
5929 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
5930 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
5931 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
5932 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
5935 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5936 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);