]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/misc2.cpp
new wxMenu stuff and thread implementations
[wxWidgets.git] / utils / wxPython / src / gtk / misc2.cpp
CommitLineData
d24a34bb
RD
1/*
2 * FILE : gtk/misc2.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
9cce9de1 6 * Version 1.1 (Build 810)
d24a34bb
RD
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)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
d24a34bb
RD
28# else
29# if defined(__BORLANDC__)
2d091820 30# define SWIGEXPORT(a) a _export
d24a34bb 31# else
2d091820 32# define SWIGEXPORT(a) a
d24a34bb
RD
33# endif
34# endif
35#else
2d091820 36# define SWIGEXPORT(a) a
d24a34bb
RD
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
d24a34bb
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
d24a34bb
RD
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>
8f17924e 59#include <wx/caret.h>
134d79dc 60#ifdef NOT_READY_YET
8f17924e 61#include <wx/fontenum.h>
134d79dc 62#endif
d24a34bb
RD
63
64static 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
85static 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
d24a34bb
RD
111static char* wxStringErrorMsg = "string type is required for parameter";
112
bc29c5e0
RD
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
d24a34bb
RD
126 void wxToolTip_Enable(bool flag) {
127 wxToolTip::Enable(flag);
128 }
129
bc29c5e0
RD
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
142extern "C" {
143#endif
144static 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
183static 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
260static 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
345static 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
425static 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
481static 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
558static 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
575static 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}
8f17924e 591
bc29c5e0
RD
592static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
593 PyObject * _resultobj;
594 wxCursor * _arg0;
595 PyObject * _argo0 = 0;
596 char *_kwnames[] = { "cursor", NULL };
8f17924e 597
bc29c5e0
RD
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 }
8f17924e 607 }
bc29c5e0
RD
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
107e4716 618static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
619 PyObject * _resultobj;
620 wxWindow * _result;
621 wxString * _arg0;
2d091820 622 wxWindow * _arg1 = (wxWindow *) NULL;
d24a34bb 623 PyObject * _obj0 = 0;
2d091820 624 PyObject * _argo1 = 0;
107e4716 625 char *_kwnames[] = { "label","parent", NULL };
d24a34bb
RD
626 char _ptemp[128];
627
628 self = self;
107e4716 629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
d24a34bb
RD
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}
2d091820
RD
638 if (_argo1) {
639 if (_argo1 == Py_None) { _arg1 = NULL; }
640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
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;
2d091820
RD
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 }
d24a34bb
RD
657{
658 if (_obj0)
659 delete _arg0;
660}
661 return _resultobj;
662}
663
107e4716 664static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
665 PyObject * _resultobj;
666 wxWindow * _result;
667 wxString * _arg0;
2d091820 668 wxWindow * _arg1 = (wxWindow *) NULL;
d24a34bb 669 PyObject * _obj0 = 0;
2d091820 670 PyObject * _argo1 = 0;
107e4716 671 char *_kwnames[] = { "name","parent", NULL };
d24a34bb
RD
672 char _ptemp[128];
673
674 self = self;
107e4716 675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
d24a34bb
RD
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}
2d091820
RD
684 if (_argo1) {
685 if (_argo1 == Py_None) { _arg1 = NULL; }
686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d24a34bb
RD
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;
2d091820
RD
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 }
d24a34bb
RD
703{
704 if (_obj0)
705 delete _arg0;
706}
707 return _resultobj;
708}
709
bc29c5e0
RD
710static 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
736static 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
760static 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
779static 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
796static 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
816static 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
836static 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
861static 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
879static 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
906static 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
933static 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
960static 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
980static 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
1000static 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
107e4716 1018static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1019 PyObject * _resultobj;
1020 bool _arg0;
1021 int tempbool0;
107e4716 1022 char *_kwnames[] = { "flag", NULL };
d24a34bb
RD
1023
1024 self = self;
107e4716 1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
d24a34bb
RD
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
107e4716 1038static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1039 PyObject * _resultobj;
1040 long _arg0;
107e4716 1041 char *_kwnames[] = { "milliseconds", NULL };
d24a34bb
RD
1042
1043 self = self;
107e4716 1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
d24a34bb
RD
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
8f17924e
RD
1056static 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
1073static 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
d24a34bb 1091#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
107e4716 1092static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1093 PyObject * _resultobj;
1094 wxToolTip * _result;
1095 wxString * _arg0;
1096 PyObject * _obj0 = 0;
107e4716 1097 char *_kwnames[] = { "tip", NULL };
d24a34bb
RD
1098 char _ptemp[128];
1099
1100 self = self;
107e4716 1101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
d24a34bb
RD
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;
2d091820
RD
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 }
d24a34bb
RD
1122{
1123 if (_obj0)
1124 delete _arg0;
1125}
1126 return _resultobj;
1127}
1128
1129#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
107e4716 1130static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1131 PyObject * _resultobj;
1132 wxToolTip * _arg0;
1133 wxString * _arg1;
2d091820 1134 PyObject * _argo0 = 0;
d24a34bb 1135 PyObject * _obj1 = 0;
107e4716 1136 char *_kwnames[] = { "self","tip", NULL };
d24a34bb
RD
1137
1138 self = self;
107e4716 1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
d24a34bb 1140 return NULL;
2d091820
RD
1141 if (_argo0) {
1142 if (_argo0 == Py_None) { _arg0 = NULL; }
1143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
d24a34bb
RD
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())
107e4716 1170static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1171 PyObject * _resultobj;
1172 wxString * _result;
1173 wxToolTip * _arg0;
2d091820 1174 PyObject * _argo0 = 0;
107e4716 1175 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1176
1177 self = self;
107e4716 1178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
d24a34bb 1179 return NULL;
2d091820
RD
1180 if (_argo0) {
1181 if (_argo0 == Py_None) { _arg0 = NULL; }
1182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
d24a34bb
RD
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())
107e4716 1202static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
1203 PyObject * _resultobj;
1204 wxWindow * _result;
1205 wxToolTip * _arg0;
2d091820 1206 PyObject * _argo0 = 0;
107e4716 1207 char *_kwnames[] = { "self", NULL };
d24a34bb
RD
1208 char _ptemp[128];
1209
1210 self = self;
107e4716 1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
d24a34bb 1212 return NULL;
2d091820
RD
1213 if (_argo0) {
1214 if (_argo0 == Py_None) { _arg0 = NULL; }
1215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
d24a34bb
RD
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;
2d091820
RD
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 }
d24a34bb
RD
1232 return _resultobj;
1233}
1234
8f17924e
RD
1235#define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
1236static 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)
1278static 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())
1305static 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())
1332static 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))
1359static 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())
1406static 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))
1435static 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())
1482static 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())
1511static 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))
1545static 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))
1574static 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))
1609static 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())
1637static 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())
1664static 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())
1691static 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
d24a34bb 1717static PyMethodDef misc2cMethods[] = {
8f17924e
RD
1718 { "wxCaret_OnKillFocus", (PyCFunction) _wrap_wxCaret_OnKillFocus, METH_VARARGS | METH_KEYWORDS },
1719 { "wxCaret_OnSetFocus", (PyCFunction) _wrap_wxCaret_OnSetFocus, METH_VARARGS | METH_KEYWORDS },
1720 { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS },
1721 { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS },
1722 { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS },
1723 { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS },
1724 { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS },
1725 { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS },
1726 { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
1727 { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS },
1728 { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
1729 { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS },
1730 { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS },
1731 { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS },
1732 { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
1733 { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
1734 { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
1735 { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
1736 { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
8f17924e
RD
1737 { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
1738 { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
1739 { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
1740 { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
1741 { "wxSystemSettings_GetSystemMetric", (PyCFunction) _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS | METH_KEYWORDS },
1742 { "wxSystemSettings_GetSystemFont", (PyCFunction) _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS | METH_KEYWORDS },
1743 { "wxSystemSettings_GetSystemColour", (PyCFunction) _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS | METH_KEYWORDS },
1744 { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS },
1745 { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS },
1746 { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS },
1747 { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS },
1748 { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS },
1749 { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS },
1750 { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS },
1751 { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS },
1752 { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS },
1753 { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS },
1754 { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
1755 { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
1756 { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
bc29c5e0
RD
1757 { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS },
1758 { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS },
1759 { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS },
1760 { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
1761 { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS },
1762 { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
1763 { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS },
1764 { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS },
1765 { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS },
d24a34bb
RD
1766 { NULL, NULL }
1767};
2d091820
RD
1768#ifdef __cplusplus
1769}
1770#endif
1771/*
1772 * This table is used by the pointer type-checker
1773 */
1774static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1775 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1776 { "_signed_long","_long",0},
1777 { "_wxPrintQuality","_int",0},
1778 { "_wxPrintQuality","_signed_int",0},
1779 { "_wxPrintQuality","_unsigned_int",0},
1780 { "_wxPrintQuality","_wxWindowID",0},
1781 { "_wxPrintQuality","_uint",0},
1782 { "_wxPrintQuality","_EBool",0},
1783 { "_wxPrintQuality","_size_t",0},
1784 { "_class_wxRegionIterator","_wxRegionIterator",0},
1785 { "_class_wxMenuBar","_wxMenuBar",0},
1786 { "_class_wxEvtHandler","_wxEvtHandler",0},
1787 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1788 { "_wxCursor","_class_wxCursor",0},
1789 { "_wxMask","_class_wxMask",0},
1790 { "_wxToolTip","_class_wxToolTip",0},
1791 { "_wxPen","_class_wxPen",0},
1792 { "_byte","_unsigned_char",0},
1793 { "_long","_wxDash",0},
1794 { "_long","_unsigned_long",0},
1795 { "_long","_signed_long",0},
1796 { "_wxImageList","_class_wxImageList",0},
1797 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1798 { "_wxDC","_class_wxDC",0},
1799 { "_size_t","_wxPrintQuality",0},
1800 { "_size_t","_unsigned_int",0},
1801 { "_size_t","_int",0},
1802 { "_size_t","_wxWindowID",0},
1803 { "_size_t","_uint",0},
1804 { "_class_wxRealPoint","_wxRealPoint",0},
1805 { "_class_wxMenuItem","_wxMenuItem",0},
1806 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1807 { "_wxPanel","_class_wxPanel",0},
1808 { "_class_wxMask","_wxMask",0},
1809 { "_class_wxToolTip","_wxToolTip",0},
1810 { "_wxColour","_class_wxColour",0},
1811 { "_class_wxDialog","_wxDialog",0},
8f17924e 1812 { "_wxCaret","_class_wxCaret",0},
2d091820
RD
1813 { "_wxBrush","_class_wxBrush",0},
1814 { "_uint","_wxPrintQuality",0},
1815 { "_uint","_size_t",0},
1816 { "_uint","_unsigned_int",0},
1817 { "_uint","_int",0},
1818 { "_uint","_wxWindowID",0},
37f6a977 1819 { "_wxPyValidator","_class_wxPyValidator",0},
2d091820
RD
1820 { "_wxRect","_class_wxRect",0},
1821 { "_wxPoint","_class_wxPoint",0},
1822 { "_wxBitmap","_class_wxBitmap",0},
1823 { "_wxPyTimer","_class_wxPyTimer",0},
1824 { "_wxWindowDC","_class_wxWindowDC",0},
1825 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
37f6a977 1826 { "_class_wxValidator","_wxValidator",0},
2d091820
RD
1827 { "_EBool","_wxPrintQuality",0},
1828 { "_EBool","_signed_int",0},
1829 { "_EBool","_int",0},
1830 { "_EBool","_wxWindowID",0},
1831 { "_class_wxRegion","_wxRegion",0},
1832 { "_wxFont","_class_wxFont",0},
1833 { "_unsigned_long","_wxDash",0},
1834 { "_unsigned_long","_long",0},
1835 { "_class_wxRect","_wxRect",0},
1836 { "_class_wxDC","_wxDC",0},
1837 { "_class_wxPyTimer","_wxPyTimer",0},
1838 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1839 { "_class_wxPanel","_wxPanel",0},
1840 { "_signed_int","_wxPrintQuality",0},
1841 { "_signed_int","_EBool",0},
1842 { "_signed_int","_wxWindowID",0},
1843 { "_signed_int","_int",0},
1844 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1845 { "_wxMenu","_class_wxMenu",0},
1846 { "_wxScreenDC","_class_wxScreenDC",0},
1847 { "_WXTYPE","_short",0},
1848 { "_WXTYPE","_signed_short",0},
1849 { "_WXTYPE","_unsigned_short",0},
8f17924e 1850 { "_class_wxCaret","_wxCaret",0},
2d091820
RD
1851 { "_class_wxBrush","_wxBrush",0},
1852 { "_unsigned_short","_WXTYPE",0},
1853 { "_unsigned_short","_short",0},
1854 { "_class_wxWindow","_wxWindow",0},
1855 { "_class_wxFont","_wxFont",0},
37f6a977 1856 { "_class_wxPyValidator","_wxPyValidator",0},
2d091820
RD
1857 { "_wxClientDC","_class_wxClientDC",0},
1858 { "_class_wxPoint","_wxPoint",0},
1859 { "_wxRealPoint","_class_wxRealPoint",0},
1860 { "_signed_short","_WXTYPE",0},
1861 { "_signed_short","_short",0},
1862 { "_wxMemoryDC","_class_wxMemoryDC",0},
1863 { "_wxPaintDC","_class_wxPaintDC",0},
1864 { "_class_wxWindowDC","_wxWindowDC",0},
1865 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1866 { "_class_wxCursor","_wxCursor",0},
1867 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1868 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1869 { "_unsigned_char","_byte",0},
1870 { "_class_wxMenu","_wxMenu",0},
1871 { "_unsigned_int","_wxPrintQuality",0},
1872 { "_unsigned_int","_size_t",0},
1873 { "_unsigned_int","_uint",0},
1874 { "_unsigned_int","_wxWindowID",0},
1875 { "_unsigned_int","_int",0},
1876 { "_wxIcon","_class_wxIcon",0},
1877 { "_wxDialog","_class_wxDialog",0},
1878 { "_class_wxPen","_wxPen",0},
1879 { "_short","_WXTYPE",0},
1880 { "_short","_unsigned_short",0},
1881 { "_short","_signed_short",0},
1882 { "_class_wxImageList","_wxImageList",0},
1883 { "_wxWindowID","_wxPrintQuality",0},
1884 { "_wxWindowID","_size_t",0},
1885 { "_wxWindowID","_EBool",0},
1886 { "_wxWindowID","_uint",0},
1887 { "_wxWindowID","_int",0},
1888 { "_wxWindowID","_signed_int",0},
1889 { "_wxWindowID","_unsigned_int",0},
1890 { "_int","_wxPrintQuality",0},
1891 { "_int","_size_t",0},
1892 { "_int","_EBool",0},
1893 { "_int","_uint",0},
1894 { "_int","_wxWindowID",0},
1895 { "_int","_unsigned_int",0},
1896 { "_int","_signed_int",0},
1897 { "_wxSize","_class_wxSize",0},
1898 { "_wxRegionIterator","_class_wxRegionIterator",0},
1899 { "_class_wxPaintDC","_wxPaintDC",0},
37f6a977 1900 { "_wxValidator","_class_wxValidator",0},
2d091820
RD
1901 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1902 { "_class_wxIcon","_wxIcon",0},
1903 { "_class_wxColour","_wxColour",0},
1904 { "_class_wxScreenDC","_wxScreenDC",0},
1905 { "_wxPalette","_class_wxPalette",0},
1906 { "_wxRegion","_class_wxRegion",0},
1907 { "_class_wxClientDC","_wxClientDC",0},
1908 { "_class_wxSize","_wxSize",0},
1909 { "_class_wxBitmap","_wxBitmap",0},
1910 { "_class_wxMemoryDC","_wxMemoryDC",0},
1911 { "_wxMenuBar","_class_wxMenuBar",0},
1912 { "_wxEvtHandler","_class_wxEvtHandler",0},
1913 { "_wxMenuItem","_class_wxMenuItem",0},
1914 { "_wxDash","_unsigned_long",0},
1915 { "_wxDash","_long",0},
1916 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1917 { "_class_wxPalette","_wxPalette",0},
1918 { "_wxWindow","_class_wxWindow",0},
1919{0,0,0}};
1920
d24a34bb
RD
1921static PyObject *SWIG_globals;
1922#ifdef __cplusplus
1923extern "C"
1924#endif
2d091820 1925SWIGEXPORT(void) initmisc2c() {
d24a34bb
RD
1926 PyObject *m, *d;
1927 SWIG_globals = SWIG_newvarlink();
1928 m = Py_InitModule("misc2c", misc2cMethods);
1929 d = PyModule_GetDict(m);
bc29c5e0
RD
1930 PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH));
1931 PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH));
1932 PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH));
1933 PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH));
1934 PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH));
1935 PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH));
1936 PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH));
1937 PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN));
1938 PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN));
1939 PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN));
1940 PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT));
1941 PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT));
1942 PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT));
1943 PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT));
1944 PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT));
1945 PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE));
1946 PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT));
1947 PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT));
1948 PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR));
1949 PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND));
1950 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION));
1951 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION));
1952 PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU));
1953 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW));
1954 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME));
1955 PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT));
1956 PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT));
1957 PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT));
1958 PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER));
1959 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER));
1960 PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE));
1961 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT));
1962 PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT));
1963 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE));
1964 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW));
1965 PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT));
1966 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT));
1967 PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT));
1968 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT));
1969 PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW));
1970 PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT));
1971 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT));
1972 PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK));
1973 PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP));
1974 PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE));
1975 PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW));
1976 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT));
1977 PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT));
1978 PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT));
1979 PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS));
1980 PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X));
1981 PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y));
1982 PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X));
1983 PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y));
1984 PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X));
1985 PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y));
1986 PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X));
1987 PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y));
1988 PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X));
1989 PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y));
1990 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X));
1991 PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y));
1992 PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X));
1993 PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X));
1994 PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y));
1995 PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X));
1996 PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y));
1997 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X));
1998 PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y));
1999 PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X));
2000 PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y));
2001 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X));
2002 PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y));
2003 PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X));
2004 PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y));
2005 PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y));
2006 PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X));
2007 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X));
2008 PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y));
2009 PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y));
2010 PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y));
2011 PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y));
2012 PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT));
2013 PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT));
2014 PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS));
2015 PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS));
2d091820
RD
2016{
2017 int i;
2018 for (i = 0; _swig_mapping[i].n1; i++)
2019 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2020}
d24a34bb 2021}