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>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
112 wxColour
wxSystemSettings_GetSystemColour(int index
) {
113 return wxSystemSettings::GetSystemColour(index
);
116 wxFont
wxSystemSettings_GetSystemFont(int index
) {
117 return wxSystemSettings::GetSystemFont(index
);
120 int wxSystemSettings_GetSystemMetric(int index
) {
121 return wxSystemSettings::GetSystemMetric(index
);
124 void wxToolTip_Enable(bool flag
) {
125 wxToolTip::Enable(flag
);
128 void wxToolTip_SetDelay(long milliseconds
) {
129 wxToolTip::SetDelay(milliseconds
);
132 int wxCaret_GetBlinkTime() {
133 return wxCaret::GetBlinkTime();
136 void wxCaret_SetBlinkTime(int milliseconds
) {
137 wxCaret::SetBlinkTime(milliseconds
);
140 class wxPyFontEnumerator
: public wxFontEnumerator
{
142 wxPyFontEnumerator() {}
143 ~wxPyFontEnumerator() {}
145 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
146 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
151 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
152 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
157 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
158 PyObject
* _resultobj
;
161 char * _arg1
= (char *) NULL
;
162 char * _arg2
= (char *) NULL
;
163 char * _arg3
= (char *) NULL
;
164 char * _arg4
= (char *) "*.*";
165 int _arg5
= (int ) 0;
166 wxWindow
* _arg6
= (wxWindow
*) NULL
;
167 int _arg7
= (int ) -1;
168 int _arg8
= (int ) -1;
169 PyObject
* _argo6
= 0;
170 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
176 if (_argo6
== Py_None
) { _arg6
= NULL
; }
177 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
186 wxPy_END_ALLOW_THREADS
;
188 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
196 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
200 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
201 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
202 wxWindow
* _arg3
= (wxWindow
*) NULL
;
203 int _arg4
= (int ) -1;
204 int _arg5
= (int ) -1;
205 bool _arg6
= (bool ) TRUE
;
206 PyObject
* _obj0
= 0;
207 PyObject
* _obj1
= 0;
208 PyObject
* _obj2
= 0;
209 PyObject
* _argo3
= 0;
210 int tempbool6
= (int) TRUE
;
211 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
217 if (!PyString_Check(_obj0
)) {
218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
221 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
225 if (!PyString_Check(_obj1
)) {
226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
229 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
233 if (!PyString_Check(_obj2
)) {
234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
237 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
240 if (_argo3
== Py_None
) { _arg3
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
246 _arg6
= (bool ) tempbool6
;
248 wxPy_BEGIN_ALLOW_THREADS
;
249 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
251 wxPy_END_ALLOW_THREADS
;
253 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
273 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
280 wxWindow
* _arg4
= (wxWindow
*) NULL
;
281 int _arg5
= (int ) -1;
282 int _arg6
= (int ) -1;
283 bool _arg7
= (bool ) TRUE
;
284 int _arg8
= (int ) 150;
285 int _arg9
= (int ) 200;
286 PyObject
* _obj0
= 0;
287 PyObject
* _obj1
= 0;
288 PyObject
* _obj3
= 0;
289 PyObject
* _argo4
= 0;
290 int tempbool7
= (int) TRUE
;
291 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
297 if (!PyString_Check(_obj0
)) {
298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
301 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
304 if (!PyString_Check(_obj1
)) {
305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
308 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
312 _arg3
= wxString_LIST_helper(_obj3
);
318 if (_argo4
== Py_None
) { _arg4
= NULL
; }
319 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
324 _arg7
= (bool ) tempbool7
;
327 _arg2
= PyList_Size(_obj3
);
334 wxPy_BEGIN_ALLOW_THREADS
;
335 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
337 wxPy_END_ALLOW_THREADS
;
339 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
358 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
365 wxWindow
* _arg4
= (wxWindow
*) NULL
;
366 int _arg5
= (int ) -1;
367 int _arg6
= (int ) -1;
368 bool _arg7
= (bool ) TRUE
;
369 int _arg8
= (int ) 150;
370 int _arg9
= (int ) 200;
371 PyObject
* _obj0
= 0;
372 PyObject
* _obj1
= 0;
373 PyObject
* _obj3
= 0;
374 PyObject
* _argo4
= 0;
375 int tempbool7
= (int) TRUE
;
376 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
382 if (!PyString_Check(_obj0
)) {
383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
386 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
389 if (!PyString_Check(_obj1
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
397 _arg3
= wxString_LIST_helper(_obj3
);
403 if (_argo4
== Py_None
) { _arg4
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
409 _arg7
= (bool ) tempbool7
;
412 _arg2
= PyList_Size(_obj3
);
419 wxPy_BEGIN_ALLOW_THREADS
;
420 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
422 wxPy_END_ALLOW_THREADS
;
423 } _resultobj
= Py_BuildValue("i",_result
);
438 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
439 PyObject
* _resultobj
;
442 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
443 int _arg2
= (int ) wxOK
|wxCENTRE
;
444 wxWindow
* _arg3
= (wxWindow
*) NULL
;
445 int _arg4
= (int ) -1;
446 int _arg5
= (int ) -1;
447 PyObject
* _obj0
= 0;
448 PyObject
* _obj1
= 0;
449 PyObject
* _argo3
= 0;
450 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
456 if (!PyString_Check(_obj0
)) {
457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
460 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
464 if (!PyString_Check(_obj1
)) {
465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
468 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
471 if (_argo3
== Py_None
) { _arg3
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
478 wxPy_BEGIN_ALLOW_THREADS
;
479 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
481 wxPy_END_ALLOW_THREADS
;
482 } _resultobj
= Py_BuildValue("i",_result
);
494 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
501 long _arg4
= (long ) 0;
502 long _arg5
= (long ) 100;
503 wxWindow
* _arg6
= (wxWindow
*) NULL
;
504 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
505 PyObject
* _obj0
= 0;
506 PyObject
* _obj1
= 0;
507 PyObject
* _obj2
= 0;
508 PyObject
* _argo6
= 0;
510 PyObject
* _obj7
= 0;
511 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
517 if (!PyString_Check(_obj0
)) {
518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
521 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
524 if (!PyString_Check(_obj1
)) {
525 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
528 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
531 if (!PyString_Check(_obj2
)) {
532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
535 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
538 if (_argo6
== Py_None
) { _arg6
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
547 if (! wxPoint_helper(_obj7
, &_arg7
))
551 wxPy_BEGIN_ALLOW_THREADS
;
552 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
554 wxPy_END_ALLOW_THREADS
;
555 } _resultobj
= Py_BuildValue("l",_result
);
571 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
572 PyObject
* _resultobj
;
574 char *_kwnames
[] = { NULL
};
577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
580 wxPy_BEGIN_ALLOW_THREADS
;
581 _result
= (bool )wxColourDisplay();
583 wxPy_END_ALLOW_THREADS
;
584 } _resultobj
= Py_BuildValue("i",_result
);
588 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
591 char *_kwnames
[] = { NULL
};
594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
597 wxPy_BEGIN_ALLOW_THREADS
;
598 _result
= (int )wxDisplayDepth();
600 wxPy_END_ALLOW_THREADS
;
601 } _resultobj
= Py_BuildValue("i",_result
);
605 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "cursor", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
625 wxPy_END_ALLOW_THREADS
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
635 wxWindow
* _arg1
= (wxWindow
*) NULL
;
636 PyObject
* _obj0
= 0;
637 PyObject
* _argo1
= 0;
638 char *_kwnames
[] = { "label","parent", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
645 if (!PyString_Check(_obj0
)) {
646 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
649 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
659 wxPy_BEGIN_ALLOW_THREADS
;
660 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
662 wxPy_END_ALLOW_THREADS
;
664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
665 _resultobj
= Py_BuildValue("s",_ptemp
);
668 _resultobj
= Py_None
;
677 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
681 wxWindow
* _arg1
= (wxWindow
*) NULL
;
682 PyObject
* _obj0
= 0;
683 PyObject
* _argo1
= 0;
684 char *_kwnames
[] = { "name","parent", NULL
};
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
691 if (!PyString_Check(_obj0
)) {
692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
695 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
705 wxPy_BEGIN_ALLOW_THREADS
;
706 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
708 wxPy_END_ALLOW_THREADS
;
710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
711 _resultobj
= Py_BuildValue("s",_ptemp
);
714 _resultobj
= Py_None
;
723 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
725 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
726 PyObject
* _argo0
= 0;
727 char *_kwnames
[] = { "cursor", NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
740 wxPy_BEGIN_ALLOW_THREADS
;
741 wxBeginBusyCursor(_arg0
);
743 wxPy_END_ALLOW_THREADS
;
744 } Py_INCREF(Py_None
);
745 _resultobj
= Py_None
;
749 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 char *_kwnames
[] = { NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
759 wxPy_BEGIN_ALLOW_THREADS
;
760 _result
= (wxWindow
*)wxGetActiveWindow();
762 wxPy_END_ALLOW_THREADS
;
764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
765 _resultobj
= Py_BuildValue("s",_ptemp
);
768 _resultobj
= Py_None
;
773 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
778 char *_kwnames
[] = { "name","value", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
784 wxPy_BEGIN_ALLOW_THREADS
;
785 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
787 wxPy_END_ALLOW_THREADS
;
788 } _resultobj
= Py_BuildValue("i",_result
);
792 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
794 char *_kwnames
[] = { NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
800 wxPy_BEGIN_ALLOW_THREADS
;
803 wxPy_END_ALLOW_THREADS
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
809 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
813 char *_kwnames
[] = { "resource", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
820 wxPy_BEGIN_ALLOW_THREADS
;
821 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
823 wxPy_END_ALLOW_THREADS
;
824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
825 _resultobj
= Py_BuildValue("s",_ptemp
);
829 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
833 char *_kwnames
[] = { "resource", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
840 wxPy_BEGIN_ALLOW_THREADS
;
841 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
843 wxPy_END_ALLOW_THREADS
;
844 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
845 _resultobj
= Py_BuildValue("s",_ptemp
);
849 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
853 char *_kwnames
[] = { "resource", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
860 wxPy_BEGIN_ALLOW_THREADS
;
861 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
863 wxPy_END_ALLOW_THREADS
;
865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
866 _resultobj
= Py_BuildValue("s",_ptemp
);
869 _resultobj
= Py_None
;
874 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
878 char *_kwnames
[] = { "name", NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
884 wxPy_BEGIN_ALLOW_THREADS
;
885 _result
= (int )wxResourceGetIdentifier(_arg0
);
887 wxPy_END_ALLOW_THREADS
;
888 } _resultobj
= Py_BuildValue("i",_result
);
892 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 PyObject
* _resultobj
;
896 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
897 PyObject
* _argo1
= 0;
898 char *_kwnames
[] = { "resource","table", NULL
};
901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
911 wxPy_BEGIN_ALLOW_THREADS
;
912 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
914 wxPy_END_ALLOW_THREADS
;
915 } _resultobj
= Py_BuildValue("i",_result
);
919 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
923 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
924 PyObject
* _argo1
= 0;
925 char *_kwnames
[] = { "filename","table", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
938 wxPy_BEGIN_ALLOW_THREADS
;
939 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
941 wxPy_END_ALLOW_THREADS
;
942 } _resultobj
= Py_BuildValue("i",_result
);
946 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
950 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
951 PyObject
* _argo1
= 0;
952 char *_kwnames
[] = { "resource","table", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
965 wxPy_BEGIN_ALLOW_THREADS
;
966 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
968 wxPy_END_ALLOW_THREADS
;
969 } _resultobj
= Py_BuildValue("i",_result
);
973 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
977 char *_kwnames
[] = { "index", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
984 wxPy_BEGIN_ALLOW_THREADS
;
985 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
987 wxPy_END_ALLOW_THREADS
;
988 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
989 _resultobj
= Py_BuildValue("s",_ptemp
);
993 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
997 char *_kwnames
[] = { "index", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1007 wxPy_END_ALLOW_THREADS
;
1008 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1009 _resultobj
= Py_BuildValue("s",_ptemp
);
1013 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1017 char *_kwnames
[] = { "index", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1026 wxPy_END_ALLOW_THREADS
;
1027 } _resultobj
= Py_BuildValue("i",_result
);
1031 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1035 char *_kwnames
[] = { "flag", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1040 _arg0
= (bool ) tempbool0
;
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 wxToolTip_Enable(_arg0
);
1045 wxPy_END_ALLOW_THREADS
;
1046 } Py_INCREF(Py_None
);
1047 _resultobj
= Py_None
;
1051 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1054 char *_kwnames
[] = { "milliseconds", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 wxToolTip_SetDelay(_arg0
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } Py_INCREF(Py_None
);
1065 _resultobj
= Py_None
;
1069 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1072 char *_kwnames
[] = { NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1078 wxPy_BEGIN_ALLOW_THREADS
;
1079 _result
= (int )wxCaret_GetBlinkTime();
1081 wxPy_END_ALLOW_THREADS
;
1082 } _resultobj
= Py_BuildValue("i",_result
);
1086 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 char *_kwnames
[] = { "milliseconds", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1095 wxPy_BEGIN_ALLOW_THREADS
;
1096 wxCaret_SetBlinkTime(_arg0
);
1098 wxPy_END_ALLOW_THREADS
;
1099 } Py_INCREF(Py_None
);
1100 _resultobj
= Py_None
;
1104 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
* _resultobj
;
1106 wxEvtHandler
* _arg0
;
1108 PyObject
* _argo0
= 0;
1109 PyObject
* _argo1
= 0;
1110 char *_kwnames
[] = { "dest","event", NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 wxPostEvent(_arg0
,*_arg1
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } Py_INCREF(Py_None
);
1135 _resultobj
= Py_None
;
1139 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1141 char *_kwnames
[] = { NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1147 wxPy_BEGIN_ALLOW_THREADS
;
1150 wxPy_END_ALLOW_THREADS
;
1151 } Py_INCREF(Py_None
);
1152 _resultobj
= Py_None
;
1156 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
1157 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1159 wxToolTip
* _result
;
1161 PyObject
* _obj0
= 0;
1162 char *_kwnames
[] = { "tip", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
1169 if (!PyString_Check(_obj0
)) {
1170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1173 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
1179 wxPy_END_ALLOW_THREADS
;
1181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
1182 _resultobj
= Py_BuildValue("s",_ptemp
);
1185 _resultobj
= Py_None
;
1194 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
1195 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1199 PyObject
* _argo0
= 0;
1200 PyObject
* _obj1
= 0;
1201 char *_kwnames
[] = { "self","tip", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
1214 if (!PyString_Check(_obj1
)) {
1215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1218 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 wxToolTip_SetTip(_arg0
,*_arg1
);
1224 wxPy_END_ALLOW_THREADS
;
1225 } Py_INCREF(Py_None
);
1226 _resultobj
= Py_None
;
1234 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
1235 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1239 PyObject
* _argo0
= 0;
1240 char *_kwnames
[] = { "self", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
1246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 _result
= new wxString (wxToolTip_GetTip(_arg0
));
1256 wxPy_END_ALLOW_THREADS
;
1258 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1266 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
1267 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1271 PyObject
* _argo0
= 0;
1272 char *_kwnames
[] = { "self", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
1286 wxPy_BEGIN_ALLOW_THREADS
;
1287 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
1289 wxPy_END_ALLOW_THREADS
;
1291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1292 _resultobj
= Py_BuildValue("s",_ptemp
);
1295 _resultobj
= Py_None
;
1300 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
1301 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1306 PyObject
* _argo0
= 0;
1308 PyObject
* _obj1
= 0;
1309 char *_kwnames
[] = { "window","size", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
1324 if (! wxSize_helper(_obj1
, &_arg1
))
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
1331 wxPy_END_ALLOW_THREADS
;
1333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
1334 _resultobj
= Py_BuildValue("s",_ptemp
);
1337 _resultobj
= Py_None
;
1342 #define delete_wxCaret(_swigobj) (delete _swigobj)
1343 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1346 PyObject
* _argo0
= 0;
1347 char *_kwnames
[] = { "self", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
1353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 delete_wxCaret(_arg0
);
1363 wxPy_END_ALLOW_THREADS
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
1370 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1374 PyObject
* _argo0
= 0;
1375 char *_kwnames
[] = { "self", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 _result
= (bool )wxCaret_IsOk(_arg0
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1396 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
1397 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
* _resultobj
;
1401 PyObject
* _argo0
= 0;
1402 char *_kwnames
[] = { "self", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
1415 wxPy_BEGIN_ALLOW_THREADS
;
1416 _result
= (bool )wxCaret_IsVisible(_arg0
);
1418 wxPy_END_ALLOW_THREADS
;
1419 } _resultobj
= Py_BuildValue("i",_result
);
1423 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1424 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1431 PyObject
* _argo0
= 0;
1432 char *_kwnames
[] = { "self", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1459 o
= PyInt_FromLong((long) (*_arg1
));
1460 _resultobj
= t_output_helper(_resultobj
, o
);
1464 o
= PyInt_FromLong((long) (*_arg2
));
1465 _resultobj
= t_output_helper(_resultobj
, o
);
1470 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
1471 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1475 PyObject
* _argo0
= 0;
1476 char *_kwnames
[] = { "self", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
1483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
1490 wxPy_BEGIN_ALLOW_THREADS
;
1491 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
1493 wxPy_END_ALLOW_THREADS
;
1494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1495 _resultobj
= Py_BuildValue("s",_ptemp
);
1499 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1500 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1507 PyObject
* _argo0
= 0;
1508 char *_kwnames
[] = { "self", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
1520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } Py_INCREF(Py_None
);
1532 _resultobj
= Py_None
;
1535 o
= PyInt_FromLong((long) (*_arg1
));
1536 _resultobj
= t_output_helper(_resultobj
, o
);
1540 o
= PyInt_FromLong((long) (*_arg2
));
1541 _resultobj
= t_output_helper(_resultobj
, o
);
1546 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
1547 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1551 PyObject
* _argo0
= 0;
1552 char *_kwnames
[] = { "self", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
1559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
1566 wxPy_BEGIN_ALLOW_THREADS
;
1567 _result
= new wxSize (wxCaret_GetSize(_arg0
));
1569 wxPy_END_ALLOW_THREADS
;
1570 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1575 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
1576 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
1598 wxPy_END_ALLOW_THREADS
;
1600 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1601 _resultobj
= Py_BuildValue("s",_ptemp
);
1604 _resultobj
= Py_None
;
1609 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1610 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1615 PyObject
* _argo0
= 0;
1616 char *_kwnames
[] = { "self","x","y", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
1629 wxPy_BEGIN_ALLOW_THREADS
;
1630 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
1632 wxPy_END_ALLOW_THREADS
;
1633 } Py_INCREF(Py_None
);
1634 _resultobj
= Py_None
;
1638 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1639 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1643 PyObject
* _argo0
= 0;
1645 PyObject
* _obj1
= 0;
1646 char *_kwnames
[] = { "self","pt", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
1660 if (! wxPoint_helper(_obj1
, &_arg1
))
1664 wxPy_BEGIN_ALLOW_THREADS
;
1665 wxCaret_Move(_arg0
,*_arg1
);
1667 wxPy_END_ALLOW_THREADS
;
1668 } Py_INCREF(Py_None
);
1669 _resultobj
= Py_None
;
1673 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1674 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1677 int _arg1
= (int ) TRUE
;
1678 PyObject
* _argo0
= 0;
1679 char *_kwnames
[] = { "self","show", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
1692 wxPy_BEGIN_ALLOW_THREADS
;
1693 wxCaret_Show(_arg0
,_arg1
);
1695 wxPy_END_ALLOW_THREADS
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1701 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
1702 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 wxCaret_Hide(_arg0
);
1722 wxPy_END_ALLOW_THREADS
;
1723 } Py_INCREF(Py_None
);
1724 _resultobj
= Py_None
;
1728 #define wxCaret_OnSetFocus(_swigobj) (_swigobj->OnSetFocus())
1729 static PyObject
*_wrap_wxCaret_OnSetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_OnSetFocus",_kwnames
,&_argo0
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_OnSetFocus. Expected _wxCaret_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 wxCaret_OnSetFocus(_arg0
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } Py_INCREF(Py_None
);
1751 _resultobj
= Py_None
;
1755 #define wxCaret_OnKillFocus(_swigobj) (_swigobj->OnKillFocus())
1756 static PyObject
*_wrap_wxCaret_OnKillFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "self", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_OnKillFocus",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_OnKillFocus. Expected _wxCaret_p.");
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 wxCaret_OnKillFocus(_arg0
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
1783 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1785 wxPyFontEnumerator
* _result
;
1786 char *_kwnames
[] = { NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
1796 wxPy_END_ALLOW_THREADS
;
1798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
1799 _resultobj
= Py_BuildValue("s",_ptemp
);
1802 _resultobj
= Py_None
;
1807 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
1808 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1810 wxPyFontEnumerator
* _arg0
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
1818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
1825 wxPy_BEGIN_ALLOW_THREADS
;
1826 delete_wxPyFontEnumerator(_arg0
);
1828 wxPy_END_ALLOW_THREADS
;
1829 } Py_INCREF(Py_None
);
1830 _resultobj
= Py_None
;
1834 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1835 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxPyFontEnumerator
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 PyObject
* _obj1
= 0;
1841 char *_kwnames
[] = { "self","self", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
))
1847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 wxFontEnumerator__setSelf(_arg0
,_arg1
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } Py_INCREF(Py_None
);
1862 _resultobj
= Py_None
;
1866 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
1867 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1870 wxPyFontEnumerator
* _arg0
;
1871 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
1872 bool _arg2
= (bool ) FALSE
;
1873 PyObject
* _argo0
= 0;
1874 int tempbool2
= (int) FALSE
;
1875 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
1887 _arg2
= (bool ) tempbool2
;
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
1892 wxPy_END_ALLOW_THREADS
;
1893 } _resultobj
= Py_BuildValue("i",_result
);
1897 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
1898 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1901 wxPyFontEnumerator
* _arg0
;
1902 char * _arg1
= (char *) "";
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self","facename", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } _resultobj
= Py_BuildValue("i",_result
);
1925 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
1926 wxArrayString
* arr
= self
->GetEncodings();
1927 PyObject
* list
= PyList_New(0);
1928 for (size_t x
=0; x
<arr
->GetCount(); x
++)
1929 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
1932 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1935 wxPyFontEnumerator
* _arg0
;
1936 PyObject
* _argo0
= 0;
1937 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
1953 wxPy_END_ALLOW_THREADS
;
1955 _resultobj
= _result
;
1960 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
1961 wxArrayString
* arr
= self
->GetFacenames();
1962 PyObject
* list
= PyList_New(0);
1963 for (size_t x
=0; x
<arr
->GetCount(); x
++)
1964 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
1967 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1970 wxPyFontEnumerator
* _arg0
;
1971 PyObject
* _argo0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
1978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
1980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
1988 wxPy_END_ALLOW_THREADS
;
1990 _resultobj
= _result
;
1995 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
1996 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
* _resultobj
;
1998 wxBusyCursor
* _result
;
1999 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
2000 PyObject
* _argo0
= 0;
2001 char *_kwnames
[] = { "cursor", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
2018 wxPy_END_ALLOW_THREADS
;
2020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
2021 _resultobj
= Py_BuildValue("s",_ptemp
);
2024 _resultobj
= Py_None
;
2029 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
2030 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2032 wxBusyCursor
* _arg0
;
2033 PyObject
* _argo0
= 0;
2034 char *_kwnames
[] = { "self", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
2047 wxPy_BEGIN_ALLOW_THREADS
;
2048 delete_wxBusyCursor(_arg0
);
2050 wxPy_END_ALLOW_THREADS
;
2051 } Py_INCREF(Py_None
);
2052 _resultobj
= Py_None
;
2056 static PyMethodDef misc2cMethods
[] = {
2057 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
2059 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxCaret_OnKillFocus", (PyCFunction
) _wrap_wxCaret_OnKillFocus
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "wxCaret_OnSetFocus", (PyCFunction
) _wrap_wxCaret_OnSetFocus
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
2071 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
2072 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2073 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
2074 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
2075 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
2076 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
2077 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
2078 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
2079 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
2080 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
2081 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
2082 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
2083 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
2084 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
2085 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
2086 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
2087 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
2088 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
2089 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
2090 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
2091 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
2092 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
2093 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
2094 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
2095 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
2096 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
2097 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
2098 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
2099 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
2100 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
2101 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
2102 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
2103 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
2104 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
2105 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
2106 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
2107 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
2108 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
2109 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
2110 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
2111 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
2112 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
2113 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
2114 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
2115 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
2122 * This table is used by the pointer type-checker
2124 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2125 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2126 { "_wxEvent","_class_wxEvent",0},
2127 { "_class_wxActivateEvent","_wxActivateEvent",0},
2128 { "_signed_long","_long",0},
2129 { "_wxMenuEvent","_class_wxMenuEvent",0},
2130 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2131 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2132 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2133 { "_wxPrintQuality","_wxCoord",0},
2134 { "_wxPrintQuality","_int",0},
2135 { "_wxPrintQuality","_signed_int",0},
2136 { "_wxPrintQuality","_unsigned_int",0},
2137 { "_wxPrintQuality","_wxWindowID",0},
2138 { "_wxPrintQuality","_uint",0},
2139 { "_wxPrintQuality","_EBool",0},
2140 { "_wxPrintQuality","_size_t",0},
2141 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2142 { "_class_wxRegionIterator","_wxRegionIterator",0},
2143 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2144 { "_class_wxMenuBar","_wxMenuBar",0},
2145 { "_class_wxEvtHandler","_wxEvtHandler",0},
2146 { "_wxPaintEvent","_class_wxPaintEvent",0},
2147 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2148 { "_wxCursor","_class_wxCursor",0},
2149 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2150 { "_wxMask","_class_wxMask",0},
2151 { "_wxToolTip","_class_wxToolTip",0},
2152 { "_wxPen","_class_wxPen",0},
2153 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2154 { "_byte","_unsigned_char",0},
2155 { "_wxDataObject","_class_wxDataObject",0},
2156 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
2157 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2158 { "_wxPyDropSource","_class_wxPyDropSource",0},
2159 { "_long","_wxDash",0},
2160 { "_long","_unsigned_long",0},
2161 { "_long","_signed_long",0},
2162 { "_wxImageList","_class_wxImageList",0},
2163 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2164 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2165 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2166 { "_class_wxClipboard","_wxClipboard",0},
2167 { "_wxDC","_class_wxDC",0},
2168 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2169 { "_wxSpinEvent","_class_wxSpinEvent",0},
2170 { "_size_t","_wxCoord",0},
2171 { "_size_t","_wxPrintQuality",0},
2172 { "_size_t","_unsigned_int",0},
2173 { "_size_t","_int",0},
2174 { "_size_t","_wxWindowID",0},
2175 { "_size_t","_uint",0},
2176 { "_class_wxRealPoint","_wxRealPoint",0},
2177 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2178 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2179 { "_class_wxMenuItem","_wxMenuItem",0},
2180 { "_class_wxPaintEvent","_wxPaintEvent",0},
2181 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2182 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2183 { "_wxPanel","_class_wxPanel",0},
2184 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2185 { "_wxPyEvent","_class_wxPyEvent",0},
2186 { "_class_wxMask","_wxMask",0},
2187 { "_wxTextDataObject","_class_wxTextDataObject",0},
2188 { "_class_wxKeyEvent","_wxKeyEvent",0},
2189 { "_class_wxToolTip","_wxToolTip",0},
2190 { "_wxColour","_class_wxColour",0},
2191 { "_class_wxDialog","_wxDialog",0},
2192 { "_wxBusyCursor","_class_wxBusyCursor",0},
2193 { "_class_wxFileDataObject","_wxFileDataObject",0},
2194 { "_wxIdleEvent","_class_wxIdleEvent",0},
2195 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2196 { "_class_wxDataObject","_wxDataObject",0},
2197 { "_wxCaret","_class_wxCaret",0},
2198 { "_wxBrush","_class_wxBrush",0},
2199 { "_wxDataFormat","_class_wxDataFormat",0},
2200 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2201 { "_wxShowEvent","_class_wxShowEvent",0},
2202 { "_uint","_wxCoord",0},
2203 { "_uint","_wxPrintQuality",0},
2204 { "_uint","_size_t",0},
2205 { "_uint","_unsigned_int",0},
2206 { "_uint","_int",0},
2207 { "_uint","_wxWindowID",0},
2208 { "_wxPyValidator","_class_wxPyValidator",0},
2209 { "_class_wxEvent","_wxEvent",0},
2210 { "_wxRect","_class_wxRect",0},
2211 { "_wxCommandEvent","_class_wxCommandEvent",0},
2212 { "_wxSizeEvent","_class_wxSizeEvent",0},
2213 { "_wxPoint","_class_wxPoint",0},
2214 { "_wxBitmap","_class_wxBitmap",0},
2215 { "_wxPyTimer","_class_wxPyTimer",0},
2216 { "_wxWindowDC","_class_wxWindowDC",0},
2217 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2218 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2219 { "_class_wxValidator","_wxValidator",0},
2220 { "_class_wxPyEvent","_wxPyEvent",0},
2221 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2222 { "_class_wxBusyCursor","_wxBusyCursor",0},
2223 { "_wxDropTarget","_class_wxDropTarget",0},
2224 { "_wxScrollEvent","_class_wxScrollEvent",0},
2225 { "_EBool","_wxCoord",0},
2226 { "_EBool","_wxPrintQuality",0},
2227 { "_EBool","_signed_int",0},
2228 { "_EBool","_int",0},
2229 { "_EBool","_wxWindowID",0},
2230 { "_class_wxRegion","_wxRegion",0},
2231 { "_class_wxDataFormat","_wxDataFormat",0},
2232 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2233 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2234 { "_wxFont","_class_wxFont",0},
2235 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2236 { "_wxCloseEvent","_class_wxCloseEvent",0},
2237 { "_unsigned_long","_wxDash",0},
2238 { "_unsigned_long","_long",0},
2239 { "_class_wxRect","_wxRect",0},
2240 { "_class_wxDC","_wxDC",0},
2241 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2242 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2243 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2244 { "_class_wxPyTimer","_wxPyTimer",0},
2245 { "_wxFocusEvent","_class_wxFocusEvent",0},
2246 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2247 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2248 { "_class_wxPanel","_wxPanel",0},
2249 { "_signed_int","_wxCoord",0},
2250 { "_signed_int","_wxPrintQuality",0},
2251 { "_signed_int","_EBool",0},
2252 { "_signed_int","_wxWindowID",0},
2253 { "_signed_int","_int",0},
2254 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2255 { "_class_wxTextDataObject","_wxTextDataObject",0},
2256 { "_wxMenu","_class_wxMenu",0},
2257 { "_class_wxMoveEvent","_wxMoveEvent",0},
2258 { "_wxScreenDC","_class_wxScreenDC",0},
2259 { "_WXTYPE","_short",0},
2260 { "_WXTYPE","_signed_short",0},
2261 { "_WXTYPE","_unsigned_short",0},
2262 { "_class_wxDropTarget","_wxDropTarget",0},
2263 { "_class_wxCaret","_wxCaret",0},
2264 { "_class_wxBrush","_wxBrush",0},
2265 { "_unsigned_short","_WXTYPE",0},
2266 { "_unsigned_short","_short",0},
2267 { "_class_wxWindow","_wxWindow",0},
2268 { "_class_wxFont","_wxFont",0},
2269 { "_wxClipboard","_class_wxClipboard",0},
2270 { "_class_wxPyValidator","_wxPyValidator",0},
2271 { "_class_wxCloseEvent","_wxCloseEvent",0},
2272 { "_wxBusyInfo","_class_wxBusyInfo",0},
2273 { "_class_wxMenuEvent","_wxMenuEvent",0},
2274 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2275 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2276 { "_wxClientDC","_class_wxClientDC",0},
2277 { "_wxMouseEvent","_class_wxMouseEvent",0},
2278 { "_class_wxPoint","_wxPoint",0},
2279 { "_wxRealPoint","_class_wxRealPoint",0},
2280 { "_signed_short","_WXTYPE",0},
2281 { "_signed_short","_short",0},
2282 { "_wxMemoryDC","_class_wxMemoryDC",0},
2283 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2284 { "_wxPaintDC","_class_wxPaintDC",0},
2285 { "_class_wxWindowDC","_wxWindowDC",0},
2286 { "_class_wxFocusEvent","_wxFocusEvent",0},
2287 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2288 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2289 { "_class_wxCursor","_wxCursor",0},
2290 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2291 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2292 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2293 { "_unsigned_char","_byte",0},
2294 { "_class_wxMenu","_wxMenu",0},
2295 { "_unsigned_int","_wxCoord",0},
2296 { "_unsigned_int","_wxPrintQuality",0},
2297 { "_unsigned_int","_size_t",0},
2298 { "_unsigned_int","_uint",0},
2299 { "_unsigned_int","_wxWindowID",0},
2300 { "_unsigned_int","_int",0},
2301 { "_wxIcon","_class_wxIcon",0},
2302 { "_wxDialog","_class_wxDialog",0},
2303 { "_class_wxPen","_wxPen",0},
2304 { "_short","_WXTYPE",0},
2305 { "_short","_unsigned_short",0},
2306 { "_short","_signed_short",0},
2307 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2308 { "_class_wxPyDropSource","_wxPyDropSource",0},
2309 { "_class_wxScrollEvent","_wxScrollEvent",0},
2310 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2311 { "_class_wxImageList","_wxImageList",0},
2312 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2313 { "_wxWindowID","_wxCoord",0},
2314 { "_wxWindowID","_wxPrintQuality",0},
2315 { "_wxWindowID","_size_t",0},
2316 { "_wxWindowID","_EBool",0},
2317 { "_wxWindowID","_uint",0},
2318 { "_wxWindowID","_int",0},
2319 { "_wxWindowID","_signed_int",0},
2320 { "_wxWindowID","_unsigned_int",0},
2321 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2322 { "_int","_wxCoord",0},
2323 { "_int","_wxPrintQuality",0},
2324 { "_int","_size_t",0},
2325 { "_int","_EBool",0},
2326 { "_int","_uint",0},
2327 { "_int","_wxWindowID",0},
2328 { "_int","_unsigned_int",0},
2329 { "_int","_signed_int",0},
2330 { "_class_wxMouseEvent","_wxMouseEvent",0},
2331 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2332 { "_class_wxSpinEvent","_wxSpinEvent",0},
2333 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2334 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2335 { "_wxSize","_class_wxSize",0},
2336 { "_wxRegionIterator","_class_wxRegionIterator",0},
2337 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2338 { "_class_wxPaintDC","_wxPaintDC",0},
2339 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2340 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2341 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2342 { "_wxValidator","_class_wxValidator",0},
2343 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2344 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2345 { "_class_wxIcon","_wxIcon",0},
2346 { "_class_wxColour","_wxColour",0},
2347 { "_class_wxScreenDC","_wxScreenDC",0},
2348 { "_wxPalette","_class_wxPalette",0},
2349 { "_class_wxIdleEvent","_wxIdleEvent",0},
2350 { "_wxCoord","_int",0},
2351 { "_wxCoord","_signed_int",0},
2352 { "_wxCoord","_unsigned_int",0},
2353 { "_wxCoord","_wxWindowID",0},
2354 { "_wxCoord","_uint",0},
2355 { "_wxCoord","_EBool",0},
2356 { "_wxCoord","_size_t",0},
2357 { "_wxCoord","_wxPrintQuality",0},
2358 { "_wxEraseEvent","_class_wxEraseEvent",0},
2359 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2360 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2361 { "_wxRegion","_class_wxRegion",0},
2362 { "_class_wxShowEvent","_wxShowEvent",0},
2363 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2364 { "_wxActivateEvent","_class_wxActivateEvent",0},
2365 { "_class_wxBusyInfo","_wxBusyInfo",0},
2366 { "_class_wxCommandEvent","_wxCommandEvent",0},
2367 { "_class_wxClientDC","_wxClientDC",0},
2368 { "_class_wxSizeEvent","_wxSizeEvent",0},
2369 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2370 { "_class_wxSize","_wxSize",0},
2371 { "_class_wxBitmap","_wxBitmap",0},
2372 { "_class_wxMemoryDC","_wxMemoryDC",0},
2373 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2374 { "_wxMenuBar","_class_wxMenuBar",0},
2375 { "_wxEvtHandler","_class_wxEvtHandler",0},
2376 { "_wxMenuItem","_class_wxMenuItem",0},
2377 { "_wxDash","_unsigned_long",0},
2378 { "_wxDash","_long",0},
2379 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2380 { "_wxKeyEvent","_class_wxKeyEvent",0},
2381 { "_wxMoveEvent","_class_wxMoveEvent",0},
2382 { "_class_wxPalette","_wxPalette",0},
2383 { "_wxFileDataObject","_class_wxFileDataObject",0},
2384 { "_class_wxEraseEvent","_wxEraseEvent",0},
2385 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
2386 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2387 { "_wxWindow","_class_wxWindow",0},
2388 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2391 static PyObject
*SWIG_globals
;
2395 SWIGEXPORT(void) initmisc2c() {
2397 SWIG_globals
= SWIG_newvarlink();
2398 m
= Py_InitModule("misc2c", misc2cMethods
);
2399 d
= PyModule_GetDict(m
);
2400 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
2401 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
2402 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
2403 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
2404 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
2405 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
2406 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
2407 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
2408 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
2409 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
2410 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
2411 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
2412 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
2413 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
2414 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
2415 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
2416 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
2417 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
2418 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
2419 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
2420 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
2421 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
2422 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
2423 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
2424 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
2425 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
2426 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
2427 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
2428 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
2429 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
2430 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
2431 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
2432 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
2433 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
2434 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
2435 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
2436 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
2437 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
2438 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
2439 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
2440 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
2441 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
2442 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
2443 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
2444 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
2445 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
2446 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
2447 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
2448 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
2449 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
2450 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
2451 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
2452 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
2453 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
2454 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
2455 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
2456 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
2457 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
2458 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
2459 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
2460 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
2461 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
2462 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
2463 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
2464 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
2465 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
2466 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
2467 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
2468 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
2469 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
2470 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
2471 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
2472 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
2473 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
2474 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
2475 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
2476 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
2477 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
2478 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
2479 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
2480 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
2481 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
2482 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
2483 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
2484 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
2485 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
2488 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2489 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);