]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/misc2.cpp
Compilation fixes
[wxWidgets.git] / utils / wxPython / src / gtk / misc2.cpp
1 /*
2 * FILE : gtk/misc2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
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);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initmisc2c
53
54 #define SWIG_name "misc2c"
55
56 #include "helpers.h"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
59 #include <wx/caret.h>
60 #include <wx/fontenum.h>
61
62 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65 if (!target) {
66 target = o;
67 } else if (target == Py_None) {
68 Py_DECREF(Py_None);
69 target = o;
70 } else {
71 if (!PyList_Check(target)) {
72 o2 = target;
73 target = PyList_New(0);
74 PyList_Append(target, o2);
75 Py_XDECREF(o2);
76 }
77 PyList_Append(target,o);
78 Py_XDECREF(o);
79 }
80 return target;
81 }
82
83 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
84 PyObject* o2;
85 PyObject* o3;
86
87 if (!target) {
88 target = o;
89 } else if (target == Py_None) {
90 Py_DECREF(Py_None);
91 target = o;
92 } else {
93 if (!PyTuple_Check(target)) {
94 o2 = target;
95 target = PyTuple_New(1);
96 PyTuple_SetItem(target, 0, o2);
97 }
98 o3 = PyTuple_New(1);
99 PyTuple_SetItem(o3, 0, o);
100
101 o2 = target;
102 target = PySequence_Concat(o2, o3);
103 Py_DECREF(o2);
104 Py_DECREF(o3);
105 }
106 return target;
107 }
108
109 static char* wxStringErrorMsg = "string type is required for parameter";
110
111
112 wxColour wxSystemSettings_GetSystemColour(int index) {
113 return wxSystemSettings::GetSystemColour(index);
114 }
115
116 wxFont wxSystemSettings_GetSystemFont(int index) {
117 return wxSystemSettings::GetSystemFont(index);
118 }
119
120 int wxSystemSettings_GetSystemMetric(int index) {
121 return wxSystemSettings::GetSystemMetric(index);
122 }
123
124 void wxToolTip_Enable(bool flag) {
125 wxToolTip::Enable(flag);
126 }
127
128 void wxToolTip_SetDelay(long milliseconds) {
129 wxToolTip::SetDelay(milliseconds);
130 }
131
132 int wxCaret_GetBlinkTime() {
133 return wxCaret::GetBlinkTime();
134 }
135
136 void wxCaret_SetBlinkTime(int milliseconds) {
137 wxCaret::SetBlinkTime(milliseconds);
138 }
139
140 class wxPyFontEnumerator : public wxFontEnumerator {
141 public:
142 wxPyFontEnumerator() {}
143 ~wxPyFontEnumerator() {}
144
145 DEC_PYCALLBACK_BOOL_STRING(OnFacename);
146 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding);
147
148 PYPRIVATE;
149 };
150
151 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename);
152 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding);
153
154 #ifdef __cplusplus
155 extern "C" {
156 #endif
157 static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
158 PyObject * _resultobj;
159 wxString * _result;
160 char * _arg0;
161 char * _arg1 = (char *) NULL;
162 char * _arg2 = (char *) NULL;
163 char * _arg3 = (char *) NULL;
164 char * _arg4 = (char *) "*.*";
165 int _arg5 = (int ) 0;
166 wxWindow * _arg6 = (wxWindow *) NULL;
167 int _arg7 = (int ) -1;
168 int _arg8 = (int ) -1;
169 PyObject * _argo6 = 0;
170 char *_kwnames[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL };
171
172 self = self;
173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|ssssiOii:wxFileSelector",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7,&_arg8))
174 return NULL;
175 if (_argo6) {
176 if (_argo6 == Py_None) { _arg6 = NULL; }
177 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
178 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
179 return NULL;
180 }
181 }
182 {
183 wxPy_BEGIN_ALLOW_THREADS;
184 _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8));
185
186 wxPy_END_ALLOW_THREADS;
187 }{
188 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
189 }
190 {
191 delete _result;
192 }
193 return _resultobj;
194 }
195
196 static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
197 PyObject * _resultobj;
198 wxString * _result;
199 wxString * _arg0;
200 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
201 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
202 wxWindow * _arg3 = (wxWindow *) NULL;
203 int _arg4 = (int ) -1;
204 int _arg5 = (int ) -1;
205 bool _arg6 = (bool ) TRUE;
206 PyObject * _obj0 = 0;
207 PyObject * _obj1 = 0;
208 PyObject * _obj2 = 0;
209 PyObject * _argo3 = 0;
210 int tempbool6 = (int) TRUE;
211 char *_kwnames[] = { "message","caption","default_value","parent","x","y","centre", NULL };
212
213 self = self;
214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOiii:wxGetTextFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&tempbool6))
215 return NULL;
216 {
217 if (!PyString_Check(_obj0)) {
218 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
219 return NULL;
220 }
221 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
222 }
223 if (_obj1)
224 {
225 if (!PyString_Check(_obj1)) {
226 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
227 return NULL;
228 }
229 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
230 }
231 if (_obj2)
232 {
233 if (!PyString_Check(_obj2)) {
234 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
235 return NULL;
236 }
237 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
238 }
239 if (_argo3) {
240 if (_argo3 == Py_None) { _arg3 = NULL; }
241 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
242 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
243 return NULL;
244 }
245 }
246 _arg6 = (bool ) tempbool6;
247 {
248 wxPy_BEGIN_ALLOW_THREADS;
249 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
250
251 wxPy_END_ALLOW_THREADS;
252 }{
253 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
254 }
255 {
256 if (_obj0)
257 delete _arg0;
258 }
259 {
260 if (_obj1)
261 delete _arg1;
262 }
263 {
264 if (_obj2)
265 delete _arg2;
266 }
267 {
268 delete _result;
269 }
270 return _resultobj;
271 }
272
273 static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
274 PyObject * _resultobj;
275 wxString * _result;
276 wxString * _arg0;
277 wxString * _arg1;
278 int _arg2;
279 wxString * _arg3;
280 wxWindow * _arg4 = (wxWindow *) NULL;
281 int _arg5 = (int ) -1;
282 int _arg6 = (int ) -1;
283 bool _arg7 = (bool ) TRUE;
284 int _arg8 = (int ) 150;
285 int _arg9 = (int ) 200;
286 PyObject * _obj0 = 0;
287 PyObject * _obj1 = 0;
288 PyObject * _obj3 = 0;
289 PyObject * _argo4 = 0;
290 int tempbool7 = (int) TRUE;
291 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
292
293 self = self;
294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoice",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
295 return NULL;
296 {
297 if (!PyString_Check(_obj0)) {
298 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
299 return NULL;
300 }
301 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
302 }
303 {
304 if (!PyString_Check(_obj1)) {
305 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
306 return NULL;
307 }
308 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
309 }
310 if (_obj3)
311 {
312 _arg3 = wxString_LIST_helper(_obj3);
313 if (_arg3 == NULL) {
314 return NULL;
315 }
316 }
317 if (_argo4) {
318 if (_argo4 == Py_None) { _arg4 = NULL; }
319 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
320 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
321 return NULL;
322 }
323 }
324 _arg7 = (bool ) tempbool7;
325 {
326 if (_obj3) {
327 _arg2 = PyList_Size(_obj3);
328 }
329 else {
330 _arg2 = 0;
331 }
332 }
333 {
334 wxPy_BEGIN_ALLOW_THREADS;
335 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
336
337 wxPy_END_ALLOW_THREADS;
338 }{
339 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
340 }
341 {
342 if (_obj0)
343 delete _arg0;
344 }
345 {
346 if (_obj1)
347 delete _arg1;
348 }
349 {
350 delete [] _arg3;
351 }
352 {
353 delete _result;
354 }
355 return _resultobj;
356 }
357
358 static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
359 PyObject * _resultobj;
360 int _result;
361 wxString * _arg0;
362 wxString * _arg1;
363 int _arg2;
364 wxString * _arg3;
365 wxWindow * _arg4 = (wxWindow *) NULL;
366 int _arg5 = (int ) -1;
367 int _arg6 = (int ) -1;
368 bool _arg7 = (bool ) TRUE;
369 int _arg8 = (int ) 150;
370 int _arg9 = (int ) 200;
371 PyObject * _obj0 = 0;
372 PyObject * _obj1 = 0;
373 PyObject * _obj3 = 0;
374 PyObject * _argo4 = 0;
375 int tempbool7 = (int) TRUE;
376 char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL };
377
378 self = self;
379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
380 return NULL;
381 {
382 if (!PyString_Check(_obj0)) {
383 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
384 return NULL;
385 }
386 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
387 }
388 {
389 if (!PyString_Check(_obj1)) {
390 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
391 return NULL;
392 }
393 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
394 }
395 if (_obj3)
396 {
397 _arg3 = wxString_LIST_helper(_obj3);
398 if (_arg3 == NULL) {
399 return NULL;
400 }
401 }
402 if (_argo4) {
403 if (_argo4 == Py_None) { _arg4 = NULL; }
404 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
406 return NULL;
407 }
408 }
409 _arg7 = (bool ) tempbool7;
410 {
411 if (_obj3) {
412 _arg2 = PyList_Size(_obj3);
413 }
414 else {
415 _arg2 = 0;
416 }
417 }
418 {
419 wxPy_BEGIN_ALLOW_THREADS;
420 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
421
422 wxPy_END_ALLOW_THREADS;
423 } _resultobj = Py_BuildValue("i",_result);
424 {
425 if (_obj0)
426 delete _arg0;
427 }
428 {
429 if (_obj1)
430 delete _arg1;
431 }
432 {
433 delete [] _arg3;
434 }
435 return _resultobj;
436 }
437
438 static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
439 PyObject * _resultobj;
440 int _result;
441 wxString * _arg0;
442 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
443 int _arg2 = (int ) wxOK|wxCENTRE;
444 wxWindow * _arg3 = (wxWindow *) NULL;
445 int _arg4 = (int ) -1;
446 int _arg5 = (int ) -1;
447 PyObject * _obj0 = 0;
448 PyObject * _obj1 = 0;
449 PyObject * _argo3 = 0;
450 char *_kwnames[] = { "message","caption","style","parent","x","y", NULL };
451
452 self = self;
453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OiOii:wxMessageBox",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4,&_arg5))
454 return NULL;
455 {
456 if (!PyString_Check(_obj0)) {
457 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
458 return NULL;
459 }
460 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
461 }
462 if (_obj1)
463 {
464 if (!PyString_Check(_obj1)) {
465 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
466 return NULL;
467 }
468 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
469 }
470 if (_argo3) {
471 if (_argo3 == Py_None) { _arg3 = NULL; }
472 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
474 return NULL;
475 }
476 }
477 {
478 wxPy_BEGIN_ALLOW_THREADS;
479 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
480
481 wxPy_END_ALLOW_THREADS;
482 } _resultobj = Py_BuildValue("i",_result);
483 {
484 if (_obj0)
485 delete _arg0;
486 }
487 {
488 if (_obj1)
489 delete _arg1;
490 }
491 return _resultobj;
492 }
493
494 static PyObject *_wrap_wxGetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
495 PyObject * _resultobj;
496 long _result;
497 wxString * _arg0;
498 wxString * _arg1;
499 wxString * _arg2;
500 long _arg3;
501 long _arg4 = (long ) 0;
502 long _arg5 = (long ) 100;
503 wxWindow * _arg6 = (wxWindow *) NULL;
504 wxPoint * _arg7 = (wxPoint *) &wxPyDefaultPosition;
505 PyObject * _obj0 = 0;
506 PyObject * _obj1 = 0;
507 PyObject * _obj2 = 0;
508 PyObject * _argo6 = 0;
509 wxPoint temp;
510 PyObject * _obj7 = 0;
511 char *_kwnames[] = { "message","prompt","caption","value","min","max","parent","pos", NULL };
512
513 self = self;
514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOl|llOO:wxGetNumberFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_arg3,&_arg4,&_arg5,&_argo6,&_obj7))
515 return NULL;
516 {
517 if (!PyString_Check(_obj0)) {
518 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
519 return NULL;
520 }
521 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
522 }
523 {
524 if (!PyString_Check(_obj1)) {
525 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
526 return NULL;
527 }
528 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
529 }
530 {
531 if (!PyString_Check(_obj2)) {
532 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
533 return NULL;
534 }
535 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
536 }
537 if (_argo6) {
538 if (_argo6 == Py_None) { _arg6 = NULL; }
539 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
540 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
541 return NULL;
542 }
543 }
544 if (_obj7)
545 {
546 _arg7 = &temp;
547 if (! wxPoint_helper(_obj7, &_arg7))
548 return NULL;
549 }
550 {
551 wxPy_BEGIN_ALLOW_THREADS;
552 _result = (long )wxGetNumberFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6,*_arg7);
553
554 wxPy_END_ALLOW_THREADS;
555 } _resultobj = Py_BuildValue("l",_result);
556 {
557 if (_obj0)
558 delete _arg0;
559 }
560 {
561 if (_obj1)
562 delete _arg1;
563 }
564 {
565 if (_obj2)
566 delete _arg2;
567 }
568 return _resultobj;
569 }
570
571 static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
572 PyObject * _resultobj;
573 bool _result;
574 char *_kwnames[] = { NULL };
575
576 self = self;
577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxColourDisplay",_kwnames))
578 return NULL;
579 {
580 wxPy_BEGIN_ALLOW_THREADS;
581 _result = (bool )wxColourDisplay();
582
583 wxPy_END_ALLOW_THREADS;
584 } _resultobj = Py_BuildValue("i",_result);
585 return _resultobj;
586 }
587
588 static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
589 PyObject * _resultobj;
590 int _result;
591 char *_kwnames[] = { NULL };
592
593 self = self;
594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplayDepth",_kwnames))
595 return NULL;
596 {
597 wxPy_BEGIN_ALLOW_THREADS;
598 _result = (int )wxDisplayDepth();
599
600 wxPy_END_ALLOW_THREADS;
601 } _resultobj = Py_BuildValue("i",_result);
602 return _resultobj;
603 }
604
605 static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
606 PyObject * _resultobj;
607 wxCursor * _arg0;
608 PyObject * _argo0 = 0;
609 char *_kwnames[] = { "cursor", NULL };
610
611 self = self;
612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSetCursor",_kwnames,&_argo0))
613 return NULL;
614 if (_argo0) {
615 if (_argo0 == Py_None) { _arg0 = NULL; }
616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
618 return NULL;
619 }
620 }
621 {
622 wxPy_BEGIN_ALLOW_THREADS;
623 wxSetCursor(*_arg0);
624
625 wxPy_END_ALLOW_THREADS;
626 } Py_INCREF(Py_None);
627 _resultobj = Py_None;
628 return _resultobj;
629 }
630
631 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
632 PyObject * _resultobj;
633 wxWindow * _result;
634 wxString * _arg0;
635 wxWindow * _arg1 = (wxWindow *) NULL;
636 PyObject * _obj0 = 0;
637 PyObject * _argo1 = 0;
638 char *_kwnames[] = { "label","parent", NULL };
639 char _ptemp[128];
640
641 self = self;
642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
643 return NULL;
644 {
645 if (!PyString_Check(_obj0)) {
646 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
647 return NULL;
648 }
649 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
650 }
651 if (_argo1) {
652 if (_argo1 == Py_None) { _arg1 = NULL; }
653 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
654 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
655 return NULL;
656 }
657 }
658 {
659 wxPy_BEGIN_ALLOW_THREADS;
660 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
661
662 wxPy_END_ALLOW_THREADS;
663 } if (_result) {
664 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
665 _resultobj = Py_BuildValue("s",_ptemp);
666 } else {
667 Py_INCREF(Py_None);
668 _resultobj = Py_None;
669 }
670 {
671 if (_obj0)
672 delete _arg0;
673 }
674 return _resultobj;
675 }
676
677 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
678 PyObject * _resultobj;
679 wxWindow * _result;
680 wxString * _arg0;
681 wxWindow * _arg1 = (wxWindow *) NULL;
682 PyObject * _obj0 = 0;
683 PyObject * _argo1 = 0;
684 char *_kwnames[] = { "name","parent", NULL };
685 char _ptemp[128];
686
687 self = self;
688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
689 return NULL;
690 {
691 if (!PyString_Check(_obj0)) {
692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
693 return NULL;
694 }
695 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
696 }
697 if (_argo1) {
698 if (_argo1 == Py_None) { _arg1 = NULL; }
699 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
700 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
701 return NULL;
702 }
703 }
704 {
705 wxPy_BEGIN_ALLOW_THREADS;
706 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
707
708 wxPy_END_ALLOW_THREADS;
709 } if (_result) {
710 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
711 _resultobj = Py_BuildValue("s",_ptemp);
712 } else {
713 Py_INCREF(Py_None);
714 _resultobj = Py_None;
715 }
716 {
717 if (_obj0)
718 delete _arg0;
719 }
720 return _resultobj;
721 }
722
723 static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
724 PyObject * _resultobj;
725 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
726 PyObject * _argo0 = 0;
727 char *_kwnames[] = { "cursor", NULL };
728
729 self = self;
730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxBeginBusyCursor",_kwnames,&_argo0))
731 return NULL;
732 if (_argo0) {
733 if (_argo0 == Py_None) { _arg0 = NULL; }
734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
736 return NULL;
737 }
738 }
739 {
740 wxPy_BEGIN_ALLOW_THREADS;
741 wxBeginBusyCursor(_arg0);
742
743 wxPy_END_ALLOW_THREADS;
744 } Py_INCREF(Py_None);
745 _resultobj = Py_None;
746 return _resultobj;
747 }
748
749 static PyObject *_wrap_wxGetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
750 PyObject * _resultobj;
751 wxWindow * _result;
752 char *_kwnames[] = { NULL };
753 char _ptemp[128];
754
755 self = self;
756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetActiveWindow",_kwnames))
757 return NULL;
758 {
759 wxPy_BEGIN_ALLOW_THREADS;
760 _result = (wxWindow *)wxGetActiveWindow();
761
762 wxPy_END_ALLOW_THREADS;
763 } if (_result) {
764 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
765 _resultobj = Py_BuildValue("s",_ptemp);
766 } else {
767 Py_INCREF(Py_None);
768 _resultobj = Py_None;
769 }
770 return _resultobj;
771 }
772
773 static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
774 PyObject * _resultobj;
775 bool _result;
776 char * _arg0;
777 int _arg1;
778 char *_kwnames[] = { "name","value", NULL };
779
780 self = self;
781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"si:wxResourceAddIdentifier",_kwnames,&_arg0,&_arg1))
782 return NULL;
783 {
784 wxPy_BEGIN_ALLOW_THREADS;
785 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
786
787 wxPy_END_ALLOW_THREADS;
788 } _resultobj = Py_BuildValue("i",_result);
789 return _resultobj;
790 }
791
792 static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args, PyObject *kwargs) {
793 PyObject * _resultobj;
794 char *_kwnames[] = { NULL };
795
796 self = self;
797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxResourceClear",_kwnames))
798 return NULL;
799 {
800 wxPy_BEGIN_ALLOW_THREADS;
801 wxResourceClear();
802
803 wxPy_END_ALLOW_THREADS;
804 } Py_INCREF(Py_None);
805 _resultobj = Py_None;
806 return _resultobj;
807 }
808
809 static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
810 PyObject * _resultobj;
811 wxBitmap * _result;
812 char * _arg0;
813 char *_kwnames[] = { "resource", NULL };
814 char _ptemp[128];
815
816 self = self;
817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateBitmap",_kwnames,&_arg0))
818 return NULL;
819 {
820 wxPy_BEGIN_ALLOW_THREADS;
821 _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
822
823 wxPy_END_ALLOW_THREADS;
824 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
825 _resultobj = Py_BuildValue("s",_ptemp);
826 return _resultobj;
827 }
828
829 static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
830 PyObject * _resultobj;
831 wxIcon * _result;
832 char * _arg0;
833 char *_kwnames[] = { "resource", NULL };
834 char _ptemp[128];
835
836 self = self;
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateIcon",_kwnames,&_arg0))
838 return NULL;
839 {
840 wxPy_BEGIN_ALLOW_THREADS;
841 _result = new wxIcon (wxResourceCreateIcon(_arg0));
842
843 wxPy_END_ALLOW_THREADS;
844 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
845 _resultobj = Py_BuildValue("s",_ptemp);
846 return _resultobj;
847 }
848
849 static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
850 PyObject * _resultobj;
851 wxMenuBar * _result;
852 char * _arg0;
853 char *_kwnames[] = { "resource", NULL };
854 char _ptemp[128];
855
856 self = self;
857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateMenuBar",_kwnames,&_arg0))
858 return NULL;
859 {
860 wxPy_BEGIN_ALLOW_THREADS;
861 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
862
863 wxPy_END_ALLOW_THREADS;
864 } if (_result) {
865 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
866 _resultobj = Py_BuildValue("s",_ptemp);
867 } else {
868 Py_INCREF(Py_None);
869 _resultobj = Py_None;
870 }
871 return _resultobj;
872 }
873
874 static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
875 PyObject * _resultobj;
876 int _result;
877 char * _arg0;
878 char *_kwnames[] = { "name", NULL };
879
880 self = self;
881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceGetIdentifier",_kwnames,&_arg0))
882 return NULL;
883 {
884 wxPy_BEGIN_ALLOW_THREADS;
885 _result = (int )wxResourceGetIdentifier(_arg0);
886
887 wxPy_END_ALLOW_THREADS;
888 } _resultobj = Py_BuildValue("i",_result);
889 return _resultobj;
890 }
891
892 static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args, PyObject *kwargs) {
893 PyObject * _resultobj;
894 bool _result;
895 char * _arg0;
896 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
897 PyObject * _argo1 = 0;
898 char *_kwnames[] = { "resource","table", NULL };
899
900 self = self;
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseData",_kwnames,&_arg0,&_argo1))
902 return NULL;
903 if (_argo1) {
904 if (_argo1 == Py_None) { _arg1 = NULL; }
905 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
906 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
907 return NULL;
908 }
909 }
910 {
911 wxPy_BEGIN_ALLOW_THREADS;
912 _result = (bool )wxResourceParseData(_arg0,_arg1);
913
914 wxPy_END_ALLOW_THREADS;
915 } _resultobj = Py_BuildValue("i",_result);
916 return _resultobj;
917 }
918
919 static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject * _resultobj;
921 bool _result;
922 char * _arg0;
923 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
924 PyObject * _argo1 = 0;
925 char *_kwnames[] = { "filename","table", NULL };
926
927 self = self;
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseFile",_kwnames,&_arg0,&_argo1))
929 return NULL;
930 if (_argo1) {
931 if (_argo1 == Py_None) { _arg1 = NULL; }
932 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
933 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
934 return NULL;
935 }
936 }
937 {
938 wxPy_BEGIN_ALLOW_THREADS;
939 _result = (bool )wxResourceParseFile(_arg0,_arg1);
940
941 wxPy_END_ALLOW_THREADS;
942 } _resultobj = Py_BuildValue("i",_result);
943 return _resultobj;
944 }
945
946 static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args, PyObject *kwargs) {
947 PyObject * _resultobj;
948 bool _result;
949 char * _arg0;
950 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
951 PyObject * _argo1 = 0;
952 char *_kwnames[] = { "resource","table", NULL };
953
954 self = self;
955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseString",_kwnames,&_arg0,&_argo1))
956 return NULL;
957 if (_argo1) {
958 if (_argo1 == Py_None) { _arg1 = NULL; }
959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
961 return NULL;
962 }
963 }
964 {
965 wxPy_BEGIN_ALLOW_THREADS;
966 _result = (bool )wxResourceParseString(_arg0,_arg1);
967
968 wxPy_END_ALLOW_THREADS;
969 } _resultobj = Py_BuildValue("i",_result);
970 return _resultobj;
971 }
972
973 static PyObject *_wrap_wxSystemSettings_GetSystemColour(PyObject *self, PyObject *args, PyObject *kwargs) {
974 PyObject * _resultobj;
975 wxColour * _result;
976 int _arg0;
977 char *_kwnames[] = { "index", NULL };
978 char _ptemp[128];
979
980 self = self;
981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemColour",_kwnames,&_arg0))
982 return NULL;
983 {
984 wxPy_BEGIN_ALLOW_THREADS;
985 _result = new wxColour (wxSystemSettings_GetSystemColour(_arg0));
986
987 wxPy_END_ALLOW_THREADS;
988 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
989 _resultobj = Py_BuildValue("s",_ptemp);
990 return _resultobj;
991 }
992
993 static PyObject *_wrap_wxSystemSettings_GetSystemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
994 PyObject * _resultobj;
995 wxFont * _result;
996 int _arg0;
997 char *_kwnames[] = { "index", NULL };
998 char _ptemp[128];
999
1000 self = self;
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemFont",_kwnames,&_arg0))
1002 return NULL;
1003 {
1004 wxPy_BEGIN_ALLOW_THREADS;
1005 _result = new wxFont (wxSystemSettings_GetSystemFont(_arg0));
1006
1007 wxPy_END_ALLOW_THREADS;
1008 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
1009 _resultobj = Py_BuildValue("s",_ptemp);
1010 return _resultobj;
1011 }
1012
1013 static PyObject *_wrap_wxSystemSettings_GetSystemMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1014 PyObject * _resultobj;
1015 int _result;
1016 int _arg0;
1017 char *_kwnames[] = { "index", NULL };
1018
1019 self = self;
1020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemMetric",_kwnames,&_arg0))
1021 return NULL;
1022 {
1023 wxPy_BEGIN_ALLOW_THREADS;
1024 _result = (int )wxSystemSettings_GetSystemMetric(_arg0);
1025
1026 wxPy_END_ALLOW_THREADS;
1027 } _resultobj = Py_BuildValue("i",_result);
1028 return _resultobj;
1029 }
1030
1031 static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject * _resultobj;
1033 bool _arg0;
1034 int tempbool0;
1035 char *_kwnames[] = { "flag", NULL };
1036
1037 self = self;
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
1039 return NULL;
1040 _arg0 = (bool ) tempbool0;
1041 {
1042 wxPy_BEGIN_ALLOW_THREADS;
1043 wxToolTip_Enable(_arg0);
1044
1045 wxPy_END_ALLOW_THREADS;
1046 } Py_INCREF(Py_None);
1047 _resultobj = Py_None;
1048 return _resultobj;
1049 }
1050
1051 static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
1052 PyObject * _resultobj;
1053 long _arg0;
1054 char *_kwnames[] = { "milliseconds", NULL };
1055
1056 self = self;
1057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
1058 return NULL;
1059 {
1060 wxPy_BEGIN_ALLOW_THREADS;
1061 wxToolTip_SetDelay(_arg0);
1062
1063 wxPy_END_ALLOW_THREADS;
1064 } Py_INCREF(Py_None);
1065 _resultobj = Py_None;
1066 return _resultobj;
1067 }
1068
1069 static PyObject *_wrap_wxCaret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1070 PyObject * _resultobj;
1071 int _result;
1072 char *_kwnames[] = { NULL };
1073
1074 self = self;
1075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxCaret_GetBlinkTime",_kwnames))
1076 return NULL;
1077 {
1078 wxPy_BEGIN_ALLOW_THREADS;
1079 _result = (int )wxCaret_GetBlinkTime();
1080
1081 wxPy_END_ALLOW_THREADS;
1082 } _resultobj = Py_BuildValue("i",_result);
1083 return _resultobj;
1084 }
1085
1086 static PyObject *_wrap_wxCaret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject * _resultobj;
1088 int _arg0;
1089 char *_kwnames[] = { "milliseconds", NULL };
1090
1091 self = self;
1092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxCaret_SetBlinkTime",_kwnames,&_arg0))
1093 return NULL;
1094 {
1095 wxPy_BEGIN_ALLOW_THREADS;
1096 wxCaret_SetBlinkTime(_arg0);
1097
1098 wxPy_END_ALLOW_THREADS;
1099 } Py_INCREF(Py_None);
1100 _resultobj = Py_None;
1101 return _resultobj;
1102 }
1103
1104 static PyObject *_wrap_wxPostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
1105 PyObject * _resultobj;
1106 wxEvtHandler * _arg0;
1107 wxEvent * _arg1;
1108 PyObject * _argo0 = 0;
1109 PyObject * _argo1 = 0;
1110 char *_kwnames[] = { "dest","event", NULL };
1111
1112 self = self;
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostEvent",_kwnames,&_argo0,&_argo1))
1114 return NULL;
1115 if (_argo0) {
1116 if (_argo0 == Py_None) { _arg0 = NULL; }
1117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1119 return NULL;
1120 }
1121 }
1122 if (_argo1) {
1123 if (_argo1 == Py_None) { _arg1 = NULL; }
1124 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) {
1125 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1126 return NULL;
1127 }
1128 }
1129 {
1130 wxPy_BEGIN_ALLOW_THREADS;
1131 wxPostEvent(_arg0,*_arg1);
1132
1133 wxPy_END_ALLOW_THREADS;
1134 } Py_INCREF(Py_None);
1135 _resultobj = Py_None;
1136 return _resultobj;
1137 }
1138
1139 static PyObject *_wrap_wxWakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
1140 PyObject * _resultobj;
1141 char *_kwnames[] = { NULL };
1142
1143 self = self;
1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWakeUpIdle",_kwnames))
1145 return NULL;
1146 {
1147 wxPy_BEGIN_ALLOW_THREADS;
1148 wxWakeUpIdle();
1149
1150 wxPy_END_ALLOW_THREADS;
1151 } Py_INCREF(Py_None);
1152 _resultobj = Py_None;
1153 return _resultobj;
1154 }
1155
1156 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
1157 static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject * _resultobj;
1159 wxToolTip * _result;
1160 wxString * _arg0;
1161 PyObject * _obj0 = 0;
1162 char *_kwnames[] = { "tip", NULL };
1163 char _ptemp[128];
1164
1165 self = self;
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
1167 return NULL;
1168 {
1169 if (!PyString_Check(_obj0)) {
1170 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1171 return NULL;
1172 }
1173 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
1174 }
1175 {
1176 wxPy_BEGIN_ALLOW_THREADS;
1177 _result = (wxToolTip *)new_wxToolTip(*_arg0);
1178
1179 wxPy_END_ALLOW_THREADS;
1180 } if (_result) {
1181 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
1182 _resultobj = Py_BuildValue("s",_ptemp);
1183 } else {
1184 Py_INCREF(Py_None);
1185 _resultobj = Py_None;
1186 }
1187 {
1188 if (_obj0)
1189 delete _arg0;
1190 }
1191 return _resultobj;
1192 }
1193
1194 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
1195 static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1196 PyObject * _resultobj;
1197 wxToolTip * _arg0;
1198 wxString * _arg1;
1199 PyObject * _argo0 = 0;
1200 PyObject * _obj1 = 0;
1201 char *_kwnames[] = { "self","tip", NULL };
1202
1203 self = self;
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
1205 return NULL;
1206 if (_argo0) {
1207 if (_argo0 == Py_None) { _arg0 = NULL; }
1208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
1209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
1210 return NULL;
1211 }
1212 }
1213 {
1214 if (!PyString_Check(_obj1)) {
1215 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1216 return NULL;
1217 }
1218 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1219 }
1220 {
1221 wxPy_BEGIN_ALLOW_THREADS;
1222 wxToolTip_SetTip(_arg0,*_arg1);
1223
1224 wxPy_END_ALLOW_THREADS;
1225 } Py_INCREF(Py_None);
1226 _resultobj = Py_None;
1227 {
1228 if (_obj1)
1229 delete _arg1;
1230 }
1231 return _resultobj;
1232 }
1233
1234 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
1235 static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxString * _result;
1238 wxToolTip * _arg0;
1239 PyObject * _argo0 = 0;
1240 char *_kwnames[] = { "self", NULL };
1241
1242 self = self;
1243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
1244 return NULL;
1245 if (_argo0) {
1246 if (_argo0 == Py_None) { _arg0 = NULL; }
1247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
1248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
1249 return NULL;
1250 }
1251 }
1252 {
1253 wxPy_BEGIN_ALLOW_THREADS;
1254 _result = new wxString (wxToolTip_GetTip(_arg0));
1255
1256 wxPy_END_ALLOW_THREADS;
1257 }{
1258 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1259 }
1260 {
1261 delete _result;
1262 }
1263 return _resultobj;
1264 }
1265
1266 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
1267 static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1268 PyObject * _resultobj;
1269 wxWindow * _result;
1270 wxToolTip * _arg0;
1271 PyObject * _argo0 = 0;
1272 char *_kwnames[] = { "self", NULL };
1273 char _ptemp[128];
1274
1275 self = self;
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
1277 return NULL;
1278 if (_argo0) {
1279 if (_argo0 == Py_None) { _arg0 = NULL; }
1280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
1281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
1282 return NULL;
1283 }
1284 }
1285 {
1286 wxPy_BEGIN_ALLOW_THREADS;
1287 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
1288
1289 wxPy_END_ALLOW_THREADS;
1290 } if (_result) {
1291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1292 _resultobj = Py_BuildValue("s",_ptemp);
1293 } else {
1294 Py_INCREF(Py_None);
1295 _resultobj = Py_None;
1296 }
1297 return _resultobj;
1298 }
1299
1300 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
1301 static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
1302 PyObject * _resultobj;
1303 wxCaret * _result;
1304 wxWindow * _arg0;
1305 wxSize * _arg1;
1306 PyObject * _argo0 = 0;
1307 wxSize temp;
1308 PyObject * _obj1 = 0;
1309 char *_kwnames[] = { "window","size", NULL };
1310 char _ptemp[128];
1311
1312 self = self;
1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1))
1314 return NULL;
1315 if (_argo0) {
1316 if (_argo0 == Py_None) { _arg0 = NULL; }
1317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
1319 return NULL;
1320 }
1321 }
1322 {
1323 _arg1 = &temp;
1324 if (! wxSize_helper(_obj1, &_arg1))
1325 return NULL;
1326 }
1327 {
1328 wxPy_BEGIN_ALLOW_THREADS;
1329 _result = (wxCaret *)new_wxCaret(_arg0,*_arg1);
1330
1331 wxPy_END_ALLOW_THREADS;
1332 } if (_result) {
1333 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
1334 _resultobj = Py_BuildValue("s",_ptemp);
1335 } else {
1336 Py_INCREF(Py_None);
1337 _resultobj = Py_None;
1338 }
1339 return _resultobj;
1340 }
1341
1342 #define delete_wxCaret(_swigobj) (delete _swigobj)
1343 static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject * _resultobj;
1345 wxCaret * _arg0;
1346 PyObject * _argo0 = 0;
1347 char *_kwnames[] = { "self", NULL };
1348
1349 self = self;
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0))
1351 return NULL;
1352 if (_argo0) {
1353 if (_argo0 == Py_None) { _arg0 = NULL; }
1354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
1356 return NULL;
1357 }
1358 }
1359 {
1360 wxPy_BEGIN_ALLOW_THREADS;
1361 delete_wxCaret(_arg0);
1362
1363 wxPy_END_ALLOW_THREADS;
1364 } Py_INCREF(Py_None);
1365 _resultobj = Py_None;
1366 return _resultobj;
1367 }
1368
1369 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
1370 static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject * _resultobj;
1372 bool _result;
1373 wxCaret * _arg0;
1374 PyObject * _argo0 = 0;
1375 char *_kwnames[] = { "self", NULL };
1376
1377 self = self;
1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0))
1379 return NULL;
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
1384 return NULL;
1385 }
1386 }
1387 {
1388 wxPy_BEGIN_ALLOW_THREADS;
1389 _result = (bool )wxCaret_IsOk(_arg0);
1390
1391 wxPy_END_ALLOW_THREADS;
1392 } _resultobj = Py_BuildValue("i",_result);
1393 return _resultobj;
1394 }
1395
1396 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
1397 static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1398 PyObject * _resultobj;
1399 bool _result;
1400 wxCaret * _arg0;
1401 PyObject * _argo0 = 0;
1402 char *_kwnames[] = { "self", NULL };
1403
1404 self = self;
1405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0))
1406 return NULL;
1407 if (_argo0) {
1408 if (_argo0 == Py_None) { _arg0 = NULL; }
1409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
1411 return NULL;
1412 }
1413 }
1414 {
1415 wxPy_BEGIN_ALLOW_THREADS;
1416 _result = (bool )wxCaret_IsVisible(_arg0);
1417
1418 wxPy_END_ALLOW_THREADS;
1419 } _resultobj = Py_BuildValue("i",_result);
1420 return _resultobj;
1421 }
1422
1423 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1424 static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1425 PyObject * _resultobj;
1426 wxCaret * _arg0;
1427 int * _arg1;
1428 int temp;
1429 int * _arg2;
1430 int temp0;
1431 PyObject * _argo0 = 0;
1432 char *_kwnames[] = { "self", NULL };
1433
1434 self = self;
1435 {
1436 _arg1 = &temp;
1437 }
1438 {
1439 _arg2 = &temp0;
1440 }
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0))
1442 return NULL;
1443 if (_argo0) {
1444 if (_argo0 == Py_None) { _arg0 = NULL; }
1445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
1447 return NULL;
1448 }
1449 }
1450 {
1451 wxPy_BEGIN_ALLOW_THREADS;
1452 wxCaret_GetPositionTuple(_arg0,_arg1,_arg2);
1453
1454 wxPy_END_ALLOW_THREADS;
1455 } Py_INCREF(Py_None);
1456 _resultobj = Py_None;
1457 {
1458 PyObject *o;
1459 o = PyInt_FromLong((long) (*_arg1));
1460 _resultobj = t_output_helper(_resultobj, o);
1461 }
1462 {
1463 PyObject *o;
1464 o = PyInt_FromLong((long) (*_arg2));
1465 _resultobj = t_output_helper(_resultobj, o);
1466 }
1467 return _resultobj;
1468 }
1469
1470 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
1471 static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject * _resultobj;
1473 wxPoint * _result;
1474 wxCaret * _arg0;
1475 PyObject * _argo0 = 0;
1476 char *_kwnames[] = { "self", NULL };
1477 char _ptemp[128];
1478
1479 self = self;
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_kwnames,&_argo0))
1481 return NULL;
1482 if (_argo0) {
1483 if (_argo0 == Py_None) { _arg0 = NULL; }
1484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
1486 return NULL;
1487 }
1488 }
1489 {
1490 wxPy_BEGIN_ALLOW_THREADS;
1491 _result = new wxPoint (wxCaret_GetPosition(_arg0));
1492
1493 wxPy_END_ALLOW_THREADS;
1494 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1495 _resultobj = Py_BuildValue("s",_ptemp);
1496 return _resultobj;
1497 }
1498
1499 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1500 static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1501 PyObject * _resultobj;
1502 wxCaret * _arg0;
1503 int * _arg1;
1504 int temp;
1505 int * _arg2;
1506 int temp0;
1507 PyObject * _argo0 = 0;
1508 char *_kwnames[] = { "self", NULL };
1509
1510 self = self;
1511 {
1512 _arg1 = &temp;
1513 }
1514 {
1515 _arg2 = &temp0;
1516 }
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0))
1518 return NULL;
1519 if (_argo0) {
1520 if (_argo0 == Py_None) { _arg0 = NULL; }
1521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
1523 return NULL;
1524 }
1525 }
1526 {
1527 wxPy_BEGIN_ALLOW_THREADS;
1528 wxCaret_GetSizeTuple(_arg0,_arg1,_arg2);
1529
1530 wxPy_END_ALLOW_THREADS;
1531 } Py_INCREF(Py_None);
1532 _resultobj = Py_None;
1533 {
1534 PyObject *o;
1535 o = PyInt_FromLong((long) (*_arg1));
1536 _resultobj = t_output_helper(_resultobj, o);
1537 }
1538 {
1539 PyObject *o;
1540 o = PyInt_FromLong((long) (*_arg2));
1541 _resultobj = t_output_helper(_resultobj, o);
1542 }
1543 return _resultobj;
1544 }
1545
1546 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
1547 static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject * _resultobj;
1549 wxSize * _result;
1550 wxCaret * _arg0;
1551 PyObject * _argo0 = 0;
1552 char *_kwnames[] = { "self", NULL };
1553 char _ptemp[128];
1554
1555 self = self;
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0))
1557 return NULL;
1558 if (_argo0) {
1559 if (_argo0 == Py_None) { _arg0 = NULL; }
1560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
1562 return NULL;
1563 }
1564 }
1565 {
1566 wxPy_BEGIN_ALLOW_THREADS;
1567 _result = new wxSize (wxCaret_GetSize(_arg0));
1568
1569 wxPy_END_ALLOW_THREADS;
1570 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1571 _resultobj = Py_BuildValue("s",_ptemp);
1572 return _resultobj;
1573 }
1574
1575 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
1576 static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject * _resultobj;
1578 wxWindow * _result;
1579 wxCaret * _arg0;
1580 PyObject * _argo0 = 0;
1581 char *_kwnames[] = { "self", NULL };
1582 char _ptemp[128];
1583
1584 self = self;
1585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0))
1586 return NULL;
1587 if (_argo0) {
1588 if (_argo0 == Py_None) { _arg0 = NULL; }
1589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
1591 return NULL;
1592 }
1593 }
1594 {
1595 wxPy_BEGIN_ALLOW_THREADS;
1596 _result = (wxWindow *)wxCaret_GetWindow(_arg0);
1597
1598 wxPy_END_ALLOW_THREADS;
1599 } if (_result) {
1600 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1601 _resultobj = Py_BuildValue("s",_ptemp);
1602 } else {
1603 Py_INCREF(Py_None);
1604 _resultobj = Py_None;
1605 }
1606 return _resultobj;
1607 }
1608
1609 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1610 static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject * _resultobj;
1612 wxCaret * _arg0;
1613 int _arg1;
1614 int _arg2;
1615 PyObject * _argo0 = 0;
1616 char *_kwnames[] = { "self","x","y", NULL };
1617
1618 self = self;
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
1620 return NULL;
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
1625 return NULL;
1626 }
1627 }
1628 {
1629 wxPy_BEGIN_ALLOW_THREADS;
1630 wxCaret_MoveXY(_arg0,_arg1,_arg2);
1631
1632 wxPy_END_ALLOW_THREADS;
1633 } Py_INCREF(Py_None);
1634 _resultobj = Py_None;
1635 return _resultobj;
1636 }
1637
1638 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1639 static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
1640 PyObject * _resultobj;
1641 wxCaret * _arg0;
1642 wxPoint * _arg1;
1643 PyObject * _argo0 = 0;
1644 wxPoint temp;
1645 PyObject * _obj1 = 0;
1646 char *_kwnames[] = { "self","pt", NULL };
1647
1648 self = self;
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1))
1650 return NULL;
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
1655 return NULL;
1656 }
1657 }
1658 {
1659 _arg1 = &temp;
1660 if (! wxPoint_helper(_obj1, &_arg1))
1661 return NULL;
1662 }
1663 {
1664 wxPy_BEGIN_ALLOW_THREADS;
1665 wxCaret_Move(_arg0,*_arg1);
1666
1667 wxPy_END_ALLOW_THREADS;
1668 } Py_INCREF(Py_None);
1669 _resultobj = Py_None;
1670 return _resultobj;
1671 }
1672
1673 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
1674 static PyObject *_wrap_wxCaret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
1675 PyObject * _resultobj;
1676 wxCaret * _arg0;
1677 int _arg1;
1678 int _arg2;
1679 PyObject * _argo0 = 0;
1680 char *_kwnames[] = { "self","width","height", NULL };
1681
1682 self = self;
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_SetSizeWH",_kwnames,&_argo0,&_arg1,&_arg2))
1684 return NULL;
1685 if (_argo0) {
1686 if (_argo0 == Py_None) { _arg0 = NULL; }
1687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
1689 return NULL;
1690 }
1691 }
1692 {
1693 wxPy_BEGIN_ALLOW_THREADS;
1694 wxCaret_SetSizeWH(_arg0,_arg1,_arg2);
1695
1696 wxPy_END_ALLOW_THREADS;
1697 } Py_INCREF(Py_None);
1698 _resultobj = Py_None;
1699 return _resultobj;
1700 }
1701
1702 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
1703 static PyObject *_wrap_wxCaret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject * _resultobj;
1705 wxCaret * _arg0;
1706 wxSize * _arg1;
1707 PyObject * _argo0 = 0;
1708 wxSize temp;
1709 PyObject * _obj1 = 0;
1710 char *_kwnames[] = { "self","size", NULL };
1711
1712 self = self;
1713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_SetSize",_kwnames,&_argo0,&_obj1))
1714 return NULL;
1715 if (_argo0) {
1716 if (_argo0 == Py_None) { _arg0 = NULL; }
1717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
1719 return NULL;
1720 }
1721 }
1722 {
1723 _arg1 = &temp;
1724 if (! wxSize_helper(_obj1, &_arg1))
1725 return NULL;
1726 }
1727 {
1728 wxPy_BEGIN_ALLOW_THREADS;
1729 wxCaret_SetSize(_arg0,*_arg1);
1730
1731 wxPy_END_ALLOW_THREADS;
1732 } Py_INCREF(Py_None);
1733 _resultobj = Py_None;
1734 return _resultobj;
1735 }
1736
1737 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1738 static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1739 PyObject * _resultobj;
1740 wxCaret * _arg0;
1741 int _arg1 = (int ) TRUE;
1742 PyObject * _argo0 = 0;
1743 char *_kwnames[] = { "self","show", NULL };
1744
1745 self = self;
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
1747 return NULL;
1748 if (_argo0) {
1749 if (_argo0 == Py_None) { _arg0 = NULL; }
1750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
1752 return NULL;
1753 }
1754 }
1755 {
1756 wxPy_BEGIN_ALLOW_THREADS;
1757 wxCaret_Show(_arg0,_arg1);
1758
1759 wxPy_END_ALLOW_THREADS;
1760 } Py_INCREF(Py_None);
1761 _resultobj = Py_None;
1762 return _resultobj;
1763 }
1764
1765 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
1766 static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject * _resultobj;
1768 wxCaret * _arg0;
1769 PyObject * _argo0 = 0;
1770 char *_kwnames[] = { "self", NULL };
1771
1772 self = self;
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
1774 return NULL;
1775 if (_argo0) {
1776 if (_argo0 == Py_None) { _arg0 = NULL; }
1777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
1779 return NULL;
1780 }
1781 }
1782 {
1783 wxPy_BEGIN_ALLOW_THREADS;
1784 wxCaret_Hide(_arg0);
1785
1786 wxPy_END_ALLOW_THREADS;
1787 } Py_INCREF(Py_None);
1788 _resultobj = Py_None;
1789 return _resultobj;
1790 }
1791
1792 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
1793 static PyObject *_wrap_new_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
1794 PyObject * _resultobj;
1795 wxPyFontEnumerator * _result;
1796 char *_kwnames[] = { NULL };
1797 char _ptemp[128];
1798
1799 self = self;
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontEnumerator",_kwnames))
1801 return NULL;
1802 {
1803 wxPy_BEGIN_ALLOW_THREADS;
1804 _result = (wxPyFontEnumerator *)new_wxFontEnumerator();
1805
1806 wxPy_END_ALLOW_THREADS;
1807 } if (_result) {
1808 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyFontEnumerator_p");
1809 _resultobj = Py_BuildValue("s",_ptemp);
1810 } else {
1811 Py_INCREF(Py_None);
1812 _resultobj = Py_None;
1813 }
1814 return _resultobj;
1815 }
1816
1817 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
1818 static PyObject *_wrap_delete_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject * _resultobj;
1820 wxPyFontEnumerator * _arg0;
1821 PyObject * _argo0 = 0;
1822 char *_kwnames[] = { "self", NULL };
1823
1824 self = self;
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontEnumerator",_kwnames,&_argo0))
1826 return NULL;
1827 if (_argo0) {
1828 if (_argo0 == Py_None) { _arg0 = NULL; }
1829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
1831 return NULL;
1832 }
1833 }
1834 {
1835 wxPy_BEGIN_ALLOW_THREADS;
1836 delete_wxPyFontEnumerator(_arg0);
1837
1838 wxPy_END_ALLOW_THREADS;
1839 } Py_INCREF(Py_None);
1840 _resultobj = Py_None;
1841 return _resultobj;
1842 }
1843
1844 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1845 static PyObject *_wrap_wxFontEnumerator__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1846 PyObject * _resultobj;
1847 wxPyFontEnumerator * _arg0;
1848 PyObject * _arg1;
1849 PyObject * _argo0 = 0;
1850 PyObject * _obj1 = 0;
1851 char *_kwnames[] = { "self","self", NULL };
1852
1853 self = self;
1854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontEnumerator__setSelf",_kwnames,&_argo0,&_obj1))
1855 return NULL;
1856 if (_argo0) {
1857 if (_argo0 == Py_None) { _arg0 = NULL; }
1858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
1860 return NULL;
1861 }
1862 }
1863 {
1864 _arg1 = _obj1;
1865 }
1866 {
1867 wxPy_BEGIN_ALLOW_THREADS;
1868 wxFontEnumerator__setSelf(_arg0,_arg1);
1869
1870 wxPy_END_ALLOW_THREADS;
1871 } Py_INCREF(Py_None);
1872 _resultobj = Py_None;
1873 return _resultobj;
1874 }
1875
1876 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
1877 static PyObject *_wrap_wxFontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject * _resultobj;
1879 bool _result;
1880 wxPyFontEnumerator * _arg0;
1881 wxFontEncoding _arg1 = (wxFontEncoding ) wxFONTENCODING_SYSTEM;
1882 bool _arg2 = (bool ) FALSE;
1883 PyObject * _argo0 = 0;
1884 int tempbool2 = (int) FALSE;
1885 char *_kwnames[] = { "self","encoding","fixedWidthOnly", NULL };
1886
1887 self = self;
1888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames,&_argo0,&_arg1,&tempbool2))
1889 return NULL;
1890 if (_argo0) {
1891 if (_argo0 == Py_None) { _arg0 = NULL; }
1892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
1894 return NULL;
1895 }
1896 }
1897 _arg2 = (bool ) tempbool2;
1898 {
1899 wxPy_BEGIN_ALLOW_THREADS;
1900 _result = (bool )wxFontEnumerator_EnumerateFacenames(_arg0,_arg1,_arg2);
1901
1902 wxPy_END_ALLOW_THREADS;
1903 } _resultobj = Py_BuildValue("i",_result);
1904 return _resultobj;
1905 }
1906
1907 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
1908 static PyObject *_wrap_wxFontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject * _resultobj;
1910 bool _result;
1911 wxPyFontEnumerator * _arg0;
1912 char * _arg1 = (char *) "";
1913 PyObject * _argo0 = 0;
1914 char *_kwnames[] = { "self","facename", NULL };
1915
1916 self = self;
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames,&_argo0,&_arg1))
1918 return NULL;
1919 if (_argo0) {
1920 if (_argo0 == Py_None) { _arg0 = NULL; }
1921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
1923 return NULL;
1924 }
1925 }
1926 {
1927 wxPy_BEGIN_ALLOW_THREADS;
1928 _result = (bool )wxFontEnumerator_EnumerateEncodings(_arg0,_arg1);
1929
1930 wxPy_END_ALLOW_THREADS;
1931 } _resultobj = Py_BuildValue("i",_result);
1932 return _resultobj;
1933 }
1934
1935 static PyObject * wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self) {
1936 wxArrayString* arr = self->GetEncodings();
1937 PyObject* list = PyList_New(0);
1938 for (size_t x=0; x<arr->GetCount(); x++)
1939 PyList_Append(list, PyString_FromString((*arr)[x]));
1940 return list;
1941 }
1942 static PyObject *_wrap_wxFontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject * _resultobj;
1944 PyObject * _result;
1945 wxPyFontEnumerator * _arg0;
1946 PyObject * _argo0 = 0;
1947 char *_kwnames[] = { "self", NULL };
1948
1949 self = self;
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetEncodings",_kwnames,&_argo0))
1951 return NULL;
1952 if (_argo0) {
1953 if (_argo0 == Py_None) { _arg0 = NULL; }
1954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
1956 return NULL;
1957 }
1958 }
1959 {
1960 wxPy_BEGIN_ALLOW_THREADS;
1961 _result = (PyObject *)wxPyFontEnumerator_GetEncodings(_arg0);
1962
1963 wxPy_END_ALLOW_THREADS;
1964 }{
1965 _resultobj = _result;
1966 }
1967 return _resultobj;
1968 }
1969
1970 static PyObject * wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self) {
1971 wxArrayString* arr = self->GetFacenames();
1972 PyObject* list = PyList_New(0);
1973 for (size_t x=0; x<arr->GetCount(); x++)
1974 PyList_Append(list, PyString_FromString((*arr)[x]));
1975 return list;
1976 }
1977 static PyObject *_wrap_wxFontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject * _resultobj;
1979 PyObject * _result;
1980 wxPyFontEnumerator * _arg0;
1981 PyObject * _argo0 = 0;
1982 char *_kwnames[] = { "self", NULL };
1983
1984 self = self;
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetFacenames",_kwnames,&_argo0))
1986 return NULL;
1987 if (_argo0) {
1988 if (_argo0 == Py_None) { _arg0 = NULL; }
1989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
1991 return NULL;
1992 }
1993 }
1994 {
1995 wxPy_BEGIN_ALLOW_THREADS;
1996 _result = (PyObject *)wxPyFontEnumerator_GetFacenames(_arg0);
1997
1998 wxPy_END_ALLOW_THREADS;
1999 }{
2000 _resultobj = _result;
2001 }
2002 return _resultobj;
2003 }
2004
2005 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
2006 static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2007 PyObject * _resultobj;
2008 wxBusyCursor * _result;
2009 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
2010 PyObject * _argo0 = 0;
2011 char *_kwnames[] = { "cursor", NULL };
2012 char _ptemp[128];
2013
2014 self = self;
2015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0))
2016 return NULL;
2017 if (_argo0) {
2018 if (_argo0 == Py_None) { _arg0 = NULL; }
2019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
2021 return NULL;
2022 }
2023 }
2024 {
2025 wxPy_BEGIN_ALLOW_THREADS;
2026 _result = (wxBusyCursor *)new_wxBusyCursor(_arg0);
2027
2028 wxPy_END_ALLOW_THREADS;
2029 } if (_result) {
2030 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p");
2031 _resultobj = Py_BuildValue("s",_ptemp);
2032 } else {
2033 Py_INCREF(Py_None);
2034 _resultobj = Py_None;
2035 }
2036 return _resultobj;
2037 }
2038
2039 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
2040 static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject * _resultobj;
2042 wxBusyCursor * _arg0;
2043 PyObject * _argo0 = 0;
2044 char *_kwnames[] = { "self", NULL };
2045
2046 self = self;
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0))
2048 return NULL;
2049 if (_argo0) {
2050 if (_argo0 == Py_None) { _arg0 = NULL; }
2051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) {
2052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
2053 return NULL;
2054 }
2055 }
2056 {
2057 wxPy_BEGIN_ALLOW_THREADS;
2058 delete_wxBusyCursor(_arg0);
2059
2060 wxPy_END_ALLOW_THREADS;
2061 } Py_INCREF(Py_None);
2062 _resultobj = Py_None;
2063 return _resultobj;
2064 }
2065
2066 static PyMethodDef misc2cMethods[] = {
2067 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
2068 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
2069 { "wxFontEnumerator_GetFacenames", (PyCFunction) _wrap_wxFontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS },
2070 { "wxFontEnumerator_GetEncodings", (PyCFunction) _wrap_wxFontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS },
2071 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_wxFontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS },
2072 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_wxFontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS },
2073 { "wxFontEnumerator__setSelf", (PyCFunction) _wrap_wxFontEnumerator__setSelf, METH_VARARGS | METH_KEYWORDS },
2074 { "delete_wxFontEnumerator", (PyCFunction) _wrap_delete_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
2075 { "new_wxFontEnumerator", (PyCFunction) _wrap_new_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
2076 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
2077 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
2078 { "wxCaret_SetSize", (PyCFunction) _wrap_wxCaret_SetSize, METH_VARARGS | METH_KEYWORDS },
2079 { "wxCaret_SetSizeWH", (PyCFunction) _wrap_wxCaret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
2080 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
2081 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
2082 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
2083 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
2084 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
2085 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
2086 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
2087 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
2088 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
2089 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
2090 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
2091 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
2092 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
2093 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
2094 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
2095 { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS },
2096 { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS },
2097 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
2098 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
2099 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
2100 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
2101 { "wxSystemSettings_GetSystemMetric", (PyCFunction) _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS | METH_KEYWORDS },
2102 { "wxSystemSettings_GetSystemFont", (PyCFunction) _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS | METH_KEYWORDS },
2103 { "wxSystemSettings_GetSystemColour", (PyCFunction) _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS | METH_KEYWORDS },
2104 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
2105 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
2106 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
2107 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
2108 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
2109 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
2110 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
2111 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
2112 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
2113 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
2114 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
2115 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
2116 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
2117 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
2118 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
2119 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
2120 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
2121 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
2122 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
2123 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
2124 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
2125 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
2126 { NULL, NULL }
2127 };
2128 #ifdef __cplusplus
2129 }
2130 #endif
2131 /*
2132 * This table is used by the pointer type-checker
2133 */
2134 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2135 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2136 { "_wxEvent","_class_wxEvent",0},
2137 { "_class_wxActivateEvent","_wxActivateEvent",0},
2138 { "_signed_long","_long",0},
2139 { "_wxMenuEvent","_class_wxMenuEvent",0},
2140 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2141 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2142 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2143 { "_wxPrintQuality","_wxCoord",0},
2144 { "_wxPrintQuality","_int",0},
2145 { "_wxPrintQuality","_signed_int",0},
2146 { "_wxPrintQuality","_unsigned_int",0},
2147 { "_wxPrintQuality","_wxWindowID",0},
2148 { "_wxPrintQuality","_uint",0},
2149 { "_wxPrintQuality","_EBool",0},
2150 { "_wxPrintQuality","_size_t",0},
2151 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2152 { "_class_wxRegionIterator","_wxRegionIterator",0},
2153 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2154 { "_class_wxMenuBar","_wxMenuBar",0},
2155 { "_class_wxEvtHandler","_wxEvtHandler",0},
2156 { "_wxPaintEvent","_class_wxPaintEvent",0},
2157 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2158 { "_wxCursor","_class_wxCursor",0},
2159 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2160 { "_wxMask","_class_wxMask",0},
2161 { "_wxToolTip","_class_wxToolTip",0},
2162 { "_wxPen","_class_wxPen",0},
2163 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2164 { "_byte","_unsigned_char",0},
2165 { "_wxDataObject","_class_wxDataObject",0},
2166 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
2167 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2168 { "_wxPyDropSource","_class_wxPyDropSource",0},
2169 { "_long","_unsigned_long",0},
2170 { "_long","_signed_long",0},
2171 { "_wxImageList","_class_wxImageList",0},
2172 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2173 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2174 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2175 { "_class_wxClipboard","_wxClipboard",0},
2176 { "_wxDC","_class_wxDC",0},
2177 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2178 { "_wxSpinEvent","_class_wxSpinEvent",0},
2179 { "_size_t","_wxCoord",0},
2180 { "_size_t","_wxPrintQuality",0},
2181 { "_size_t","_unsigned_int",0},
2182 { "_size_t","_int",0},
2183 { "_size_t","_wxWindowID",0},
2184 { "_size_t","_uint",0},
2185 { "_class_wxRealPoint","_wxRealPoint",0},
2186 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2187 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2188 { "_class_wxMenuItem","_wxMenuItem",0},
2189 { "_class_wxPaintEvent","_wxPaintEvent",0},
2190 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2191 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2192 { "_wxPanel","_class_wxPanel",0},
2193 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2194 { "_wxPyEvent","_class_wxPyEvent",0},
2195 { "_class_wxMask","_wxMask",0},
2196 { "_wxTextDataObject","_class_wxTextDataObject",0},
2197 { "_class_wxKeyEvent","_wxKeyEvent",0},
2198 { "_class_wxToolTip","_wxToolTip",0},
2199 { "_wxColour","_class_wxColour",0},
2200 { "_class_wxDialog","_wxDialog",0},
2201 { "_wxBusyCursor","_class_wxBusyCursor",0},
2202 { "_class_wxFileDataObject","_wxFileDataObject",0},
2203 { "_wxIdleEvent","_class_wxIdleEvent",0},
2204 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2205 { "_class_wxDataObject","_wxDataObject",0},
2206 { "_wxCaret","_class_wxCaret",0},
2207 { "_wxBrush","_class_wxBrush",0},
2208 { "_wxDataFormat","_class_wxDataFormat",0},
2209 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2210 { "_wxShowEvent","_class_wxShowEvent",0},
2211 { "_uint","_wxCoord",0},
2212 { "_uint","_wxPrintQuality",0},
2213 { "_uint","_size_t",0},
2214 { "_uint","_unsigned_int",0},
2215 { "_uint","_int",0},
2216 { "_uint","_wxWindowID",0},
2217 { "_wxPyValidator","_class_wxPyValidator",0},
2218 { "_class_wxEvent","_wxEvent",0},
2219 { "_wxRect","_class_wxRect",0},
2220 { "_wxCommandEvent","_class_wxCommandEvent",0},
2221 { "_wxSizeEvent","_class_wxSizeEvent",0},
2222 { "_wxPoint","_class_wxPoint",0},
2223 { "_wxBitmap","_class_wxBitmap",0},
2224 { "_char","_wxDash",0},
2225 { "_wxPyTimer","_class_wxPyTimer",0},
2226 { "_wxWindowDC","_class_wxWindowDC",0},
2227 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2228 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2229 { "_class_wxValidator","_wxValidator",0},
2230 { "_class_wxPyEvent","_wxPyEvent",0},
2231 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2232 { "_class_wxBusyCursor","_wxBusyCursor",0},
2233 { "_wxDropTarget","_class_wxDropTarget",0},
2234 { "_wxScrollEvent","_class_wxScrollEvent",0},
2235 { "_EBool","_wxCoord",0},
2236 { "_EBool","_wxPrintQuality",0},
2237 { "_EBool","_signed_int",0},
2238 { "_EBool","_int",0},
2239 { "_EBool","_wxWindowID",0},
2240 { "_class_wxRegion","_wxRegion",0},
2241 { "_class_wxDataFormat","_wxDataFormat",0},
2242 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2243 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2244 { "_wxFont","_class_wxFont",0},
2245 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2246 { "_wxCloseEvent","_class_wxCloseEvent",0},
2247 { "_unsigned_long","_long",0},
2248 { "_class_wxRect","_wxRect",0},
2249 { "_class_wxDC","_wxDC",0},
2250 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2251 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2252 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2253 { "_class_wxPyTimer","_wxPyTimer",0},
2254 { "_wxFocusEvent","_class_wxFocusEvent",0},
2255 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2256 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2257 { "_class_wxPanel","_wxPanel",0},
2258 { "_signed_int","_wxCoord",0},
2259 { "_signed_int","_wxPrintQuality",0},
2260 { "_signed_int","_EBool",0},
2261 { "_signed_int","_wxWindowID",0},
2262 { "_signed_int","_int",0},
2263 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2264 { "_class_wxTextDataObject","_wxTextDataObject",0},
2265 { "_wxMenu","_class_wxMenu",0},
2266 { "_class_wxMoveEvent","_wxMoveEvent",0},
2267 { "_wxScreenDC","_class_wxScreenDC",0},
2268 { "_WXTYPE","_short",0},
2269 { "_WXTYPE","_signed_short",0},
2270 { "_WXTYPE","_unsigned_short",0},
2271 { "_class_wxDropTarget","_wxDropTarget",0},
2272 { "_class_wxCaret","_wxCaret",0},
2273 { "_class_wxBrush","_wxBrush",0},
2274 { "_unsigned_short","_WXTYPE",0},
2275 { "_unsigned_short","_short",0},
2276 { "_class_wxWindow","_wxWindow",0},
2277 { "_class_wxFont","_wxFont",0},
2278 { "_wxClipboard","_class_wxClipboard",0},
2279 { "_class_wxPyValidator","_wxPyValidator",0},
2280 { "_class_wxCloseEvent","_wxCloseEvent",0},
2281 { "_wxBusyInfo","_class_wxBusyInfo",0},
2282 { "_class_wxMenuEvent","_wxMenuEvent",0},
2283 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2284 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2285 { "_wxClientDC","_class_wxClientDC",0},
2286 { "_wxMouseEvent","_class_wxMouseEvent",0},
2287 { "_class_wxPoint","_wxPoint",0},
2288 { "_wxRealPoint","_class_wxRealPoint",0},
2289 { "_signed_short","_WXTYPE",0},
2290 { "_signed_short","_short",0},
2291 { "_wxMemoryDC","_class_wxMemoryDC",0},
2292 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2293 { "_wxPaintDC","_class_wxPaintDC",0},
2294 { "_class_wxWindowDC","_wxWindowDC",0},
2295 { "_class_wxFocusEvent","_wxFocusEvent",0},
2296 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2297 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2298 { "_class_wxCursor","_wxCursor",0},
2299 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2300 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2301 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2302 { "_unsigned_char","_byte",0},
2303 { "_class_wxMenu","_wxMenu",0},
2304 { "_unsigned_int","_wxCoord",0},
2305 { "_unsigned_int","_wxPrintQuality",0},
2306 { "_unsigned_int","_size_t",0},
2307 { "_unsigned_int","_uint",0},
2308 { "_unsigned_int","_wxWindowID",0},
2309 { "_unsigned_int","_int",0},
2310 { "_wxIcon","_class_wxIcon",0},
2311 { "_wxDialog","_class_wxDialog",0},
2312 { "_class_wxPen","_wxPen",0},
2313 { "_short","_WXTYPE",0},
2314 { "_short","_unsigned_short",0},
2315 { "_short","_signed_short",0},
2316 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2317 { "_class_wxPyDropSource","_wxPyDropSource",0},
2318 { "_class_wxScrollEvent","_wxScrollEvent",0},
2319 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2320 { "_class_wxImageList","_wxImageList",0},
2321 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2322 { "_wxWindowID","_wxCoord",0},
2323 { "_wxWindowID","_wxPrintQuality",0},
2324 { "_wxWindowID","_size_t",0},
2325 { "_wxWindowID","_EBool",0},
2326 { "_wxWindowID","_uint",0},
2327 { "_wxWindowID","_int",0},
2328 { "_wxWindowID","_signed_int",0},
2329 { "_wxWindowID","_unsigned_int",0},
2330 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2331 { "_int","_wxCoord",0},
2332 { "_int","_wxPrintQuality",0},
2333 { "_int","_size_t",0},
2334 { "_int","_EBool",0},
2335 { "_int","_uint",0},
2336 { "_int","_wxWindowID",0},
2337 { "_int","_unsigned_int",0},
2338 { "_int","_signed_int",0},
2339 { "_class_wxMouseEvent","_wxMouseEvent",0},
2340 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2341 { "_class_wxSpinEvent","_wxSpinEvent",0},
2342 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2343 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2344 { "_wxSize","_class_wxSize",0},
2345 { "_wxRegionIterator","_class_wxRegionIterator",0},
2346 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2347 { "_class_wxPaintDC","_wxPaintDC",0},
2348 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2349 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2350 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2351 { "_wxValidator","_class_wxValidator",0},
2352 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2353 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2354 { "_class_wxIcon","_wxIcon",0},
2355 { "_class_wxColour","_wxColour",0},
2356 { "_class_wxScreenDC","_wxScreenDC",0},
2357 { "_wxPalette","_class_wxPalette",0},
2358 { "_class_wxIdleEvent","_wxIdleEvent",0},
2359 { "_wxCoord","_int",0},
2360 { "_wxCoord","_signed_int",0},
2361 { "_wxCoord","_unsigned_int",0},
2362 { "_wxCoord","_wxWindowID",0},
2363 { "_wxCoord","_uint",0},
2364 { "_wxCoord","_EBool",0},
2365 { "_wxCoord","_size_t",0},
2366 { "_wxCoord","_wxPrintQuality",0},
2367 { "_wxEraseEvent","_class_wxEraseEvent",0},
2368 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2369 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2370 { "_wxRegion","_class_wxRegion",0},
2371 { "_class_wxShowEvent","_wxShowEvent",0},
2372 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2373 { "_wxActivateEvent","_class_wxActivateEvent",0},
2374 { "_class_wxBusyInfo","_wxBusyInfo",0},
2375 { "_class_wxCommandEvent","_wxCommandEvent",0},
2376 { "_class_wxClientDC","_wxClientDC",0},
2377 { "_class_wxSizeEvent","_wxSizeEvent",0},
2378 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2379 { "_class_wxSize","_wxSize",0},
2380 { "_class_wxBitmap","_wxBitmap",0},
2381 { "_class_wxMemoryDC","_wxMemoryDC",0},
2382 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2383 { "_wxMenuBar","_class_wxMenuBar",0},
2384 { "_wxEvtHandler","_class_wxEvtHandler",0},
2385 { "_wxMenuItem","_class_wxMenuItem",0},
2386 { "_wxDash","_char",0},
2387 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2388 { "_wxKeyEvent","_class_wxKeyEvent",0},
2389 { "_wxMoveEvent","_class_wxMoveEvent",0},
2390 { "_class_wxPalette","_wxPalette",0},
2391 { "_wxFileDataObject","_class_wxFileDataObject",0},
2392 { "_class_wxEraseEvent","_wxEraseEvent",0},
2393 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
2394 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2395 { "_wxWindow","_class_wxWindow",0},
2396 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2397 {0,0,0}};
2398
2399 static PyObject *SWIG_globals;
2400 #ifdef __cplusplus
2401 extern "C"
2402 #endif
2403 SWIGEXPORT(void) initmisc2c() {
2404 PyObject *m, *d;
2405 SWIG_globals = SWIG_newvarlink();
2406 m = Py_InitModule("misc2c", misc2cMethods);
2407 d = PyModule_GetDict(m);
2408 PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH));
2409 PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH));
2410 PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH));
2411 PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH));
2412 PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH));
2413 PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH));
2414 PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH));
2415 PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN));
2416 PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN));
2417 PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN));
2418 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
2419 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
2420 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
2421 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
2422 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
2423 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
2424 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
2425 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
2426 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
2427 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
2428 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
2429 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
2430 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
2431 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
2432 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
2433 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
2434 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
2435 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
2436 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
2437 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
2438 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
2439 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
2440 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
2441 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
2442 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
2443 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
2444 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
2445 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
2446 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
2447 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
2448 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
2449 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
2450 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
2451 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
2452 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
2453 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
2454 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
2455 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
2456 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
2457 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
2458 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
2459 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
2460 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
2461 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
2462 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
2463 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
2464 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
2465 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
2466 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
2467 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
2468 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
2469 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
2470 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
2471 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
2472 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
2473 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
2474 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
2475 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
2476 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
2477 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
2478 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
2479 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
2480 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
2481 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
2482 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
2483 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
2484 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
2485 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
2486 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
2487 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
2488 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
2489 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
2490 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
2491 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
2492 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
2493 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
2494 {
2495 int i;
2496 for (i = 0; _swig_mapping[i].n1; i++)
2497 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2498 }
2499 }