]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/misc2.cpp
New SWIG generated sources
[wxWidgets.git] / utils / wxPython / src / msw / misc2.cpp
1 /*
2 * FILE : msw/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_FromString(WXSTRINGCAST *(_result));
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_FromString(WXSTRINGCAST *(_result));
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","LIST","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_FromString(WXSTRINGCAST *(_result));
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","LIST","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_FromString(WXSTRINGCAST *(_result));
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_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1674 static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1675 PyObject * _resultobj;
1676 wxCaret * _arg0;
1677 int _arg1 = (int ) TRUE;
1678 PyObject * _argo0 = 0;
1679 char *_kwnames[] = { "self","show", NULL };
1680
1681 self = self;
1682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
1683 return NULL;
1684 if (_argo0) {
1685 if (_argo0 == Py_None) { _arg0 = NULL; }
1686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
1688 return NULL;
1689 }
1690 }
1691 {
1692 wxPy_BEGIN_ALLOW_THREADS;
1693 wxCaret_Show(_arg0,_arg1);
1694
1695 wxPy_END_ALLOW_THREADS;
1696 } Py_INCREF(Py_None);
1697 _resultobj = Py_None;
1698 return _resultobj;
1699 }
1700
1701 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
1702 static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject * _resultobj;
1704 wxCaret * _arg0;
1705 PyObject * _argo0 = 0;
1706 char *_kwnames[] = { "self", NULL };
1707
1708 self = self;
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
1710 return NULL;
1711 if (_argo0) {
1712 if (_argo0 == Py_None) { _arg0 = NULL; }
1713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
1715 return NULL;
1716 }
1717 }
1718 {
1719 wxPy_BEGIN_ALLOW_THREADS;
1720 wxCaret_Hide(_arg0);
1721
1722 wxPy_END_ALLOW_THREADS;
1723 } Py_INCREF(Py_None);
1724 _resultobj = Py_None;
1725 return _resultobj;
1726 }
1727
1728 #define wxCaret_OnSetFocus(_swigobj) (_swigobj->OnSetFocus())
1729 static PyObject *_wrap_wxCaret_OnSetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1730 PyObject * _resultobj;
1731 wxCaret * _arg0;
1732 PyObject * _argo0 = 0;
1733 char *_kwnames[] = { "self", NULL };
1734
1735 self = self;
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_OnSetFocus",_kwnames,&_argo0))
1737 return NULL;
1738 if (_argo0) {
1739 if (_argo0 == Py_None) { _arg0 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_OnSetFocus. Expected _wxCaret_p.");
1742 return NULL;
1743 }
1744 }
1745 {
1746 wxPy_BEGIN_ALLOW_THREADS;
1747 wxCaret_OnSetFocus(_arg0);
1748
1749 wxPy_END_ALLOW_THREADS;
1750 } Py_INCREF(Py_None);
1751 _resultobj = Py_None;
1752 return _resultobj;
1753 }
1754
1755 #define wxCaret_OnKillFocus(_swigobj) (_swigobj->OnKillFocus())
1756 static PyObject *_wrap_wxCaret_OnKillFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject * _resultobj;
1758 wxCaret * _arg0;
1759 PyObject * _argo0 = 0;
1760 char *_kwnames[] = { "self", NULL };
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_OnKillFocus",_kwnames,&_argo0))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_OnKillFocus. Expected _wxCaret_p.");
1769 return NULL;
1770 }
1771 }
1772 {
1773 wxPy_BEGIN_ALLOW_THREADS;
1774 wxCaret_OnKillFocus(_arg0);
1775
1776 wxPy_END_ALLOW_THREADS;
1777 } Py_INCREF(Py_None);
1778 _resultobj = Py_None;
1779 return _resultobj;
1780 }
1781
1782 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
1783 static PyObject *_wrap_new_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
1784 PyObject * _resultobj;
1785 wxPyFontEnumerator * _result;
1786 char *_kwnames[] = { NULL };
1787 char _ptemp[128];
1788
1789 self = self;
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontEnumerator",_kwnames))
1791 return NULL;
1792 {
1793 wxPy_BEGIN_ALLOW_THREADS;
1794 _result = (wxPyFontEnumerator *)new_wxFontEnumerator();
1795
1796 wxPy_END_ALLOW_THREADS;
1797 } if (_result) {
1798 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyFontEnumerator_p");
1799 _resultobj = Py_BuildValue("s",_ptemp);
1800 } else {
1801 Py_INCREF(Py_None);
1802 _resultobj = Py_None;
1803 }
1804 return _resultobj;
1805 }
1806
1807 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
1808 static PyObject *_wrap_delete_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) {
1809 PyObject * _resultobj;
1810 wxPyFontEnumerator * _arg0;
1811 PyObject * _argo0 = 0;
1812 char *_kwnames[] = { "self", NULL };
1813
1814 self = self;
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontEnumerator",_kwnames,&_argo0))
1816 return NULL;
1817 if (_argo0) {
1818 if (_argo0 == Py_None) { _arg0 = NULL; }
1819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
1821 return NULL;
1822 }
1823 }
1824 {
1825 wxPy_BEGIN_ALLOW_THREADS;
1826 delete_wxPyFontEnumerator(_arg0);
1827
1828 wxPy_END_ALLOW_THREADS;
1829 } Py_INCREF(Py_None);
1830 _resultobj = Py_None;
1831 return _resultobj;
1832 }
1833
1834 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1835 static PyObject *_wrap_wxFontEnumerator__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject * _resultobj;
1837 wxPyFontEnumerator * _arg0;
1838 PyObject * _arg1;
1839 PyObject * _argo0 = 0;
1840 PyObject * _obj1 = 0;
1841 char *_kwnames[] = { "self","self", NULL };
1842
1843 self = self;
1844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxFontEnumerator__setSelf",_kwnames,&_argo0,&_obj1))
1845 return NULL;
1846 if (_argo0) {
1847 if (_argo0 == Py_None) { _arg0 = NULL; }
1848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
1850 return NULL;
1851 }
1852 }
1853 {
1854 _arg1 = _obj1;
1855 }
1856 {
1857 wxPy_BEGIN_ALLOW_THREADS;
1858 wxFontEnumerator__setSelf(_arg0,_arg1);
1859
1860 wxPy_END_ALLOW_THREADS;
1861 } Py_INCREF(Py_None);
1862 _resultobj = Py_None;
1863 return _resultobj;
1864 }
1865
1866 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
1867 static PyObject *_wrap_wxFontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
1868 PyObject * _resultobj;
1869 bool _result;
1870 wxPyFontEnumerator * _arg0;
1871 wxFontEncoding _arg1 = (wxFontEncoding ) wxFONTENCODING_SYSTEM;
1872 bool _arg2 = (bool ) FALSE;
1873 PyObject * _argo0 = 0;
1874 int tempbool2 = (int) FALSE;
1875 char *_kwnames[] = { "self","encoding","fixedWidthOnly", NULL };
1876
1877 self = self;
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames,&_argo0,&_arg1,&tempbool2))
1879 return NULL;
1880 if (_argo0) {
1881 if (_argo0 == Py_None) { _arg0 = NULL; }
1882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
1884 return NULL;
1885 }
1886 }
1887 _arg2 = (bool ) tempbool2;
1888 {
1889 wxPy_BEGIN_ALLOW_THREADS;
1890 _result = (bool )wxFontEnumerator_EnumerateFacenames(_arg0,_arg1,_arg2);
1891
1892 wxPy_END_ALLOW_THREADS;
1893 } _resultobj = Py_BuildValue("i",_result);
1894 return _resultobj;
1895 }
1896
1897 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
1898 static PyObject *_wrap_wxFontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject * _resultobj;
1900 bool _result;
1901 wxPyFontEnumerator * _arg0;
1902 char * _arg1 = (char *) "";
1903 PyObject * _argo0 = 0;
1904 char *_kwnames[] = { "self","facename", NULL };
1905
1906 self = self;
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames,&_argo0,&_arg1))
1908 return NULL;
1909 if (_argo0) {
1910 if (_argo0 == Py_None) { _arg0 = NULL; }
1911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
1913 return NULL;
1914 }
1915 }
1916 {
1917 wxPy_BEGIN_ALLOW_THREADS;
1918 _result = (bool )wxFontEnumerator_EnumerateEncodings(_arg0,_arg1);
1919
1920 wxPy_END_ALLOW_THREADS;
1921 } _resultobj = Py_BuildValue("i",_result);
1922 return _resultobj;
1923 }
1924
1925 static PyObject * wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self) {
1926 wxArrayString* arr = self->GetEncodings();
1927 PyObject* list = PyList_New(0);
1928 for (size_t x=0; x<arr->GetCount(); x++)
1929 PyList_Append(list, PyString_FromString((*arr)[x]));
1930 return list;
1931 }
1932 static PyObject *_wrap_wxFontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject * _resultobj;
1934 PyObject * _result;
1935 wxPyFontEnumerator * _arg0;
1936 PyObject * _argo0 = 0;
1937 char *_kwnames[] = { "self", NULL };
1938
1939 self = self;
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetEncodings",_kwnames,&_argo0))
1941 return NULL;
1942 if (_argo0) {
1943 if (_argo0 == Py_None) { _arg0 = NULL; }
1944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
1946 return NULL;
1947 }
1948 }
1949 {
1950 wxPy_BEGIN_ALLOW_THREADS;
1951 _result = (PyObject *)wxPyFontEnumerator_GetEncodings(_arg0);
1952
1953 wxPy_END_ALLOW_THREADS;
1954 }{
1955 _resultobj = _result;
1956 }
1957 return _resultobj;
1958 }
1959
1960 static PyObject * wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self) {
1961 wxArrayString* arr = self->GetFacenames();
1962 PyObject* list = PyList_New(0);
1963 for (size_t x=0; x<arr->GetCount(); x++)
1964 PyList_Append(list, PyString_FromString((*arr)[x]));
1965 return list;
1966 }
1967 static PyObject *_wrap_wxFontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) {
1968 PyObject * _resultobj;
1969 PyObject * _result;
1970 wxPyFontEnumerator * _arg0;
1971 PyObject * _argo0 = 0;
1972 char *_kwnames[] = { "self", NULL };
1973
1974 self = self;
1975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetFacenames",_kwnames,&_argo0))
1976 return NULL;
1977 if (_argo0) {
1978 if (_argo0 == Py_None) { _arg0 = NULL; }
1979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) {
1980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
1981 return NULL;
1982 }
1983 }
1984 {
1985 wxPy_BEGIN_ALLOW_THREADS;
1986 _result = (PyObject *)wxPyFontEnumerator_GetFacenames(_arg0);
1987
1988 wxPy_END_ALLOW_THREADS;
1989 }{
1990 _resultobj = _result;
1991 }
1992 return _resultobj;
1993 }
1994
1995 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
1996 static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject * _resultobj;
1998 wxBusyCursor * _result;
1999 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
2000 PyObject * _argo0 = 0;
2001 char *_kwnames[] = { "cursor", NULL };
2002 char _ptemp[128];
2003
2004 self = self;
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0))
2006 return NULL;
2007 if (_argo0) {
2008 if (_argo0 == Py_None) { _arg0 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
2011 return NULL;
2012 }
2013 }
2014 {
2015 wxPy_BEGIN_ALLOW_THREADS;
2016 _result = (wxBusyCursor *)new_wxBusyCursor(_arg0);
2017
2018 wxPy_END_ALLOW_THREADS;
2019 } if (_result) {
2020 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p");
2021 _resultobj = Py_BuildValue("s",_ptemp);
2022 } else {
2023 Py_INCREF(Py_None);
2024 _resultobj = Py_None;
2025 }
2026 return _resultobj;
2027 }
2028
2029 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
2030 static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2031 PyObject * _resultobj;
2032 wxBusyCursor * _arg0;
2033 PyObject * _argo0 = 0;
2034 char *_kwnames[] = { "self", NULL };
2035
2036 self = self;
2037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0))
2038 return NULL;
2039 if (_argo0) {
2040 if (_argo0 == Py_None) { _arg0 = NULL; }
2041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) {
2042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
2043 return NULL;
2044 }
2045 }
2046 {
2047 wxPy_BEGIN_ALLOW_THREADS;
2048 delete_wxBusyCursor(_arg0);
2049
2050 wxPy_END_ALLOW_THREADS;
2051 } Py_INCREF(Py_None);
2052 _resultobj = Py_None;
2053 return _resultobj;
2054 }
2055
2056 static PyMethodDef misc2cMethods[] = {
2057 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
2058 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
2059 { "wxFontEnumerator_GetFacenames", (PyCFunction) _wrap_wxFontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS },
2060 { "wxFontEnumerator_GetEncodings", (PyCFunction) _wrap_wxFontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS },
2061 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_wxFontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS },
2062 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_wxFontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS },
2063 { "wxFontEnumerator__setSelf", (PyCFunction) _wrap_wxFontEnumerator__setSelf, METH_VARARGS | METH_KEYWORDS },
2064 { "delete_wxFontEnumerator", (PyCFunction) _wrap_delete_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
2065 { "new_wxFontEnumerator", (PyCFunction) _wrap_new_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS },
2066 { "wxCaret_OnKillFocus", (PyCFunction) _wrap_wxCaret_OnKillFocus, METH_VARARGS | METH_KEYWORDS },
2067 { "wxCaret_OnSetFocus", (PyCFunction) _wrap_wxCaret_OnSetFocus, METH_VARARGS | METH_KEYWORDS },
2068 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
2069 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
2070 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
2071 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
2072 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
2073 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
2074 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
2075 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
2076 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
2077 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
2078 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
2079 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
2080 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
2081 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
2082 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
2083 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
2084 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
2085 { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS },
2086 { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS },
2087 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
2088 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
2089 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
2090 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
2091 { "wxSystemSettings_GetSystemMetric", (PyCFunction) _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS | METH_KEYWORDS },
2092 { "wxSystemSettings_GetSystemFont", (PyCFunction) _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS | METH_KEYWORDS },
2093 { "wxSystemSettings_GetSystemColour", (PyCFunction) _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS | METH_KEYWORDS },
2094 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
2095 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
2096 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
2097 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
2098 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
2099 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
2100 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
2101 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
2102 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
2103 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
2104 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
2105 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
2106 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
2107 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
2108 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
2109 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
2110 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
2111 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
2112 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
2113 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
2114 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
2115 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
2116 { NULL, NULL }
2117 };
2118 #ifdef __cplusplus
2119 }
2120 #endif
2121 /*
2122 * This table is used by the pointer type-checker
2123 */
2124 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2125 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2126 { "_wxEvent","_class_wxEvent",0},
2127 { "_class_wxActivateEvent","_wxActivateEvent",0},
2128 { "_signed_long","_long",0},
2129 { "_wxMenuEvent","_class_wxMenuEvent",0},
2130 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2131 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2132 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2133 { "_wxPrintQuality","_wxCoord",0},
2134 { "_wxPrintQuality","_int",0},
2135 { "_wxPrintQuality","_signed_int",0},
2136 { "_wxPrintQuality","_unsigned_int",0},
2137 { "_wxPrintQuality","_wxWindowID",0},
2138 { "_wxPrintQuality","_uint",0},
2139 { "_wxPrintQuality","_EBool",0},
2140 { "_wxPrintQuality","_size_t",0},
2141 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2142 { "_class_wxRegionIterator","_wxRegionIterator",0},
2143 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2144 { "_class_wxMenuBar","_wxMenuBar",0},
2145 { "_class_wxEvtHandler","_wxEvtHandler",0},
2146 { "_wxPaintEvent","_class_wxPaintEvent",0},
2147 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2148 { "_wxCursor","_class_wxCursor",0},
2149 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2150 { "_wxMask","_class_wxMask",0},
2151 { "_wxToolTip","_class_wxToolTip",0},
2152 { "_wxPen","_class_wxPen",0},
2153 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2154 { "_byte","_unsigned_char",0},
2155 { "_wxDataObject","_class_wxDataObject",0},
2156 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
2157 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2158 { "_wxPyDropSource","_class_wxPyDropSource",0},
2159 { "_long","_wxDash",0},
2160 { "_long","_unsigned_long",0},
2161 { "_long","_signed_long",0},
2162 { "_wxImageList","_class_wxImageList",0},
2163 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2164 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2165 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2166 { "_class_wxClipboard","_wxClipboard",0},
2167 { "_wxDC","_class_wxDC",0},
2168 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2169 { "_wxSpinEvent","_class_wxSpinEvent",0},
2170 { "_size_t","_wxCoord",0},
2171 { "_size_t","_wxPrintQuality",0},
2172 { "_size_t","_unsigned_int",0},
2173 { "_size_t","_int",0},
2174 { "_size_t","_wxWindowID",0},
2175 { "_size_t","_uint",0},
2176 { "_class_wxRealPoint","_wxRealPoint",0},
2177 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2178 { "_wxPrinterDC","_class_wxPrinterDC",0},
2179 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2180 { "_class_wxMenuItem","_wxMenuItem",0},
2181 { "_class_wxPaintEvent","_wxPaintEvent",0},
2182 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2183 { "_wxPanel","_class_wxPanel",0},
2184 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2185 { "_wxPyEvent","_class_wxPyEvent",0},
2186 { "_class_wxMask","_wxMask",0},
2187 { "_wxTextDataObject","_class_wxTextDataObject",0},
2188 { "_class_wxKeyEvent","_wxKeyEvent",0},
2189 { "_class_wxToolTip","_wxToolTip",0},
2190 { "_wxColour","_class_wxColour",0},
2191 { "_class_wxDialog","_wxDialog",0},
2192 { "_wxBusyCursor","_class_wxBusyCursor",0},
2193 { "_class_wxFileDataObject","_wxFileDataObject",0},
2194 { "_wxIdleEvent","_class_wxIdleEvent",0},
2195 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2196 { "_class_wxDataObject","_wxDataObject",0},
2197 { "_wxCaret","_class_wxCaret",0},
2198 { "_wxBrush","_class_wxBrush",0},
2199 { "_wxDataFormat","_class_wxDataFormat",0},
2200 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2201 { "_wxShowEvent","_class_wxShowEvent",0},
2202 { "_uint","_wxCoord",0},
2203 { "_uint","_wxPrintQuality",0},
2204 { "_uint","_size_t",0},
2205 { "_uint","_unsigned_int",0},
2206 { "_uint","_int",0},
2207 { "_uint","_wxWindowID",0},
2208 { "_wxPyValidator","_class_wxPyValidator",0},
2209 { "_class_wxEvent","_wxEvent",0},
2210 { "_wxRect","_class_wxRect",0},
2211 { "_wxCommandEvent","_class_wxCommandEvent",0},
2212 { "_wxSizeEvent","_class_wxSizeEvent",0},
2213 { "_wxPoint","_class_wxPoint",0},
2214 { "_wxBitmap","_class_wxBitmap",0},
2215 { "_wxPyTimer","_class_wxPyTimer",0},
2216 { "_wxWindowDC","_class_wxWindowDC",0},
2217 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2218 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2219 { "_class_wxValidator","_wxValidator",0},
2220 { "_class_wxPyEvent","_wxPyEvent",0},
2221 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2222 { "_class_wxBusyCursor","_wxBusyCursor",0},
2223 { "_wxDropTarget","_class_wxDropTarget",0},
2224 { "_wxScrollEvent","_class_wxScrollEvent",0},
2225 { "_EBool","_wxCoord",0},
2226 { "_EBool","_wxPrintQuality",0},
2227 { "_EBool","_signed_int",0},
2228 { "_EBool","_int",0},
2229 { "_EBool","_wxWindowID",0},
2230 { "_class_wxRegion","_wxRegion",0},
2231 { "_class_wxDataFormat","_wxDataFormat",0},
2232 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2233 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2234 { "_wxFont","_class_wxFont",0},
2235 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2236 { "_wxCloseEvent","_class_wxCloseEvent",0},
2237 { "_unsigned_long","_wxDash",0},
2238 { "_unsigned_long","_long",0},
2239 { "_class_wxRect","_wxRect",0},
2240 { "_class_wxDC","_wxDC",0},
2241 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2242 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2243 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2244 { "_class_wxPyTimer","_wxPyTimer",0},
2245 { "_wxFocusEvent","_class_wxFocusEvent",0},
2246 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2247 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2248 { "_class_wxPanel","_wxPanel",0},
2249 { "_signed_int","_wxCoord",0},
2250 { "_signed_int","_wxPrintQuality",0},
2251 { "_signed_int","_EBool",0},
2252 { "_signed_int","_wxWindowID",0},
2253 { "_signed_int","_int",0},
2254 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2255 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2256 { "_class_wxTextDataObject","_wxTextDataObject",0},
2257 { "_wxMenu","_class_wxMenu",0},
2258 { "_class_wxMoveEvent","_wxMoveEvent",0},
2259 { "_wxScreenDC","_class_wxScreenDC",0},
2260 { "_WXTYPE","_short",0},
2261 { "_WXTYPE","_signed_short",0},
2262 { "_WXTYPE","_unsigned_short",0},
2263 { "_class_wxDropTarget","_wxDropTarget",0},
2264 { "_class_wxCaret","_wxCaret",0},
2265 { "_class_wxBrush","_wxBrush",0},
2266 { "_unsigned_short","_WXTYPE",0},
2267 { "_unsigned_short","_short",0},
2268 { "_class_wxWindow","_wxWindow",0},
2269 { "_class_wxFont","_wxFont",0},
2270 { "_wxClipboard","_class_wxClipboard",0},
2271 { "_class_wxPyValidator","_wxPyValidator",0},
2272 { "_class_wxCloseEvent","_wxCloseEvent",0},
2273 { "_wxBusyInfo","_class_wxBusyInfo",0},
2274 { "_class_wxMenuEvent","_wxMenuEvent",0},
2275 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2276 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2277 { "_wxClientDC","_class_wxClientDC",0},
2278 { "_wxMouseEvent","_class_wxMouseEvent",0},
2279 { "_class_wxPoint","_wxPoint",0},
2280 { "_wxRealPoint","_class_wxRealPoint",0},
2281 { "_signed_short","_WXTYPE",0},
2282 { "_signed_short","_short",0},
2283 { "_wxMemoryDC","_class_wxMemoryDC",0},
2284 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2285 { "_wxPaintDC","_class_wxPaintDC",0},
2286 { "_class_wxWindowDC","_wxWindowDC",0},
2287 { "_class_wxFocusEvent","_wxFocusEvent",0},
2288 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2289 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2290 { "_class_wxCursor","_wxCursor",0},
2291 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2292 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2293 { "_unsigned_char","_byte",0},
2294 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2295 { "_class_wxMenu","_wxMenu",0},
2296 { "_unsigned_int","_wxCoord",0},
2297 { "_unsigned_int","_wxPrintQuality",0},
2298 { "_unsigned_int","_size_t",0},
2299 { "_unsigned_int","_uint",0},
2300 { "_unsigned_int","_wxWindowID",0},
2301 { "_unsigned_int","_int",0},
2302 { "_wxIcon","_class_wxIcon",0},
2303 { "_wxDialog","_class_wxDialog",0},
2304 { "_class_wxPen","_wxPen",0},
2305 { "_short","_WXTYPE",0},
2306 { "_short","_unsigned_short",0},
2307 { "_short","_signed_short",0},
2308 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
2309 { "_class_wxPyDropSource","_wxPyDropSource",0},
2310 { "_class_wxScrollEvent","_wxScrollEvent",0},
2311 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2312 { "_class_wxImageList","_wxImageList",0},
2313 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2314 { "_wxWindowID","_wxCoord",0},
2315 { "_wxWindowID","_wxPrintQuality",0},
2316 { "_wxWindowID","_size_t",0},
2317 { "_wxWindowID","_EBool",0},
2318 { "_wxWindowID","_uint",0},
2319 { "_wxWindowID","_int",0},
2320 { "_wxWindowID","_signed_int",0},
2321 { "_wxWindowID","_unsigned_int",0},
2322 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2323 { "_int","_wxCoord",0},
2324 { "_int","_wxPrintQuality",0},
2325 { "_int","_size_t",0},
2326 { "_int","_EBool",0},
2327 { "_int","_uint",0},
2328 { "_int","_wxWindowID",0},
2329 { "_int","_unsigned_int",0},
2330 { "_int","_signed_int",0},
2331 { "_class_wxMouseEvent","_wxMouseEvent",0},
2332 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2333 { "_class_wxSpinEvent","_wxSpinEvent",0},
2334 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2335 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2336 { "_wxSize","_class_wxSize",0},
2337 { "_wxRegionIterator","_class_wxRegionIterator",0},
2338 { "_class_wxPrinterDC","_wxPrinterDC",0},
2339 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2340 { "_class_wxPaintDC","_wxPaintDC",0},
2341 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2342 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2343 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2344 { "_wxValidator","_class_wxValidator",0},
2345 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2346 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2347 { "_class_wxIcon","_wxIcon",0},
2348 { "_class_wxColour","_wxColour",0},
2349 { "_class_wxScreenDC","_wxScreenDC",0},
2350 { "_wxPalette","_class_wxPalette",0},
2351 { "_class_wxIdleEvent","_wxIdleEvent",0},
2352 { "_wxCoord","_int",0},
2353 { "_wxCoord","_signed_int",0},
2354 { "_wxCoord","_unsigned_int",0},
2355 { "_wxCoord","_wxWindowID",0},
2356 { "_wxCoord","_uint",0},
2357 { "_wxCoord","_EBool",0},
2358 { "_wxCoord","_size_t",0},
2359 { "_wxCoord","_wxPrintQuality",0},
2360 { "_wxEraseEvent","_class_wxEraseEvent",0},
2361 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2362 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2363 { "_wxRegion","_class_wxRegion",0},
2364 { "_class_wxShowEvent","_wxShowEvent",0},
2365 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2366 { "_wxActivateEvent","_class_wxActivateEvent",0},
2367 { "_class_wxBusyInfo","_wxBusyInfo",0},
2368 { "_class_wxCommandEvent","_wxCommandEvent",0},
2369 { "_class_wxClientDC","_wxClientDC",0},
2370 { "_class_wxSizeEvent","_wxSizeEvent",0},
2371 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2372 { "_class_wxSize","_wxSize",0},
2373 { "_class_wxBitmap","_wxBitmap",0},
2374 { "_class_wxMemoryDC","_wxMemoryDC",0},
2375 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2376 { "_wxMenuBar","_class_wxMenuBar",0},
2377 { "_wxEvtHandler","_class_wxEvtHandler",0},
2378 { "_wxMenuItem","_class_wxMenuItem",0},
2379 { "_wxDash","_unsigned_long",0},
2380 { "_wxDash","_long",0},
2381 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2382 { "_wxKeyEvent","_class_wxKeyEvent",0},
2383 { "_wxMoveEvent","_class_wxMoveEvent",0},
2384 { "_class_wxPalette","_wxPalette",0},
2385 { "_wxFileDataObject","_class_wxFileDataObject",0},
2386 { "_class_wxEraseEvent","_wxEraseEvent",0},
2387 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
2388 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
2389 { "_wxWindow","_class_wxWindow",0},
2390 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2391 {0,0,0}};
2392
2393 static PyObject *SWIG_globals;
2394 #ifdef __cplusplus
2395 extern "C"
2396 #endif
2397 SWIGEXPORT(void) initmisc2c() {
2398 PyObject *m, *d;
2399 SWIG_globals = SWIG_newvarlink();
2400 m = Py_InitModule("misc2c", misc2cMethods);
2401 d = PyModule_GetDict(m);
2402 PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH));
2403 PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH));
2404 PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH));
2405 PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH));
2406 PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH));
2407 PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH));
2408 PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH));
2409 PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN));
2410 PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN));
2411 PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN));
2412 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
2413 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
2414 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
2415 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
2416 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
2417 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
2418 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
2419 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
2420 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
2421 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
2422 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
2423 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
2424 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
2425 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
2426 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
2427 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
2428 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
2429 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
2430 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
2431 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
2432 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
2433 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
2434 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
2435 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
2436 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
2437 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
2438 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
2439 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
2440 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
2441 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
2442 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
2443 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
2444 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
2445 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
2446 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
2447 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
2448 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
2449 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
2450 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
2451 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
2452 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
2453 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
2454 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
2455 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
2456 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
2457 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
2458 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
2459 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
2460 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
2461 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
2462 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
2463 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
2464 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
2465 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
2466 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
2467 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
2468 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
2469 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
2470 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
2471 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
2472 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
2473 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
2474 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
2475 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
2476 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
2477 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
2478 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
2479 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
2480 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
2481 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
2482 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
2483 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
2484 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
2485 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
2486 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
2487 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
2488 {
2489 int i;
2490 for (i = 0; _swig_mapping[i].n1; i++)
2491 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2492 }
2493 }