4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmisc2c
54 #define SWIG_name "misc2c"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
60 #include <wx/fontenum.h>
61 #include <wx/tipdlg.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyList_Check(target
)) {
74 target
= PyList_New(0);
75 PyList_Append(target
, o2
);
78 PyList_Append(target
,o
);
84 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
90 } else if (target
== Py_None
) {
94 if (!PyTuple_Check(target
)) {
96 target
= PyTuple_New(1);
97 PyTuple_SetItem(target
, 0, o2
);
100 PyTuple_SetItem(o3
, 0, o
);
103 target
= PySequence_Concat(o2
, o3
);
110 static char* wxStringErrorMsg
= "string type is required for parameter";
113 wxColour
wxSystemSettings_GetSystemColour(int index
) {
114 return wxSystemSettings::GetSystemColour(index
);
117 wxFont
wxSystemSettings_GetSystemFont(int index
) {
118 return wxSystemSettings::GetSystemFont(index
);
121 int wxSystemSettings_GetSystemMetric(int index
) {
122 return wxSystemSettings::GetSystemMetric(index
);
125 void wxToolTip_Enable(bool flag
) {
126 wxToolTip::Enable(flag
);
129 void wxToolTip_SetDelay(long milliseconds
) {
130 wxToolTip::SetDelay(milliseconds
);
133 int wxCaret_GetBlinkTime() {
134 return wxCaret::GetBlinkTime();
137 void wxCaret_SetBlinkTime(int milliseconds
) {
138 wxCaret::SetBlinkTime(milliseconds
);
141 class wxPyFontEnumerator
: public wxFontEnumerator
{
143 wxPyFontEnumerator() {}
144 ~wxPyFontEnumerator() {}
146 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
147 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
152 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
153 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
156 class wxPyTipProvider
: public wxTipProvider
{
158 wxPyTipProvider(size_t currentTip
)
159 : wxTipProvider(currentTip
) {}
161 DEC_PYCALLBACK_STRING__pure(GetTip
);
166 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
169 #include <wx/generic/dragimgg.h>
170 static wxPoint wxPyNullPoint
;
173 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
174 const wxCursor
& cursor
,
175 const wxPoint
& hotspot
) {
176 return new wxGenericDragImage(image
, cursor
, hotspot
);
179 wxGenericDragImage
* wxDragString(const wxString
& str
,
180 const wxCursor
& cursor
,
181 const wxPoint
& hotspot
) {
182 return new wxGenericDragImage(str
, cursor
, hotspot
);
185 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
186 return new wxGenericDragImage(treeCtrl
, id
);
189 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
190 return new wxGenericDragImage(listCtrl
, id
);
196 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
200 char * _arg1
= (char *) NULL
;
201 char * _arg2
= (char *) NULL
;
202 char * _arg3
= (char *) NULL
;
203 char * _arg4
= (char *) "*.*";
204 int _arg5
= (int ) 0;
205 wxWindow
* _arg6
= (wxWindow
*) NULL
;
206 int _arg7
= (int ) -1;
207 int _arg8
= (int ) -1;
208 PyObject
* _argo6
= 0;
209 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
215 if (_argo6
== Py_None
) { _arg6
= NULL
; }
216 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
222 wxPy_BEGIN_ALLOW_THREADS
;
223 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
225 wxPy_END_ALLOW_THREADS
;
227 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
235 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
239 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
240 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
241 wxWindow
* _arg3
= (wxWindow
*) NULL
;
242 int _arg4
= (int ) -1;
243 int _arg5
= (int ) -1;
244 bool _arg6
= (bool ) TRUE
;
245 PyObject
* _obj0
= 0;
246 PyObject
* _obj1
= 0;
247 PyObject
* _obj2
= 0;
248 PyObject
* _argo3
= 0;
249 int tempbool6
= (int) TRUE
;
250 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
256 if (!PyString_Check(_obj0
)) {
257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
260 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
264 if (!PyString_Check(_obj1
)) {
265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
268 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
272 if (!PyString_Check(_obj2
)) {
273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
276 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
279 if (_argo3
== Py_None
) { _arg3
= NULL
; }
280 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
285 _arg6
= (bool ) tempbool6
;
287 wxPy_BEGIN_ALLOW_THREADS
;
288 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
290 wxPy_END_ALLOW_THREADS
;
292 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
312 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
319 wxWindow
* _arg4
= (wxWindow
*) NULL
;
320 int _arg5
= (int ) -1;
321 int _arg6
= (int ) -1;
322 bool _arg7
= (bool ) TRUE
;
323 int _arg8
= (int ) 150;
324 int _arg9
= (int ) 200;
325 PyObject
* _obj0
= 0;
326 PyObject
* _obj1
= 0;
327 PyObject
* _obj3
= 0;
328 PyObject
* _argo4
= 0;
329 int tempbool7
= (int) TRUE
;
330 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
336 if (!PyString_Check(_obj0
)) {
337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
340 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
343 if (!PyString_Check(_obj1
)) {
344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
347 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
351 _arg3
= wxString_LIST_helper(_obj3
);
357 if (_argo4
== Py_None
) { _arg4
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
363 _arg7
= (bool ) tempbool7
;
366 _arg2
= PyList_Size(_obj3
);
373 wxPy_BEGIN_ALLOW_THREADS
;
374 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
376 wxPy_END_ALLOW_THREADS
;
378 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
397 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
404 wxWindow
* _arg4
= (wxWindow
*) NULL
;
405 int _arg5
= (int ) -1;
406 int _arg6
= (int ) -1;
407 bool _arg7
= (bool ) TRUE
;
408 int _arg8
= (int ) 150;
409 int _arg9
= (int ) 200;
410 PyObject
* _obj0
= 0;
411 PyObject
* _obj1
= 0;
412 PyObject
* _obj3
= 0;
413 PyObject
* _argo4
= 0;
414 int tempbool7
= (int) TRUE
;
415 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
421 if (!PyString_Check(_obj0
)) {
422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
425 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
428 if (!PyString_Check(_obj1
)) {
429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
432 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
436 _arg3
= wxString_LIST_helper(_obj3
);
442 if (_argo4
== Py_None
) { _arg4
= NULL
; }
443 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
448 _arg7
= (bool ) tempbool7
;
451 _arg2
= PyList_Size(_obj3
);
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
461 wxPy_END_ALLOW_THREADS
;
462 } _resultobj
= Py_BuildValue("i",_result
);
477 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
481 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
482 int _arg2
= (int ) wxOK
|wxCENTRE
;
483 wxWindow
* _arg3
= (wxWindow
*) NULL
;
484 int _arg4
= (int ) -1;
485 int _arg5
= (int ) -1;
486 PyObject
* _obj0
= 0;
487 PyObject
* _obj1
= 0;
488 PyObject
* _argo3
= 0;
489 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
495 if (!PyString_Check(_obj0
)) {
496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
499 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
503 if (!PyString_Check(_obj1
)) {
504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
507 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
510 if (_argo3
== Py_None
) { _arg3
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
517 wxPy_BEGIN_ALLOW_THREADS
;
518 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
520 wxPy_END_ALLOW_THREADS
;
521 } _resultobj
= Py_BuildValue("i",_result
);
533 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
534 PyObject
* _resultobj
;
540 long _arg4
= (long ) 0;
541 long _arg5
= (long ) 100;
542 wxWindow
* _arg6
= (wxWindow
*) NULL
;
543 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
544 PyObject
* _obj0
= 0;
545 PyObject
* _obj1
= 0;
546 PyObject
* _obj2
= 0;
547 PyObject
* _argo6
= 0;
549 PyObject
* _obj7
= 0;
550 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
556 if (!PyString_Check(_obj0
)) {
557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
560 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
563 if (!PyString_Check(_obj1
)) {
564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
567 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
570 if (!PyString_Check(_obj2
)) {
571 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
574 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
577 if (_argo6
== Py_None
) { _arg6
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
586 if (! wxPoint_helper(_obj7
, &_arg7
))
590 wxPy_BEGIN_ALLOW_THREADS
;
591 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
593 wxPy_END_ALLOW_THREADS
;
594 } _resultobj
= Py_BuildValue("l",_result
);
610 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
613 char *_kwnames
[] = { NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
619 wxPy_BEGIN_ALLOW_THREADS
;
620 _result
= (bool )wxColourDisplay();
622 wxPy_END_ALLOW_THREADS
;
623 } _resultobj
= Py_BuildValue("i",_result
);
627 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 char *_kwnames
[] = { NULL
};
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (int )wxDisplayDepth();
639 wxPy_END_ALLOW_THREADS
;
640 } _resultobj
= Py_BuildValue("i",_result
);
644 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "cursor", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
661 wxPy_BEGIN_ALLOW_THREADS
;
664 wxPy_END_ALLOW_THREADS
;
665 } Py_INCREF(Py_None
);
666 _resultobj
= Py_None
;
670 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
674 wxWindow
* _arg1
= (wxWindow
*) NULL
;
675 PyObject
* _obj0
= 0;
676 PyObject
* _argo1
= 0;
677 char *_kwnames
[] = { "label","parent", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
684 if (!PyString_Check(_obj0
)) {
685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
688 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
698 wxPy_BEGIN_ALLOW_THREADS
;
699 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
701 wxPy_END_ALLOW_THREADS
;
703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
704 _resultobj
= Py_BuildValue("s",_ptemp
);
707 _resultobj
= Py_None
;
716 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
720 wxWindow
* _arg1
= (wxWindow
*) NULL
;
721 PyObject
* _obj0
= 0;
722 PyObject
* _argo1
= 0;
723 char *_kwnames
[] = { "name","parent", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
730 if (!PyString_Check(_obj0
)) {
731 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
734 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
744 wxPy_BEGIN_ALLOW_THREADS
;
745 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
747 wxPy_END_ALLOW_THREADS
;
749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
750 _resultobj
= Py_BuildValue("s",_ptemp
);
753 _resultobj
= Py_None
;
762 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 PyObject
* _resultobj
;
764 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
765 PyObject
* _argo0
= 0;
766 char *_kwnames
[] = { "cursor", NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
779 wxPy_BEGIN_ALLOW_THREADS
;
780 wxBeginBusyCursor(_arg0
);
782 wxPy_END_ALLOW_THREADS
;
783 } Py_INCREF(Py_None
);
784 _resultobj
= Py_None
;
788 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
791 char *_kwnames
[] = { NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= (wxWindow
*)wxGetActiveWindow();
801 wxPy_END_ALLOW_THREADS
;
803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
804 _resultobj
= Py_BuildValue("s",_ptemp
);
807 _resultobj
= Py_None
;
812 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
817 char *_kwnames
[] = { "name","value", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
823 wxPy_BEGIN_ALLOW_THREADS
;
824 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
826 wxPy_END_ALLOW_THREADS
;
827 } _resultobj
= Py_BuildValue("i",_result
);
831 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
833 char *_kwnames
[] = { NULL
};
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
839 wxPy_BEGIN_ALLOW_THREADS
;
842 wxPy_END_ALLOW_THREADS
;
843 } Py_INCREF(Py_None
);
844 _resultobj
= Py_None
;
848 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
852 char *_kwnames
[] = { "resource", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
862 wxPy_END_ALLOW_THREADS
;
863 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
864 _resultobj
= Py_BuildValue("s",_ptemp
);
868 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
872 char *_kwnames
[] = { "resource", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
879 wxPy_BEGIN_ALLOW_THREADS
;
880 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
882 wxPy_END_ALLOW_THREADS
;
883 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
884 _resultobj
= Py_BuildValue("s",_ptemp
);
888 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
892 char *_kwnames
[] = { "resource", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
899 wxPy_BEGIN_ALLOW_THREADS
;
900 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
902 wxPy_END_ALLOW_THREADS
;
904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
905 _resultobj
= Py_BuildValue("s",_ptemp
);
908 _resultobj
= Py_None
;
913 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
917 char *_kwnames
[] = { "name", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
923 wxPy_BEGIN_ALLOW_THREADS
;
924 _result
= (int )wxResourceGetIdentifier(_arg0
);
926 wxPy_END_ALLOW_THREADS
;
927 } _resultobj
= Py_BuildValue("i",_result
);
931 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
935 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
936 PyObject
* _argo1
= 0;
937 char *_kwnames
[] = { "resource","table", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
950 wxPy_BEGIN_ALLOW_THREADS
;
951 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
953 wxPy_END_ALLOW_THREADS
;
954 } _resultobj
= Py_BuildValue("i",_result
);
958 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
962 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
963 PyObject
* _argo1
= 0;
964 char *_kwnames
[] = { "filename","table", NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
970 if (_argo1
== Py_None
) { _arg1
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
977 wxPy_BEGIN_ALLOW_THREADS
;
978 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
980 wxPy_END_ALLOW_THREADS
;
981 } _resultobj
= Py_BuildValue("i",_result
);
985 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
986 PyObject
* _resultobj
;
989 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
990 PyObject
* _argo1
= 0;
991 char *_kwnames
[] = { "resource","table", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1007 wxPy_END_ALLOW_THREADS
;
1008 } _resultobj
= Py_BuildValue("i",_result
);
1012 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1016 char *_kwnames
[] = { "index", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1026 wxPy_END_ALLOW_THREADS
;
1027 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1028 _resultobj
= Py_BuildValue("s",_ptemp
);
1032 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1036 char *_kwnames
[] = { "index", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1043 wxPy_BEGIN_ALLOW_THREADS
;
1044 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1046 wxPy_END_ALLOW_THREADS
;
1047 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1048 _resultobj
= Py_BuildValue("s",_ptemp
);
1052 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1056 char *_kwnames
[] = { "index", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1062 wxPy_BEGIN_ALLOW_THREADS
;
1063 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1065 wxPy_END_ALLOW_THREADS
;
1066 } _resultobj
= Py_BuildValue("i",_result
);
1070 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1074 char *_kwnames
[] = { "flag", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1079 _arg0
= (bool ) tempbool0
;
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 wxToolTip_Enable(_arg0
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } Py_INCREF(Py_None
);
1086 _resultobj
= Py_None
;
1090 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1093 char *_kwnames
[] = { "milliseconds", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 wxToolTip_SetDelay(_arg0
);
1102 wxPy_END_ALLOW_THREADS
;
1103 } Py_INCREF(Py_None
);
1104 _resultobj
= Py_None
;
1108 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1111 char *_kwnames
[] = { NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 _result
= (int )wxCaret_GetBlinkTime();
1120 wxPy_END_ALLOW_THREADS
;
1121 } _resultobj
= Py_BuildValue("i",_result
);
1125 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1128 char *_kwnames
[] = { "milliseconds", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1134 wxPy_BEGIN_ALLOW_THREADS
;
1135 wxCaret_SetBlinkTime(_arg0
);
1137 wxPy_END_ALLOW_THREADS
;
1138 } Py_INCREF(Py_None
);
1139 _resultobj
= Py_None
;
1143 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1145 wxEvtHandler
* _arg0
;
1147 PyObject
* _argo0
= 0;
1148 PyObject
* _argo1
= 0;
1149 char *_kwnames
[] = { "dest","event", NULL
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1169 wxPy_BEGIN_ALLOW_THREADS
;
1170 wxPostEvent(_arg0
,*_arg1
);
1172 wxPy_END_ALLOW_THREADS
;
1173 } Py_INCREF(Py_None
);
1174 _resultobj
= Py_None
;
1178 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1180 char *_kwnames
[] = { NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1186 wxPy_BEGIN_ALLOW_THREADS
;
1189 wxPy_END_ALLOW_THREADS
;
1190 } Py_INCREF(Py_None
);
1191 _resultobj
= Py_None
;
1195 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1199 wxTipProvider
* _arg1
;
1200 bool _arg2
= (bool ) TRUE
;
1201 PyObject
* _argo0
= 0;
1202 PyObject
* _argo1
= 0;
1203 int tempbool2
= (int) TRUE
;
1204 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1217 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1223 _arg2
= (bool ) tempbool2
;
1225 wxPy_BEGIN_ALLOW_THREADS
;
1226 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1228 wxPy_END_ALLOW_THREADS
;
1229 } _resultobj
= Py_BuildValue("i",_result
);
1233 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1235 wxTipProvider
* _result
;
1238 PyObject
* _obj0
= 0;
1239 char *_kwnames
[] = { "filename","currentTip", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1246 if (!PyString_Check(_obj0
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1256 wxPy_END_ALLOW_THREADS
;
1258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1259 _resultobj
= Py_BuildValue("s",_ptemp
);
1262 _resultobj
= Py_None
;
1271 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxGenericDragImage
* _result
;
1275 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1276 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1277 PyObject
* _argo0
= 0;
1278 PyObject
* _argo1
= 0;
1280 PyObject
* _obj2
= 0;
1281 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1304 if (! wxPoint_helper(_obj2
, &_arg2
))
1308 wxPy_BEGIN_ALLOW_THREADS
;
1309 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1311 wxPy_END_ALLOW_THREADS
;
1313 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1314 _resultobj
= Py_BuildValue("s",_ptemp
);
1317 _resultobj
= Py_None
;
1322 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1324 wxGenericDragImage
* _result
;
1326 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1327 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1328 PyObject
* _obj0
= 0;
1329 PyObject
* _argo1
= 0;
1331 PyObject
* _obj2
= 0;
1332 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1339 if (!PyString_Check(_obj0
)) {
1340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1343 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1346 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1347 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1355 if (! wxPoint_helper(_obj2
, &_arg2
))
1359 wxPy_BEGIN_ALLOW_THREADS
;
1360 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1362 wxPy_END_ALLOW_THREADS
;
1364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1365 _resultobj
= Py_BuildValue("s",_ptemp
);
1368 _resultobj
= Py_None
;
1377 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxGenericDragImage
* _result
;
1381 wxTreeItemId
* _arg1
;
1382 PyObject
* _argo0
= 0;
1383 PyObject
* _argo1
= 0;
1384 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1408 wxPy_END_ALLOW_THREADS
;
1410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1411 _resultobj
= Py_BuildValue("s",_ptemp
);
1414 _resultobj
= Py_None
;
1419 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1421 wxGenericDragImage
* _result
;
1424 PyObject
* _argo0
= 0;
1425 char *_kwnames
[] = { "listCtrl","id", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
1439 wxPy_BEGIN_ALLOW_THREADS
;
1440 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
1442 wxPy_END_ALLOW_THREADS
;
1444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1445 _resultobj
= Py_BuildValue("s",_ptemp
);
1448 _resultobj
= Py_None
;
1453 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1455 unsigned long _result
;
1456 char *_kwnames
[] = { NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1462 wxPy_BEGIN_ALLOW_THREADS
;
1463 _result
= (unsigned long )wxSysErrorCode();
1465 wxPy_END_ALLOW_THREADS
;
1466 } _resultobj
= Py_BuildValue("l",_result
);
1470 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1473 unsigned long _arg0
= (unsigned long ) 0;
1474 char *_kwnames
[] = { "nErrCode", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1480 wxPy_BEGIN_ALLOW_THREADS
;
1481 _result
= (char *)wxSysErrorMsg(_arg0
);
1483 wxPy_END_ALLOW_THREADS
;
1484 } _resultobj
= Py_BuildValue("s", _result
);
1488 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1491 char *_kwnames
[] = { "szFormat", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 wxLogFatalError(_arg0
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } Py_INCREF(Py_None
);
1502 _resultobj
= Py_None
;
1506 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1509 char *_kwnames
[] = { "szFormat", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1515 wxPy_BEGIN_ALLOW_THREADS
;
1518 wxPy_END_ALLOW_THREADS
;
1519 } Py_INCREF(Py_None
);
1520 _resultobj
= Py_None
;
1524 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1527 char *_kwnames
[] = { "szFormat", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 wxLogWarning(_arg0
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } Py_INCREF(Py_None
);
1538 _resultobj
= Py_None
;
1542 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1545 char *_kwnames
[] = { "szFormat", NULL
};
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 wxLogMessage(_arg0
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } Py_INCREF(Py_None
);
1556 _resultobj
= Py_None
;
1560 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1563 char *_kwnames
[] = { "szFormat", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
1569 wxPy_BEGIN_ALLOW_THREADS
;
1572 wxPy_END_ALLOW_THREADS
;
1573 } Py_INCREF(Py_None
);
1574 _resultobj
= Py_None
;
1578 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1581 char *_kwnames
[] = { "szFormat", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 wxLogVerbose(_arg0
);
1590 wxPy_END_ALLOW_THREADS
;
1591 } Py_INCREF(Py_None
);
1592 _resultobj
= Py_None
;
1596 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1599 char *_kwnames
[] = { "szFormat", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
1605 wxPy_BEGIN_ALLOW_THREADS
;
1608 wxPy_END_ALLOW_THREADS
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
* _resultobj
;
1618 PyObject
* _argo0
= 0;
1619 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
1625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
1632 wxPy_BEGIN_ALLOW_THREADS
;
1633 wxLogStatus(_arg0
,_arg1
);
1635 wxPy_END_ALLOW_THREADS
;
1636 } Py_INCREF(Py_None
);
1637 _resultobj
= Py_None
;
1641 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1644 char *_kwnames
[] = { "szFormat", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
1650 wxPy_BEGIN_ALLOW_THREADS
;
1651 wxLogSysError(_arg0
);
1653 wxPy_END_ALLOW_THREADS
;
1654 } Py_INCREF(Py_None
);
1655 _resultobj
= Py_None
;
1659 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
1660 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1662 wxToolTip
* _result
;
1664 PyObject
* _obj0
= 0;
1665 char *_kwnames
[] = { "tip", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
1672 if (!PyString_Check(_obj0
)) {
1673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1676 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
1685 _resultobj
= Py_BuildValue("s",_ptemp
);
1688 _resultobj
= Py_None
;
1697 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
1698 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1702 PyObject
* _argo0
= 0;
1703 PyObject
* _obj1
= 0;
1704 char *_kwnames
[] = { "self","tip", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
1717 if (!PyString_Check(_obj1
)) {
1718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1721 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1724 wxPy_BEGIN_ALLOW_THREADS
;
1725 wxToolTip_SetTip(_arg0
,*_arg1
);
1727 wxPy_END_ALLOW_THREADS
;
1728 } Py_INCREF(Py_None
);
1729 _resultobj
= Py_None
;
1737 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
1738 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1742 PyObject
* _argo0
= 0;
1743 char *_kwnames
[] = { "self", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
1756 wxPy_BEGIN_ALLOW_THREADS
;
1757 _result
= new wxString (wxToolTip_GetTip(_arg0
));
1759 wxPy_END_ALLOW_THREADS
;
1761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1769 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
1770 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1795 _resultobj
= Py_BuildValue("s",_ptemp
);
1798 _resultobj
= Py_None
;
1803 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
1804 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1809 PyObject
* _argo0
= 0;
1811 PyObject
* _obj1
= 0;
1812 char *_kwnames
[] = { "window","size", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
1827 if (! wxSize_helper(_obj1
, &_arg1
))
1831 wxPy_BEGIN_ALLOW_THREADS
;
1832 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
1834 wxPy_END_ALLOW_THREADS
;
1836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
1837 _resultobj
= Py_BuildValue("s",_ptemp
);
1840 _resultobj
= Py_None
;
1845 #define delete_wxCaret(_swigobj) (delete _swigobj)
1846 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
* _resultobj
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
1863 wxPy_BEGIN_ALLOW_THREADS
;
1864 delete_wxCaret(_arg0
);
1866 wxPy_END_ALLOW_THREADS
;
1867 } Py_INCREF(Py_None
);
1868 _resultobj
= Py_None
;
1872 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
1873 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 _result
= (bool )wxCaret_IsOk(_arg0
);
1894 wxPy_END_ALLOW_THREADS
;
1895 } _resultobj
= Py_BuildValue("i",_result
);
1899 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
1900 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1904 PyObject
* _argo0
= 0;
1905 char *_kwnames
[] = { "self", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (bool )wxCaret_IsVisible(_arg0
);
1921 wxPy_END_ALLOW_THREADS
;
1922 } _resultobj
= Py_BuildValue("i",_result
);
1926 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1927 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1934 PyObject
* _argo0
= 0;
1935 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1957 wxPy_END_ALLOW_THREADS
;
1958 } Py_INCREF(Py_None
);
1959 _resultobj
= Py_None
;
1962 o
= PyInt_FromLong((long) (*_arg1
));
1963 _resultobj
= t_output_helper(_resultobj
, o
);
1967 o
= PyInt_FromLong((long) (*_arg2
));
1968 _resultobj
= t_output_helper(_resultobj
, o
);
1973 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
1974 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1978 PyObject
* _argo0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
1996 wxPy_END_ALLOW_THREADS
;
1997 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1998 _resultobj
= Py_BuildValue("s",_ptemp
);
2002 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2003 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
* _resultobj
;
2010 PyObject
* _argo0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2033 wxPy_END_ALLOW_THREADS
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2038 o
= PyInt_FromLong((long) (*_arg1
));
2039 _resultobj
= t_output_helper(_resultobj
, o
);
2043 o
= PyInt_FromLong((long) (*_arg2
));
2044 _resultobj
= t_output_helper(_resultobj
, o
);
2049 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2050 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
* _resultobj
;
2054 PyObject
* _argo0
= 0;
2055 char *_kwnames
[] = { "self", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2072 wxPy_END_ALLOW_THREADS
;
2073 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2074 _resultobj
= Py_BuildValue("s",_ptemp
);
2078 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2079 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2083 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "self", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2098 wxPy_BEGIN_ALLOW_THREADS
;
2099 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2101 wxPy_END_ALLOW_THREADS
;
2103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2104 _resultobj
= Py_BuildValue("s",_ptemp
);
2107 _resultobj
= Py_None
;
2112 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2113 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2118 PyObject
* _argo0
= 0;
2119 char *_kwnames
[] = { "self","x","y", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2132 wxPy_BEGIN_ALLOW_THREADS
;
2133 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2135 wxPy_END_ALLOW_THREADS
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2142 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2146 PyObject
* _argo0
= 0;
2148 PyObject
* _obj1
= 0;
2149 char *_kwnames
[] = { "self","pt", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2163 if (! wxPoint_helper(_obj1
, &_arg1
))
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 wxCaret_Move(_arg0
,*_arg1
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2177 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2182 PyObject
* _argo0
= 0;
2183 char *_kwnames
[] = { "self","width","height", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2199 wxPy_END_ALLOW_THREADS
;
2200 } Py_INCREF(Py_None
);
2201 _resultobj
= Py_None
;
2205 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2206 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2210 PyObject
* _argo0
= 0;
2212 PyObject
* _obj1
= 0;
2213 char *_kwnames
[] = { "self","size", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2227 if (! wxSize_helper(_obj1
, &_arg1
))
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 wxCaret_SetSize(_arg0
,*_arg1
);
2234 wxPy_END_ALLOW_THREADS
;
2235 } Py_INCREF(Py_None
);
2236 _resultobj
= Py_None
;
2240 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2241 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2244 int _arg1
= (int ) TRUE
;
2245 PyObject
* _argo0
= 0;
2246 char *_kwnames
[] = { "self","show", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 wxCaret_Show(_arg0
,_arg1
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } Py_INCREF(Py_None
);
2264 _resultobj
= Py_None
;
2268 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2269 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2272 PyObject
* _argo0
= 0;
2273 char *_kwnames
[] = { "self", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2286 wxPy_BEGIN_ALLOW_THREADS
;
2287 wxCaret_Hide(_arg0
);
2289 wxPy_END_ALLOW_THREADS
;
2290 } Py_INCREF(Py_None
);
2291 _resultobj
= Py_None
;
2295 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2296 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2298 wxPyFontEnumerator
* _result
;
2299 char *_kwnames
[] = { NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2306 wxPy_BEGIN_ALLOW_THREADS
;
2307 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2309 wxPy_END_ALLOW_THREADS
;
2311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2312 _resultobj
= Py_BuildValue("s",_ptemp
);
2315 _resultobj
= Py_None
;
2320 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2321 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxPyFontEnumerator
* _arg0
;
2324 PyObject
* _argo0
= 0;
2325 char *_kwnames
[] = { "self", NULL
};
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2338 wxPy_BEGIN_ALLOW_THREADS
;
2339 delete_wxPyFontEnumerator(_arg0
);
2341 wxPy_END_ALLOW_THREADS
;
2342 } Py_INCREF(Py_None
);
2343 _resultobj
= Py_None
;
2347 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2348 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2350 wxPyFontEnumerator
* _arg0
;
2353 PyObject
* _argo0
= 0;
2354 PyObject
* _obj1
= 0;
2355 PyObject
* _obj2
= 0;
2356 char *_kwnames
[] = { "self","self","_class", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } Py_INCREF(Py_None
);
2380 _resultobj
= Py_None
;
2384 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2385 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2388 wxPyFontEnumerator
* _arg0
;
2389 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2390 bool _arg2
= (bool ) FALSE
;
2391 PyObject
* _argo0
= 0;
2392 int tempbool2
= (int) FALSE
;
2393 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2405 _arg2
= (bool ) tempbool2
;
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2410 wxPy_END_ALLOW_THREADS
;
2411 } _resultobj
= Py_BuildValue("i",_result
);
2415 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2416 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2419 wxPyFontEnumerator
* _arg0
;
2420 char * _arg1
= (char *) "";
2421 PyObject
* _argo0
= 0;
2422 char *_kwnames
[] = { "self","facename", NULL
};
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
2428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2435 wxPy_BEGIN_ALLOW_THREADS
;
2436 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
2438 wxPy_END_ALLOW_THREADS
;
2439 } _resultobj
= Py_BuildValue("i",_result
);
2443 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2444 wxArrayString
* arr
= self
->GetEncodings();
2445 PyObject
* list
= PyList_New(0);
2446 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2447 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2450 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2453 wxPyFontEnumerator
* _arg0
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2468 wxPy_BEGIN_ALLOW_THREADS
;
2469 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2471 wxPy_END_ALLOW_THREADS
;
2473 _resultobj
= _result
;
2478 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2479 wxArrayString
* arr
= self
->GetFacenames();
2480 PyObject
* list
= PyList_New(0);
2481 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2482 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2485 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2488 wxPyFontEnumerator
* _arg0
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2506 wxPy_END_ALLOW_THREADS
;
2508 _resultobj
= _result
;
2513 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
2514 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2516 wxBusyCursor
* _result
;
2517 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "cursor", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
2536 wxPy_END_ALLOW_THREADS
;
2538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
2539 _resultobj
= Py_BuildValue("s",_ptemp
);
2542 _resultobj
= Py_None
;
2547 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
2548 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2550 wxBusyCursor
* _arg0
;
2551 PyObject
* _argo0
= 0;
2552 char *_kwnames
[] = { "self", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 delete_wxBusyCursor(_arg0
);
2568 wxPy_END_ALLOW_THREADS
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
2575 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2577 wxTipProvider
* _arg0
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
2585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
2587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 delete_wxTipProvider(_arg0
);
2595 wxPy_END_ALLOW_THREADS
;
2596 } Py_INCREF(Py_None
);
2597 _resultobj
= Py_None
;
2601 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
2602 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2605 wxTipProvider
* _arg0
;
2606 PyObject
* _argo0
= 0;
2607 char *_kwnames
[] = { "self", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
2613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
2615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
2620 wxPy_BEGIN_ALLOW_THREADS
;
2621 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
2623 wxPy_END_ALLOW_THREADS
;
2625 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2633 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
2634 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2637 wxTipProvider
* _arg0
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
2645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
2647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
2652 wxPy_BEGIN_ALLOW_THREADS
;
2653 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
2655 wxPy_END_ALLOW_THREADS
;
2656 } _resultobj
= Py_BuildValue("i",_result
);
2660 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
2661 wxPyTipProvider
*src
;
2662 wxTipProvider
*dest
;
2663 src
= (wxPyTipProvider
*) ptr
;
2664 dest
= (wxTipProvider
*) src
;
2665 return (void *) dest
;
2668 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
2669 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2671 wxPyTipProvider
* _result
;
2673 char *_kwnames
[] = { "currentTip", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
2680 wxPy_BEGIN_ALLOW_THREADS
;
2681 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
2683 wxPy_END_ALLOW_THREADS
;
2685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
2686 _resultobj
= Py_BuildValue("s",_ptemp
);
2689 _resultobj
= Py_None
;
2694 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
2695 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
* _resultobj
;
2697 wxGenericDragImage
* _result
;
2699 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
2700 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
2701 PyObject
* _argo0
= 0;
2702 PyObject
* _argo1
= 0;
2704 PyObject
* _obj2
= 0;
2705 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
2719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
2728 if (! wxPoint_helper(_obj2
, &_arg2
))
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
2735 wxPy_END_ALLOW_THREADS
;
2737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2738 _resultobj
= Py_BuildValue("s",_ptemp
);
2741 _resultobj
= Py_None
;
2746 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
2747 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2749 wxGenericDragImage
* _arg0
;
2750 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 delete_wxGenericDragImage(_arg0
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } Py_INCREF(Py_None
);
2769 _resultobj
= Py_None
;
2773 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2774 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2777 wxGenericDragImage
* _arg0
;
2780 bool _arg3
= (bool ) FALSE
;
2781 wxRect
* _arg4
= (wxRect
*) NULL
;
2782 PyObject
* _argo0
= 0;
2784 PyObject
* _obj1
= 0;
2785 PyObject
* _argo2
= 0;
2786 int tempbool3
= (int) FALSE
;
2788 PyObject
* _obj4
= 0;
2789 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
2795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
2803 if (! wxPoint_helper(_obj1
, &_arg1
))
2807 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
2813 _arg3
= (bool ) tempbool3
;
2817 if (! wxRect_helper(_obj4
, &_arg4
))
2821 wxPy_BEGIN_ALLOW_THREADS
;
2822 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
2824 wxPy_END_ALLOW_THREADS
;
2825 } _resultobj
= Py_BuildValue("i",_result
);
2829 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
2830 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2833 wxGenericDragImage
* _arg0
;
2837 PyObject
* _argo0
= 0;
2839 PyObject
* _obj1
= 0;
2840 PyObject
* _argo2
= 0;
2841 PyObject
* _argo3
= 0;
2842 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
2856 if (! wxPoint_helper(_obj1
, &_arg1
))
2860 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
2867 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
2874 wxPy_BEGIN_ALLOW_THREADS
;
2875 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
2877 wxPy_END_ALLOW_THREADS
;
2878 } _resultobj
= Py_BuildValue("i",_result
);
2882 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
2883 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2886 wxGenericDragImage
* _arg0
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
2901 wxPy_BEGIN_ALLOW_THREADS
;
2902 _result
= (bool )wxDragImage_EndDrag(_arg0
);
2904 wxPy_END_ALLOW_THREADS
;
2905 } _resultobj
= Py_BuildValue("i",_result
);
2909 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2910 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2913 wxGenericDragImage
* _arg0
;
2915 PyObject
* _argo0
= 0;
2917 PyObject
* _obj1
= 0;
2918 char *_kwnames
[] = { "self","pt", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
2932 if (! wxPoint_helper(_obj1
, &_arg1
))
2936 wxPy_BEGIN_ALLOW_THREADS
;
2937 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
2939 wxPy_END_ALLOW_THREADS
;
2940 } _resultobj
= Py_BuildValue("i",_result
);
2944 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
2945 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2948 wxGenericDragImage
* _arg0
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 _result
= (bool )wxDragImage_Show(_arg0
);
2966 wxPy_END_ALLOW_THREADS
;
2967 } _resultobj
= Py_BuildValue("i",_result
);
2971 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
2972 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2975 wxGenericDragImage
* _arg0
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 _result
= (bool )wxDragImage_Hide(_arg0
);
2993 wxPy_END_ALLOW_THREADS
;
2994 } _resultobj
= Py_BuildValue("i",_result
);
2998 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
2999 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3002 wxGenericDragImage
* _arg0
;
3004 PyObject
* _argo0
= 0;
3006 PyObject
* _obj1
= 0;
3007 char *_kwnames
[] = { "self","pos", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3022 if (! wxPoint_helper(_obj1
, &_arg1
))
3026 wxPy_BEGIN_ALLOW_THREADS
;
3027 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3029 wxPy_END_ALLOW_THREADS
;
3030 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3031 _resultobj
= Py_BuildValue("s",_ptemp
);
3035 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3036 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3039 wxGenericDragImage
* _arg0
;
3044 PyObject
* _argo0
= 0;
3046 PyObject
* _obj1
= 0;
3048 PyObject
* _obj2
= 0;
3051 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3065 if (! wxPoint_helper(_obj1
, &_arg1
))
3070 if (! wxPoint_helper(_obj2
, &_arg2
))
3073 _arg3
= (bool ) tempbool3
;
3074 _arg4
= (bool ) tempbool4
;
3076 wxPy_BEGIN_ALLOW_THREADS
;
3077 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3079 wxPy_END_ALLOW_THREADS
;
3080 } _resultobj
= Py_BuildValue("i",_result
);
3084 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3085 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3087 wxPyTimer
* _result
;
3089 PyObject
* _obj0
= 0;
3090 char *_kwnames
[] = { "notify", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3103 wxPy_END_ALLOW_THREADS
;
3105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3106 _resultobj
= Py_BuildValue("s",_ptemp
);
3109 _resultobj
= Py_None
;
3114 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3115 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3132 wxPy_BEGIN_ALLOW_THREADS
;
3133 delete_wxPyTimer(_arg0
);
3135 wxPy_END_ALLOW_THREADS
;
3136 } Py_INCREF(Py_None
);
3137 _resultobj
= Py_None
;
3141 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3142 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3163 wxPy_END_ALLOW_THREADS
;
3164 } _resultobj
= Py_BuildValue("i",_result
);
3168 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3169 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3190 wxPy_END_ALLOW_THREADS
;
3191 } _resultobj
= Py_BuildValue("i",_result
);
3195 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3196 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3200 PyObject
* _argo0
= 0;
3201 char *_kwnames
[] = { "self", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
3223 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3226 wxEvtHandler
* _arg1
;
3227 int _arg2
= (int ) -1;
3228 PyObject
* _argo0
= 0;
3229 PyObject
* _argo1
= 0;
3230 char *_kwnames
[] = { "self","owner","id", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
3243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
3250 wxPy_BEGIN_ALLOW_THREADS
;
3251 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
3253 wxPy_END_ALLOW_THREADS
;
3254 } Py_INCREF(Py_None
);
3255 _resultobj
= Py_None
;
3259 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3260 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3261 PyObject
* _resultobj
;
3263 int _arg1
= (int ) -1;
3264 int _arg2
= (int ) FALSE
;
3265 PyObject
* _argo0
= 0;
3266 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3282 wxPy_END_ALLOW_THREADS
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
3289 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 wxPyTimer_Stop(_arg0
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3315 #define new_wxLog() (new wxLog())
3316 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3319 char *_kwnames
[] = { NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
3326 wxPy_BEGIN_ALLOW_THREADS
;
3327 _result
= (wxLog
*)new_wxLog();
3329 wxPy_END_ALLOW_THREADS
;
3331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3332 _resultobj
= Py_BuildValue("s",_ptemp
);
3335 _resultobj
= Py_None
;
3340 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3343 char *_kwnames
[] = { NULL
};
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
3349 wxPy_BEGIN_ALLOW_THREADS
;
3350 _result
= (bool )wxLog::IsEnabled();
3352 wxPy_END_ALLOW_THREADS
;
3353 } _resultobj
= Py_BuildValue("i",_result
);
3357 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3360 bool _arg0
= (bool ) TRUE
;
3361 int tempbool0
= (int) TRUE
;
3362 char *_kwnames
[] = { "doIt", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
3367 _arg0
= (bool ) tempbool0
;
3369 wxPy_BEGIN_ALLOW_THREADS
;
3370 _result
= (bool )wxLog::EnableLogging(_arg0
);
3372 wxPy_END_ALLOW_THREADS
;
3373 } _resultobj
= Py_BuildValue("i",_result
);
3377 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3381 int _arg2
= (int ) 0;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "level","szString","t", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
3399 wxPy_END_ALLOW_THREADS
;
3400 } Py_INCREF(Py_None
);
3401 _resultobj
= Py_None
;
3405 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
3406 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3409 PyObject
* _argo0
= 0;
3410 char *_kwnames
[] = { "self", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
3423 wxPy_BEGIN_ALLOW_THREADS
;
3426 wxPy_END_ALLOW_THREADS
;
3427 } Py_INCREF(Py_None
);
3428 _resultobj
= Py_None
;
3432 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
3433 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3437 PyObject
* _argo0
= 0;
3438 char *_kwnames
[] = { "self", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
3451 wxPy_BEGIN_ALLOW_THREADS
;
3452 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
3454 wxPy_END_ALLOW_THREADS
;
3455 } _resultobj
= Py_BuildValue("i",_result
);
3459 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3461 char *_kwnames
[] = { NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
3467 wxPy_BEGIN_ALLOW_THREADS
;
3468 wxLog::FlushActive();
3470 wxPy_END_ALLOW_THREADS
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3476 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3479 char *_kwnames
[] = { NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 _result
= (wxLog
*)wxLog::GetActiveTarget();
3489 wxPy_END_ALLOW_THREADS
;
3491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3492 _resultobj
= Py_BuildValue("s",_ptemp
);
3495 _resultobj
= Py_None
;
3500 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "pLogger", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
3519 wxPy_BEGIN_ALLOW_THREADS
;
3520 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
3522 wxPy_END_ALLOW_THREADS
;
3524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3525 _resultobj
= Py_BuildValue("s",_ptemp
);
3528 _resultobj
= Py_None
;
3533 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3535 char *_kwnames
[] = { NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
3541 wxPy_BEGIN_ALLOW_THREADS
;
3544 wxPy_END_ALLOW_THREADS
;
3545 } Py_INCREF(Py_None
);
3546 _resultobj
= Py_None
;
3550 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3552 char *_kwnames
[] = { NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
3558 wxPy_BEGIN_ALLOW_THREADS
;
3561 wxPy_END_ALLOW_THREADS
;
3562 } Py_INCREF(Py_None
);
3563 _resultobj
= Py_None
;
3567 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
3568 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
* _resultobj
;
3571 bool _arg1
= (bool ) TRUE
;
3572 PyObject
* _argo0
= 0;
3573 int tempbool1
= (int) TRUE
;
3574 char *_kwnames
[] = { "self","bVerbose", NULL
};
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
3580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
3586 _arg1
= (bool ) tempbool1
;
3588 wxPy_BEGIN_ALLOW_THREADS
;
3589 wxLog_SetVerbose(_arg0
,_arg1
);
3591 wxPy_END_ALLOW_THREADS
;
3592 } Py_INCREF(Py_None
);
3593 _resultobj
= Py_None
;
3597 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3599 char *_kwnames
[] = { NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
3605 wxPy_BEGIN_ALLOW_THREADS
;
3606 wxLog::DontCreateOnDemand();
3608 wxPy_END_ALLOW_THREADS
;
3609 } Py_INCREF(Py_None
);
3610 _resultobj
= Py_None
;
3614 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3616 wxTraceMask
* _arg0
;
3617 PyObject
* _argo0
= 0;
3618 char *_kwnames
[] = { "ulMask", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
3624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
3631 wxPy_BEGIN_ALLOW_THREADS
;
3632 wxLog::SetTraceMask(*_arg0
);
3634 wxPy_END_ALLOW_THREADS
;
3635 } Py_INCREF(Py_None
);
3636 _resultobj
= Py_None
;
3640 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3643 PyObject
* _obj0
= 0;
3644 char *_kwnames
[] = { "str", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
3650 if (!PyString_Check(_obj0
)) {
3651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3654 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
3657 wxPy_BEGIN_ALLOW_THREADS
;
3658 wxLog::AddTraceMask(*_arg0
);
3660 wxPy_END_ALLOW_THREADS
;
3661 } Py_INCREF(Py_None
);
3662 _resultobj
= Py_None
;
3670 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3673 PyObject
* _obj0
= 0;
3674 char *_kwnames
[] = { "str", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
3680 if (!PyString_Check(_obj0
)) {
3681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3684 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 wxLog::RemoveTraceMask(*_arg0
);
3690 wxPy_END_ALLOW_THREADS
;
3691 } Py_INCREF(Py_None
);
3692 _resultobj
= Py_None
;
3700 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
3701 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
* _resultobj
;
3705 PyObject
* _argo0
= 0;
3706 char *_kwnames
[] = { "self", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
3712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
3719 wxPy_BEGIN_ALLOW_THREADS
;
3720 _result
= (bool )wxLog_GetVerbose(_arg0
);
3722 wxPy_END_ALLOW_THREADS
;
3723 } _resultobj
= Py_BuildValue("i",_result
);
3727 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
* _resultobj
;
3729 wxTraceMask
* _result
;
3730 char *_kwnames
[] = { NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
3737 wxPy_BEGIN_ALLOW_THREADS
;
3738 _result
= new wxTraceMask (wxLog::GetTraceMask());
3740 wxPy_END_ALLOW_THREADS
;
3741 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
3742 _resultobj
= Py_BuildValue("s",_ptemp
);
3746 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3750 char *_kwnames
[] = { "mask", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
3759 wxPy_END_ALLOW_THREADS
;
3760 } _resultobj
= Py_BuildValue("i",_result
);
3764 static void *SwigwxLogStderrTowxLog(void *ptr
) {
3767 src
= (wxLogStderr
*) ptr
;
3768 dest
= (wxLog
*) src
;
3769 return (void *) dest
;
3772 #define new_wxLogStderr() (new wxLogStderr())
3773 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3775 wxLogStderr
* _result
;
3776 char *_kwnames
[] = { NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 _result
= (wxLogStderr
*)new_wxLogStderr();
3786 wxPy_END_ALLOW_THREADS
;
3788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
3789 _resultobj
= Py_BuildValue("s",_ptemp
);
3792 _resultobj
= Py_None
;
3797 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
3800 src
= (wxLogTextCtrl
*) ptr
;
3801 dest
= (wxLog
*) src
;
3802 return (void *) dest
;
3805 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
3806 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
* _resultobj
;
3808 wxLogTextCtrl
* _result
;
3810 PyObject
* _argo0
= 0;
3811 char *_kwnames
[] = { "pTextCtrl", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
3825 wxPy_BEGIN_ALLOW_THREADS
;
3826 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
3828 wxPy_END_ALLOW_THREADS
;
3830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
3831 _resultobj
= Py_BuildValue("s",_ptemp
);
3834 _resultobj
= Py_None
;
3839 static void *SwigwxLogGuiTowxLog(void *ptr
) {
3842 src
= (wxLogGui
*) ptr
;
3843 dest
= (wxLog
*) src
;
3844 return (void *) dest
;
3847 #define new_wxLogGui() (new wxLogGui())
3848 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3851 char *_kwnames
[] = { NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
3858 wxPy_BEGIN_ALLOW_THREADS
;
3859 _result
= (wxLogGui
*)new_wxLogGui();
3861 wxPy_END_ALLOW_THREADS
;
3863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
3864 _resultobj
= Py_BuildValue("s",_ptemp
);
3867 _resultobj
= Py_None
;
3872 static void *SwigwxLogWindowTowxLog(void *ptr
) {
3875 src
= (wxLogWindow
*) ptr
;
3876 dest
= (wxLog
*) src
;
3877 return (void *) dest
;
3880 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3881 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3883 wxLogWindow
* _result
;
3886 bool _arg2
= (bool ) TRUE
;
3887 bool _arg3
= (bool ) TRUE
;
3888 PyObject
* _argo0
= 0;
3889 int tempbool2
= (int) TRUE
;
3890 int tempbool3
= (int) TRUE
;
3891 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
3904 _arg2
= (bool ) tempbool2
;
3905 _arg3
= (bool ) tempbool3
;
3907 wxPy_BEGIN_ALLOW_THREADS
;
3908 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3910 wxPy_END_ALLOW_THREADS
;
3912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
3913 _resultobj
= Py_BuildValue("s",_ptemp
);
3916 _resultobj
= Py_None
;
3921 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3922 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3924 wxLogWindow
* _arg0
;
3925 bool _arg1
= (bool ) TRUE
;
3926 PyObject
* _argo0
= 0;
3927 int tempbool1
= (int) TRUE
;
3928 char *_kwnames
[] = { "self","bShow", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
3940 _arg1
= (bool ) tempbool1
;
3942 wxPy_BEGIN_ALLOW_THREADS
;
3943 wxLogWindow_Show(_arg0
,_arg1
);
3945 wxPy_END_ALLOW_THREADS
;
3946 } Py_INCREF(Py_None
);
3947 _resultobj
= Py_None
;
3951 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
3952 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3955 wxLogWindow
* _arg0
;
3956 PyObject
* _argo0
= 0;
3957 char *_kwnames
[] = { "self", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
3971 wxPy_BEGIN_ALLOW_THREADS
;
3972 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
3974 wxPy_END_ALLOW_THREADS
;
3976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
3977 _resultobj
= Py_BuildValue("s",_ptemp
);
3980 _resultobj
= Py_None
;
3985 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
3986 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3989 wxLogWindow
* _arg0
;
3990 PyObject
* _argo0
= 0;
3991 char *_kwnames
[] = { "self", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
3998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4008 wxPy_END_ALLOW_THREADS
;
4010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4011 _resultobj
= Py_BuildValue("s",_ptemp
);
4014 _resultobj
= Py_None
;
4019 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4020 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4023 wxLogWindow
* _arg0
;
4024 PyObject
* _argo0
= 0;
4025 char *_kwnames
[] = { "self", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4038 wxPy_BEGIN_ALLOW_THREADS
;
4039 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4041 wxPy_END_ALLOW_THREADS
;
4042 } _resultobj
= Py_BuildValue("i",_result
);
4046 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4047 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4049 wxLogWindow
* _arg0
;
4051 PyObject
* _argo0
= 0;
4053 char *_kwnames
[] = { "self","bDoPass", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4065 _arg1
= (bool ) tempbool1
;
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 wxLogWindow_PassMessages(_arg0
,_arg1
);
4070 wxPy_END_ALLOW_THREADS
;
4071 } Py_INCREF(Py_None
);
4072 _resultobj
= Py_None
;
4076 #define new_wxLogNull() (new wxLogNull())
4077 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4079 wxLogNull
* _result
;
4080 char *_kwnames
[] = { NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 _result
= (wxLogNull
*)new_wxLogNull();
4090 wxPy_END_ALLOW_THREADS
;
4092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4093 _resultobj
= Py_BuildValue("s",_ptemp
);
4096 _resultobj
= Py_None
;
4101 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4102 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4105 PyObject
* _argo0
= 0;
4106 char *_kwnames
[] = { "self", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4119 wxPy_BEGIN_ALLOW_THREADS
;
4120 delete_wxLogNull(_arg0
);
4122 wxPy_END_ALLOW_THREADS
;
4123 } Py_INCREF(Py_None
);
4124 _resultobj
= Py_None
;
4128 static PyMethodDef misc2cMethods
[] = {
4129 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
4263 * This table is used by the pointer type-checker
4265 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4266 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4267 { "_wxEvent","_class_wxEvent",0},
4268 { "_class_wxActivateEvent","_wxActivateEvent",0},
4269 { "_signed_long","_long",0},
4270 { "_wxMenuEvent","_class_wxMenuEvent",0},
4271 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
4272 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
4273 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4274 { "_wxPrintQuality","_wxCoord",0},
4275 { "_wxPrintQuality","_int",0},
4276 { "_wxPrintQuality","_signed_int",0},
4277 { "_wxPrintQuality","_unsigned_int",0},
4278 { "_wxPrintQuality","_wxWindowID",0},
4279 { "_wxPrintQuality","_uint",0},
4280 { "_wxPrintQuality","_EBool",0},
4281 { "_wxPrintQuality","_size_t",0},
4282 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
4283 { "_class_wxRegionIterator","_wxRegionIterator",0},
4284 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
4285 { "_class_wxMenuBar","_wxMenuBar",0},
4286 { "_class_wxEvtHandler","_wxEvtHandler",0},
4287 { "_wxPaintEvent","_class_wxPaintEvent",0},
4288 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4289 { "_wxCursor","_class_wxCursor",0},
4290 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
4291 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
4292 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
4293 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
4294 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
4295 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
4296 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
4297 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
4298 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
4299 { "_wxLog","_class_wxLog",0},
4300 { "_wxMask","_class_wxMask",0},
4301 { "_wxToolTip","_class_wxToolTip",0},
4302 { "_wxPen","_class_wxPen",0},
4303 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
4304 { "_byte","_unsigned_char",0},
4305 { "_wxDataObject","_class_wxDataObject",0},
4306 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
4307 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
4308 { "_wxPyDropSource","_class_wxPyDropSource",0},
4309 { "_long","_unsigned_long",0},
4310 { "_long","_signed_long",0},
4311 { "_wxImageList","_class_wxImageList",0},
4312 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
4313 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
4314 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4315 { "_class_wxClipboard","_wxClipboard",0},
4316 { "_wxDC","_class_wxDC",0},
4317 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
4318 { "_wxSpinEvent","_class_wxSpinEvent",0},
4319 { "_size_t","_wxCoord",0},
4320 { "_size_t","_wxPrintQuality",0},
4321 { "_size_t","_unsigned_int",0},
4322 { "_size_t","_int",0},
4323 { "_size_t","_wxWindowID",0},
4324 { "_size_t","_uint",0},
4325 { "_class_wxRealPoint","_wxRealPoint",0},
4326 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
4327 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
4328 { "_wxLogGui","_class_wxLogGui",0},
4329 { "_class_wxMenuItem","_wxMenuItem",0},
4330 { "_class_wxPaintEvent","_wxPaintEvent",0},
4331 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
4332 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
4333 { "_wxPanel","_class_wxPanel",0},
4334 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
4335 { "_wxPyEvent","_class_wxPyEvent",0},
4336 { "_class_wxMask","_wxMask",0},
4337 { "_wxTextDataObject","_class_wxTextDataObject",0},
4338 { "_class_wxKeyEvent","_wxKeyEvent",0},
4339 { "_class_wxToolTip","_wxToolTip",0},
4340 { "_wxColour","_class_wxColour",0},
4341 { "_class_wxDialog","_wxDialog",0},
4342 { "_wxBusyCursor","_class_wxBusyCursor",0},
4343 { "_class_wxFileDataObject","_wxFileDataObject",0},
4344 { "_wxIdleEvent","_class_wxIdleEvent",0},
4345 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
4346 { "_class_wxDataObject","_wxDataObject",0},
4347 { "_wxCaret","_class_wxCaret",0},
4348 { "_wxBrush","_class_wxBrush",0},
4349 { "_wxDataFormat","_class_wxDataFormat",0},
4350 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
4351 { "_wxShowEvent","_class_wxShowEvent",0},
4352 { "_uint","_wxCoord",0},
4353 { "_uint","_wxPrintQuality",0},
4354 { "_uint","_size_t",0},
4355 { "_uint","_unsigned_int",0},
4356 { "_uint","_int",0},
4357 { "_uint","_wxWindowID",0},
4358 { "_wxChar","_char",0},
4359 { "_wxPyValidator","_class_wxPyValidator",0},
4360 { "_class_wxEvent","_wxEvent",0},
4361 { "_wxRect","_class_wxRect",0},
4362 { "_wxCommandEvent","_class_wxCommandEvent",0},
4363 { "_wxSizeEvent","_class_wxSizeEvent",0},
4364 { "_class_wxLogWindow","_wxLogWindow",0},
4365 { "_wxPoint","_class_wxPoint",0},
4366 { "_char","_wxChar",0},
4367 { "_wxBitmap","_class_wxBitmap",0},
4368 { "_wxWindowDC","_class_wxWindowDC",0},
4369 { "_wxTimerEvent","_class_wxTimerEvent",0},
4370 { "_wxPyTimer","_class_wxPyTimer",0},
4371 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4372 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
4373 { "_class_wxValidator","_wxValidator",0},
4374 { "_class_wxPyEvent","_wxPyEvent",0},
4375 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
4376 { "_class_wxBusyCursor","_wxBusyCursor",0},
4377 { "_wxDropTarget","_class_wxDropTarget",0},
4378 { "_wxScrollEvent","_class_wxScrollEvent",0},
4379 { "_EBool","_wxCoord",0},
4380 { "_EBool","_wxPrintQuality",0},
4381 { "_EBool","_signed_int",0},
4382 { "_EBool","_int",0},
4383 { "_EBool","_wxWindowID",0},
4384 { "_class_wxRegion","_wxRegion",0},
4385 { "_class_wxDataFormat","_wxDataFormat",0},
4386 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
4387 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
4388 { "_wxFont","_class_wxFont",0},
4389 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
4390 { "_wxCloseEvent","_class_wxCloseEvent",0},
4391 { "_unsigned_long","_long",0},
4392 { "_class_wxRect","_wxRect",0},
4393 { "_class_wxDC","_wxDC",0},
4394 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
4395 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
4396 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
4397 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
4398 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
4399 { "_wxFocusEvent","_class_wxFocusEvent",0},
4400 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
4401 { "_class_wxTimerEvent","_wxTimerEvent",0},
4402 { "_class_wxPyTimer","_wxPyTimer",0},
4403 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4404 { "_class_wxPanel","_wxPanel",0},
4405 { "_signed_int","_wxCoord",0},
4406 { "_signed_int","_wxPrintQuality",0},
4407 { "_signed_int","_EBool",0},
4408 { "_signed_int","_wxWindowID",0},
4409 { "_signed_int","_int",0},
4410 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4411 { "_class_wxTextDataObject","_wxTextDataObject",0},
4412 { "_wxMenu","_class_wxMenu",0},
4413 { "_class_wxMoveEvent","_wxMoveEvent",0},
4414 { "_wxScreenDC","_class_wxScreenDC",0},
4415 { "_WXTYPE","_short",0},
4416 { "_WXTYPE","_signed_short",0},
4417 { "_WXTYPE","_unsigned_short",0},
4418 { "_class_wxDropTarget","_wxDropTarget",0},
4419 { "_class_wxCaret","_wxCaret",0},
4420 { "_class_wxBrush","_wxBrush",0},
4421 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
4422 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
4423 { "_wxTipProvider","_class_wxTipProvider",0},
4424 { "_unsigned_short","_WXTYPE",0},
4425 { "_unsigned_short","_short",0},
4426 { "_class_wxWindow","_wxWindow",0},
4427 { "_class_wxLogStderr","_wxLogStderr",0},
4428 { "_class_wxFont","_wxFont",0},
4429 { "_wxClipboard","_class_wxClipboard",0},
4430 { "_class_wxPyValidator","_wxPyValidator",0},
4431 { "_class_wxCloseEvent","_wxCloseEvent",0},
4432 { "_wxBusyInfo","_class_wxBusyInfo",0},
4433 { "_class_wxMenuEvent","_wxMenuEvent",0},
4434 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
4435 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
4436 { "_wxClientDC","_class_wxClientDC",0},
4437 { "_wxMouseEvent","_class_wxMouseEvent",0},
4438 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
4439 { "_class_wxPoint","_wxPoint",0},
4440 { "_wxRealPoint","_class_wxRealPoint",0},
4441 { "_signed_short","_WXTYPE",0},
4442 { "_signed_short","_short",0},
4443 { "_wxMemoryDC","_class_wxMemoryDC",0},
4444 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
4445 { "_wxPaintDC","_class_wxPaintDC",0},
4446 { "_class_wxWindowDC","_wxWindowDC",0},
4447 { "_class_wxFocusEvent","_wxFocusEvent",0},
4448 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
4449 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4450 { "_class_wxCursor","_wxCursor",0},
4451 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4452 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
4453 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
4454 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
4455 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
4456 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
4457 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
4458 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
4459 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
4460 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
4461 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
4462 { "_class_wxLog","_wxLog",0},
4463 { "_unsigned_char","_byte",0},
4464 { "_class_wxMenu","_wxMenu",0},
4465 { "_unsigned_int","_wxCoord",0},
4466 { "_unsigned_int","_wxPrintQuality",0},
4467 { "_unsigned_int","_size_t",0},
4468 { "_unsigned_int","_uint",0},
4469 { "_unsigned_int","_wxWindowID",0},
4470 { "_unsigned_int","_int",0},
4471 { "_wxIcon","_class_wxIcon",0},
4472 { "_wxDialog","_class_wxDialog",0},
4473 { "_class_wxPen","_wxPen",0},
4474 { "_short","_WXTYPE",0},
4475 { "_short","_unsigned_short",0},
4476 { "_short","_signed_short",0},
4477 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
4478 { "_class_wxPyDropSource","_wxPyDropSource",0},
4479 { "_class_wxScrollEvent","_wxScrollEvent",0},
4480 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
4481 { "_class_wxImageList","_wxImageList",0},
4482 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
4483 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4484 { "_wxWindowID","_wxCoord",0},
4485 { "_wxWindowID","_wxPrintQuality",0},
4486 { "_wxWindowID","_size_t",0},
4487 { "_wxWindowID","_EBool",0},
4488 { "_wxWindowID","_uint",0},
4489 { "_wxWindowID","_int",0},
4490 { "_wxWindowID","_signed_int",0},
4491 { "_wxWindowID","_unsigned_int",0},
4492 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4493 { "_int","_wxCoord",0},
4494 { "_int","_wxPrintQuality",0},
4495 { "_int","_size_t",0},
4496 { "_int","_EBool",0},
4497 { "_int","_uint",0},
4498 { "_int","_wxWindowID",0},
4499 { "_int","_unsigned_int",0},
4500 { "_int","_signed_int",0},
4501 { "_class_wxMouseEvent","_wxMouseEvent",0},
4502 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
4503 { "_wxLogWindow","_class_wxLogWindow",0},
4504 { "_class_wxSpinEvent","_wxSpinEvent",0},
4505 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
4506 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
4507 { "_wxLogNull","_class_wxLogNull",0},
4508 { "_wxSize","_class_wxSize",0},
4509 { "_wxRegionIterator","_class_wxRegionIterator",0},
4510 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
4511 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
4512 { "_class_wxLogGui","_wxLogGui",0},
4513 { "_class_wxPaintDC","_wxPaintDC",0},
4514 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4515 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
4516 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
4517 { "_wxValidator","_class_wxValidator",0},
4518 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4519 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
4520 { "_class_wxIcon","_wxIcon",0},
4521 { "_class_wxColour","_wxColour",0},
4522 { "_class_wxScreenDC","_wxScreenDC",0},
4523 { "_wxPalette","_class_wxPalette",0},
4524 { "_class_wxIdleEvent","_wxIdleEvent",0},
4525 { "_wxCoord","_int",0},
4526 { "_wxCoord","_signed_int",0},
4527 { "_wxCoord","_unsigned_int",0},
4528 { "_wxCoord","_wxWindowID",0},
4529 { "_wxCoord","_uint",0},
4530 { "_wxCoord","_EBool",0},
4531 { "_wxCoord","_size_t",0},
4532 { "_wxCoord","_wxPrintQuality",0},
4533 { "_wxEraseEvent","_class_wxEraseEvent",0},
4534 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
4535 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
4536 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
4537 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
4538 { "_class_wxTipProvider","_wxTipProvider",0},
4539 { "_wxRegion","_class_wxRegion",0},
4540 { "_class_wxShowEvent","_wxShowEvent",0},
4541 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
4542 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
4543 { "_wxActivateEvent","_class_wxActivateEvent",0},
4544 { "_class_wxBusyInfo","_wxBusyInfo",0},
4545 { "_class_wxCommandEvent","_wxCommandEvent",0},
4546 { "_class_wxClientDC","_wxClientDC",0},
4547 { "_class_wxSizeEvent","_wxSizeEvent",0},
4548 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
4549 { "_class_wxLogNull","_wxLogNull",0},
4550 { "_class_wxSize","_wxSize",0},
4551 { "_class_wxBitmap","_wxBitmap",0},
4552 { "_class_wxMemoryDC","_wxMemoryDC",0},
4553 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
4554 { "_wxMenuBar","_class_wxMenuBar",0},
4555 { "_wxEvtHandler","_class_wxEvtHandler",0},
4556 { "_wxMenuItem","_class_wxMenuItem",0},
4557 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
4558 { "_wxKeyEvent","_class_wxKeyEvent",0},
4559 { "_wxMoveEvent","_class_wxMoveEvent",0},
4560 { "_class_wxPalette","_wxPalette",0},
4561 { "_wxFileDataObject","_class_wxFileDataObject",0},
4562 { "_class_wxEraseEvent","_wxEraseEvent",0},
4563 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
4564 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
4565 { "_wxWindow","_class_wxWindow",0},
4566 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
4567 { "_wxLogStderr","_class_wxLogStderr",0},
4570 static PyObject
*SWIG_globals
;
4574 SWIGEXPORT(void) initmisc2c() {
4576 SWIG_globals
= SWIG_newvarlink();
4577 m
= Py_InitModule("misc2c", misc2cMethods
);
4578 d
= PyModule_GetDict(m
);
4579 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
4580 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
4581 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
4582 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
4583 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
4584 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
4585 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
4586 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
4587 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
4588 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
4589 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
4590 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
4591 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
4592 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
4593 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
4594 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
4595 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
4596 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
4597 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
4598 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
4599 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
4600 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
4601 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
4602 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
4603 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
4604 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
4605 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
4606 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
4607 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
4608 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
4609 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
4610 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
4611 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
4612 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
4613 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
4614 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
4615 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
4616 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
4617 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
4618 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
4619 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
4620 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
4621 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
4622 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
4623 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
4624 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
4625 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
4626 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
4627 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
4628 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
4629 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
4630 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
4631 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
4632 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
4633 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
4634 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
4635 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
4636 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
4637 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
4638 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
4639 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
4640 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
4641 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
4642 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
4643 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
4644 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
4645 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
4646 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
4647 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
4648 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
4649 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
4650 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
4651 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
4652 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
4653 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
4654 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
4655 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
4656 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
4657 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
4658 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
4659 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
4660 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
4661 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
4662 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
4663 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
4664 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
4665 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
4666 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
4667 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
4668 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
4669 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
4670 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
4671 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
4672 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
4673 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
4674 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
4677 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4678 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);