2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
65 #include <wx/joystick.h>
67 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyList_Check(target
)) {
77 target
= PyList_New(0);
78 PyList_Append(target
, o2
);
81 PyList_Append(target
,o
);
87 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
93 } else if (target
== Py_None
) {
97 if (!PyTuple_Check(target
)) {
99 target
= PyTuple_New(1);
100 PyTuple_SetItem(target
, 0, o2
);
103 PyTuple_SetItem(o3
, 0, o
);
106 target
= PySequence_Concat(o2
, o3
);
113 static char* wxStringErrorMsg
= "string type is required for parameter";
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_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
363 PyObject
* _resultobj
;
369 wxWindow
* _arg4
= (wxWindow
*) NULL
;
370 int _arg5
= (int ) -1;
371 int _arg6
= (int ) -1;
372 bool _arg7
= (bool ) TRUE
;
373 int _arg8
= (int ) 150;
374 int _arg9
= (int ) 200;
375 PyObject
* _obj0
= 0;
376 PyObject
* _obj1
= 0;
377 PyObject
* _obj3
= 0;
378 PyObject
* _argo4
= 0;
379 int tempbool7
= (int) TRUE
;
380 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
386 #if PYTHON_API_VERSION >= 1009
387 char* tmpPtr
; int tmpSize
;
388 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
389 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
392 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
394 _arg0
= new wxString(tmpPtr
, tmpSize
);
396 if (!PyString_Check(_obj0
)) {
397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
400 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
404 #if PYTHON_API_VERSION >= 1009
405 char* tmpPtr
; int tmpSize
;
406 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
407 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
410 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
412 _arg1
= new wxString(tmpPtr
, tmpSize
);
414 if (!PyString_Check(_obj1
)) {
415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
418 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
423 _arg3
= wxString_LIST_helper(_obj3
);
429 if (_argo4
== Py_None
) { _arg4
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
435 _arg7
= (bool ) tempbool7
;
438 _arg2
= PyList_Size(_obj3
);
445 wxPy_BEGIN_ALLOW_THREADS
;
446 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
448 wxPy_END_ALLOW_THREADS
;
450 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
469 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
476 wxWindow
* _arg4
= (wxWindow
*) NULL
;
477 int _arg5
= (int ) -1;
478 int _arg6
= (int ) -1;
479 bool _arg7
= (bool ) TRUE
;
480 int _arg8
= (int ) 150;
481 int _arg9
= (int ) 200;
482 PyObject
* _obj0
= 0;
483 PyObject
* _obj1
= 0;
484 PyObject
* _obj3
= 0;
485 PyObject
* _argo4
= 0;
486 int tempbool7
= (int) TRUE
;
487 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
493 #if PYTHON_API_VERSION >= 1009
494 char* tmpPtr
; int tmpSize
;
495 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
496 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
499 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
501 _arg0
= new wxString(tmpPtr
, tmpSize
);
503 if (!PyString_Check(_obj0
)) {
504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
507 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
511 #if PYTHON_API_VERSION >= 1009
512 char* tmpPtr
; int tmpSize
;
513 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
514 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
517 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
519 _arg1
= new wxString(tmpPtr
, tmpSize
);
521 if (!PyString_Check(_obj1
)) {
522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
525 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
530 _arg3
= wxString_LIST_helper(_obj3
);
536 if (_argo4
== Py_None
) { _arg4
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
542 _arg7
= (bool ) tempbool7
;
545 _arg2
= PyList_Size(_obj3
);
552 wxPy_BEGIN_ALLOW_THREADS
;
553 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
555 wxPy_END_ALLOW_THREADS
;
556 } _resultobj
= Py_BuildValue("i",_result
);
571 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
572 PyObject
* _resultobj
;
575 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
576 int _arg2
= (int ) wxOK
|wxCENTRE
;
577 wxWindow
* _arg3
= (wxWindow
*) NULL
;
578 int _arg4
= (int ) -1;
579 int _arg5
= (int ) -1;
580 PyObject
* _obj0
= 0;
581 PyObject
* _obj1
= 0;
582 PyObject
* _argo3
= 0;
583 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
589 #if PYTHON_API_VERSION >= 1009
590 char* tmpPtr
; int tmpSize
;
591 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
592 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
595 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
597 _arg0
= new wxString(tmpPtr
, tmpSize
);
599 if (!PyString_Check(_obj0
)) {
600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
603 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
608 #if PYTHON_API_VERSION >= 1009
609 char* tmpPtr
; int tmpSize
;
610 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
611 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
614 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
616 _arg1
= new wxString(tmpPtr
, tmpSize
);
618 if (!PyString_Check(_obj1
)) {
619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
622 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
626 if (_argo3
== Py_None
) { _arg3
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
636 wxPy_END_ALLOW_THREADS
;
637 } _resultobj
= Py_BuildValue("i",_result
);
649 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
656 long _arg4
= (long ) 0;
657 long _arg5
= (long ) 100;
658 wxWindow
* _arg6
= (wxWindow
*) NULL
;
659 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
660 PyObject
* _obj0
= 0;
661 PyObject
* _obj1
= 0;
662 PyObject
* _obj2
= 0;
663 PyObject
* _argo6
= 0;
665 PyObject
* _obj7
= 0;
666 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
672 #if PYTHON_API_VERSION >= 1009
673 char* tmpPtr
; int tmpSize
;
674 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
675 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
678 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
680 _arg0
= new wxString(tmpPtr
, tmpSize
);
682 if (!PyString_Check(_obj0
)) {
683 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
686 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
690 #if PYTHON_API_VERSION >= 1009
691 char* tmpPtr
; int tmpSize
;
692 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
693 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
696 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
698 _arg1
= new wxString(tmpPtr
, tmpSize
);
700 if (!PyString_Check(_obj1
)) {
701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
704 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
708 #if PYTHON_API_VERSION >= 1009
709 char* tmpPtr
; int tmpSize
;
710 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
711 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
714 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
716 _arg2
= new wxString(tmpPtr
, tmpSize
);
718 if (!PyString_Check(_obj2
)) {
719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
722 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
726 if (_argo6
== Py_None
) { _arg6
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
735 if (! wxPoint_helper(_obj7
, &_arg7
))
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
742 wxPy_END_ALLOW_THREADS
;
743 } _resultobj
= Py_BuildValue("l",_result
);
759 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
760 PyObject
* _resultobj
;
762 char *_kwnames
[] = { NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
768 wxPy_BEGIN_ALLOW_THREADS
;
769 _result
= (bool )wxColourDisplay();
771 wxPy_END_ALLOW_THREADS
;
772 } _resultobj
= Py_BuildValue("i",_result
);
776 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
779 char *_kwnames
[] = { NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
785 wxPy_BEGIN_ALLOW_THREADS
;
786 _result
= (int )wxDisplayDepth();
788 wxPy_END_ALLOW_THREADS
;
789 } _resultobj
= Py_BuildValue("i",_result
);
793 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
796 PyObject
* _argo0
= 0;
797 char *_kwnames
[] = { "cursor", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
810 wxPy_BEGIN_ALLOW_THREADS
;
813 wxPy_END_ALLOW_THREADS
;
814 } Py_INCREF(Py_None
);
815 _resultobj
= Py_None
;
819 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
823 wxWindow
* _arg1
= (wxWindow
*) NULL
;
824 PyObject
* _obj0
= 0;
825 PyObject
* _argo1
= 0;
826 char *_kwnames
[] = { "label","parent", NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
833 #if PYTHON_API_VERSION >= 1009
834 char* tmpPtr
; int tmpSize
;
835 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
836 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
839 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
841 _arg0
= new wxString(tmpPtr
, tmpSize
);
843 if (!PyString_Check(_obj0
)) {
844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
847 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
861 wxPy_END_ALLOW_THREADS
;
863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
864 _resultobj
= Py_BuildValue("s",_ptemp
);
867 _resultobj
= Py_None
;
876 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
880 wxWindow
* _arg1
= (wxWindow
*) NULL
;
881 PyObject
* _obj0
= 0;
882 PyObject
* _argo1
= 0;
883 char *_kwnames
[] = { "name","parent", NULL
};
887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
890 #if PYTHON_API_VERSION >= 1009
891 char* tmpPtr
; int tmpSize
;
892 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
893 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
896 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
898 _arg0
= new wxString(tmpPtr
, tmpSize
);
900 if (!PyString_Check(_obj0
)) {
901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
904 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
918 wxPy_END_ALLOW_THREADS
;
920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
921 _resultobj
= Py_BuildValue("s",_ptemp
);
924 _resultobj
= Py_None
;
933 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
935 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
936 PyObject
* _argo0
= 0;
937 char *_kwnames
[] = { "cursor", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
950 wxPy_BEGIN_ALLOW_THREADS
;
951 wxBeginBusyCursor(_arg0
);
953 wxPy_END_ALLOW_THREADS
;
954 } Py_INCREF(Py_None
);
955 _resultobj
= Py_None
;
959 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
962 char *_kwnames
[] = { NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
969 wxPy_BEGIN_ALLOW_THREADS
;
970 _result
= (wxWindow
*)wxGetActiveWindow();
972 wxPy_END_ALLOW_THREADS
;
974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
975 _resultobj
= Py_BuildValue("s",_ptemp
);
978 _resultobj
= Py_None
;
983 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
988 char *_kwnames
[] = { "name","value", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
994 wxPy_BEGIN_ALLOW_THREADS
;
995 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
997 wxPy_END_ALLOW_THREADS
;
998 } _resultobj
= Py_BuildValue("i",_result
);
1002 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1004 char *_kwnames
[] = { NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1010 wxPy_BEGIN_ALLOW_THREADS
;
1013 wxPy_END_ALLOW_THREADS
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1023 char *_kwnames
[] = { "resource", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1033 wxPy_END_ALLOW_THREADS
;
1034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1035 _resultobj
= Py_BuildValue("s",_ptemp
);
1039 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
* _resultobj
;
1043 char *_kwnames
[] = { "resource", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1053 wxPy_END_ALLOW_THREADS
;
1054 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1055 _resultobj
= Py_BuildValue("s",_ptemp
);
1059 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1061 wxMenuBar
* _result
;
1063 char *_kwnames
[] = { "resource", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1073 wxPy_END_ALLOW_THREADS
;
1075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1076 _resultobj
= Py_BuildValue("s",_ptemp
);
1079 _resultobj
= Py_None
;
1084 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 char *_kwnames
[] = { "name", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (int )wxResourceGetIdentifier(_arg0
);
1097 wxPy_END_ALLOW_THREADS
;
1098 } _resultobj
= Py_BuildValue("i",_result
);
1102 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1106 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1107 PyObject
* _argo1
= 0;
1108 char *_kwnames
[] = { "resource","table", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1121 wxPy_BEGIN_ALLOW_THREADS
;
1122 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1124 wxPy_END_ALLOW_THREADS
;
1125 } _resultobj
= Py_BuildValue("i",_result
);
1129 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1133 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1134 PyObject
* _argo1
= 0;
1135 char *_kwnames
[] = { "filename","table", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1148 wxPy_BEGIN_ALLOW_THREADS
;
1149 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1151 wxPy_END_ALLOW_THREADS
;
1152 } _resultobj
= Py_BuildValue("i",_result
);
1156 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1161 PyObject
* _argo1
= 0;
1162 char *_kwnames
[] = { "resource","table", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1187 char *_kwnames
[] = { "index", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1197 wxPy_END_ALLOW_THREADS
;
1198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1199 _resultobj
= Py_BuildValue("s",_ptemp
);
1203 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1207 char *_kwnames
[] = { "index", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1217 wxPy_END_ALLOW_THREADS
;
1218 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1219 _resultobj
= Py_BuildValue("s",_ptemp
);
1223 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1227 char *_kwnames
[] = { "index", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1236 wxPy_END_ALLOW_THREADS
;
1237 } _resultobj
= Py_BuildValue("i",_result
);
1241 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1245 char *_kwnames
[] = { "flag", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1250 _arg0
= (bool ) tempbool0
;
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 wxToolTip_Enable(_arg0
);
1255 wxPy_END_ALLOW_THREADS
;
1256 } Py_INCREF(Py_None
);
1257 _resultobj
= Py_None
;
1261 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1264 char *_kwnames
[] = { "milliseconds", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 wxToolTip_SetDelay(_arg0
);
1273 wxPy_END_ALLOW_THREADS
;
1274 } Py_INCREF(Py_None
);
1275 _resultobj
= Py_None
;
1279 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1282 char *_kwnames
[] = { NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 _result
= (int )wxCaret_GetBlinkTime();
1291 wxPy_END_ALLOW_THREADS
;
1292 } _resultobj
= Py_BuildValue("i",_result
);
1296 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
* _resultobj
;
1299 char *_kwnames
[] = { "milliseconds", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 wxCaret_SetBlinkTime(_arg0
);
1308 wxPy_END_ALLOW_THREADS
;
1309 } Py_INCREF(Py_None
);
1310 _resultobj
= Py_None
;
1314 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1316 wxEvtHandler
* _arg0
;
1318 PyObject
* _argo0
= 0;
1319 PyObject
* _argo1
= 0;
1320 char *_kwnames
[] = { "dest","event", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 wxPostEvent(_arg0
,*_arg1
);
1343 wxPy_END_ALLOW_THREADS
;
1344 } Py_INCREF(Py_None
);
1345 _resultobj
= Py_None
;
1349 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1351 char *_kwnames
[] = { NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1357 wxPy_BEGIN_ALLOW_THREADS
;
1360 wxPy_END_ALLOW_THREADS
;
1361 } Py_INCREF(Py_None
);
1362 _resultobj
= Py_None
;
1366 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1369 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "win", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (bool )wxSafeYield(_arg0
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } _resultobj
= Py_BuildValue("i",_result
);
1392 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1396 wxTipProvider
* _arg1
;
1397 bool _arg2
= (bool ) TRUE
;
1398 PyObject
* _argo0
= 0;
1399 PyObject
* _argo1
= 0;
1400 int tempbool2
= (int) TRUE
;
1401 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1420 _arg2
= (bool ) tempbool2
;
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1425 wxPy_END_ALLOW_THREADS
;
1426 } _resultobj
= Py_BuildValue("i",_result
);
1430 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1432 wxTipProvider
* _result
;
1435 PyObject
* _obj0
= 0;
1436 char *_kwnames
[] = { "filename","currentTip", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1443 #if PYTHON_API_VERSION >= 1009
1444 char* tmpPtr
; int tmpSize
;
1445 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1446 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1449 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1451 _arg0
= new wxString(tmpPtr
, tmpSize
);
1453 if (!PyString_Check(_obj0
)) {
1454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1457 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1464 wxPy_END_ALLOW_THREADS
;
1466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1467 _resultobj
= Py_BuildValue("s",_ptemp
);
1470 _resultobj
= Py_None
;
1479 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1481 wxGenericDragImage
* _result
;
1483 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1484 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1485 PyObject
* _argo0
= 0;
1486 PyObject
* _argo1
= 0;
1488 PyObject
* _obj2
= 0;
1489 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1512 if (! wxPoint_helper(_obj2
, &_arg2
))
1516 wxPy_BEGIN_ALLOW_THREADS
;
1517 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1519 wxPy_END_ALLOW_THREADS
;
1521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1522 _resultobj
= Py_BuildValue("s",_ptemp
);
1525 _resultobj
= Py_None
;
1530 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1532 wxGenericDragImage
* _result
;
1534 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1535 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1536 PyObject
* _obj0
= 0;
1537 PyObject
* _argo1
= 0;
1539 PyObject
* _obj2
= 0;
1540 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1547 #if PYTHON_API_VERSION >= 1009
1548 char* tmpPtr
; int tmpSize
;
1549 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1550 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1553 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1555 _arg0
= new wxString(tmpPtr
, tmpSize
);
1557 if (!PyString_Check(_obj0
)) {
1558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1561 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1574 if (! wxPoint_helper(_obj2
, &_arg2
))
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1581 wxPy_END_ALLOW_THREADS
;
1583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 _resultobj
= Py_None
;
1596 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 wxGenericDragImage
* _result
;
1600 wxTreeItemId
* _arg1
;
1601 PyObject
* _argo0
= 0;
1602 PyObject
* _argo1
= 0;
1603 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1627 wxPy_END_ALLOW_THREADS
;
1629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1630 _resultobj
= Py_BuildValue("s",_ptemp
);
1633 _resultobj
= Py_None
;
1638 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1640 wxGenericDragImage
* _result
;
1643 PyObject
* _argo0
= 0;
1644 char *_kwnames
[] = { "listCtrl","id", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
1661 wxPy_END_ALLOW_THREADS
;
1663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1664 _resultobj
= Py_BuildValue("s",_ptemp
);
1667 _resultobj
= Py_None
;
1672 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1674 unsigned long _result
;
1675 char *_kwnames
[] = { NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 _result
= (unsigned long )wxSysErrorCode();
1684 wxPy_END_ALLOW_THREADS
;
1685 } _resultobj
= Py_BuildValue("l",_result
);
1689 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1692 unsigned long _arg0
= (unsigned long ) 0;
1693 char *_kwnames
[] = { "nErrCode", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1699 wxPy_BEGIN_ALLOW_THREADS
;
1700 _result
= (char *)wxSysErrorMsg(_arg0
);
1702 wxPy_END_ALLOW_THREADS
;
1703 } _resultobj
= Py_BuildValue("s", _result
);
1707 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1710 char *_kwnames
[] = { "szFormat", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1716 wxPy_BEGIN_ALLOW_THREADS
;
1717 wxLogFatalError(_arg0
);
1719 wxPy_END_ALLOW_THREADS
;
1720 } Py_INCREF(Py_None
);
1721 _resultobj
= Py_None
;
1725 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1728 char *_kwnames
[] = { "szFormat", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1734 wxPy_BEGIN_ALLOW_THREADS
;
1737 wxPy_END_ALLOW_THREADS
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1746 char *_kwnames
[] = { "szFormat", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 wxLogWarning(_arg0
);
1755 wxPy_END_ALLOW_THREADS
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1764 char *_kwnames
[] = { "szFormat", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1770 wxPy_BEGIN_ALLOW_THREADS
;
1771 wxLogMessage(_arg0
);
1773 wxPy_END_ALLOW_THREADS
;
1774 } Py_INCREF(Py_None
);
1775 _resultobj
= Py_None
;
1779 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1782 char *_kwnames
[] = { "szFormat", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
1788 wxPy_BEGIN_ALLOW_THREADS
;
1791 wxPy_END_ALLOW_THREADS
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1800 char *_kwnames
[] = { "szFormat", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
1806 wxPy_BEGIN_ALLOW_THREADS
;
1807 wxLogVerbose(_arg0
);
1809 wxPy_END_ALLOW_THREADS
;
1810 } Py_INCREF(Py_None
);
1811 _resultobj
= Py_None
;
1815 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1818 char *_kwnames
[] = { "szFormat", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
1824 wxPy_BEGIN_ALLOW_THREADS
;
1827 wxPy_END_ALLOW_THREADS
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1833 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1837 PyObject
* _argo0
= 0;
1838 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 wxLogStatus(_arg0
,_arg1
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } Py_INCREF(Py_None
);
1856 _resultobj
= Py_None
;
1860 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1863 char *_kwnames
[] = { "szFormat", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
1869 wxPy_BEGIN_ALLOW_THREADS
;
1870 wxLogSysError(_arg0
);
1872 wxPy_END_ALLOW_THREADS
;
1873 } Py_INCREF(Py_None
);
1874 _resultobj
= Py_None
;
1878 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1882 int _arg1
= (int ) FALSE
;
1883 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
1884 PyObject
* _obj0
= 0;
1885 PyObject
* _argo2
= 0;
1886 char *_kwnames
[] = { "command","sync","process", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
1892 #if PYTHON_API_VERSION >= 1009
1893 char* tmpPtr
; int tmpSize
;
1894 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1895 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1898 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1900 _arg0
= new wxString(tmpPtr
, tmpSize
);
1902 if (!PyString_Check(_obj0
)) {
1903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1906 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1910 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } _resultobj
= Py_BuildValue("l",_result
);
1929 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
1930 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1932 wxToolTip
* _result
;
1934 PyObject
* _obj0
= 0;
1935 char *_kwnames
[] = { "tip", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
1942 #if PYTHON_API_VERSION >= 1009
1943 char* tmpPtr
; int tmpSize
;
1944 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1945 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1948 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1950 _arg0
= new wxString(tmpPtr
, tmpSize
);
1952 if (!PyString_Check(_obj0
)) {
1953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1956 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1960 wxPy_BEGIN_ALLOW_THREADS
;
1961 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
1963 wxPy_END_ALLOW_THREADS
;
1965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
1966 _resultobj
= Py_BuildValue("s",_ptemp
);
1969 _resultobj
= Py_None
;
1978 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
1979 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1983 PyObject
* _argo0
= 0;
1984 PyObject
* _obj1
= 0;
1985 char *_kwnames
[] = { "self","tip", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
1998 #if PYTHON_API_VERSION >= 1009
1999 char* tmpPtr
; int tmpSize
;
2000 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2001 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2004 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2006 _arg1
= new wxString(tmpPtr
, tmpSize
);
2008 if (!PyString_Check(_obj1
)) {
2009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2012 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 wxToolTip_SetTip(_arg0
,*_arg1
);
2019 wxPy_END_ALLOW_THREADS
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2029 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2030 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2034 PyObject
* _argo0
= 0;
2035 char *_kwnames
[] = { "self", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2051 wxPy_END_ALLOW_THREADS
;
2053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2061 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2062 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2084 wxPy_END_ALLOW_THREADS
;
2086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2087 _resultobj
= Py_BuildValue("s",_ptemp
);
2090 _resultobj
= Py_None
;
2095 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2096 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2101 PyObject
* _argo0
= 0;
2103 PyObject
* _obj1
= 0;
2104 char *_kwnames
[] = { "window","size", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2119 if (! wxSize_helper(_obj1
, &_arg1
))
2123 wxPy_BEGIN_ALLOW_THREADS
;
2124 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2126 wxPy_END_ALLOW_THREADS
;
2128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2129 _resultobj
= Py_BuildValue("s",_ptemp
);
2132 _resultobj
= Py_None
;
2137 #define delete_wxCaret(_swigobj) (delete _swigobj)
2138 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 PyObject
* _argo0
= 0;
2142 char *_kwnames
[] = { "self", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2155 wxPy_BEGIN_ALLOW_THREADS
;
2156 delete_wxCaret(_arg0
);
2158 wxPy_END_ALLOW_THREADS
;
2159 } Py_INCREF(Py_None
);
2160 _resultobj
= Py_None
;
2164 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2165 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2169 PyObject
* _argo0
= 0;
2170 char *_kwnames
[] = { "self", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 _result
= (bool )wxCaret_IsOk(_arg0
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } _resultobj
= Py_BuildValue("i",_result
);
2191 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2192 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 _result
= (bool )wxCaret_IsVisible(_arg0
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } _resultobj
= Py_BuildValue("i",_result
);
2218 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2219 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2226 PyObject
* _argo0
= 0;
2227 char *_kwnames
[] = { "self", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2246 wxPy_BEGIN_ALLOW_THREADS
;
2247 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2249 wxPy_END_ALLOW_THREADS
;
2250 } Py_INCREF(Py_None
);
2251 _resultobj
= Py_None
;
2254 o
= PyInt_FromLong((long) (*_arg1
));
2255 _resultobj
= t_output_helper(_resultobj
, o
);
2259 o
= PyInt_FromLong((long) (*_arg2
));
2260 _resultobj
= t_output_helper(_resultobj
, o
);
2265 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2266 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2270 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2288 wxPy_END_ALLOW_THREADS
;
2289 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2290 _resultobj
= Py_BuildValue("s",_ptemp
);
2294 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2295 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2302 PyObject
* _argo0
= 0;
2303 char *_kwnames
[] = { "self", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2322 wxPy_BEGIN_ALLOW_THREADS
;
2323 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2325 wxPy_END_ALLOW_THREADS
;
2326 } Py_INCREF(Py_None
);
2327 _resultobj
= Py_None
;
2330 o
= PyInt_FromLong((long) (*_arg1
));
2331 _resultobj
= t_output_helper(_resultobj
, o
);
2335 o
= PyInt_FromLong((long) (*_arg2
));
2336 _resultobj
= t_output_helper(_resultobj
, o
);
2341 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2342 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2346 PyObject
* _argo0
= 0;
2347 char *_kwnames
[] = { "self", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2364 wxPy_END_ALLOW_THREADS
;
2365 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2366 _resultobj
= Py_BuildValue("s",_ptemp
);
2370 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2371 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2375 PyObject
* _argo0
= 0;
2376 char *_kwnames
[] = { "self", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2393 wxPy_END_ALLOW_THREADS
;
2395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2396 _resultobj
= Py_BuildValue("s",_ptemp
);
2399 _resultobj
= Py_None
;
2404 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2405 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self","x","y", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2434 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2438 PyObject
* _argo0
= 0;
2440 PyObject
* _obj1
= 0;
2441 char *_kwnames
[] = { "self","pt", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2455 if (! wxPoint_helper(_obj1
, &_arg1
))
2459 wxPy_BEGIN_ALLOW_THREADS
;
2460 wxCaret_Move(_arg0
,*_arg1
);
2462 wxPy_END_ALLOW_THREADS
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2469 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self","width","height", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2498 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2502 PyObject
* _argo0
= 0;
2504 PyObject
* _obj1
= 0;
2505 char *_kwnames
[] = { "self","size", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2519 if (! wxSize_helper(_obj1
, &_arg1
))
2523 wxPy_BEGIN_ALLOW_THREADS
;
2524 wxCaret_SetSize(_arg0
,*_arg1
);
2526 wxPy_END_ALLOW_THREADS
;
2527 } Py_INCREF(Py_None
);
2528 _resultobj
= Py_None
;
2532 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2533 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2534 PyObject
* _resultobj
;
2536 int _arg1
= (int ) TRUE
;
2537 PyObject
* _argo0
= 0;
2538 char *_kwnames
[] = { "self","show", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2551 wxPy_BEGIN_ALLOW_THREADS
;
2552 wxCaret_Show(_arg0
,_arg1
);
2554 wxPy_END_ALLOW_THREADS
;
2555 } Py_INCREF(Py_None
);
2556 _resultobj
= Py_None
;
2560 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2561 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2564 PyObject
* _argo0
= 0;
2565 char *_kwnames
[] = { "self", NULL
};
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2578 wxPy_BEGIN_ALLOW_THREADS
;
2579 wxCaret_Hide(_arg0
);
2581 wxPy_END_ALLOW_THREADS
;
2582 } Py_INCREF(Py_None
);
2583 _resultobj
= Py_None
;
2587 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2588 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2590 wxPyFontEnumerator
* _result
;
2591 char *_kwnames
[] = { NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2601 wxPy_END_ALLOW_THREADS
;
2603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2604 _resultobj
= Py_BuildValue("s",_ptemp
);
2607 _resultobj
= Py_None
;
2612 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2613 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2615 wxPyFontEnumerator
* _arg0
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 delete_wxPyFontEnumerator(_arg0
);
2633 wxPy_END_ALLOW_THREADS
;
2634 } Py_INCREF(Py_None
);
2635 _resultobj
= Py_None
;
2639 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2640 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2642 wxPyFontEnumerator
* _arg0
;
2645 PyObject
* _argo0
= 0;
2646 PyObject
* _obj1
= 0;
2647 PyObject
* _obj2
= 0;
2648 char *_kwnames
[] = { "self","self","_class", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2667 wxPy_BEGIN_ALLOW_THREADS
;
2668 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2670 wxPy_END_ALLOW_THREADS
;
2671 } Py_INCREF(Py_None
);
2672 _resultobj
= Py_None
;
2676 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2677 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2680 wxPyFontEnumerator
* _arg0
;
2681 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2682 bool _arg2
= (bool ) FALSE
;
2683 PyObject
* _argo0
= 0;
2684 int tempbool2
= (int) FALSE
;
2685 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2697 _arg2
= (bool ) tempbool2
;
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2702 wxPy_END_ALLOW_THREADS
;
2703 } _resultobj
= Py_BuildValue("i",_result
);
2707 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2708 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2711 wxPyFontEnumerator
* _arg0
;
2712 char * _arg1
= (char *) "";
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self","facename", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
2730 wxPy_END_ALLOW_THREADS
;
2731 } _resultobj
= Py_BuildValue("i",_result
);
2735 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2736 wxArrayString
* arr
= self
->GetEncodings();
2737 PyObject
* list
= PyList_New(0);
2738 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2739 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2742 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2745 wxPyFontEnumerator
* _arg0
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2763 wxPy_END_ALLOW_THREADS
;
2765 _resultobj
= _result
;
2770 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2771 wxArrayString
* arr
= self
->GetFacenames();
2772 PyObject
* list
= PyList_New(0);
2773 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2774 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2777 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2780 wxPyFontEnumerator
* _arg0
;
2781 PyObject
* _argo0
= 0;
2782 char *_kwnames
[] = { "self", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2798 wxPy_END_ALLOW_THREADS
;
2800 _resultobj
= _result
;
2805 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
2806 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2808 wxBusyCursor
* _result
;
2809 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "cursor", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
2825 wxPy_BEGIN_ALLOW_THREADS
;
2826 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
2828 wxPy_END_ALLOW_THREADS
;
2830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
2831 _resultobj
= Py_BuildValue("s",_ptemp
);
2834 _resultobj
= Py_None
;
2839 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
2840 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2842 wxBusyCursor
* _arg0
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
2857 wxPy_BEGIN_ALLOW_THREADS
;
2858 delete_wxBusyCursor(_arg0
);
2860 wxPy_END_ALLOW_THREADS
;
2861 } Py_INCREF(Py_None
);
2862 _resultobj
= Py_None
;
2866 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
2867 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2869 wxWindowDisabler
* _result
;
2870 wxWindow
* _arg0
= (wxWindow
*) NULL
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "winToSkip", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
2886 wxPy_BEGIN_ALLOW_THREADS
;
2887 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
2889 wxPy_END_ALLOW_THREADS
;
2891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
2892 _resultobj
= Py_BuildValue("s",_ptemp
);
2895 _resultobj
= Py_None
;
2900 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
2901 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2903 wxWindowDisabler
* _arg0
;
2904 PyObject
* _argo0
= 0;
2905 char *_kwnames
[] = { "self", NULL
};
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
2911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
2913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
2918 wxPy_BEGIN_ALLOW_THREADS
;
2919 delete_wxWindowDisabler(_arg0
);
2921 wxPy_END_ALLOW_THREADS
;
2922 } Py_INCREF(Py_None
);
2923 _resultobj
= Py_None
;
2927 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
2928 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2930 wxTipProvider
* _arg0
;
2931 PyObject
* _argo0
= 0;
2932 char *_kwnames
[] = { "self", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
2938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
2945 wxPy_BEGIN_ALLOW_THREADS
;
2946 delete_wxTipProvider(_arg0
);
2948 wxPy_END_ALLOW_THREADS
;
2949 } Py_INCREF(Py_None
);
2950 _resultobj
= Py_None
;
2954 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
2955 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2958 wxTipProvider
* _arg0
;
2959 PyObject
* _argo0
= 0;
2960 char *_kwnames
[] = { "self", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
2973 wxPy_BEGIN_ALLOW_THREADS
;
2974 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
2976 wxPy_END_ALLOW_THREADS
;
2978 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2986 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
2987 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
* _resultobj
;
2990 wxTipProvider
* _arg0
;
2991 PyObject
* _argo0
= 0;
2992 char *_kwnames
[] = { "self", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3005 wxPy_BEGIN_ALLOW_THREADS
;
3006 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3008 wxPy_END_ALLOW_THREADS
;
3009 } _resultobj
= Py_BuildValue("i",_result
);
3013 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3014 wxPyTipProvider
*src
;
3015 wxTipProvider
*dest
;
3016 src
= (wxPyTipProvider
*) ptr
;
3017 dest
= (wxTipProvider
*) src
;
3018 return (void *) dest
;
3021 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3022 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3024 wxPyTipProvider
* _result
;
3026 char *_kwnames
[] = { "currentTip", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3036 wxPy_END_ALLOW_THREADS
;
3038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3039 _resultobj
= Py_BuildValue("s",_ptemp
);
3042 _resultobj
= Py_None
;
3047 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3048 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3050 wxGenericDragImage
* _result
;
3052 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3053 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3054 PyObject
* _argo0
= 0;
3055 PyObject
* _argo1
= 0;
3057 PyObject
* _obj2
= 0;
3058 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3081 if (! wxPoint_helper(_obj2
, &_arg2
))
3085 wxPy_BEGIN_ALLOW_THREADS
;
3086 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3088 wxPy_END_ALLOW_THREADS
;
3090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3091 _resultobj
= Py_BuildValue("s",_ptemp
);
3094 _resultobj
= Py_None
;
3099 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3100 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3102 wxGenericDragImage
* _arg0
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 delete_wxGenericDragImage(_arg0
);
3120 wxPy_END_ALLOW_THREADS
;
3121 } Py_INCREF(Py_None
);
3122 _resultobj
= Py_None
;
3126 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3127 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3130 wxGenericDragImage
* _arg0
;
3133 bool _arg3
= (bool ) FALSE
;
3134 wxRect
* _arg4
= (wxRect
*) NULL
;
3135 PyObject
* _argo0
= 0;
3137 PyObject
* _obj1
= 0;
3138 PyObject
* _argo2
= 0;
3139 int tempbool3
= (int) FALSE
;
3141 PyObject
* _obj4
= 0;
3142 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3156 if (! wxPoint_helper(_obj1
, &_arg1
))
3160 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3166 _arg3
= (bool ) tempbool3
;
3170 if (! wxRect_helper(_obj4
, &_arg4
))
3174 wxPy_BEGIN_ALLOW_THREADS
;
3175 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3177 wxPy_END_ALLOW_THREADS
;
3178 } _resultobj
= Py_BuildValue("i",_result
);
3182 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3183 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3186 wxGenericDragImage
* _arg0
;
3190 PyObject
* _argo0
= 0;
3192 PyObject
* _obj1
= 0;
3193 PyObject
* _argo2
= 0;
3194 PyObject
* _argo3
= 0;
3195 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3209 if (! wxPoint_helper(_obj1
, &_arg1
))
3213 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3220 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3227 wxPy_BEGIN_ALLOW_THREADS
;
3228 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3230 wxPy_END_ALLOW_THREADS
;
3231 } _resultobj
= Py_BuildValue("i",_result
);
3235 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3236 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3239 wxGenericDragImage
* _arg0
;
3240 PyObject
* _argo0
= 0;
3241 char *_kwnames
[] = { "self", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3254 wxPy_BEGIN_ALLOW_THREADS
;
3255 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3257 wxPy_END_ALLOW_THREADS
;
3258 } _resultobj
= Py_BuildValue("i",_result
);
3262 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3263 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3266 wxGenericDragImage
* _arg0
;
3268 PyObject
* _argo0
= 0;
3270 PyObject
* _obj1
= 0;
3271 char *_kwnames
[] = { "self","pt", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3285 if (! wxPoint_helper(_obj1
, &_arg1
))
3289 wxPy_BEGIN_ALLOW_THREADS
;
3290 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3292 wxPy_END_ALLOW_THREADS
;
3293 } _resultobj
= Py_BuildValue("i",_result
);
3297 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3298 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3301 wxGenericDragImage
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 _result
= (bool )wxDragImage_Show(_arg0
);
3319 wxPy_END_ALLOW_THREADS
;
3320 } _resultobj
= Py_BuildValue("i",_result
);
3324 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3325 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3328 wxGenericDragImage
* _arg0
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 _result
= (bool )wxDragImage_Hide(_arg0
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } _resultobj
= Py_BuildValue("i",_result
);
3351 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3352 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 wxGenericDragImage
* _arg0
;
3357 PyObject
* _argo0
= 0;
3359 PyObject
* _obj1
= 0;
3360 char *_kwnames
[] = { "self","pos", NULL
};
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3375 if (! wxPoint_helper(_obj1
, &_arg1
))
3379 wxPy_BEGIN_ALLOW_THREADS
;
3380 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3382 wxPy_END_ALLOW_THREADS
;
3383 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3384 _resultobj
= Py_BuildValue("s",_ptemp
);
3388 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3389 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3392 wxGenericDragImage
* _arg0
;
3397 PyObject
* _argo0
= 0;
3399 PyObject
* _obj1
= 0;
3401 PyObject
* _obj2
= 0;
3404 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3418 if (! wxPoint_helper(_obj1
, &_arg1
))
3423 if (! wxPoint_helper(_obj2
, &_arg2
))
3426 _arg3
= (bool ) tempbool3
;
3427 _arg4
= (bool ) tempbool4
;
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3432 wxPy_END_ALLOW_THREADS
;
3433 } _resultobj
= Py_BuildValue("i",_result
);
3437 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3438 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxPyTimer
* _result
;
3442 PyObject
* _obj0
= 0;
3443 char *_kwnames
[] = { "notify", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3453 wxPy_BEGIN_ALLOW_THREADS
;
3454 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3456 wxPy_END_ALLOW_THREADS
;
3458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3459 _resultobj
= Py_BuildValue("s",_ptemp
);
3462 _resultobj
= Py_None
;
3467 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3468 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3471 PyObject
* _argo0
= 0;
3472 char *_kwnames
[] = { "self", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3485 wxPy_BEGIN_ALLOW_THREADS
;
3486 delete_wxPyTimer(_arg0
);
3488 wxPy_END_ALLOW_THREADS
;
3489 } Py_INCREF(Py_None
);
3490 _resultobj
= Py_None
;
3494 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3495 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3499 PyObject
* _argo0
= 0;
3500 char *_kwnames
[] = { "self", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3513 wxPy_BEGIN_ALLOW_THREADS
;
3514 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3516 wxPy_END_ALLOW_THREADS
;
3517 } _resultobj
= Py_BuildValue("i",_result
);
3521 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3522 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3526 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "self", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3540 wxPy_BEGIN_ALLOW_THREADS
;
3541 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3543 wxPy_END_ALLOW_THREADS
;
3544 } _resultobj
= Py_BuildValue("i",_result
);
3548 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3549 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3553 PyObject
* _argo0
= 0;
3554 char *_kwnames
[] = { "self", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3567 wxPy_BEGIN_ALLOW_THREADS
;
3568 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3570 wxPy_END_ALLOW_THREADS
;
3571 } _resultobj
= Py_BuildValue("i",_result
);
3575 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
3576 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
* _resultobj
;
3579 wxEvtHandler
* _arg1
;
3580 int _arg2
= (int ) -1;
3581 PyObject
* _argo0
= 0;
3582 PyObject
* _argo1
= 0;
3583 char *_kwnames
[] = { "self","owner","id", NULL
};
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
3596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
3603 wxPy_BEGIN_ALLOW_THREADS
;
3604 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
3606 wxPy_END_ALLOW_THREADS
;
3607 } Py_INCREF(Py_None
);
3608 _resultobj
= Py_None
;
3612 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3613 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3616 int _arg1
= (int ) -1;
3617 int _arg2
= (int ) FALSE
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3635 wxPy_END_ALLOW_THREADS
;
3636 } Py_INCREF(Py_None
);
3637 _resultobj
= Py_None
;
3641 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
3642 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 wxPyTimer_Stop(_arg0
);
3662 wxPy_END_ALLOW_THREADS
;
3663 } Py_INCREF(Py_None
);
3664 _resultobj
= Py_None
;
3668 #define new_wxLog() (new wxLog())
3669 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3672 char *_kwnames
[] = { NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
3679 wxPy_BEGIN_ALLOW_THREADS
;
3680 _result
= (wxLog
*)new_wxLog();
3682 wxPy_END_ALLOW_THREADS
;
3684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3685 _resultobj
= Py_BuildValue("s",_ptemp
);
3688 _resultobj
= Py_None
;
3693 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 char *_kwnames
[] = { NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
3702 wxPy_BEGIN_ALLOW_THREADS
;
3703 _result
= (bool )wxLog::IsEnabled();
3705 wxPy_END_ALLOW_THREADS
;
3706 } _resultobj
= Py_BuildValue("i",_result
);
3710 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3713 bool _arg0
= (bool ) TRUE
;
3714 int tempbool0
= (int) TRUE
;
3715 char *_kwnames
[] = { "doIt", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
3720 _arg0
= (bool ) tempbool0
;
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 _result
= (bool )wxLog::EnableLogging(_arg0
);
3725 wxPy_END_ALLOW_THREADS
;
3726 } _resultobj
= Py_BuildValue("i",_result
);
3730 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3734 int _arg2
= (int ) 0;
3735 PyObject
* _argo0
= 0;
3736 char *_kwnames
[] = { "level","szString","t", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
3752 wxPy_END_ALLOW_THREADS
;
3753 } Py_INCREF(Py_None
);
3754 _resultobj
= Py_None
;
3758 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
3759 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
* _resultobj
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3779 wxPy_END_ALLOW_THREADS
;
3780 } Py_INCREF(Py_None
);
3781 _resultobj
= Py_None
;
3785 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
3786 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3790 PyObject
* _argo0
= 0;
3791 char *_kwnames
[] = { "self", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
3804 wxPy_BEGIN_ALLOW_THREADS
;
3805 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
3807 wxPy_END_ALLOW_THREADS
;
3808 } _resultobj
= Py_BuildValue("i",_result
);
3812 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3814 char *_kwnames
[] = { NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
3820 wxPy_BEGIN_ALLOW_THREADS
;
3821 wxLog::FlushActive();
3823 wxPy_END_ALLOW_THREADS
;
3824 } Py_INCREF(Py_None
);
3825 _resultobj
= Py_None
;
3829 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3832 char *_kwnames
[] = { NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 _result
= (wxLog
*)wxLog::GetActiveTarget();
3842 wxPy_END_ALLOW_THREADS
;
3844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3845 _resultobj
= Py_BuildValue("s",_ptemp
);
3848 _resultobj
= Py_None
;
3853 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3857 PyObject
* _argo0
= 0;
3858 char *_kwnames
[] = { "pLogger", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
3875 wxPy_END_ALLOW_THREADS
;
3877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3878 _resultobj
= Py_BuildValue("s",_ptemp
);
3881 _resultobj
= Py_None
;
3886 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3888 char *_kwnames
[] = { NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
3894 wxPy_BEGIN_ALLOW_THREADS
;
3897 wxPy_END_ALLOW_THREADS
;
3898 } Py_INCREF(Py_None
);
3899 _resultobj
= Py_None
;
3903 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3905 char *_kwnames
[] = { NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
3911 wxPy_BEGIN_ALLOW_THREADS
;
3914 wxPy_END_ALLOW_THREADS
;
3915 } Py_INCREF(Py_None
);
3916 _resultobj
= Py_None
;
3920 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
3921 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3924 bool _arg1
= (bool ) TRUE
;
3925 PyObject
* _argo0
= 0;
3926 int tempbool1
= (int) TRUE
;
3927 char *_kwnames
[] = { "self","bVerbose", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
3939 _arg1
= (bool ) tempbool1
;
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 wxLog_SetVerbose(_arg0
,_arg1
);
3944 wxPy_END_ALLOW_THREADS
;
3945 } Py_INCREF(Py_None
);
3946 _resultobj
= Py_None
;
3950 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3952 char *_kwnames
[] = { NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 wxLog::DontCreateOnDemand();
3961 wxPy_END_ALLOW_THREADS
;
3962 } Py_INCREF(Py_None
);
3963 _resultobj
= Py_None
;
3967 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3969 wxTraceMask
* _arg0
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "ulMask", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 wxLog::SetTraceMask(*_arg0
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } Py_INCREF(Py_None
);
3989 _resultobj
= Py_None
;
3993 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
3996 PyObject
* _obj0
= 0;
3997 char *_kwnames
[] = { "str", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4003 #if PYTHON_API_VERSION >= 1009
4004 char* tmpPtr
; int tmpSize
;
4005 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4006 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4009 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4011 _arg0
= new wxString(tmpPtr
, tmpSize
);
4013 if (!PyString_Check(_obj0
)) {
4014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4017 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4021 wxPy_BEGIN_ALLOW_THREADS
;
4022 wxLog::AddTraceMask(*_arg0
);
4024 wxPy_END_ALLOW_THREADS
;
4025 } Py_INCREF(Py_None
);
4026 _resultobj
= Py_None
;
4034 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 PyObject
* _obj0
= 0;
4038 char *_kwnames
[] = { "str", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4044 #if PYTHON_API_VERSION >= 1009
4045 char* tmpPtr
; int tmpSize
;
4046 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4047 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4050 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4052 _arg0
= new wxString(tmpPtr
, tmpSize
);
4054 if (!PyString_Check(_obj0
)) {
4055 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4058 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4062 wxPy_BEGIN_ALLOW_THREADS
;
4063 wxLog::RemoveTraceMask(*_arg0
);
4065 wxPy_END_ALLOW_THREADS
;
4066 } Py_INCREF(Py_None
);
4067 _resultobj
= Py_None
;
4075 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4076 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4094 wxPy_BEGIN_ALLOW_THREADS
;
4095 _result
= (bool )wxLog_GetVerbose(_arg0
);
4097 wxPy_END_ALLOW_THREADS
;
4098 } _resultobj
= Py_BuildValue("i",_result
);
4102 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4104 wxTraceMask
* _result
;
4105 char *_kwnames
[] = { NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4112 wxPy_BEGIN_ALLOW_THREADS
;
4113 _result
= new wxTraceMask (wxLog::GetTraceMask());
4115 wxPy_END_ALLOW_THREADS
;
4116 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4117 _resultobj
= Py_BuildValue("s",_ptemp
);
4121 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4125 char *_kwnames
[] = { "mask", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4134 wxPy_END_ALLOW_THREADS
;
4135 } _resultobj
= Py_BuildValue("i",_result
);
4139 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4142 src
= (wxLogStderr
*) ptr
;
4143 dest
= (wxLog
*) src
;
4144 return (void *) dest
;
4147 #define new_wxLogStderr() (new wxLogStderr())
4148 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
* _resultobj
;
4150 wxLogStderr
* _result
;
4151 char *_kwnames
[] = { NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4158 wxPy_BEGIN_ALLOW_THREADS
;
4159 _result
= (wxLogStderr
*)new_wxLogStderr();
4161 wxPy_END_ALLOW_THREADS
;
4163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4164 _resultobj
= Py_BuildValue("s",_ptemp
);
4167 _resultobj
= Py_None
;
4172 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4175 src
= (wxLogTextCtrl
*) ptr
;
4176 dest
= (wxLog
*) src
;
4177 return (void *) dest
;
4180 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4181 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4183 wxLogTextCtrl
* _result
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "pTextCtrl", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4200 wxPy_BEGIN_ALLOW_THREADS
;
4201 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4203 wxPy_END_ALLOW_THREADS
;
4205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4206 _resultobj
= Py_BuildValue("s",_ptemp
);
4209 _resultobj
= Py_None
;
4214 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4217 src
= (wxLogGui
*) ptr
;
4218 dest
= (wxLog
*) src
;
4219 return (void *) dest
;
4222 #define new_wxLogGui() (new wxLogGui())
4223 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4226 char *_kwnames
[] = { NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4233 wxPy_BEGIN_ALLOW_THREADS
;
4234 _result
= (wxLogGui
*)new_wxLogGui();
4236 wxPy_END_ALLOW_THREADS
;
4238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4239 _resultobj
= Py_BuildValue("s",_ptemp
);
4242 _resultobj
= Py_None
;
4247 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4250 src
= (wxLogWindow
*) ptr
;
4251 dest
= (wxLog
*) src
;
4252 return (void *) dest
;
4255 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4256 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4258 wxLogWindow
* _result
;
4261 bool _arg2
= (bool ) TRUE
;
4262 bool _arg3
= (bool ) TRUE
;
4263 PyObject
* _argo0
= 0;
4264 int tempbool2
= (int) TRUE
;
4265 int tempbool3
= (int) TRUE
;
4266 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4279 _arg2
= (bool ) tempbool2
;
4280 _arg3
= (bool ) tempbool3
;
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4285 wxPy_END_ALLOW_THREADS
;
4287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4288 _resultobj
= Py_BuildValue("s",_ptemp
);
4291 _resultobj
= Py_None
;
4296 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4297 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4299 wxLogWindow
* _arg0
;
4300 bool _arg1
= (bool ) TRUE
;
4301 PyObject
* _argo0
= 0;
4302 int tempbool1
= (int) TRUE
;
4303 char *_kwnames
[] = { "self","bShow", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4315 _arg1
= (bool ) tempbool1
;
4317 wxPy_BEGIN_ALLOW_THREADS
;
4318 wxLogWindow_Show(_arg0
,_arg1
);
4320 wxPy_END_ALLOW_THREADS
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4327 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4330 wxLogWindow
* _arg0
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4346 wxPy_BEGIN_ALLOW_THREADS
;
4347 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4349 wxPy_END_ALLOW_THREADS
;
4351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4352 _resultobj
= Py_BuildValue("s",_ptemp
);
4355 _resultobj
= Py_None
;
4360 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4361 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4364 wxLogWindow
* _arg0
;
4365 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "self", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4383 wxPy_END_ALLOW_THREADS
;
4385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4386 _resultobj
= Py_BuildValue("s",_ptemp
);
4389 _resultobj
= Py_None
;
4394 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4395 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4398 wxLogWindow
* _arg0
;
4399 PyObject
* _argo0
= 0;
4400 char *_kwnames
[] = { "self", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4416 wxPy_END_ALLOW_THREADS
;
4417 } _resultobj
= Py_BuildValue("i",_result
);
4421 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4422 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4424 wxLogWindow
* _arg0
;
4426 PyObject
* _argo0
= 0;
4428 char *_kwnames
[] = { "self","bDoPass", NULL
};
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4440 _arg1
= (bool ) tempbool1
;
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 wxLogWindow_PassMessages(_arg0
,_arg1
);
4445 wxPy_END_ALLOW_THREADS
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4451 #define new_wxLogNull() (new wxLogNull())
4452 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4454 wxLogNull
* _result
;
4455 char *_kwnames
[] = { NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4462 wxPy_BEGIN_ALLOW_THREADS
;
4463 _result
= (wxLogNull
*)new_wxLogNull();
4465 wxPy_END_ALLOW_THREADS
;
4467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4468 _resultobj
= Py_BuildValue("s",_ptemp
);
4471 _resultobj
= Py_None
;
4476 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4477 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
* _resultobj
;
4480 PyObject
* _argo0
= 0;
4481 char *_kwnames
[] = { "self", NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4494 wxPy_BEGIN_ALLOW_THREADS
;
4495 delete_wxLogNull(_arg0
);
4497 wxPy_END_ALLOW_THREADS
;
4498 } Py_INCREF(Py_None
);
4499 _resultobj
= Py_None
;
4503 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4504 wxProcessEvent
*src
;
4506 src
= (wxProcessEvent
*) ptr
;
4507 dest
= (wxEvent
*) src
;
4508 return (void *) dest
;
4511 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4512 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
* _resultobj
;
4514 wxProcessEvent
* _result
;
4515 int _arg0
= (int ) 0;
4516 int _arg1
= (int ) 0;
4517 int _arg2
= (int ) 0;
4518 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4525 wxPy_BEGIN_ALLOW_THREADS
;
4526 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4528 wxPy_END_ALLOW_THREADS
;
4530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4531 _resultobj
= Py_BuildValue("s",_ptemp
);
4534 _resultobj
= Py_None
;
4539 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4540 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4543 wxProcessEvent
* _arg0
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "self", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 _result
= (int )wxProcessEvent_GetPid(_arg0
);
4561 wxPy_END_ALLOW_THREADS
;
4562 } _resultobj
= Py_BuildValue("i",_result
);
4566 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
4567 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4570 wxProcessEvent
* _arg0
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
4585 wxPy_BEGIN_ALLOW_THREADS
;
4586 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
4588 wxPy_END_ALLOW_THREADS
;
4589 } _resultobj
= Py_BuildValue("i",_result
);
4593 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
4594 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
* _resultobj
;
4597 wxProcessEvent
* _arg0
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self","m_pid", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } _resultobj
= Py_BuildValue("i",_result
);
4621 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
4622 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4625 wxProcessEvent
* _arg0
;
4626 PyObject
* _argo0
= 0;
4627 char *_kwnames
[] = { "self", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
4640 wxPy_BEGIN_ALLOW_THREADS
;
4641 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
4643 wxPy_END_ALLOW_THREADS
;
4644 } _resultobj
= Py_BuildValue("i",_result
);
4648 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
4649 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4652 wxProcessEvent
* _arg0
;
4654 PyObject
* _argo0
= 0;
4655 char *_kwnames
[] = { "self","m_exitcode", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
4671 wxPy_END_ALLOW_THREADS
;
4672 } _resultobj
= Py_BuildValue("i",_result
);
4676 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
4677 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4680 wxProcessEvent
* _arg0
;
4681 PyObject
* _argo0
= 0;
4682 char *_kwnames
[] = { "self", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
4688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
4695 wxPy_BEGIN_ALLOW_THREADS
;
4696 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
4698 wxPy_END_ALLOW_THREADS
;
4699 } _resultobj
= Py_BuildValue("i",_result
);
4703 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
4706 src
= (wxPyProcess
*) ptr
;
4707 dest
= (wxEvtHandler
*) src
;
4708 return (void *) dest
;
4711 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
4712 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4714 wxPyProcess
* _result
;
4715 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
4716 int _arg1
= (int ) -1;
4717 PyObject
* _argo0
= 0;
4718 char *_kwnames
[] = { "parent","id", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
4732 wxPy_BEGIN_ALLOW_THREADS
;
4733 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
4735 wxPy_END_ALLOW_THREADS
;
4737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
4738 _resultobj
= Py_BuildValue("s",_ptemp
);
4741 _resultobj
= Py_None
;
4746 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
4747 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
* _resultobj
;
4749 wxPyProcess
* _arg0
;
4750 PyObject
* _argo0
= 0;
4751 char *_kwnames
[] = { "self", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
4764 wxPy_BEGIN_ALLOW_THREADS
;
4765 wxPyProcess_Destroy(_arg0
);
4767 wxPy_END_ALLOW_THREADS
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4773 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4774 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4776 wxPyProcess
* _arg0
;
4779 PyObject
* _argo0
= 0;
4780 PyObject
* _obj1
= 0;
4781 PyObject
* _obj2
= 0;
4782 char *_kwnames
[] = { "self","self","_class", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
4804 wxPy_END_ALLOW_THREADS
;
4805 } Py_INCREF(Py_None
);
4806 _resultobj
= Py_None
;
4810 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
4811 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4813 wxPyProcess
* _arg0
;
4816 PyObject
* _argo0
= 0;
4817 char *_kwnames
[] = { "self","pid","status", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
4830 wxPy_BEGIN_ALLOW_THREADS
;
4831 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
4833 wxPy_END_ALLOW_THREADS
;
4834 } Py_INCREF(Py_None
);
4835 _resultobj
= Py_None
;
4839 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
4840 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4842 wxPyProcess
* _arg0
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
4857 wxPy_BEGIN_ALLOW_THREADS
;
4858 wxProcess_Redirect(_arg0
);
4860 wxPy_END_ALLOW_THREADS
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
4867 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4870 wxPyProcess
* _arg0
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= (bool )wxProcess_IsRedirected(_arg0
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } _resultobj
= Py_BuildValue("i",_result
);
4893 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
4894 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4896 wxPyProcess
* _arg0
;
4897 PyObject
* _argo0
= 0;
4898 char *_kwnames
[] = { "self", NULL
};
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
4904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 wxProcess_Detach(_arg0
);
4914 wxPy_END_ALLOW_THREADS
;
4915 } Py_INCREF(Py_None
);
4916 _resultobj
= Py_None
;
4920 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
4921 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
* _resultobj
;
4923 wxInputStream
* _result
;
4924 wxPyProcess
* _arg0
;
4925 PyObject
* _argo0
= 0;
4926 char *_kwnames
[] = { "self", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
4939 wxPy_BEGIN_ALLOW_THREADS
;
4940 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
4942 wxPy_END_ALLOW_THREADS
;
4944 wxPyInputStream
* _ptr
= NULL
;
4947 _ptr
= new wxPyInputStream(_result
);
4951 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
4953 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
4956 _resultobj
= Py_None
;
4958 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
4959 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
4963 PyObject
* one
= PyInt_FromLong(1);
4964 PyObject_SetAttrString(_resultobj
, "thisown", one
);
4969 _resultobj
= Py_None
;
4975 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
4976 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
* _resultobj
;
4978 wxInputStream
* _result
;
4979 wxPyProcess
* _arg0
;
4980 PyObject
* _argo0
= 0;
4981 char *_kwnames
[] = { "self", NULL
};
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
4987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
4994 wxPy_BEGIN_ALLOW_THREADS
;
4995 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
4997 wxPy_END_ALLOW_THREADS
;
4999 wxPyInputStream
* _ptr
= NULL
;
5002 _ptr
= new wxPyInputStream(_result
);
5006 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5008 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5011 _resultobj
= Py_None
;
5013 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5014 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5018 PyObject
* one
= PyInt_FromLong(1);
5019 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5024 _resultobj
= Py_None
;
5030 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5031 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
* _resultobj
;
5033 wxOutputStream
* _result
;
5034 wxPyProcess
* _arg0
;
5035 PyObject
* _argo0
= 0;
5036 char *_kwnames
[] = { "self", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5050 wxPy_BEGIN_ALLOW_THREADS
;
5051 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5053 wxPy_END_ALLOW_THREADS
;
5055 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5056 _resultobj
= Py_BuildValue("s",_ptemp
);
5059 _resultobj
= Py_None
;
5064 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5065 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
* _resultobj
;
5067 wxPyProcess
* _arg0
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 wxProcess_CloseOutput(_arg0
);
5085 wxPy_END_ALLOW_THREADS
;
5086 } Py_INCREF(Py_None
);
5087 _resultobj
= Py_None
;
5091 static PyMethodDef misc2cMethods
[] = {
5092 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
5093 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
5094 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
5095 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
5096 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
5097 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
5098 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
5099 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
5100 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5101 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5102 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
5103 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
5104 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
5105 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
5106 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
5107 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
5108 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
5109 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
5110 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
5111 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
5112 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
5113 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
5114 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
5115 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
5116 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
5117 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
5118 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
5119 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
5120 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
5121 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5122 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5123 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5124 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5125 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5126 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
5127 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
5128 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5129 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
5130 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
5131 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
5132 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
5133 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
5134 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
5135 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
5136 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
5137 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
5138 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
5139 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
5140 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
5141 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
5142 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
5143 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
5144 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
5145 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
5146 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
5147 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
5148 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
5149 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
5150 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
5151 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
5152 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
5153 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
5154 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
5155 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
5156 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
5157 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
5158 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5159 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
5160 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
5161 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5162 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
5163 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
5164 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5165 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5166 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
5167 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
5168 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
5169 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
5170 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
5171 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
5172 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
5173 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
5174 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
5175 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5176 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
5177 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
5178 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
5179 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
5180 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5181 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
5182 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5183 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
5184 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
5185 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
5186 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
5187 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
5188 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
5189 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
5190 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
5191 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
5192 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
5193 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
5194 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
5195 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
5196 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
5197 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
5198 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
5199 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
5200 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
5201 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
5202 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
5203 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
5204 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
5205 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
5206 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
5207 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
5208 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
5209 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
5210 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
5211 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
5212 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
5213 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
5214 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
5215 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
5216 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
5217 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
5218 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
5219 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
5220 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
5221 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
5222 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
5223 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
5224 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
5225 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
5226 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
5227 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
5228 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
5229 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
5230 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5231 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
5232 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
5233 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
5234 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
5235 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
5236 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5237 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
5238 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
5239 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
5240 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
5241 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
5248 * This table is used by the pointer type-checker
5250 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5251 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5252 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5253 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5254 { "_wxEvent","_class_wxEvent",0},
5255 { "_class_wxActivateEvent","_wxActivateEvent",0},
5256 { "_signed_long","_long",0},
5257 { "_wxMenuEvent","_class_wxMenuEvent",0},
5258 { "_class_wxProcessEvent","_wxProcessEvent",0},
5259 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
5260 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
5261 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
5262 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
5263 { "_wxPrintQuality","_wxCoord",0},
5264 { "_wxPrintQuality","_int",0},
5265 { "_wxPrintQuality","_signed_int",0},
5266 { "_wxPrintQuality","_unsigned_int",0},
5267 { "_wxPrintQuality","_wxWindowID",0},
5268 { "_wxPrintQuality","_uint",0},
5269 { "_wxPrintQuality","_EBool",0},
5270 { "_wxPrintQuality","_size_t",0},
5271 { "_wxPrintQuality","_time_t",0},
5272 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
5273 { "_class_wxRegionIterator","_wxRegionIterator",0},
5274 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
5275 { "_class_wxMenuBar","_wxMenuBar",0},
5276 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5277 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5278 { "_class_wxEvtHandler","_wxEvtHandler",0},
5279 { "_wxPaintEvent","_class_wxPaintEvent",0},
5280 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5281 { "_wxCursor","_class_wxCursor",0},
5282 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
5283 { "_wxPyProcess","_class_wxPyProcess",0},
5284 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
5285 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
5286 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
5287 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
5288 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5289 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5290 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
5291 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
5292 { "_wxLog","_class_wxLog",0},
5293 { "_wxMask","_class_wxMask",0},
5294 { "_wxToolTip","_class_wxToolTip",0},
5295 { "_wxPen","_class_wxPen",0},
5296 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
5297 { "_byte","_unsigned_char",0},
5298 { "_wxDataObject","_class_wxDataObject",0},
5299 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
5300 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
5301 { "_wxPyDropSource","_class_wxPyDropSource",0},
5302 { "_long","_unsigned_long",0},
5303 { "_long","_signed_long",0},
5304 { "_wxImageList","_class_wxImageList",0},
5305 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
5306 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
5307 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5308 { "_class_wxClipboard","_wxClipboard",0},
5309 { "_wxDC","_class_wxDC",0},
5310 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
5311 { "_wxSpinEvent","_class_wxSpinEvent",0},
5312 { "_size_t","_wxCoord",0},
5313 { "_size_t","_wxPrintQuality",0},
5314 { "_size_t","_time_t",0},
5315 { "_size_t","_unsigned_int",0},
5316 { "_size_t","_int",0},
5317 { "_size_t","_wxWindowID",0},
5318 { "_size_t","_uint",0},
5319 { "_class_wxRealPoint","_wxRealPoint",0},
5320 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
5321 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
5322 { "_wxLogGui","_class_wxLogGui",0},
5323 { "_class_wxMenuItem","_wxMenuItem",0},
5324 { "_class_wxPaintEvent","_wxPaintEvent",0},
5325 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
5326 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
5327 { "_wxPanel","_class_wxPanel",0},
5328 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
5329 { "_wxPyEvent","_class_wxPyEvent",0},
5330 { "_class_wxMask","_wxMask",0},
5331 { "_wxTextDataObject","_class_wxTextDataObject",0},
5332 { "_class_wxKeyEvent","_wxKeyEvent",0},
5333 { "_class_wxToolTip","_wxToolTip",0},
5334 { "_wxColour","_class_wxColour",0},
5335 { "_class_wxDialog","_wxDialog",0},
5336 { "_wxBusyCursor","_class_wxBusyCursor",0},
5337 { "_class_wxFileDataObject","_wxFileDataObject",0},
5338 { "_wxIdleEvent","_class_wxIdleEvent",0},
5339 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
5340 { "_class_wxDataObject","_wxDataObject",0},
5341 { "_wxCaret","_class_wxCaret",0},
5342 { "_wxBrush","_class_wxBrush",0},
5343 { "_wxDataFormat","_class_wxDataFormat",0},
5344 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
5345 { "_wxShowEvent","_class_wxShowEvent",0},
5346 { "_uint","_wxCoord",0},
5347 { "_uint","_wxPrintQuality",0},
5348 { "_uint","_time_t",0},
5349 { "_uint","_size_t",0},
5350 { "_uint","_unsigned_int",0},
5351 { "_uint","_int",0},
5352 { "_uint","_wxWindowID",0},
5353 { "_wxChar","_char",0},
5354 { "_wxPyValidator","_class_wxPyValidator",0},
5355 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5356 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
5357 { "_class_wxEvent","_wxEvent",0},
5358 { "_wxRect","_class_wxRect",0},
5359 { "_wxCommandEvent","_class_wxCommandEvent",0},
5360 { "_wxSizeEvent","_class_wxSizeEvent",0},
5361 { "_class_wxLogWindow","_wxLogWindow",0},
5362 { "_wxPoint","_class_wxPoint",0},
5363 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
5364 { "_char","_wxChar",0},
5365 { "_wxBitmap","_class_wxBitmap",0},
5366 { "_wxWindowDC","_class_wxWindowDC",0},
5367 { "_wxTimerEvent","_class_wxTimerEvent",0},
5368 { "_wxPyTimer","_class_wxPyTimer",0},
5369 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5370 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
5371 { "_class_wxValidator","_wxValidator",0},
5372 { "_class_wxPyEvent","_wxPyEvent",0},
5373 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
5374 { "_class_wxBusyCursor","_wxBusyCursor",0},
5375 { "_wxDropTarget","_class_wxDropTarget",0},
5376 { "_wxScrollEvent","_class_wxScrollEvent",0},
5377 { "_EBool","_wxCoord",0},
5378 { "_EBool","_wxPrintQuality",0},
5379 { "_EBool","_signed_int",0},
5380 { "_EBool","_int",0},
5381 { "_EBool","_wxWindowID",0},
5382 { "_class_wxRegion","_wxRegion",0},
5383 { "_class_wxDataFormat","_wxDataFormat",0},
5384 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
5385 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
5386 { "_wxFont","_class_wxFont",0},
5387 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
5388 { "_wxCloseEvent","_class_wxCloseEvent",0},
5389 { "_wxProcessEvent","_class_wxProcessEvent",0},
5390 { "_unsigned_long","_long",0},
5391 { "_class_wxRect","_wxRect",0},
5392 { "_class_wxDC","_wxDC",0},
5393 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
5394 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
5395 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
5396 { "_wxPyInputStream","_class_wxPyInputStream",0},
5397 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
5398 { "_class_wxOutputStream","_wxOutputStream",0},
5399 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
5400 { "_wxFocusEvent","_class_wxFocusEvent",0},
5401 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
5402 { "_class_wxTimerEvent","_wxTimerEvent",0},
5403 { "_class_wxPyTimer","_wxPyTimer",0},
5404 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5405 { "_class_wxPanel","_wxPanel",0},
5406 { "_signed_int","_wxCoord",0},
5407 { "_signed_int","_wxPrintQuality",0},
5408 { "_signed_int","_EBool",0},
5409 { "_signed_int","_wxWindowID",0},
5410 { "_signed_int","_int",0},
5411 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5412 { "_class_wxTextDataObject","_wxTextDataObject",0},
5413 { "_wxMenu","_class_wxMenu",0},
5414 { "_class_wxMoveEvent","_wxMoveEvent",0},
5415 { "_wxScreenDC","_class_wxScreenDC",0},
5416 { "_WXTYPE","_short",0},
5417 { "_WXTYPE","_signed_short",0},
5418 { "_WXTYPE","_unsigned_short",0},
5419 { "_class_wxDropTarget","_wxDropTarget",0},
5420 { "_class_wxCaret","_wxCaret",0},
5421 { "_class_wxBrush","_wxBrush",0},
5422 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5423 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5424 { "_wxTipProvider","_class_wxTipProvider",0},
5425 { "_unsigned_short","_WXTYPE",0},
5426 { "_unsigned_short","_short",0},
5427 { "_class_wxWindow","_wxWindow",0},
5428 { "_class_wxLogStderr","_wxLogStderr",0},
5429 { "_class_wxFont","_wxFont",0},
5430 { "_wxClipboard","_class_wxClipboard",0},
5431 { "_class_wxPyValidator","_wxPyValidator",0},
5432 { "_class_wxCloseEvent","_wxCloseEvent",0},
5433 { "_wxBusyInfo","_class_wxBusyInfo",0},
5434 { "_class_wxMenuEvent","_wxMenuEvent",0},
5435 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
5436 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
5437 { "_wxClientDC","_class_wxClientDC",0},
5438 { "_wxMouseEvent","_class_wxMouseEvent",0},
5439 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
5440 { "_class_wxPoint","_wxPoint",0},
5441 { "_class_wxPyInputStream","_wxPyInputStream",0},
5442 { "_wxRealPoint","_class_wxRealPoint",0},
5443 { "_signed_short","_WXTYPE",0},
5444 { "_signed_short","_short",0},
5445 { "_wxMemoryDC","_class_wxMemoryDC",0},
5446 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
5447 { "_wxPaintDC","_class_wxPaintDC",0},
5448 { "_class_wxWindowDC","_wxWindowDC",0},
5449 { "_class_wxFocusEvent","_wxFocusEvent",0},
5450 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
5451 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5452 { "_class_wxCursor","_wxCursor",0},
5453 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
5454 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
5455 { "_class_wxPyProcess","_wxPyProcess",0},
5456 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
5457 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
5458 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
5459 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
5460 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
5461 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5462 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
5463 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
5464 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
5465 { "_class_wxLog","_wxLog",0},
5466 { "_unsigned_char","_byte",0},
5467 { "_class_wxMenu","_wxMenu",0},
5468 { "_unsigned_int","_wxCoord",0},
5469 { "_unsigned_int","_wxPrintQuality",0},
5470 { "_unsigned_int","_time_t",0},
5471 { "_unsigned_int","_size_t",0},
5472 { "_unsigned_int","_uint",0},
5473 { "_unsigned_int","_wxWindowID",0},
5474 { "_unsigned_int","_int",0},
5475 { "_wxIcon","_class_wxIcon",0},
5476 { "_wxDialog","_class_wxDialog",0},
5477 { "_class_wxPen","_wxPen",0},
5478 { "_short","_WXTYPE",0},
5479 { "_short","_unsigned_short",0},
5480 { "_short","_signed_short",0},
5481 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
5482 { "_class_wxPyDropSource","_wxPyDropSource",0},
5483 { "_class_wxScrollEvent","_wxScrollEvent",0},
5484 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
5485 { "_class_wxImageList","_wxImageList",0},
5486 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
5487 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
5488 { "_wxWindowID","_wxCoord",0},
5489 { "_wxWindowID","_wxPrintQuality",0},
5490 { "_wxWindowID","_time_t",0},
5491 { "_wxWindowID","_size_t",0},
5492 { "_wxWindowID","_EBool",0},
5493 { "_wxWindowID","_uint",0},
5494 { "_wxWindowID","_int",0},
5495 { "_wxWindowID","_signed_int",0},
5496 { "_wxWindowID","_unsigned_int",0},
5497 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
5498 { "_int","_wxCoord",0},
5499 { "_int","_wxPrintQuality",0},
5500 { "_int","_time_t",0},
5501 { "_int","_size_t",0},
5502 { "_int","_EBool",0},
5503 { "_int","_uint",0},
5504 { "_int","_wxWindowID",0},
5505 { "_int","_unsigned_int",0},
5506 { "_int","_signed_int",0},
5507 { "_class_wxMouseEvent","_wxMouseEvent",0},
5508 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
5509 { "_wxLogWindow","_class_wxLogWindow",0},
5510 { "_class_wxSpinEvent","_wxSpinEvent",0},
5511 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
5512 { "_time_t","_wxCoord",0},
5513 { "_time_t","_wxPrintQuality",0},
5514 { "_time_t","_unsigned_int",0},
5515 { "_time_t","_int",0},
5516 { "_time_t","_wxWindowID",0},
5517 { "_time_t","_uint",0},
5518 { "_time_t","_size_t",0},
5519 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
5520 { "_wxLogNull","_class_wxLogNull",0},
5521 { "_wxSize","_class_wxSize",0},
5522 { "_wxRegionIterator","_class_wxRegionIterator",0},
5523 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
5524 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
5525 { "_class_wxLogGui","_wxLogGui",0},
5526 { "_class_wxPaintDC","_wxPaintDC",0},
5527 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
5528 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
5529 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
5530 { "_wxValidator","_class_wxValidator",0},
5531 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5532 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
5533 { "_class_wxIcon","_wxIcon",0},
5534 { "_class_wxColour","_wxColour",0},
5535 { "_class_wxScreenDC","_wxScreenDC",0},
5536 { "_wxPalette","_class_wxPalette",0},
5537 { "_class_wxIdleEvent","_wxIdleEvent",0},
5538 { "_wxCoord","_int",0},
5539 { "_wxCoord","_signed_int",0},
5540 { "_wxCoord","_unsigned_int",0},
5541 { "_wxCoord","_wxWindowID",0},
5542 { "_wxCoord","_uint",0},
5543 { "_wxCoord","_EBool",0},
5544 { "_wxCoord","_size_t",0},
5545 { "_wxCoord","_time_t",0},
5546 { "_wxCoord","_wxPrintQuality",0},
5547 { "_wxEraseEvent","_class_wxEraseEvent",0},
5548 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
5549 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
5550 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5551 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
5552 { "_class_wxTipProvider","_wxTipProvider",0},
5553 { "_wxRegion","_class_wxRegion",0},
5554 { "_class_wxShowEvent","_wxShowEvent",0},
5555 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
5556 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
5557 { "_wxActivateEvent","_class_wxActivateEvent",0},
5558 { "_class_wxBusyInfo","_wxBusyInfo",0},
5559 { "_class_wxCommandEvent","_wxCommandEvent",0},
5560 { "_class_wxClientDC","_wxClientDC",0},
5561 { "_class_wxSizeEvent","_wxSizeEvent",0},
5562 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
5563 { "_class_wxLogNull","_wxLogNull",0},
5564 { "_class_wxSize","_wxSize",0},
5565 { "_class_wxBitmap","_wxBitmap",0},
5566 { "_class_wxMemoryDC","_wxMemoryDC",0},
5567 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
5568 { "_wxMenuBar","_class_wxMenuBar",0},
5569 { "_wxOutputStream","_class_wxOutputStream",0},
5570 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5571 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
5572 { "_wxEvtHandler","_class_wxEvtHandler",0},
5573 { "_wxMenuItem","_class_wxMenuItem",0},
5574 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
5575 { "_wxKeyEvent","_class_wxKeyEvent",0},
5576 { "_wxMoveEvent","_class_wxMoveEvent",0},
5577 { "_class_wxPalette","_wxPalette",0},
5578 { "_wxFileDataObject","_class_wxFileDataObject",0},
5579 { "_class_wxEraseEvent","_wxEraseEvent",0},
5580 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
5581 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
5582 { "_wxWindow","_class_wxWindow",0},
5583 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
5584 { "_wxLogStderr","_class_wxLogStderr",0},
5587 static PyObject
*SWIG_globals
;
5591 SWIGEXPORT(void) initmisc2c() {
5593 SWIG_globals
= SWIG_newvarlink();
5594 m
= Py_InitModule("misc2c", misc2cMethods
);
5595 d
= PyModule_GetDict(m
);
5596 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
5597 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
5598 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
5599 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
5600 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
5601 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
5602 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
5603 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
5604 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
5605 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
5606 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
5607 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
5608 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
5609 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
5610 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
5611 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
5612 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
5613 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
5614 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
5615 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
5616 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
5617 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
5618 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
5619 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
5620 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
5621 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
5622 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
5623 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
5624 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
5625 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
5626 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
5627 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
5628 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
5629 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
5630 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
5631 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
5632 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
5633 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
5634 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
5635 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
5636 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
5637 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
5638 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
5639 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
5640 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
5641 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
5642 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
5643 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
5644 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
5645 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
5646 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
5647 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
5648 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
5649 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
5650 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
5651 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
5652 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
5653 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
5654 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
5655 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
5656 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
5657 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
5658 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
5659 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
5660 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
5661 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
5662 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
5663 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
5664 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
5665 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
5666 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
5667 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
5668 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
5669 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
5670 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
5671 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
5672 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
5673 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
5674 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
5675 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
5676 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
5677 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
5678 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
5679 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
5680 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
5681 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
5682 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
5683 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
5684 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
5685 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
5686 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
5687 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
5688 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
5689 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
5690 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
5691 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
5694 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5695 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);