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 static PyMethodDef misc2cMethods
[] = {
1718 { "wxCaret_OnKillFocus", (PyCFunction
) _wrap_wxCaret_OnKillFocus
, METH_VARARGS
| METH_KEYWORDS
},
1719 { "wxCaret_OnSetFocus", (PyCFunction
) _wrap_wxCaret_OnSetFocus
, METH_VARARGS
| METH_KEYWORDS
},
1720 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
1721 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
1722 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
1723 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
1724 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
1725 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
1726 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
1727 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
1728 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
1729 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
1730 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
1731 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
1732 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
1733 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
1734 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
1735 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
1736 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
1737 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
1738 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
1739 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
1740 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
1741 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
1742 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
1743 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
1744 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
1745 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
1746 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
1747 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
1748 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1749 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
1750 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1751 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
1752 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
1753 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
1754 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
1755 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
1756 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
1757 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
1758 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
1759 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
1760 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
1761 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
1762 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
1763 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
1764 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
1765 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
1772 * This table is used by the pointer type-checker
1774 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1775 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1776 { "_signed_long","_long",0},
1777 { "_wxPrintQuality","_int",0},
1778 { "_wxPrintQuality","_signed_int",0},
1779 { "_wxPrintQuality","_unsigned_int",0},
1780 { "_wxPrintQuality","_wxWindowID",0},
1781 { "_wxPrintQuality","_uint",0},
1782 { "_wxPrintQuality","_EBool",0},
1783 { "_wxPrintQuality","_size_t",0},
1784 { "_class_wxRegionIterator","_wxRegionIterator",0},
1785 { "_class_wxMenuBar","_wxMenuBar",0},
1786 { "_class_wxEvtHandler","_wxEvtHandler",0},
1787 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1788 { "_wxCursor","_class_wxCursor",0},
1789 { "_wxMask","_class_wxMask",0},
1790 { "_wxToolTip","_class_wxToolTip",0},
1791 { "_wxPen","_class_wxPen",0},
1792 { "_byte","_unsigned_char",0},
1793 { "_long","_wxDash",0},
1794 { "_long","_unsigned_long",0},
1795 { "_long","_signed_long",0},
1796 { "_wxImageList","_class_wxImageList",0},
1797 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1798 { "_wxDC","_class_wxDC",0},
1799 { "_size_t","_wxPrintQuality",0},
1800 { "_size_t","_unsigned_int",0},
1801 { "_size_t","_int",0},
1802 { "_size_t","_wxWindowID",0},
1803 { "_size_t","_uint",0},
1804 { "_class_wxRealPoint","_wxRealPoint",0},
1805 { "_wxPrinterDC","_class_wxPrinterDC",0},
1806 { "_class_wxMenuItem","_wxMenuItem",0},
1807 { "_wxPanel","_class_wxPanel",0},
1808 { "_class_wxMask","_wxMask",0},
1809 { "_class_wxToolTip","_wxToolTip",0},
1810 { "_wxColour","_class_wxColour",0},
1811 { "_class_wxDialog","_wxDialog",0},
1812 { "_wxCaret","_class_wxCaret",0},
1813 { "_wxBrush","_class_wxBrush",0},
1814 { "_uint","_wxPrintQuality",0},
1815 { "_uint","_size_t",0},
1816 { "_uint","_unsigned_int",0},
1817 { "_uint","_int",0},
1818 { "_uint","_wxWindowID",0},
1819 { "_wxPyValidator","_class_wxPyValidator",0},
1820 { "_wxRect","_class_wxRect",0},
1821 { "_wxPoint","_class_wxPoint",0},
1822 { "_wxBitmap","_class_wxBitmap",0},
1823 { "_wxPyTimer","_class_wxPyTimer",0},
1824 { "_wxWindowDC","_class_wxWindowDC",0},
1825 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1826 { "_class_wxValidator","_wxValidator",0},
1827 { "_EBool","_wxPrintQuality",0},
1828 { "_EBool","_signed_int",0},
1829 { "_EBool","_int",0},
1830 { "_EBool","_wxWindowID",0},
1831 { "_class_wxRegion","_wxRegion",0},
1832 { "_wxFont","_class_wxFont",0},
1833 { "_unsigned_long","_wxDash",0},
1834 { "_unsigned_long","_long",0},
1835 { "_class_wxRect","_wxRect",0},
1836 { "_class_wxDC","_wxDC",0},
1837 { "_class_wxPyTimer","_wxPyTimer",0},
1838 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1839 { "_class_wxPanel","_wxPanel",0},
1840 { "_signed_int","_wxPrintQuality",0},
1841 { "_signed_int","_EBool",0},
1842 { "_signed_int","_wxWindowID",0},
1843 { "_signed_int","_int",0},
1844 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1845 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1846 { "_wxMenu","_class_wxMenu",0},
1847 { "_wxScreenDC","_class_wxScreenDC",0},
1848 { "_WXTYPE","_short",0},
1849 { "_WXTYPE","_signed_short",0},
1850 { "_WXTYPE","_unsigned_short",0},
1851 { "_class_wxCaret","_wxCaret",0},
1852 { "_class_wxBrush","_wxBrush",0},
1853 { "_unsigned_short","_WXTYPE",0},
1854 { "_unsigned_short","_short",0},
1855 { "_class_wxWindow","_wxWindow",0},
1856 { "_class_wxFont","_wxFont",0},
1857 { "_class_wxPyValidator","_wxPyValidator",0},
1858 { "_wxClientDC","_class_wxClientDC",0},
1859 { "_class_wxPoint","_wxPoint",0},
1860 { "_wxRealPoint","_class_wxRealPoint",0},
1861 { "_signed_short","_WXTYPE",0},
1862 { "_signed_short","_short",0},
1863 { "_wxMemoryDC","_class_wxMemoryDC",0},
1864 { "_wxPaintDC","_class_wxPaintDC",0},
1865 { "_class_wxWindowDC","_wxWindowDC",0},
1866 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1867 { "_class_wxCursor","_wxCursor",0},
1868 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1869 { "_unsigned_char","_byte",0},
1870 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1871 { "_class_wxMenu","_wxMenu",0},
1872 { "_unsigned_int","_wxPrintQuality",0},
1873 { "_unsigned_int","_size_t",0},
1874 { "_unsigned_int","_uint",0},
1875 { "_unsigned_int","_wxWindowID",0},
1876 { "_unsigned_int","_int",0},
1877 { "_wxIcon","_class_wxIcon",0},
1878 { "_wxDialog","_class_wxDialog",0},
1879 { "_class_wxPen","_wxPen",0},
1880 { "_short","_WXTYPE",0},
1881 { "_short","_unsigned_short",0},
1882 { "_short","_signed_short",0},
1883 { "_class_wxImageList","_wxImageList",0},
1884 { "_wxWindowID","_wxPrintQuality",0},
1885 { "_wxWindowID","_size_t",0},
1886 { "_wxWindowID","_EBool",0},
1887 { "_wxWindowID","_uint",0},
1888 { "_wxWindowID","_int",0},
1889 { "_wxWindowID","_signed_int",0},
1890 { "_wxWindowID","_unsigned_int",0},
1891 { "_int","_wxPrintQuality",0},
1892 { "_int","_size_t",0},
1893 { "_int","_EBool",0},
1894 { "_int","_uint",0},
1895 { "_int","_wxWindowID",0},
1896 { "_int","_unsigned_int",0},
1897 { "_int","_signed_int",0},
1898 { "_wxSize","_class_wxSize",0},
1899 { "_wxRegionIterator","_class_wxRegionIterator",0},
1900 { "_class_wxPrinterDC","_wxPrinterDC",0},
1901 { "_class_wxPaintDC","_wxPaintDC",0},
1902 { "_wxValidator","_class_wxValidator",0},
1903 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1904 { "_class_wxIcon","_wxIcon",0},
1905 { "_class_wxColour","_wxColour",0},
1906 { "_class_wxScreenDC","_wxScreenDC",0},
1907 { "_wxPalette","_class_wxPalette",0},
1908 { "_wxRegion","_class_wxRegion",0},
1909 { "_class_wxClientDC","_wxClientDC",0},
1910 { "_class_wxSize","_wxSize",0},
1911 { "_class_wxBitmap","_wxBitmap",0},
1912 { "_class_wxMemoryDC","_wxMemoryDC",0},
1913 { "_wxMenuBar","_class_wxMenuBar",0},
1914 { "_wxEvtHandler","_class_wxEvtHandler",0},
1915 { "_wxMenuItem","_class_wxMenuItem",0},
1916 { "_wxDash","_unsigned_long",0},
1917 { "_wxDash","_long",0},
1918 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1919 { "_class_wxPalette","_wxPalette",0},
1920 { "_wxWindow","_class_wxWindow",0},
1923 static PyObject
*SWIG_globals
;
1927 SWIGEXPORT(void) initmisc2c() {
1929 SWIG_globals
= SWIG_newvarlink();
1930 m
= Py_InitModule("misc2c", misc2cMethods
);
1931 d
= PyModule_GetDict(m
);
1932 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
1933 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
1934 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
1935 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
1936 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
1937 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
1938 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
1939 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
1940 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
1941 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
1942 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
1943 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
1944 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
1945 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
1946 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
1947 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
1948 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
1949 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
1950 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
1951 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
1952 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
1953 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
1954 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
1955 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
1956 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
1957 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
1958 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
1959 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
1960 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
1961 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
1962 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
1963 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
1964 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
1965 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
1966 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
1967 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
1968 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
1969 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
1970 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
1971 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
1972 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
1973 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
1974 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
1975 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
1976 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
1977 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
1978 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
1979 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
1980 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
1981 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
1982 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
1983 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
1984 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
1985 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
1986 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
1987 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
1988 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
1989 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
1990 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
1991 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
1992 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
1993 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
1994 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
1995 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
1996 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
1997 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
1998 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
1999 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
2000 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
2001 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
2002 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
2003 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
2004 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
2005 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
2006 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
2007 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
2008 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
2009 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
2010 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
2011 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
2012 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
2013 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
2014 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
2015 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
2016 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
2017 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
2020 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2021 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);