]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/misc2.cpp
Added wxPython support of new HTML Printing classes.
[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 #ifdef NOT_READY_YET
61 #include <wx/fontenum.h>
62 #endif
63
64 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67 if (!target) {
68 target = o;
69 } else if (target == Py_None) {
70 Py_DECREF(Py_None);
71 target = o;
72 } else {
73 if (!PyList_Check(target)) {
74 o2 = target;
75 target = PyList_New(0);
76 PyList_Append(target, o2);
77 Py_XDECREF(o2);
78 }
79 PyList_Append(target,o);
80 Py_XDECREF(o);
81 }
82 return target;
83 }
84
85 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
86 PyObject* o2;
87 PyObject* o3;
88
89 if (!target) {
90 target = o;
91 } else if (target == Py_None) {
92 Py_DECREF(Py_None);
93 target = o;
94 } else {
95 if (!PyTuple_Check(target)) {
96 o2 = target;
97 target = PyTuple_New(1);
98 PyTuple_SetItem(target, 0, o2);
99 }
100 o3 = PyTuple_New(1);
101 PyTuple_SetItem(o3, 0, o);
102
103 o2 = target;
104 target = PySequence_Concat(o2, o3);
105 Py_DECREF(o2);
106 Py_DECREF(o3);
107 }
108 return target;
109 }
110
111 static char* wxStringErrorMsg = "string type is required for parameter";
112
113
114 wxColour wxSystemSettings_GetSystemColour(int index) {
115 return wxSystemSettings::GetSystemColour(index);
116 }
117
118 wxFont wxSystemSettings_GetSystemFont(int index) {
119 return wxSystemSettings::GetSystemFont(index);
120 }
121
122 int wxSystemSettings_GetSystemMetric(int index) {
123 return wxSystemSettings::GetSystemMetric(index);
124 }
125
126 void wxToolTip_Enable(bool flag) {
127 wxToolTip::Enable(flag);
128 }
129
130 void wxToolTip_SetDelay(long milliseconds) {
131 wxToolTip::SetDelay(milliseconds);
132 }
133
134 int wxCaret_GetBlinkTime() {
135 return wxCaret::GetBlinkTime();
136 }
137
138 void wxCaret_SetBlinkTime(int milliseconds) {
139 wxCaret::SetBlinkTime(milliseconds);
140 }
141 #ifdef __cplusplus
142 extern "C" {
143 #endif
144 static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
145 PyObject * _resultobj;
146 wxString * _result;
147 char * _arg0;
148 char * _arg1 = (char *) NULL;
149 char * _arg2 = (char *) NULL;
150 char * _arg3 = (char *) NULL;
151 char * _arg4 = (char *) "*.*";
152 int _arg5 = (int ) 0;
153 wxWindow * _arg6 = (wxWindow *) NULL;
154 int _arg7 = (int ) -1;
155 int _arg8 = (int ) -1;
156 PyObject * _argo6 = 0;
157 char *_kwnames[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL };
158
159 self = self;
160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|ssssiOii:wxFileSelector",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7,&_arg8))
161 return NULL;
162 if (_argo6) {
163 if (_argo6 == Py_None) { _arg6 = NULL; }
164 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
165 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
166 return NULL;
167 }
168 }
169 {
170 wxPy_BEGIN_ALLOW_THREADS;
171 _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8));
172
173 wxPy_END_ALLOW_THREADS;
174 }{
175 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
176 }
177 {
178 delete _result;
179 }
180 return _resultobj;
181 }
182
183 static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
184 PyObject * _resultobj;
185 wxString * _result;
186 wxString * _arg0;
187 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
188 wxString * _arg2 = (wxString *) &wxPyEmptyStr;
189 wxWindow * _arg3 = (wxWindow *) NULL;
190 int _arg4 = (int ) -1;
191 int _arg5 = (int ) -1;
192 bool _arg6 = (bool ) TRUE;
193 PyObject * _obj0 = 0;
194 PyObject * _obj1 = 0;
195 PyObject * _obj2 = 0;
196 PyObject * _argo3 = 0;
197 int tempbool6 = (int) TRUE;
198 char *_kwnames[] = { "message","caption","default_value","parent","x","y","centre", NULL };
199
200 self = self;
201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOiii:wxGetTextFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&tempbool6))
202 return NULL;
203 {
204 if (!PyString_Check(_obj0)) {
205 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
206 return NULL;
207 }
208 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
209 }
210 if (_obj1)
211 {
212 if (!PyString_Check(_obj1)) {
213 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
214 return NULL;
215 }
216 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
217 }
218 if (_obj2)
219 {
220 if (!PyString_Check(_obj2)) {
221 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
222 return NULL;
223 }
224 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
225 }
226 if (_argo3) {
227 if (_argo3 == Py_None) { _arg3 = NULL; }
228 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
229 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
230 return NULL;
231 }
232 }
233 _arg6 = (bool ) tempbool6;
234 {
235 wxPy_BEGIN_ALLOW_THREADS;
236 _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6));
237
238 wxPy_END_ALLOW_THREADS;
239 }{
240 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
241 }
242 {
243 if (_obj0)
244 delete _arg0;
245 }
246 {
247 if (_obj1)
248 delete _arg1;
249 }
250 {
251 if (_obj2)
252 delete _arg2;
253 }
254 {
255 delete _result;
256 }
257 return _resultobj;
258 }
259
260 static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
261 PyObject * _resultobj;
262 wxString * _result;
263 wxString * _arg0;
264 wxString * _arg1;
265 int _arg2;
266 wxString * _arg3;
267 wxWindow * _arg4 = (wxWindow *) NULL;
268 int _arg5 = (int ) -1;
269 int _arg6 = (int ) -1;
270 bool _arg7 = (bool ) TRUE;
271 int _arg8 = (int ) 150;
272 int _arg9 = (int ) 200;
273 PyObject * _obj0 = 0;
274 PyObject * _obj1 = 0;
275 PyObject * _obj3 = 0;
276 PyObject * _argo4 = 0;
277 int tempbool7 = (int) TRUE;
278 char *_kwnames[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL };
279
280 self = self;
281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoice",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
282 return NULL;
283 {
284 if (!PyString_Check(_obj0)) {
285 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
286 return NULL;
287 }
288 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
289 }
290 {
291 if (!PyString_Check(_obj1)) {
292 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
293 return NULL;
294 }
295 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
296 }
297 if (_obj3)
298 {
299 _arg3 = wxString_LIST_helper(_obj3);
300 if (_arg3 == NULL) {
301 return NULL;
302 }
303 }
304 if (_argo4) {
305 if (_argo4 == Py_None) { _arg4 = NULL; }
306 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
307 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
308 return NULL;
309 }
310 }
311 _arg7 = (bool ) tempbool7;
312 {
313 if (_obj3) {
314 _arg2 = PyList_Size(_obj3);
315 }
316 else {
317 _arg2 = 0;
318 }
319 }
320 {
321 wxPy_BEGIN_ALLOW_THREADS;
322 _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9));
323
324 wxPy_END_ALLOW_THREADS;
325 }{
326 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
327 }
328 {
329 if (_obj0)
330 delete _arg0;
331 }
332 {
333 if (_obj1)
334 delete _arg1;
335 }
336 {
337 delete [] _arg3;
338 }
339 {
340 delete _result;
341 }
342 return _resultobj;
343 }
344
345 static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
346 PyObject * _resultobj;
347 int _result;
348 wxString * _arg0;
349 wxString * _arg1;
350 int _arg2;
351 wxString * _arg3;
352 wxWindow * _arg4 = (wxWindow *) NULL;
353 int _arg5 = (int ) -1;
354 int _arg6 = (int ) -1;
355 bool _arg7 = (bool ) TRUE;
356 int _arg8 = (int ) 150;
357 int _arg9 = (int ) 200;
358 PyObject * _obj0 = 0;
359 PyObject * _obj1 = 0;
360 PyObject * _obj3 = 0;
361 PyObject * _argo4 = 0;
362 int tempbool7 = (int) TRUE;
363 char *_kwnames[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL };
364
365 self = self;
366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9))
367 return NULL;
368 {
369 if (!PyString_Check(_obj0)) {
370 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
371 return NULL;
372 }
373 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
374 }
375 {
376 if (!PyString_Check(_obj1)) {
377 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
378 return NULL;
379 }
380 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
381 }
382 if (_obj3)
383 {
384 _arg3 = wxString_LIST_helper(_obj3);
385 if (_arg3 == NULL) {
386 return NULL;
387 }
388 }
389 if (_argo4) {
390 if (_argo4 == Py_None) { _arg4 = NULL; }
391 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) {
392 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
393 return NULL;
394 }
395 }
396 _arg7 = (bool ) tempbool7;
397 {
398 if (_obj3) {
399 _arg2 = PyList_Size(_obj3);
400 }
401 else {
402 _arg2 = 0;
403 }
404 }
405 {
406 wxPy_BEGIN_ALLOW_THREADS;
407 _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
408
409 wxPy_END_ALLOW_THREADS;
410 } _resultobj = Py_BuildValue("i",_result);
411 {
412 if (_obj0)
413 delete _arg0;
414 }
415 {
416 if (_obj1)
417 delete _arg1;
418 }
419 {
420 delete [] _arg3;
421 }
422 return _resultobj;
423 }
424
425 static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
426 PyObject * _resultobj;
427 int _result;
428 wxString * _arg0;
429 wxString * _arg1 = (wxString *) &wxPyEmptyStr;
430 int _arg2 = (int ) wxOK|wxCENTRE;
431 wxWindow * _arg3 = (wxWindow *) NULL;
432 int _arg4 = (int ) -1;
433 int _arg5 = (int ) -1;
434 PyObject * _obj0 = 0;
435 PyObject * _obj1 = 0;
436 PyObject * _argo3 = 0;
437 char *_kwnames[] = { "message","caption","style","parent","x","y", NULL };
438
439 self = self;
440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OiOii:wxMessageBox",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4,&_arg5))
441 return NULL;
442 {
443 if (!PyString_Check(_obj0)) {
444 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
445 return NULL;
446 }
447 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
448 }
449 if (_obj1)
450 {
451 if (!PyString_Check(_obj1)) {
452 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
453 return NULL;
454 }
455 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
456 }
457 if (_argo3) {
458 if (_argo3 == Py_None) { _arg3 = NULL; }
459 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
460 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
461 return NULL;
462 }
463 }
464 {
465 wxPy_BEGIN_ALLOW_THREADS;
466 _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
467
468 wxPy_END_ALLOW_THREADS;
469 } _resultobj = Py_BuildValue("i",_result);
470 {
471 if (_obj0)
472 delete _arg0;
473 }
474 {
475 if (_obj1)
476 delete _arg1;
477 }
478 return _resultobj;
479 }
480
481 static PyObject *_wrap_wxGetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
482 PyObject * _resultobj;
483 long _result;
484 wxString * _arg0;
485 wxString * _arg1;
486 wxString * _arg2;
487 long _arg3;
488 long _arg4 = (long ) 0;
489 long _arg5 = (long ) 100;
490 wxWindow * _arg6 = (wxWindow *) NULL;
491 wxPoint * _arg7 = (wxPoint *) &wxPyDefaultPosition;
492 PyObject * _obj0 = 0;
493 PyObject * _obj1 = 0;
494 PyObject * _obj2 = 0;
495 PyObject * _argo6 = 0;
496 wxPoint temp;
497 PyObject * _obj7 = 0;
498 char *_kwnames[] = { "message","prompt","caption","value","min","max","parent","pos", NULL };
499
500 self = self;
501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOl|llOO:wxGetNumberFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_arg3,&_arg4,&_arg5,&_argo6,&_obj7))
502 return NULL;
503 {
504 if (!PyString_Check(_obj0)) {
505 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
506 return NULL;
507 }
508 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
509 }
510 {
511 if (!PyString_Check(_obj1)) {
512 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
513 return NULL;
514 }
515 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
516 }
517 {
518 if (!PyString_Check(_obj2)) {
519 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
520 return NULL;
521 }
522 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
523 }
524 if (_argo6) {
525 if (_argo6 == Py_None) { _arg6 = NULL; }
526 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
528 return NULL;
529 }
530 }
531 if (_obj7)
532 {
533 _arg7 = &temp;
534 if (! wxPoint_helper(_obj7, &_arg7))
535 return NULL;
536 }
537 {
538 wxPy_BEGIN_ALLOW_THREADS;
539 _result = (long )wxGetNumberFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6,*_arg7);
540
541 wxPy_END_ALLOW_THREADS;
542 } _resultobj = Py_BuildValue("l",_result);
543 {
544 if (_obj0)
545 delete _arg0;
546 }
547 {
548 if (_obj1)
549 delete _arg1;
550 }
551 {
552 if (_obj2)
553 delete _arg2;
554 }
555 return _resultobj;
556 }
557
558 static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
559 PyObject * _resultobj;
560 bool _result;
561 char *_kwnames[] = { NULL };
562
563 self = self;
564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxColourDisplay",_kwnames))
565 return NULL;
566 {
567 wxPy_BEGIN_ALLOW_THREADS;
568 _result = (bool )wxColourDisplay();
569
570 wxPy_END_ALLOW_THREADS;
571 } _resultobj = Py_BuildValue("i",_result);
572 return _resultobj;
573 }
574
575 static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
576 PyObject * _resultobj;
577 int _result;
578 char *_kwnames[] = { NULL };
579
580 self = self;
581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplayDepth",_kwnames))
582 return NULL;
583 {
584 wxPy_BEGIN_ALLOW_THREADS;
585 _result = (int )wxDisplayDepth();
586
587 wxPy_END_ALLOW_THREADS;
588 } _resultobj = Py_BuildValue("i",_result);
589 return _resultobj;
590 }
591
592 static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
593 PyObject * _resultobj;
594 wxCursor * _arg0;
595 PyObject * _argo0 = 0;
596 char *_kwnames[] = { "cursor", NULL };
597
598 self = self;
599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSetCursor",_kwnames,&_argo0))
600 return NULL;
601 if (_argo0) {
602 if (_argo0 == Py_None) { _arg0 = NULL; }
603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
605 return NULL;
606 }
607 }
608 {
609 wxPy_BEGIN_ALLOW_THREADS;
610 wxSetCursor(*_arg0);
611
612 wxPy_END_ALLOW_THREADS;
613 } Py_INCREF(Py_None);
614 _resultobj = Py_None;
615 return _resultobj;
616 }
617
618 static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
619 PyObject * _resultobj;
620 wxWindow * _result;
621 wxString * _arg0;
622 wxWindow * _arg1 = (wxWindow *) NULL;
623 PyObject * _obj0 = 0;
624 PyObject * _argo1 = 0;
625 char *_kwnames[] = { "label","parent", NULL };
626 char _ptemp[128];
627
628 self = self;
629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
630 return NULL;
631 {
632 if (!PyString_Check(_obj0)) {
633 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
634 return NULL;
635 }
636 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
637 }
638 if (_argo1) {
639 if (_argo1 == Py_None) { _arg1 = NULL; }
640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
642 return NULL;
643 }
644 }
645 {
646 wxPy_BEGIN_ALLOW_THREADS;
647 _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
648
649 wxPy_END_ALLOW_THREADS;
650 } if (_result) {
651 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
652 _resultobj = Py_BuildValue("s",_ptemp);
653 } else {
654 Py_INCREF(Py_None);
655 _resultobj = Py_None;
656 }
657 {
658 if (_obj0)
659 delete _arg0;
660 }
661 return _resultobj;
662 }
663
664 static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
665 PyObject * _resultobj;
666 wxWindow * _result;
667 wxString * _arg0;
668 wxWindow * _arg1 = (wxWindow *) NULL;
669 PyObject * _obj0 = 0;
670 PyObject * _argo1 = 0;
671 char *_kwnames[] = { "name","parent", NULL };
672 char _ptemp[128];
673
674 self = self;
675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
676 return NULL;
677 {
678 if (!PyString_Check(_obj0)) {
679 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
680 return NULL;
681 }
682 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
683 }
684 if (_argo1) {
685 if (_argo1 == Py_None) { _arg1 = NULL; }
686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
688 return NULL;
689 }
690 }
691 {
692 wxPy_BEGIN_ALLOW_THREADS;
693 _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
694
695 wxPy_END_ALLOW_THREADS;
696 } if (_result) {
697 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
698 _resultobj = Py_BuildValue("s",_ptemp);
699 } else {
700 Py_INCREF(Py_None);
701 _resultobj = Py_None;
702 }
703 {
704 if (_obj0)
705 delete _arg0;
706 }
707 return _resultobj;
708 }
709
710 static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
711 PyObject * _resultobj;
712 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
713 PyObject * _argo0 = 0;
714 char *_kwnames[] = { "cursor", NULL };
715
716 self = self;
717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxBeginBusyCursor",_kwnames,&_argo0))
718 return NULL;
719 if (_argo0) {
720 if (_argo0 == Py_None) { _arg0 = NULL; }
721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
723 return NULL;
724 }
725 }
726 {
727 wxPy_BEGIN_ALLOW_THREADS;
728 wxBeginBusyCursor(_arg0);
729
730 wxPy_END_ALLOW_THREADS;
731 } Py_INCREF(Py_None);
732 _resultobj = Py_None;
733 return _resultobj;
734 }
735
736 static PyObject *_wrap_wxGetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
737 PyObject * _resultobj;
738 wxWindow * _result;
739 char *_kwnames[] = { NULL };
740 char _ptemp[128];
741
742 self = self;
743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetActiveWindow",_kwnames))
744 return NULL;
745 {
746 wxPy_BEGIN_ALLOW_THREADS;
747 _result = (wxWindow *)wxGetActiveWindow();
748
749 wxPy_END_ALLOW_THREADS;
750 } if (_result) {
751 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
752 _resultobj = Py_BuildValue("s",_ptemp);
753 } else {
754 Py_INCREF(Py_None);
755 _resultobj = Py_None;
756 }
757 return _resultobj;
758 }
759
760 static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
761 PyObject * _resultobj;
762 bool _result;
763 char * _arg0;
764 int _arg1;
765 char *_kwnames[] = { "name","value", NULL };
766
767 self = self;
768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"si:wxResourceAddIdentifier",_kwnames,&_arg0,&_arg1))
769 return NULL;
770 {
771 wxPy_BEGIN_ALLOW_THREADS;
772 _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
773
774 wxPy_END_ALLOW_THREADS;
775 } _resultobj = Py_BuildValue("i",_result);
776 return _resultobj;
777 }
778
779 static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args, PyObject *kwargs) {
780 PyObject * _resultobj;
781 char *_kwnames[] = { NULL };
782
783 self = self;
784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxResourceClear",_kwnames))
785 return NULL;
786 {
787 wxPy_BEGIN_ALLOW_THREADS;
788 wxResourceClear();
789
790 wxPy_END_ALLOW_THREADS;
791 } Py_INCREF(Py_None);
792 _resultobj = Py_None;
793 return _resultobj;
794 }
795
796 static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
797 PyObject * _resultobj;
798 wxBitmap * _result;
799 char * _arg0;
800 char *_kwnames[] = { "resource", NULL };
801 char _ptemp[128];
802
803 self = self;
804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateBitmap",_kwnames,&_arg0))
805 return NULL;
806 {
807 wxPy_BEGIN_ALLOW_THREADS;
808 _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
809
810 wxPy_END_ALLOW_THREADS;
811 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
812 _resultobj = Py_BuildValue("s",_ptemp);
813 return _resultobj;
814 }
815
816 static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
817 PyObject * _resultobj;
818 wxIcon * _result;
819 char * _arg0;
820 char *_kwnames[] = { "resource", NULL };
821 char _ptemp[128];
822
823 self = self;
824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateIcon",_kwnames,&_arg0))
825 return NULL;
826 {
827 wxPy_BEGIN_ALLOW_THREADS;
828 _result = new wxIcon (wxResourceCreateIcon(_arg0));
829
830 wxPy_END_ALLOW_THREADS;
831 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
832 _resultobj = Py_BuildValue("s",_ptemp);
833 return _resultobj;
834 }
835
836 static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 wxMenuBar * _result;
839 char * _arg0;
840 char *_kwnames[] = { "resource", NULL };
841 char _ptemp[128];
842
843 self = self;
844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateMenuBar",_kwnames,&_arg0))
845 return NULL;
846 {
847 wxPy_BEGIN_ALLOW_THREADS;
848 _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
849
850 wxPy_END_ALLOW_THREADS;
851 } if (_result) {
852 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
853 _resultobj = Py_BuildValue("s",_ptemp);
854 } else {
855 Py_INCREF(Py_None);
856 _resultobj = Py_None;
857 }
858 return _resultobj;
859 }
860
861 static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject * _resultobj;
863 int _result;
864 char * _arg0;
865 char *_kwnames[] = { "name", NULL };
866
867 self = self;
868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceGetIdentifier",_kwnames,&_arg0))
869 return NULL;
870 {
871 wxPy_BEGIN_ALLOW_THREADS;
872 _result = (int )wxResourceGetIdentifier(_arg0);
873
874 wxPy_END_ALLOW_THREADS;
875 } _resultobj = Py_BuildValue("i",_result);
876 return _resultobj;
877 }
878
879 static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args, PyObject *kwargs) {
880 PyObject * _resultobj;
881 bool _result;
882 char * _arg0;
883 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
884 PyObject * _argo1 = 0;
885 char *_kwnames[] = { "resource","table", NULL };
886
887 self = self;
888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseData",_kwnames,&_arg0,&_argo1))
889 return NULL;
890 if (_argo1) {
891 if (_argo1 == Py_None) { _arg1 = NULL; }
892 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
893 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
894 return NULL;
895 }
896 }
897 {
898 wxPy_BEGIN_ALLOW_THREADS;
899 _result = (bool )wxResourceParseData(_arg0,_arg1);
900
901 wxPy_END_ALLOW_THREADS;
902 } _resultobj = Py_BuildValue("i",_result);
903 return _resultobj;
904 }
905
906 static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args, PyObject *kwargs) {
907 PyObject * _resultobj;
908 bool _result;
909 char * _arg0;
910 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
911 PyObject * _argo1 = 0;
912 char *_kwnames[] = { "filename","table", NULL };
913
914 self = self;
915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseFile",_kwnames,&_arg0,&_argo1))
916 return NULL;
917 if (_argo1) {
918 if (_argo1 == Py_None) { _arg1 = NULL; }
919 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
920 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
921 return NULL;
922 }
923 }
924 {
925 wxPy_BEGIN_ALLOW_THREADS;
926 _result = (bool )wxResourceParseFile(_arg0,_arg1);
927
928 wxPy_END_ALLOW_THREADS;
929 } _resultobj = Py_BuildValue("i",_result);
930 return _resultobj;
931 }
932
933 static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject * _resultobj;
935 bool _result;
936 char * _arg0;
937 wxResourceTable * _arg1 = (wxResourceTable *) NULL;
938 PyObject * _argo1 = 0;
939 char *_kwnames[] = { "resource","table", NULL };
940
941 self = self;
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseString",_kwnames,&_arg0,&_argo1))
943 return NULL;
944 if (_argo1) {
945 if (_argo1 == Py_None) { _arg1 = NULL; }
946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
948 return NULL;
949 }
950 }
951 {
952 wxPy_BEGIN_ALLOW_THREADS;
953 _result = (bool )wxResourceParseString(_arg0,_arg1);
954
955 wxPy_END_ALLOW_THREADS;
956 } _resultobj = Py_BuildValue("i",_result);
957 return _resultobj;
958 }
959
960 static PyObject *_wrap_wxSystemSettings_GetSystemColour(PyObject *self, PyObject *args, PyObject *kwargs) {
961 PyObject * _resultobj;
962 wxColour * _result;
963 int _arg0;
964 char *_kwnames[] = { "index", NULL };
965 char _ptemp[128];
966
967 self = self;
968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemColour",_kwnames,&_arg0))
969 return NULL;
970 {
971 wxPy_BEGIN_ALLOW_THREADS;
972 _result = new wxColour (wxSystemSettings_GetSystemColour(_arg0));
973
974 wxPy_END_ALLOW_THREADS;
975 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
976 _resultobj = Py_BuildValue("s",_ptemp);
977 return _resultobj;
978 }
979
980 static PyObject *_wrap_wxSystemSettings_GetSystemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
981 PyObject * _resultobj;
982 wxFont * _result;
983 int _arg0;
984 char *_kwnames[] = { "index", NULL };
985 char _ptemp[128];
986
987 self = self;
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemFont",_kwnames,&_arg0))
989 return NULL;
990 {
991 wxPy_BEGIN_ALLOW_THREADS;
992 _result = new wxFont (wxSystemSettings_GetSystemFont(_arg0));
993
994 wxPy_END_ALLOW_THREADS;
995 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
996 _resultobj = Py_BuildValue("s",_ptemp);
997 return _resultobj;
998 }
999
1000 static PyObject *_wrap_wxSystemSettings_GetSystemMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject * _resultobj;
1002 int _result;
1003 int _arg0;
1004 char *_kwnames[] = { "index", NULL };
1005
1006 self = self;
1007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemMetric",_kwnames,&_arg0))
1008 return NULL;
1009 {
1010 wxPy_BEGIN_ALLOW_THREADS;
1011 _result = (int )wxSystemSettings_GetSystemMetric(_arg0);
1012
1013 wxPy_END_ALLOW_THREADS;
1014 } _resultobj = Py_BuildValue("i",_result);
1015 return _resultobj;
1016 }
1017
1018 static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
1019 PyObject * _resultobj;
1020 bool _arg0;
1021 int tempbool0;
1022 char *_kwnames[] = { "flag", NULL };
1023
1024 self = self;
1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
1026 return NULL;
1027 _arg0 = (bool ) tempbool0;
1028 {
1029 wxPy_BEGIN_ALLOW_THREADS;
1030 wxToolTip_Enable(_arg0);
1031
1032 wxPy_END_ALLOW_THREADS;
1033 } Py_INCREF(Py_None);
1034 _resultobj = Py_None;
1035 return _resultobj;
1036 }
1037
1038 static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
1039 PyObject * _resultobj;
1040 long _arg0;
1041 char *_kwnames[] = { "milliseconds", NULL };
1042
1043 self = self;
1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
1045 return NULL;
1046 {
1047 wxPy_BEGIN_ALLOW_THREADS;
1048 wxToolTip_SetDelay(_arg0);
1049
1050 wxPy_END_ALLOW_THREADS;
1051 } Py_INCREF(Py_None);
1052 _resultobj = Py_None;
1053 return _resultobj;
1054 }
1055
1056 static PyObject *_wrap_wxCaret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1057 PyObject * _resultobj;
1058 int _result;
1059 char *_kwnames[] = { NULL };
1060
1061 self = self;
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxCaret_GetBlinkTime",_kwnames))
1063 return NULL;
1064 {
1065 wxPy_BEGIN_ALLOW_THREADS;
1066 _result = (int )wxCaret_GetBlinkTime();
1067
1068 wxPy_END_ALLOW_THREADS;
1069 } _resultobj = Py_BuildValue("i",_result);
1070 return _resultobj;
1071 }
1072
1073 static PyObject *_wrap_wxCaret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject * _resultobj;
1075 int _arg0;
1076 char *_kwnames[] = { "milliseconds", NULL };
1077
1078 self = self;
1079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxCaret_SetBlinkTime",_kwnames,&_arg0))
1080 return NULL;
1081 {
1082 wxPy_BEGIN_ALLOW_THREADS;
1083 wxCaret_SetBlinkTime(_arg0);
1084
1085 wxPy_END_ALLOW_THREADS;
1086 } Py_INCREF(Py_None);
1087 _resultobj = Py_None;
1088 return _resultobj;
1089 }
1090
1091 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
1092 static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1093 PyObject * _resultobj;
1094 wxToolTip * _result;
1095 wxString * _arg0;
1096 PyObject * _obj0 = 0;
1097 char *_kwnames[] = { "tip", NULL };
1098 char _ptemp[128];
1099
1100 self = self;
1101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
1102 return NULL;
1103 {
1104 if (!PyString_Check(_obj0)) {
1105 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1106 return NULL;
1107 }
1108 _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
1109 }
1110 {
1111 wxPy_BEGIN_ALLOW_THREADS;
1112 _result = (wxToolTip *)new_wxToolTip(*_arg0);
1113
1114 wxPy_END_ALLOW_THREADS;
1115 } if (_result) {
1116 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
1117 _resultobj = Py_BuildValue("s",_ptemp);
1118 } else {
1119 Py_INCREF(Py_None);
1120 _resultobj = Py_None;
1121 }
1122 {
1123 if (_obj0)
1124 delete _arg0;
1125 }
1126 return _resultobj;
1127 }
1128
1129 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
1130 static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1131 PyObject * _resultobj;
1132 wxToolTip * _arg0;
1133 wxString * _arg1;
1134 PyObject * _argo0 = 0;
1135 PyObject * _obj1 = 0;
1136 char *_kwnames[] = { "self","tip", NULL };
1137
1138 self = self;
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
1140 return NULL;
1141 if (_argo0) {
1142 if (_argo0 == Py_None) { _arg0 = NULL; }
1143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
1144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
1145 return NULL;
1146 }
1147 }
1148 {
1149 if (!PyString_Check(_obj1)) {
1150 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1151 return NULL;
1152 }
1153 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1154 }
1155 {
1156 wxPy_BEGIN_ALLOW_THREADS;
1157 wxToolTip_SetTip(_arg0,*_arg1);
1158
1159 wxPy_END_ALLOW_THREADS;
1160 } Py_INCREF(Py_None);
1161 _resultobj = Py_None;
1162 {
1163 if (_obj1)
1164 delete _arg1;
1165 }
1166 return _resultobj;
1167 }
1168
1169 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
1170 static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject * _resultobj;
1172 wxString * _result;
1173 wxToolTip * _arg0;
1174 PyObject * _argo0 = 0;
1175 char *_kwnames[] = { "self", NULL };
1176
1177 self = self;
1178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
1179 return NULL;
1180 if (_argo0) {
1181 if (_argo0 == Py_None) { _arg0 = NULL; }
1182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
1183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
1184 return NULL;
1185 }
1186 }
1187 {
1188 wxPy_BEGIN_ALLOW_THREADS;
1189 _result = new wxString (wxToolTip_GetTip(_arg0));
1190
1191 wxPy_END_ALLOW_THREADS;
1192 }{
1193 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1194 }
1195 {
1196 delete _result;
1197 }
1198 return _resultobj;
1199 }
1200
1201 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
1202 static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1203 PyObject * _resultobj;
1204 wxWindow * _result;
1205 wxToolTip * _arg0;
1206 PyObject * _argo0 = 0;
1207 char *_kwnames[] = { "self", NULL };
1208 char _ptemp[128];
1209
1210 self = self;
1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
1212 return NULL;
1213 if (_argo0) {
1214 if (_argo0 == Py_None) { _arg0 = NULL; }
1215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
1216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
1217 return NULL;
1218 }
1219 }
1220 {
1221 wxPy_BEGIN_ALLOW_THREADS;
1222 _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
1223
1224 wxPy_END_ALLOW_THREADS;
1225 } if (_result) {
1226 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1227 _resultobj = Py_BuildValue("s",_ptemp);
1228 } else {
1229 Py_INCREF(Py_None);
1230 _resultobj = Py_None;
1231 }
1232 return _resultobj;
1233 }
1234
1235 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
1236 static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxCaret * _result;
1239 wxWindow * _arg0;
1240 wxSize * _arg1;
1241 PyObject * _argo0 = 0;
1242 wxSize temp;
1243 PyObject * _obj1 = 0;
1244 char *_kwnames[] = { "window","size", NULL };
1245 char _ptemp[128];
1246
1247 self = self;
1248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1))
1249 return NULL;
1250 if (_argo0) {
1251 if (_argo0 == Py_None) { _arg0 = NULL; }
1252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
1254 return NULL;
1255 }
1256 }
1257 {
1258 _arg1 = &temp;
1259 if (! wxSize_helper(_obj1, &_arg1))
1260 return NULL;
1261 }
1262 {
1263 wxPy_BEGIN_ALLOW_THREADS;
1264 _result = (wxCaret *)new_wxCaret(_arg0,*_arg1);
1265
1266 wxPy_END_ALLOW_THREADS;
1267 } if (_result) {
1268 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
1269 _resultobj = Py_BuildValue("s",_ptemp);
1270 } else {
1271 Py_INCREF(Py_None);
1272 _resultobj = Py_None;
1273 }
1274 return _resultobj;
1275 }
1276
1277 #define delete_wxCaret(_swigobj) (delete _swigobj)
1278 static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject * _resultobj;
1280 wxCaret * _arg0;
1281 PyObject * _argo0 = 0;
1282 char *_kwnames[] = { "self", NULL };
1283
1284 self = self;
1285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0))
1286 return NULL;
1287 if (_argo0) {
1288 if (_argo0 == Py_None) { _arg0 = NULL; }
1289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
1291 return NULL;
1292 }
1293 }
1294 {
1295 wxPy_BEGIN_ALLOW_THREADS;
1296 delete_wxCaret(_arg0);
1297
1298 wxPy_END_ALLOW_THREADS;
1299 } Py_INCREF(Py_None);
1300 _resultobj = Py_None;
1301 return _resultobj;
1302 }
1303
1304 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
1305 static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
1306 PyObject * _resultobj;
1307 bool _result;
1308 wxCaret * _arg0;
1309 PyObject * _argo0 = 0;
1310 char *_kwnames[] = { "self", NULL };
1311
1312 self = self;
1313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0))
1314 return NULL;
1315 if (_argo0) {
1316 if (_argo0 == Py_None) { _arg0 = NULL; }
1317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
1319 return NULL;
1320 }
1321 }
1322 {
1323 wxPy_BEGIN_ALLOW_THREADS;
1324 _result = (bool )wxCaret_IsOk(_arg0);
1325
1326 wxPy_END_ALLOW_THREADS;
1327 } _resultobj = Py_BuildValue("i",_result);
1328 return _resultobj;
1329 }
1330
1331 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
1332 static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject * _resultobj;
1334 bool _result;
1335 wxCaret * _arg0;
1336 PyObject * _argo0 = 0;
1337 char *_kwnames[] = { "self", NULL };
1338
1339 self = self;
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0))
1341 return NULL;
1342 if (_argo0) {
1343 if (_argo0 == Py_None) { _arg0 = NULL; }
1344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
1346 return NULL;
1347 }
1348 }
1349 {
1350 wxPy_BEGIN_ALLOW_THREADS;
1351 _result = (bool )wxCaret_IsVisible(_arg0);
1352
1353 wxPy_END_ALLOW_THREADS;
1354 } _resultobj = Py_BuildValue("i",_result);
1355 return _resultobj;
1356 }
1357
1358 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
1359 static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject * _resultobj;
1361 wxCaret * _arg0;
1362 int * _arg1;
1363 int temp;
1364 int * _arg2;
1365 int temp0;
1366 PyObject * _argo0 = 0;
1367 char *_kwnames[] = { "self", NULL };
1368
1369 self = self;
1370 {
1371 _arg1 = &temp;
1372 }
1373 {
1374 _arg2 = &temp0;
1375 }
1376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0))
1377 return NULL;
1378 if (_argo0) {
1379 if (_argo0 == Py_None) { _arg0 = NULL; }
1380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
1382 return NULL;
1383 }
1384 }
1385 {
1386 wxPy_BEGIN_ALLOW_THREADS;
1387 wxCaret_GetPositionTuple(_arg0,_arg1,_arg2);
1388
1389 wxPy_END_ALLOW_THREADS;
1390 } Py_INCREF(Py_None);
1391 _resultobj = Py_None;
1392 {
1393 PyObject *o;
1394 o = PyInt_FromLong((long) (*_arg1));
1395 _resultobj = t_output_helper(_resultobj, o);
1396 }
1397 {
1398 PyObject *o;
1399 o = PyInt_FromLong((long) (*_arg2));
1400 _resultobj = t_output_helper(_resultobj, o);
1401 }
1402 return _resultobj;
1403 }
1404
1405 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
1406 static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 wxPoint * _result;
1409 wxCaret * _arg0;
1410 PyObject * _argo0 = 0;
1411 char *_kwnames[] = { "self", NULL };
1412 char _ptemp[128];
1413
1414 self = self;
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_kwnames,&_argo0))
1416 return NULL;
1417 if (_argo0) {
1418 if (_argo0 == Py_None) { _arg0 = NULL; }
1419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
1421 return NULL;
1422 }
1423 }
1424 {
1425 wxPy_BEGIN_ALLOW_THREADS;
1426 _result = new wxPoint (wxCaret_GetPosition(_arg0));
1427
1428 wxPy_END_ALLOW_THREADS;
1429 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
1430 _resultobj = Py_BuildValue("s",_ptemp);
1431 return _resultobj;
1432 }
1433
1434 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
1435 static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
1436 PyObject * _resultobj;
1437 wxCaret * _arg0;
1438 int * _arg1;
1439 int temp;
1440 int * _arg2;
1441 int temp0;
1442 PyObject * _argo0 = 0;
1443 char *_kwnames[] = { "self", NULL };
1444
1445 self = self;
1446 {
1447 _arg1 = &temp;
1448 }
1449 {
1450 _arg2 = &temp0;
1451 }
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0))
1453 return NULL;
1454 if (_argo0) {
1455 if (_argo0 == Py_None) { _arg0 = NULL; }
1456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
1458 return NULL;
1459 }
1460 }
1461 {
1462 wxPy_BEGIN_ALLOW_THREADS;
1463 wxCaret_GetSizeTuple(_arg0,_arg1,_arg2);
1464
1465 wxPy_END_ALLOW_THREADS;
1466 } Py_INCREF(Py_None);
1467 _resultobj = Py_None;
1468 {
1469 PyObject *o;
1470 o = PyInt_FromLong((long) (*_arg1));
1471 _resultobj = t_output_helper(_resultobj, o);
1472 }
1473 {
1474 PyObject *o;
1475 o = PyInt_FromLong((long) (*_arg2));
1476 _resultobj = t_output_helper(_resultobj, o);
1477 }
1478 return _resultobj;
1479 }
1480
1481 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
1482 static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1483 PyObject * _resultobj;
1484 wxSize * _result;
1485 wxCaret * _arg0;
1486 PyObject * _argo0 = 0;
1487 char *_kwnames[] = { "self", NULL };
1488 char _ptemp[128];
1489
1490 self = self;
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0))
1492 return NULL;
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
1497 return NULL;
1498 }
1499 }
1500 {
1501 wxPy_BEGIN_ALLOW_THREADS;
1502 _result = new wxSize (wxCaret_GetSize(_arg0));
1503
1504 wxPy_END_ALLOW_THREADS;
1505 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1506 _resultobj = Py_BuildValue("s",_ptemp);
1507 return _resultobj;
1508 }
1509
1510 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
1511 static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1512 PyObject * _resultobj;
1513 wxWindow * _result;
1514 wxCaret * _arg0;
1515 PyObject * _argo0 = 0;
1516 char *_kwnames[] = { "self", NULL };
1517 char _ptemp[128];
1518
1519 self = self;
1520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0))
1521 return NULL;
1522 if (_argo0) {
1523 if (_argo0 == Py_None) { _arg0 = NULL; }
1524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
1526 return NULL;
1527 }
1528 }
1529 {
1530 wxPy_BEGIN_ALLOW_THREADS;
1531 _result = (wxWindow *)wxCaret_GetWindow(_arg0);
1532
1533 wxPy_END_ALLOW_THREADS;
1534 } if (_result) {
1535 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
1536 _resultobj = Py_BuildValue("s",_ptemp);
1537 } else {
1538 Py_INCREF(Py_None);
1539 _resultobj = Py_None;
1540 }
1541 return _resultobj;
1542 }
1543
1544 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
1545 static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
1546 PyObject * _resultobj;
1547 wxCaret * _arg0;
1548 int _arg1;
1549 int _arg2;
1550 PyObject * _argo0 = 0;
1551 char *_kwnames[] = { "self","x","y", NULL };
1552
1553 self = self;
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2))
1555 return NULL;
1556 if (_argo0) {
1557 if (_argo0 == Py_None) { _arg0 = NULL; }
1558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
1560 return NULL;
1561 }
1562 }
1563 {
1564 wxPy_BEGIN_ALLOW_THREADS;
1565 wxCaret_MoveXY(_arg0,_arg1,_arg2);
1566
1567 wxPy_END_ALLOW_THREADS;
1568 } Py_INCREF(Py_None);
1569 _resultobj = Py_None;
1570 return _resultobj;
1571 }
1572
1573 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
1574 static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
1575 PyObject * _resultobj;
1576 wxCaret * _arg0;
1577 wxPoint * _arg1;
1578 PyObject * _argo0 = 0;
1579 wxPoint temp;
1580 PyObject * _obj1 = 0;
1581 char *_kwnames[] = { "self","pt", NULL };
1582
1583 self = self;
1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1))
1585 return NULL;
1586 if (_argo0) {
1587 if (_argo0 == Py_None) { _arg0 = NULL; }
1588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
1590 return NULL;
1591 }
1592 }
1593 {
1594 _arg1 = &temp;
1595 if (! wxPoint_helper(_obj1, &_arg1))
1596 return NULL;
1597 }
1598 {
1599 wxPy_BEGIN_ALLOW_THREADS;
1600 wxCaret_Move(_arg0,*_arg1);
1601
1602 wxPy_END_ALLOW_THREADS;
1603 } Py_INCREF(Py_None);
1604 _resultobj = Py_None;
1605 return _resultobj;
1606 }
1607
1608 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
1609 static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject * _resultobj;
1611 wxCaret * _arg0;
1612 int _arg1 = (int ) TRUE;
1613 PyObject * _argo0 = 0;
1614 char *_kwnames[] = { "self","show", NULL };
1615
1616 self = self;
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1))
1618 return NULL;
1619 if (_argo0) {
1620 if (_argo0 == Py_None) { _arg0 = NULL; }
1621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
1623 return NULL;
1624 }
1625 }
1626 {
1627 wxPy_BEGIN_ALLOW_THREADS;
1628 wxCaret_Show(_arg0,_arg1);
1629
1630 wxPy_END_ALLOW_THREADS;
1631 } Py_INCREF(Py_None);
1632 _resultobj = Py_None;
1633 return _resultobj;
1634 }
1635
1636 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
1637 static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject * _resultobj;
1639 wxCaret * _arg0;
1640 PyObject * _argo0 = 0;
1641 char *_kwnames[] = { "self", NULL };
1642
1643 self = self;
1644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0))
1645 return NULL;
1646 if (_argo0) {
1647 if (_argo0 == Py_None) { _arg0 = NULL; }
1648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
1650 return NULL;
1651 }
1652 }
1653 {
1654 wxPy_BEGIN_ALLOW_THREADS;
1655 wxCaret_Hide(_arg0);
1656
1657 wxPy_END_ALLOW_THREADS;
1658 } Py_INCREF(Py_None);
1659 _resultobj = Py_None;
1660 return _resultobj;
1661 }
1662
1663 #define wxCaret_OnSetFocus(_swigobj) (_swigobj->OnSetFocus())
1664 static PyObject *_wrap_wxCaret_OnSetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1665 PyObject * _resultobj;
1666 wxCaret * _arg0;
1667 PyObject * _argo0 = 0;
1668 char *_kwnames[] = { "self", NULL };
1669
1670 self = self;
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_OnSetFocus",_kwnames,&_argo0))
1672 return NULL;
1673 if (_argo0) {
1674 if (_argo0 == Py_None) { _arg0 = NULL; }
1675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_OnSetFocus. Expected _wxCaret_p.");
1677 return NULL;
1678 }
1679 }
1680 {
1681 wxPy_BEGIN_ALLOW_THREADS;
1682 wxCaret_OnSetFocus(_arg0);
1683
1684 wxPy_END_ALLOW_THREADS;
1685 } Py_INCREF(Py_None);
1686 _resultobj = Py_None;
1687 return _resultobj;
1688 }
1689
1690 #define wxCaret_OnKillFocus(_swigobj) (_swigobj->OnKillFocus())
1691 static PyObject *_wrap_wxCaret_OnKillFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1692 PyObject * _resultobj;
1693 wxCaret * _arg0;
1694 PyObject * _argo0 = 0;
1695 char *_kwnames[] = { "self", NULL };
1696
1697 self = self;
1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_OnKillFocus",_kwnames,&_argo0))
1699 return NULL;
1700 if (_argo0) {
1701 if (_argo0 == Py_None) { _arg0 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) {
1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_OnKillFocus. Expected _wxCaret_p.");
1704 return NULL;
1705 }
1706 }
1707 {
1708 wxPy_BEGIN_ALLOW_THREADS;
1709 wxCaret_OnKillFocus(_arg0);
1710
1711 wxPy_END_ALLOW_THREADS;
1712 } Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 return _resultobj;
1715 }
1716
1717 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
1718 static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject * _resultobj;
1720 wxBusyCursor * _result;
1721 wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR;
1722 PyObject * _argo0 = 0;
1723 char *_kwnames[] = { "cursor", NULL };
1724 char _ptemp[128];
1725
1726 self = self;
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0))
1728 return NULL;
1729 if (_argo0) {
1730 if (_argo0 == Py_None) { _arg0 = NULL; }
1731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) {
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
1733 return NULL;
1734 }
1735 }
1736 {
1737 wxPy_BEGIN_ALLOW_THREADS;
1738 _result = (wxBusyCursor *)new_wxBusyCursor(_arg0);
1739
1740 wxPy_END_ALLOW_THREADS;
1741 } if (_result) {
1742 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p");
1743 _resultobj = Py_BuildValue("s",_ptemp);
1744 } else {
1745 Py_INCREF(Py_None);
1746 _resultobj = Py_None;
1747 }
1748 return _resultobj;
1749 }
1750
1751 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
1752 static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject * _resultobj;
1754 wxBusyCursor * _arg0;
1755 PyObject * _argo0 = 0;
1756 char *_kwnames[] = { "self", NULL };
1757
1758 self = self;
1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0))
1760 return NULL;
1761 if (_argo0) {
1762 if (_argo0 == Py_None) { _arg0 = NULL; }
1763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) {
1764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
1765 return NULL;
1766 }
1767 }
1768 {
1769 wxPy_BEGIN_ALLOW_THREADS;
1770 delete_wxBusyCursor(_arg0);
1771
1772 wxPy_END_ALLOW_THREADS;
1773 } Py_INCREF(Py_None);
1774 _resultobj = Py_None;
1775 return _resultobj;
1776 }
1777
1778 static PyMethodDef misc2cMethods[] = {
1779 { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
1780 { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS },
1781 { "wxCaret_OnKillFocus", (PyCFunction) _wrap_wxCaret_OnKillFocus, METH_VARARGS | METH_KEYWORDS },
1782 { "wxCaret_OnSetFocus", (PyCFunction) _wrap_wxCaret_OnSetFocus, METH_VARARGS | METH_KEYWORDS },
1783 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
1784 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
1785 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
1786 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
1787 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
1788 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
1789 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
1790 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
1791 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
1792 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
1793 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
1794 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
1795 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
1796 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
1797 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
1798 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
1799 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
1800 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
1801 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
1802 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
1803 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
1804 { "wxSystemSettings_GetSystemMetric", (PyCFunction) _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS | METH_KEYWORDS },
1805 { "wxSystemSettings_GetSystemFont", (PyCFunction) _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS | METH_KEYWORDS },
1806 { "wxSystemSettings_GetSystemColour", (PyCFunction) _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS | METH_KEYWORDS },
1807 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
1808 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
1809 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
1810 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
1811 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
1812 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
1813 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
1814 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
1815 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
1816 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
1817 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
1818 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
1819 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
1820 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
1821 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
1822 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
1823 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
1824 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
1825 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
1826 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
1827 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
1828 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
1829 { NULL, NULL }
1830 };
1831 #ifdef __cplusplus
1832 }
1833 #endif
1834 /*
1835 * This table is used by the pointer type-checker
1836 */
1837 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1838 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1839 { "_signed_long","_long",0},
1840 { "_wxPrintQuality","_int",0},
1841 { "_wxPrintQuality","_signed_int",0},
1842 { "_wxPrintQuality","_unsigned_int",0},
1843 { "_wxPrintQuality","_wxWindowID",0},
1844 { "_wxPrintQuality","_uint",0},
1845 { "_wxPrintQuality","_EBool",0},
1846 { "_wxPrintQuality","_size_t",0},
1847 { "_class_wxRegionIterator","_wxRegionIterator",0},
1848 { "_class_wxMenuBar","_wxMenuBar",0},
1849 { "_class_wxEvtHandler","_wxEvtHandler",0},
1850 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1851 { "_wxCursor","_class_wxCursor",0},
1852 { "_wxMask","_class_wxMask",0},
1853 { "_wxToolTip","_class_wxToolTip",0},
1854 { "_wxPen","_class_wxPen",0},
1855 { "_byte","_unsigned_char",0},
1856 { "_long","_wxDash",0},
1857 { "_long","_unsigned_long",0},
1858 { "_long","_signed_long",0},
1859 { "_wxImageList","_class_wxImageList",0},
1860 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1861 { "_wxDC","_class_wxDC",0},
1862 { "_size_t","_wxPrintQuality",0},
1863 { "_size_t","_unsigned_int",0},
1864 { "_size_t","_int",0},
1865 { "_size_t","_wxWindowID",0},
1866 { "_size_t","_uint",0},
1867 { "_class_wxRealPoint","_wxRealPoint",0},
1868 { "_wxPrinterDC","_class_wxPrinterDC",0},
1869 { "_class_wxMenuItem","_wxMenuItem",0},
1870 { "_wxPanel","_class_wxPanel",0},
1871 { "_class_wxMask","_wxMask",0},
1872 { "_class_wxToolTip","_wxToolTip",0},
1873 { "_wxColour","_class_wxColour",0},
1874 { "_class_wxDialog","_wxDialog",0},
1875 { "_wxBusyCursor","_class_wxBusyCursor",0},
1876 { "_wxCaret","_class_wxCaret",0},
1877 { "_wxBrush","_class_wxBrush",0},
1878 { "_uint","_wxPrintQuality",0},
1879 { "_uint","_size_t",0},
1880 { "_uint","_unsigned_int",0},
1881 { "_uint","_int",0},
1882 { "_uint","_wxWindowID",0},
1883 { "_wxPyValidator","_class_wxPyValidator",0},
1884 { "_wxRect","_class_wxRect",0},
1885 { "_wxPoint","_class_wxPoint",0},
1886 { "_wxBitmap","_class_wxBitmap",0},
1887 { "_wxPyTimer","_class_wxPyTimer",0},
1888 { "_wxWindowDC","_class_wxWindowDC",0},
1889 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1890 { "_class_wxValidator","_wxValidator",0},
1891 { "_class_wxBusyCursor","_wxBusyCursor",0},
1892 { "_EBool","_wxPrintQuality",0},
1893 { "_EBool","_signed_int",0},
1894 { "_EBool","_int",0},
1895 { "_EBool","_wxWindowID",0},
1896 { "_class_wxRegion","_wxRegion",0},
1897 { "_wxFont","_class_wxFont",0},
1898 { "_unsigned_long","_wxDash",0},
1899 { "_unsigned_long","_long",0},
1900 { "_class_wxRect","_wxRect",0},
1901 { "_class_wxDC","_wxDC",0},
1902 { "_class_wxPyTimer","_wxPyTimer",0},
1903 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1904 { "_class_wxPanel","_wxPanel",0},
1905 { "_signed_int","_wxPrintQuality",0},
1906 { "_signed_int","_EBool",0},
1907 { "_signed_int","_wxWindowID",0},
1908 { "_signed_int","_int",0},
1909 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1910 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
1911 { "_wxMenu","_class_wxMenu",0},
1912 { "_wxScreenDC","_class_wxScreenDC",0},
1913 { "_WXTYPE","_short",0},
1914 { "_WXTYPE","_signed_short",0},
1915 { "_WXTYPE","_unsigned_short",0},
1916 { "_class_wxCaret","_wxCaret",0},
1917 { "_class_wxBrush","_wxBrush",0},
1918 { "_unsigned_short","_WXTYPE",0},
1919 { "_unsigned_short","_short",0},
1920 { "_class_wxWindow","_wxWindow",0},
1921 { "_class_wxFont","_wxFont",0},
1922 { "_class_wxPyValidator","_wxPyValidator",0},
1923 { "_wxBusyInfo","_class_wxBusyInfo",0},
1924 { "_wxClientDC","_class_wxClientDC",0},
1925 { "_class_wxPoint","_wxPoint",0},
1926 { "_wxRealPoint","_class_wxRealPoint",0},
1927 { "_signed_short","_WXTYPE",0},
1928 { "_signed_short","_short",0},
1929 { "_wxMemoryDC","_class_wxMemoryDC",0},
1930 { "_wxPaintDC","_class_wxPaintDC",0},
1931 { "_class_wxWindowDC","_wxWindowDC",0},
1932 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1933 { "_class_wxCursor","_wxCursor",0},
1934 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1935 { "_unsigned_char","_byte",0},
1936 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1937 { "_class_wxMenu","_wxMenu",0},
1938 { "_unsigned_int","_wxPrintQuality",0},
1939 { "_unsigned_int","_size_t",0},
1940 { "_unsigned_int","_uint",0},
1941 { "_unsigned_int","_wxWindowID",0},
1942 { "_unsigned_int","_int",0},
1943 { "_wxIcon","_class_wxIcon",0},
1944 { "_wxDialog","_class_wxDialog",0},
1945 { "_class_wxPen","_wxPen",0},
1946 { "_short","_WXTYPE",0},
1947 { "_short","_unsigned_short",0},
1948 { "_short","_signed_short",0},
1949 { "_class_wxImageList","_wxImageList",0},
1950 { "_wxWindowID","_wxPrintQuality",0},
1951 { "_wxWindowID","_size_t",0},
1952 { "_wxWindowID","_EBool",0},
1953 { "_wxWindowID","_uint",0},
1954 { "_wxWindowID","_int",0},
1955 { "_wxWindowID","_signed_int",0},
1956 { "_wxWindowID","_unsigned_int",0},
1957 { "_int","_wxPrintQuality",0},
1958 { "_int","_size_t",0},
1959 { "_int","_EBool",0},
1960 { "_int","_uint",0},
1961 { "_int","_wxWindowID",0},
1962 { "_int","_unsigned_int",0},
1963 { "_int","_signed_int",0},
1964 { "_wxSize","_class_wxSize",0},
1965 { "_wxRegionIterator","_class_wxRegionIterator",0},
1966 { "_class_wxPrinterDC","_wxPrinterDC",0},
1967 { "_class_wxPaintDC","_wxPaintDC",0},
1968 { "_wxValidator","_class_wxValidator",0},
1969 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1970 { "_class_wxIcon","_wxIcon",0},
1971 { "_class_wxColour","_wxColour",0},
1972 { "_class_wxScreenDC","_wxScreenDC",0},
1973 { "_wxPalette","_class_wxPalette",0},
1974 { "_wxRegion","_class_wxRegion",0},
1975 { "_class_wxBusyInfo","_wxBusyInfo",0},
1976 { "_class_wxClientDC","_wxClientDC",0},
1977 { "_class_wxSize","_wxSize",0},
1978 { "_class_wxBitmap","_wxBitmap",0},
1979 { "_class_wxMemoryDC","_wxMemoryDC",0},
1980 { "_wxMenuBar","_class_wxMenuBar",0},
1981 { "_wxEvtHandler","_class_wxEvtHandler",0},
1982 { "_wxMenuItem","_class_wxMenuItem",0},
1983 { "_wxDash","_unsigned_long",0},
1984 { "_wxDash","_long",0},
1985 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1986 { "_class_wxPalette","_wxPalette",0},
1987 { "_wxWindow","_class_wxWindow",0},
1988 {0,0,0}};
1989
1990 static PyObject *SWIG_globals;
1991 #ifdef __cplusplus
1992 extern "C"
1993 #endif
1994 SWIGEXPORT(void) initmisc2c() {
1995 PyObject *m, *d;
1996 SWIG_globals = SWIG_newvarlink();
1997 m = Py_InitModule("misc2c", misc2cMethods);
1998 d = PyModule_GetDict(m);
1999 PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH));
2000 PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH));
2001 PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH));
2002 PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH));
2003 PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH));
2004 PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH));
2005 PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH));
2006 PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN));
2007 PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN));
2008 PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN));
2009 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
2010 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
2011 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
2012 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
2013 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
2014 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
2015 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
2016 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
2017 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
2018 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
2019 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
2020 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
2021 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
2022 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
2023 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
2024 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
2025 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
2026 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
2027 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
2028 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
2029 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
2030 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
2031 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
2032 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
2033 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
2034 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
2035 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
2036 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
2037 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
2038 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
2039 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
2040 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
2041 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
2042 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
2043 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
2044 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
2045 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
2046 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
2047 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
2048 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
2049 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
2050 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
2051 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
2052 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
2053 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
2054 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
2055 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
2056 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
2057 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
2058 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
2059 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
2060 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
2061 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
2062 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
2063 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
2064 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
2065 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
2066 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
2067 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
2068 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
2069 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
2070 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
2071 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
2072 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
2073 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
2074 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
2075 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
2076 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
2077 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
2078 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
2079 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
2080 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
2081 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
2082 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
2083 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
2084 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
2085 {
2086 int i;
2087 for (i = 0; _swig_mapping[i].n1; i++)
2088 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2089 }
2090 }