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>
61 #include <wx/fontenum.h>
64 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyList_Check(target
)) {
75 target
= PyList_New(0);
76 PyList_Append(target
, o2
);
79 PyList_Append(target
,o
);
85 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
91 } else if (target
== Py_None
) {
95 if (!PyTuple_Check(target
)) {
97 target
= PyTuple_New(1);
98 PyTuple_SetItem(target
, 0, o2
);
101 PyTuple_SetItem(o3
, 0, o
);
104 target
= PySequence_Concat(o2
, o3
);
111 static char* wxStringErrorMsg
= "string type is required for parameter";
114 wxColour
wxSystemSettings_GetSystemColour(int index
) {
115 return wxSystemSettings::GetSystemColour(index
);
118 wxFont
wxSystemSettings_GetSystemFont(int index
) {
119 return wxSystemSettings::GetSystemFont(index
);
122 int wxSystemSettings_GetSystemMetric(int index
) {
123 return wxSystemSettings::GetSystemMetric(index
);
126 void wxToolTip_Enable(bool flag
) {
127 wxToolTip::Enable(flag
);
130 void wxToolTip_SetDelay(long milliseconds
) {
131 wxToolTip::SetDelay(milliseconds
);
134 int wxCaret_GetBlinkTime() {
135 return wxCaret::GetBlinkTime();
138 void wxCaret_SetBlinkTime(int milliseconds
) {
139 wxCaret::SetBlinkTime(milliseconds
);
144 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
145 PyObject
* _resultobj
;
148 char * _arg1
= (char *) NULL
;
149 char * _arg2
= (char *) NULL
;
150 char * _arg3
= (char *) NULL
;
151 char * _arg4
= (char *) "*.*";
152 int _arg5
= (int ) 0;
153 wxWindow
* _arg6
= (wxWindow
*) NULL
;
154 int _arg7
= (int ) -1;
155 int _arg8
= (int ) -1;
156 PyObject
* _argo6
= 0;
157 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
163 if (_argo6
== Py_None
) { _arg6
= NULL
; }
164 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
170 wxPy_BEGIN_ALLOW_THREADS
;
171 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
173 wxPy_END_ALLOW_THREADS
;
175 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
183 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
187 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
188 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
189 wxWindow
* _arg3
= (wxWindow
*) NULL
;
190 int _arg4
= (int ) -1;
191 int _arg5
= (int ) -1;
192 bool _arg6
= (bool ) TRUE
;
193 PyObject
* _obj0
= 0;
194 PyObject
* _obj1
= 0;
195 PyObject
* _obj2
= 0;
196 PyObject
* _argo3
= 0;
197 int tempbool6
= (int) TRUE
;
198 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
204 if (!PyString_Check(_obj0
)) {
205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
208 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
212 if (!PyString_Check(_obj1
)) {
213 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
216 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
220 if (!PyString_Check(_obj2
)) {
221 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
224 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
227 if (_argo3
== Py_None
) { _arg3
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
233 _arg6
= (bool ) tempbool6
;
235 wxPy_BEGIN_ALLOW_THREADS
;
236 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
238 wxPy_END_ALLOW_THREADS
;
240 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
260 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
261 PyObject
* _resultobj
;
267 wxWindow
* _arg4
= (wxWindow
*) NULL
;
268 int _arg5
= (int ) -1;
269 int _arg6
= (int ) -1;
270 bool _arg7
= (bool ) TRUE
;
271 int _arg8
= (int ) 150;
272 int _arg9
= (int ) 200;
273 PyObject
* _obj0
= 0;
274 PyObject
* _obj1
= 0;
275 PyObject
* _obj3
= 0;
276 PyObject
* _argo4
= 0;
277 int tempbool7
= (int) TRUE
;
278 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
284 if (!PyString_Check(_obj0
)) {
285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
288 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
291 if (!PyString_Check(_obj1
)) {
292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
295 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
299 _arg3
= wxString_LIST_helper(_obj3
);
305 if (_argo4
== Py_None
) { _arg4
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
311 _arg7
= (bool ) tempbool7
;
314 _arg2
= PyList_Size(_obj3
);
321 wxPy_BEGIN_ALLOW_THREADS
;
322 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
324 wxPy_END_ALLOW_THREADS
;
326 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
345 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
346 PyObject
* _resultobj
;
352 wxWindow
* _arg4
= (wxWindow
*) NULL
;
353 int _arg5
= (int ) -1;
354 int _arg6
= (int ) -1;
355 bool _arg7
= (bool ) TRUE
;
356 int _arg8
= (int ) 150;
357 int _arg9
= (int ) 200;
358 PyObject
* _obj0
= 0;
359 PyObject
* _obj1
= 0;
360 PyObject
* _obj3
= 0;
361 PyObject
* _argo4
= 0;
362 int tempbool7
= (int) TRUE
;
363 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
369 if (!PyString_Check(_obj0
)) {
370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
373 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
376 if (!PyString_Check(_obj1
)) {
377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
380 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
384 _arg3
= wxString_LIST_helper(_obj3
);
390 if (_argo4
== Py_None
) { _arg4
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
396 _arg7
= (bool ) tempbool7
;
399 _arg2
= PyList_Size(_obj3
);
406 wxPy_BEGIN_ALLOW_THREADS
;
407 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
409 wxPy_END_ALLOW_THREADS
;
410 } _resultobj
= Py_BuildValue("i",_result
);
425 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
429 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
430 int _arg2
= (int ) wxOK
|wxCENTRE
;
431 wxWindow
* _arg3
= (wxWindow
*) NULL
;
432 int _arg4
= (int ) -1;
433 int _arg5
= (int ) -1;
434 PyObject
* _obj0
= 0;
435 PyObject
* _obj1
= 0;
436 PyObject
* _argo3
= 0;
437 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
443 if (!PyString_Check(_obj0
)) {
444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
447 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
451 if (!PyString_Check(_obj1
)) {
452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
455 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
458 if (_argo3
== Py_None
) { _arg3
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
465 wxPy_BEGIN_ALLOW_THREADS
;
466 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
468 wxPy_END_ALLOW_THREADS
;
469 } _resultobj
= Py_BuildValue("i",_result
);
481 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
488 long _arg4
= (long ) 0;
489 long _arg5
= (long ) 100;
490 wxWindow
* _arg6
= (wxWindow
*) NULL
;
491 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
492 PyObject
* _obj0
= 0;
493 PyObject
* _obj1
= 0;
494 PyObject
* _obj2
= 0;
495 PyObject
* _argo6
= 0;
497 PyObject
* _obj7
= 0;
498 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
504 if (!PyString_Check(_obj0
)) {
505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
508 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
511 if (!PyString_Check(_obj1
)) {
512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
515 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
518 if (!PyString_Check(_obj2
)) {
519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
522 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
525 if (_argo6
== Py_None
) { _arg6
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
534 if (! wxPoint_helper(_obj7
, &_arg7
))
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
541 wxPy_END_ALLOW_THREADS
;
542 } _resultobj
= Py_BuildValue("l",_result
);
558 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
561 char *_kwnames
[] = { NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
567 wxPy_BEGIN_ALLOW_THREADS
;
568 _result
= (bool )wxColourDisplay();
570 wxPy_END_ALLOW_THREADS
;
571 } _resultobj
= Py_BuildValue("i",_result
);
575 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
578 char *_kwnames
[] = { NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
584 wxPy_BEGIN_ALLOW_THREADS
;
585 _result
= (int )wxDisplayDepth();
587 wxPy_END_ALLOW_THREADS
;
588 } _resultobj
= Py_BuildValue("i",_result
);
592 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "cursor", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
612 wxPy_END_ALLOW_THREADS
;
613 } Py_INCREF(Py_None
);
614 _resultobj
= Py_None
;
618 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 PyObject
* _resultobj
;
622 wxWindow
* _arg1
= (wxWindow
*) NULL
;
623 PyObject
* _obj0
= 0;
624 PyObject
* _argo1
= 0;
625 char *_kwnames
[] = { "label","parent", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
632 if (!PyString_Check(_obj0
)) {
633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
636 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
646 wxPy_BEGIN_ALLOW_THREADS
;
647 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
649 wxPy_END_ALLOW_THREADS
;
651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
652 _resultobj
= Py_BuildValue("s",_ptemp
);
655 _resultobj
= Py_None
;
664 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
668 wxWindow
* _arg1
= (wxWindow
*) NULL
;
669 PyObject
* _obj0
= 0;
670 PyObject
* _argo1
= 0;
671 char *_kwnames
[] = { "name","parent", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
678 if (!PyString_Check(_obj0
)) {
679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
682 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
695 wxPy_END_ALLOW_THREADS
;
697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
698 _resultobj
= Py_BuildValue("s",_ptemp
);
701 _resultobj
= Py_None
;
710 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
712 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
713 PyObject
* _argo0
= 0;
714 char *_kwnames
[] = { "cursor", NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
727 wxPy_BEGIN_ALLOW_THREADS
;
728 wxBeginBusyCursor(_arg0
);
730 wxPy_END_ALLOW_THREADS
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
736 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
739 char *_kwnames
[] = { NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
746 wxPy_BEGIN_ALLOW_THREADS
;
747 _result
= (wxWindow
*)wxGetActiveWindow();
749 wxPy_END_ALLOW_THREADS
;
751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
752 _resultobj
= Py_BuildValue("s",_ptemp
);
755 _resultobj
= Py_None
;
760 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
765 char *_kwnames
[] = { "name","value", NULL
};
768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
771 wxPy_BEGIN_ALLOW_THREADS
;
772 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
774 wxPy_END_ALLOW_THREADS
;
775 } _resultobj
= Py_BuildValue("i",_result
);
779 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
781 char *_kwnames
[] = { NULL
};
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
787 wxPy_BEGIN_ALLOW_THREADS
;
790 wxPy_END_ALLOW_THREADS
;
791 } Py_INCREF(Py_None
);
792 _resultobj
= Py_None
;
796 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
800 char *_kwnames
[] = { "resource", NULL
};
804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
807 wxPy_BEGIN_ALLOW_THREADS
;
808 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
810 wxPy_END_ALLOW_THREADS
;
811 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
812 _resultobj
= Py_BuildValue("s",_ptemp
);
816 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
820 char *_kwnames
[] = { "resource", NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
827 wxPy_BEGIN_ALLOW_THREADS
;
828 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
830 wxPy_END_ALLOW_THREADS
;
831 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
832 _resultobj
= Py_BuildValue("s",_ptemp
);
836 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
840 char *_kwnames
[] = { "resource", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
847 wxPy_BEGIN_ALLOW_THREADS
;
848 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
850 wxPy_END_ALLOW_THREADS
;
852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
853 _resultobj
= Py_BuildValue("s",_ptemp
);
856 _resultobj
= Py_None
;
861 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
865 char *_kwnames
[] = { "name", NULL
};
868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
871 wxPy_BEGIN_ALLOW_THREADS
;
872 _result
= (int )wxResourceGetIdentifier(_arg0
);
874 wxPy_END_ALLOW_THREADS
;
875 } _resultobj
= Py_BuildValue("i",_result
);
879 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
883 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
884 PyObject
* _argo1
= 0;
885 char *_kwnames
[] = { "resource","table", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
898 wxPy_BEGIN_ALLOW_THREADS
;
899 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
901 wxPy_END_ALLOW_THREADS
;
902 } _resultobj
= Py_BuildValue("i",_result
);
906 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
910 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
911 PyObject
* _argo1
= 0;
912 char *_kwnames
[] = { "filename","table", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
925 wxPy_BEGIN_ALLOW_THREADS
;
926 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
928 wxPy_END_ALLOW_THREADS
;
929 } _resultobj
= Py_BuildValue("i",_result
);
933 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
937 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
938 PyObject
* _argo1
= 0;
939 char *_kwnames
[] = { "resource","table", NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
952 wxPy_BEGIN_ALLOW_THREADS
;
953 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
955 wxPy_END_ALLOW_THREADS
;
956 } _resultobj
= Py_BuildValue("i",_result
);
960 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
964 char *_kwnames
[] = { "index", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
974 wxPy_END_ALLOW_THREADS
;
975 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
976 _resultobj
= Py_BuildValue("s",_ptemp
);
980 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
984 char *_kwnames
[] = { "index", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
994 wxPy_END_ALLOW_THREADS
;
995 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
996 _resultobj
= Py_BuildValue("s",_ptemp
);
1000 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1004 char *_kwnames
[] = { "index", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1013 wxPy_END_ALLOW_THREADS
;
1014 } _resultobj
= Py_BuildValue("i",_result
);
1018 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1022 char *_kwnames
[] = { "flag", NULL
};
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1027 _arg0
= (bool ) tempbool0
;
1029 wxPy_BEGIN_ALLOW_THREADS
;
1030 wxToolTip_Enable(_arg0
);
1032 wxPy_END_ALLOW_THREADS
;
1033 } Py_INCREF(Py_None
);
1034 _resultobj
= Py_None
;
1038 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1041 char *_kwnames
[] = { "milliseconds", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1047 wxPy_BEGIN_ALLOW_THREADS
;
1048 wxToolTip_SetDelay(_arg0
);
1050 wxPy_END_ALLOW_THREADS
;
1051 } Py_INCREF(Py_None
);
1052 _resultobj
= Py_None
;
1056 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1059 char *_kwnames
[] = { NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= (int )wxCaret_GetBlinkTime();
1068 wxPy_END_ALLOW_THREADS
;
1069 } _resultobj
= Py_BuildValue("i",_result
);
1073 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1076 char *_kwnames
[] = { "milliseconds", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1082 wxPy_BEGIN_ALLOW_THREADS
;
1083 wxCaret_SetBlinkTime(_arg0
);
1085 wxPy_END_ALLOW_THREADS
;
1086 } Py_INCREF(Py_None
);
1087 _resultobj
= Py_None
;
1091 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
1092 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1093 PyObject
* _resultobj
;
1094 wxToolTip
* _result
;
1096 PyObject
* _obj0
= 0;
1097 char *_kwnames
[] = { "tip", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
1104 if (!PyString_Check(_obj0
)) {
1105 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1108 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
1114 wxPy_END_ALLOW_THREADS
;
1116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
1117 _resultobj
= Py_BuildValue("s",_ptemp
);
1120 _resultobj
= Py_None
;
1129 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
1130 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1134 PyObject
* _argo0
= 0;
1135 PyObject
* _obj1
= 0;
1136 char *_kwnames
[] = { "self","tip", NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
1142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
1149 if (!PyString_Check(_obj1
)) {
1150 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1153 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1156 wxPy_BEGIN_ALLOW_THREADS
;
1157 wxToolTip_SetTip(_arg0
,*_arg1
);
1159 wxPy_END_ALLOW_THREADS
;
1160 } Py_INCREF(Py_None
);
1161 _resultobj
= Py_None
;
1169 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
1170 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1174 PyObject
* _argo0
= 0;
1175 char *_kwnames
[] = { "self", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
1181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= new wxString (wxToolTip_GetTip(_arg0
));
1191 wxPy_END_ALLOW_THREADS
;
1193 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1201 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
1202 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1203 PyObject
* _resultobj
;
1206 PyObject
* _argo0
= 0;
1207 char *_kwnames
[] = { "self", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
1224 wxPy_END_ALLOW_THREADS
;
1226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1227 _resultobj
= Py_BuildValue("s",_ptemp
);
1230 _resultobj
= Py_None
;
1235 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
1236 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1241 PyObject
* _argo0
= 0;
1243 PyObject
* _obj1
= 0;
1244 char *_kwnames
[] = { "window","size", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
1251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
1259 if (! wxSize_helper(_obj1
, &_arg1
))
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
1266 wxPy_END_ALLOW_THREADS
;
1268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
1269 _resultobj
= Py_BuildValue("s",_ptemp
);
1272 _resultobj
= Py_None
;
1277 #define delete_wxCaret(_swigobj) (delete _swigobj)
1278 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
* _resultobj
;
1281 PyObject
* _argo0
= 0;
1282 char *_kwnames
[] = { "self", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 delete_wxCaret(_arg0
);
1298 wxPy_END_ALLOW_THREADS
;
1299 } Py_INCREF(Py_None
);
1300 _resultobj
= Py_None
;
1304 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
1305 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
* _resultobj
;
1309 PyObject
* _argo0
= 0;
1310 char *_kwnames
[] = { "self", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
1316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
1323 wxPy_BEGIN_ALLOW_THREADS
;
1324 _result
= (bool )wxCaret_IsOk(_arg0
);
1326 wxPy_END_ALLOW_THREADS
;
1327 } _resultobj
= Py_BuildValue("i",_result
);
1331 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
1332 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1336 PyObject
* _argo0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
1343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 _result
= (bool )wxCaret_IsVisible(_arg0
);
1353 wxPy_END_ALLOW_THREADS
;
1354 } _resultobj
= Py_BuildValue("i",_result
);
1358 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1359 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1366 PyObject
* _argo0
= 0;
1367 char *_kwnames
[] = { "self", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
1379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
1389 wxPy_END_ALLOW_THREADS
;
1390 } Py_INCREF(Py_None
);
1391 _resultobj
= Py_None
;
1394 o
= PyInt_FromLong((long) (*_arg1
));
1395 _resultobj
= t_output_helper(_resultobj
, o
);
1399 o
= PyInt_FromLong((long) (*_arg2
));
1400 _resultobj
= t_output_helper(_resultobj
, o
);
1405 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
1406 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 PyObject
* _argo0
= 0;
1411 char *_kwnames
[] = { "self", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
1428 wxPy_END_ALLOW_THREADS
;
1429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1430 _resultobj
= Py_BuildValue("s",_ptemp
);
1434 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1435 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self", NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
1455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
1462 wxPy_BEGIN_ALLOW_THREADS
;
1463 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
1465 wxPy_END_ALLOW_THREADS
;
1466 } Py_INCREF(Py_None
);
1467 _resultobj
= Py_None
;
1470 o
= PyInt_FromLong((long) (*_arg1
));
1471 _resultobj
= t_output_helper(_resultobj
, o
);
1475 o
= PyInt_FromLong((long) (*_arg2
));
1476 _resultobj
= t_output_helper(_resultobj
, o
);
1481 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
1482 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "self", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
1501 wxPy_BEGIN_ALLOW_THREADS
;
1502 _result
= new wxSize (wxCaret_GetSize(_arg0
));
1504 wxPy_END_ALLOW_THREADS
;
1505 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1506 _resultobj
= Py_BuildValue("s",_ptemp
);
1510 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
1511 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1515 PyObject
* _argo0
= 0;
1516 char *_kwnames
[] = { "self", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
1530 wxPy_BEGIN_ALLOW_THREADS
;
1531 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
1533 wxPy_END_ALLOW_THREADS
;
1535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1536 _resultobj
= Py_BuildValue("s",_ptemp
);
1539 _resultobj
= Py_None
;
1544 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1545 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self","x","y", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } Py_INCREF(Py_None
);
1569 _resultobj
= Py_None
;
1573 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1574 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1578 PyObject
* _argo0
= 0;
1580 PyObject
* _obj1
= 0;
1581 char *_kwnames
[] = { "self","pt", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
1595 if (! wxPoint_helper(_obj1
, &_arg1
))
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 wxCaret_Move(_arg0
,*_arg1
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } Py_INCREF(Py_None
);
1604 _resultobj
= Py_None
;
1608 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1609 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1612 int _arg1
= (int ) TRUE
;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self","show", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 wxCaret_Show(_arg0
,_arg1
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1636 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
1637 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 wxCaret_Hide(_arg0
);
1657 wxPy_END_ALLOW_THREADS
;
1658 } Py_INCREF(Py_None
);
1659 _resultobj
= Py_None
;
1663 #define wxCaret_OnSetFocus(_swigobj) (_swigobj->OnSetFocus())
1664 static PyObject
*_wrap_wxCaret_OnSetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1667 PyObject
* _argo0
= 0;
1668 char *_kwnames
[] = { "self", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_OnSetFocus",_kwnames
,&_argo0
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_OnSetFocus. Expected _wxCaret_p.");
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 wxCaret_OnSetFocus(_arg0
);
1684 wxPy_END_ALLOW_THREADS
;
1685 } Py_INCREF(Py_None
);
1686 _resultobj
= Py_None
;
1690 #define wxCaret_OnKillFocus(_swigobj) (_swigobj->OnKillFocus())
1691 static PyObject
*_wrap_wxCaret_OnKillFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1694 PyObject
* _argo0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_OnKillFocus",_kwnames
,&_argo0
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_OnKillFocus. Expected _wxCaret_p.");
1708 wxPy_BEGIN_ALLOW_THREADS
;
1709 wxCaret_OnKillFocus(_arg0
);
1711 wxPy_END_ALLOW_THREADS
;
1712 } Py_INCREF(Py_None
);
1713 _resultobj
= Py_None
;
1717 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
1718 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1720 wxBusyCursor
* _result
;
1721 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1722 PyObject
* _argo0
= 0;
1723 char *_kwnames
[] = { "cursor", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
1737 wxPy_BEGIN_ALLOW_THREADS
;
1738 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
1740 wxPy_END_ALLOW_THREADS
;
1742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
1743 _resultobj
= Py_BuildValue("s",_ptemp
);
1746 _resultobj
= Py_None
;
1751 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
1752 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1754 wxBusyCursor
* _arg0
;
1755 PyObject
* _argo0
= 0;
1756 char *_kwnames
[] = { "self", NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
1762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
1769 wxPy_BEGIN_ALLOW_THREADS
;
1770 delete_wxBusyCursor(_arg0
);
1772 wxPy_END_ALLOW_THREADS
;
1773 } Py_INCREF(Py_None
);
1774 _resultobj
= Py_None
;
1778 static PyMethodDef misc2cMethods
[] = {
1779 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
1780 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
1781 { "wxCaret_OnKillFocus", (PyCFunction
) _wrap_wxCaret_OnKillFocus
, METH_VARARGS
| METH_KEYWORDS
},
1782 { "wxCaret_OnSetFocus", (PyCFunction
) _wrap_wxCaret_OnSetFocus
, METH_VARARGS
| METH_KEYWORDS
},
1783 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
1784 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
1785 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
1786 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
1787 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
1788 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
1789 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
1790 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1791 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
1792 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
1793 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
1794 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
1795 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
1796 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
1797 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
1798 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
1799 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
1800 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
1801 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
1802 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
1803 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1804 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
1805 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
1806 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
1807 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
1808 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
1809 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
1810 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
1811 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1812 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
1813 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1814 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
1815 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
1816 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
1817 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
1818 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
1819 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
1820 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
1821 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
1822 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1823 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
1824 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
1825 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
1826 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
1827 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
1828 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
1835 * This table is used by the pointer type-checker
1837 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1838 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1839 { "_signed_long","_long",0},
1840 { "_wxPrintQuality","_int",0},
1841 { "_wxPrintQuality","_signed_int",0},
1842 { "_wxPrintQuality","_unsigned_int",0},
1843 { "_wxPrintQuality","_wxWindowID",0},
1844 { "_wxPrintQuality","_uint",0},
1845 { "_wxPrintQuality","_EBool",0},
1846 { "_wxPrintQuality","_size_t",0},
1847 { "_class_wxRegionIterator","_wxRegionIterator",0},
1848 { "_class_wxMenuBar","_wxMenuBar",0},
1849 { "_class_wxEvtHandler","_wxEvtHandler",0},
1850 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1851 { "_wxCursor","_class_wxCursor",0},
1852 { "_wxMask","_class_wxMask",0},
1853 { "_wxToolTip","_class_wxToolTip",0},
1854 { "_wxPen","_class_wxPen",0},
1855 { "_byte","_unsigned_char",0},
1856 { "_long","_wxDash",0},
1857 { "_long","_unsigned_long",0},
1858 { "_long","_signed_long",0},
1859 { "_wxImageList","_class_wxImageList",0},
1860 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1861 { "_wxDC","_class_wxDC",0},
1862 { "_size_t","_wxPrintQuality",0},
1863 { "_size_t","_unsigned_int",0},
1864 { "_size_t","_int",0},
1865 { "_size_t","_wxWindowID",0},
1866 { "_size_t","_uint",0},
1867 { "_class_wxRealPoint","_wxRealPoint",0},
1868 { "_wxPrinterDC","_class_wxPrinterDC",0},
1869 { "_class_wxMenuItem","_wxMenuItem",0},
1870 { "_wxPanel","_class_wxPanel",0},
1871 { "_class_wxMask","_wxMask",0},
1872 { "_class_wxToolTip","_wxToolTip",0},
1873 { "_wxColour","_class_wxColour",0},
1874 { "_class_wxDialog","_wxDialog",0},
1875 { "_wxBusyCursor","_class_wxBusyCursor",0},
1876 { "_wxCaret","_class_wxCaret",0},
1877 { "_wxBrush","_class_wxBrush",0},
1878 { "_uint","_wxPrintQuality",0},
1879 { "_uint","_size_t",0},
1880 { "_uint","_unsigned_int",0},
1881 { "_uint","_int",0},
1882 { "_uint","_wxWindowID",0},
1883 { "_wxPyValidator","_class_wxPyValidator",0},
1884 { "_wxRect","_class_wxRect",0},
1885 { "_wxPoint","_class_wxPoint",0},
1886 { "_wxBitmap","_class_wxBitmap",0},
1887 { "_wxPyTimer","_class_wxPyTimer",0},
1888 { "_wxWindowDC","_class_wxWindowDC",0},
1889 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1890 { "_class_wxValidator","_wxValidator",0},
1891 { "_class_wxBusyCursor","_wxBusyCursor",0},
1892 { "_EBool","_wxPrintQuality",0},
1893 { "_EBool","_signed_int",0},
1894 { "_EBool","_int",0},
1895 { "_EBool","_wxWindowID",0},
1896 { "_class_wxRegion","_wxRegion",0},
1897 { "_wxFont","_class_wxFont",0},
1898 { "_unsigned_long","_wxDash",0},
1899 { "_unsigned_long","_long",0},
1900 { "_class_wxRect","_wxRect",0},
1901 { "_class_wxDC","_wxDC",0},
1902 { "_class_wxPyTimer","_wxPyTimer",0},
1903 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1904 { "_class_wxPanel","_wxPanel",0},
1905 { "_signed_int","_wxPrintQuality",0},
1906 { "_signed_int","_EBool",0},
1907 { "_signed_int","_wxWindowID",0},
1908 { "_signed_int","_int",0},
1909 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1910 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1911 { "_wxMenu","_class_wxMenu",0},
1912 { "_wxScreenDC","_class_wxScreenDC",0},
1913 { "_WXTYPE","_short",0},
1914 { "_WXTYPE","_signed_short",0},
1915 { "_WXTYPE","_unsigned_short",0},
1916 { "_class_wxCaret","_wxCaret",0},
1917 { "_class_wxBrush","_wxBrush",0},
1918 { "_unsigned_short","_WXTYPE",0},
1919 { "_unsigned_short","_short",0},
1920 { "_class_wxWindow","_wxWindow",0},
1921 { "_class_wxFont","_wxFont",0},
1922 { "_class_wxPyValidator","_wxPyValidator",0},
1923 { "_wxBusyInfo","_class_wxBusyInfo",0},
1924 { "_wxClientDC","_class_wxClientDC",0},
1925 { "_class_wxPoint","_wxPoint",0},
1926 { "_wxRealPoint","_class_wxRealPoint",0},
1927 { "_signed_short","_WXTYPE",0},
1928 { "_signed_short","_short",0},
1929 { "_wxMemoryDC","_class_wxMemoryDC",0},
1930 { "_wxPaintDC","_class_wxPaintDC",0},
1931 { "_class_wxWindowDC","_wxWindowDC",0},
1932 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1933 { "_class_wxCursor","_wxCursor",0},
1934 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1935 { "_unsigned_char","_byte",0},
1936 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1937 { "_class_wxMenu","_wxMenu",0},
1938 { "_unsigned_int","_wxPrintQuality",0},
1939 { "_unsigned_int","_size_t",0},
1940 { "_unsigned_int","_uint",0},
1941 { "_unsigned_int","_wxWindowID",0},
1942 { "_unsigned_int","_int",0},
1943 { "_wxIcon","_class_wxIcon",0},
1944 { "_wxDialog","_class_wxDialog",0},
1945 { "_class_wxPen","_wxPen",0},
1946 { "_short","_WXTYPE",0},
1947 { "_short","_unsigned_short",0},
1948 { "_short","_signed_short",0},
1949 { "_class_wxImageList","_wxImageList",0},
1950 { "_wxWindowID","_wxPrintQuality",0},
1951 { "_wxWindowID","_size_t",0},
1952 { "_wxWindowID","_EBool",0},
1953 { "_wxWindowID","_uint",0},
1954 { "_wxWindowID","_int",0},
1955 { "_wxWindowID","_signed_int",0},
1956 { "_wxWindowID","_unsigned_int",0},
1957 { "_int","_wxPrintQuality",0},
1958 { "_int","_size_t",0},
1959 { "_int","_EBool",0},
1960 { "_int","_uint",0},
1961 { "_int","_wxWindowID",0},
1962 { "_int","_unsigned_int",0},
1963 { "_int","_signed_int",0},
1964 { "_wxSize","_class_wxSize",0},
1965 { "_wxRegionIterator","_class_wxRegionIterator",0},
1966 { "_class_wxPrinterDC","_wxPrinterDC",0},
1967 { "_class_wxPaintDC","_wxPaintDC",0},
1968 { "_wxValidator","_class_wxValidator",0},
1969 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1970 { "_class_wxIcon","_wxIcon",0},
1971 { "_class_wxColour","_wxColour",0},
1972 { "_class_wxScreenDC","_wxScreenDC",0},
1973 { "_wxPalette","_class_wxPalette",0},
1974 { "_wxRegion","_class_wxRegion",0},
1975 { "_class_wxBusyInfo","_wxBusyInfo",0},
1976 { "_class_wxClientDC","_wxClientDC",0},
1977 { "_class_wxSize","_wxSize",0},
1978 { "_class_wxBitmap","_wxBitmap",0},
1979 { "_class_wxMemoryDC","_wxMemoryDC",0},
1980 { "_wxMenuBar","_class_wxMenuBar",0},
1981 { "_wxEvtHandler","_class_wxEvtHandler",0},
1982 { "_wxMenuItem","_class_wxMenuItem",0},
1983 { "_wxDash","_unsigned_long",0},
1984 { "_wxDash","_long",0},
1985 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1986 { "_class_wxPalette","_wxPalette",0},
1987 { "_wxWindow","_class_wxWindow",0},
1990 static PyObject
*SWIG_globals
;
1994 SWIGEXPORT(void) initmisc2c() {
1996 SWIG_globals
= SWIG_newvarlink();
1997 m
= Py_InitModule("misc2c", misc2cMethods
);
1998 d
= PyModule_GetDict(m
);
1999 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
2000 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
2001 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
2002 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
2003 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
2004 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
2005 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
2006 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
2007 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
2008 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
2009 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
2010 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
2011 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
2012 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
2013 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
2014 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
2015 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
2016 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
2017 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
2018 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
2019 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
2020 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
2021 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
2022 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
2023 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
2024 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
2025 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
2026 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
2027 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
2028 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
2029 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
2030 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
2031 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
2032 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
2033 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
2034 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
2035 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
2036 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
2037 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
2038 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
2039 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
2040 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
2041 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
2042 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
2043 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
2044 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
2045 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
2046 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
2047 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
2048 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
2049 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
2050 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
2051 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
2052 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
2053 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
2054 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
2055 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
2056 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
2057 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
2058 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
2059 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
2060 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
2061 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
2062 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
2063 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
2064 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
2065 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
2066 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
2067 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
2068 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
2069 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
2070 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
2071 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
2072 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
2073 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
2074 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
2075 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
2076 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
2077 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
2078 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
2079 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
2080 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
2081 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
2082 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
2083 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
2084 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
2087 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2088 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);