]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/controls.cpp
Some tweaks...
[wxWidgets.git] / utils / wxPython / src / msw / controls.cpp
1 /*
2 * FILE : msw/controls.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initcontrolsc
53
54 #define SWIG_name "controlsc"
55
56 #include "helpers.h"
57 #include <wx/slider.h>
58 #include <wx/spinbutt.h>
59 #include <wx/dynarray.h>
60 #include <wx/statline.h>
61
62 #ifdef __WXMSW__
63 #if wxUSE_OWNER_DRAWN
64 #include <wx/checklst.h>
65 #endif
66 #endif
67
68 #ifdef __WXGTK__
69 #include <wx/checklst.h>
70 #endif
71
72
73 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
74 PyObject* o2;
75 if (!target) {
76 target = o;
77 } else if (target == Py_None) {
78 Py_DECREF(Py_None);
79 target = o;
80 } else {
81 if (!PyList_Check(target)) {
82 o2 = target;
83 target = PyList_New(0);
84 PyList_Append(target, o2);
85 Py_XDECREF(o2);
86 }
87 PyList_Append(target,o);
88 Py_XDECREF(o);
89 }
90 return target;
91 }
92
93 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
94 PyObject* o2;
95 PyObject* o3;
96
97 if (!target) {
98 target = o;
99 } else if (target == Py_None) {
100 Py_DECREF(Py_None);
101 target = o;
102 } else {
103 if (!PyTuple_Check(target)) {
104 o2 = target;
105 target = PyTuple_New(1);
106 PyTuple_SetItem(target, 0, o2);
107 }
108 o3 = PyTuple_New(1);
109 PyTuple_SetItem(o3, 0, o);
110
111 o2 = target;
112 target = PySequence_Concat(o2, o3);
113 Py_DECREF(o2);
114 Py_DECREF(o3);
115 }
116 return target;
117 }
118
119
120 extern byte* byte_LIST_helper(PyObject* source);
121 extern int* int_LIST_helper(PyObject* source);
122 extern long* long_LIST_helper(PyObject* source);
123 extern char** string_LIST_helper(PyObject* source);
124 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
125 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
126 extern wxString* wxString_LIST_helper(PyObject* source);
127 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
128
129
130 static char* wxStringErrorMsg = "string type is required for parameter";
131
132 wxValidator wxPyDefaultValidator; // Non-const default because of SWIG
133 static void *SwigwxControlTowxWindow(void *ptr) {
134 wxControl *src;
135 wxWindow *dest;
136 src = (wxControl *) ptr;
137 dest = (wxWindow *) src;
138 return (void *) dest;
139 }
140
141 static void *SwigwxControlTowxEvtHandler(void *ptr) {
142 wxControl *src;
143 wxEvtHandler *dest;
144 src = (wxControl *) ptr;
145 dest = (wxEvtHandler *) src;
146 return (void *) dest;
147 }
148
149 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
150 static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args) {
151 PyObject * _resultobj;
152 wxControl * _arg0;
153 wxCommandEvent * _arg1;
154 char * _argc0 = 0;
155 char * _argc1 = 0;
156
157 self = self;
158 if(!PyArg_ParseTuple(args,"ss:wxControl_Command",&_argc0,&_argc1))
159 return NULL;
160 if (_argc0) {
161 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
163 return NULL;
164 }
165 }
166 if (_argc1) {
167 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxCommandEvent_p")) {
168 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
169 return NULL;
170 }
171 }
172 {
173 wxPy_BEGIN_ALLOW_THREADS;
174 wxControl_Command(_arg0,*_arg1);
175
176 wxPy_END_ALLOW_THREADS;
177 } Py_INCREF(Py_None);
178 _resultobj = Py_None;
179 return _resultobj;
180 }
181
182 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
183 static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args) {
184 PyObject * _resultobj;
185 wxString * _result;
186 wxControl * _arg0;
187 char * _argc0 = 0;
188
189 self = self;
190 if(!PyArg_ParseTuple(args,"s:wxControl_GetLabel",&_argc0))
191 return NULL;
192 if (_argc0) {
193 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
195 return NULL;
196 }
197 }
198 {
199 wxPy_BEGIN_ALLOW_THREADS;
200 _result = new wxString (wxControl_GetLabel(_arg0));
201
202 wxPy_END_ALLOW_THREADS;
203 }{
204 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
205 }
206 {
207 delete _result;
208 }
209 return _resultobj;
210 }
211
212 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
213 static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args) {
214 PyObject * _resultobj;
215 wxControl * _arg0;
216 wxString * _arg1;
217 char * _argc0 = 0;
218 PyObject * _obj1 = 0;
219
220 self = self;
221 if(!PyArg_ParseTuple(args,"sO:wxControl_SetLabel",&_argc0,&_obj1))
222 return NULL;
223 if (_argc0) {
224 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
226 return NULL;
227 }
228 }
229 {
230 if (!PyString_Check(_obj1)) {
231 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
232 return NULL;
233 }
234 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
235 }
236 {
237 wxPy_BEGIN_ALLOW_THREADS;
238 wxControl_SetLabel(_arg0,*_arg1);
239
240 wxPy_END_ALLOW_THREADS;
241 } Py_INCREF(Py_None);
242 _resultobj = Py_None;
243 {
244 if (_obj1)
245 delete _arg1;
246 }
247 return _resultobj;
248 }
249
250 static void *SwigwxButtonTowxControl(void *ptr) {
251 wxButton *src;
252 wxControl *dest;
253 src = (wxButton *) ptr;
254 dest = (wxControl *) src;
255 return (void *) dest;
256 }
257
258 static void *SwigwxButtonTowxWindow(void *ptr) {
259 wxButton *src;
260 wxWindow *dest;
261 src = (wxButton *) ptr;
262 dest = (wxWindow *) src;
263 return (void *) dest;
264 }
265
266 static void *SwigwxButtonTowxEvtHandler(void *ptr) {
267 wxButton *src;
268 wxEvtHandler *dest;
269 src = (wxButton *) ptr;
270 dest = (wxEvtHandler *) src;
271 return (void *) dest;
272 }
273
274 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
275 static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args) {
276 PyObject * _resultobj;
277 wxButton * _result;
278 wxWindow * _arg0;
279 wxWindowID _arg1;
280 wxString * _arg2;
281 wxPoint * _arg3 = &wxPyDefaultPosition;
282 wxSize * _arg4 = &wxPyDefaultSize;
283 long _arg5 = 0;
284 wxValidator * _arg6 = &wxPyDefaultValidator;
285 char * _arg7 = "button";
286 char * _argc0 = 0;
287 PyObject * _obj2 = 0;
288 char * _argc3 = 0;
289 char * _argc4 = 0;
290 char * _argc6 = 0;
291 char _ptemp[128];
292
293 self = self;
294 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxButton",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
295 return NULL;
296 if (_argc0) {
297 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
299 return NULL;
300 }
301 }
302 {
303 if (!PyString_Check(_obj2)) {
304 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
305 return NULL;
306 }
307 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
308 }
309 if (_argc3) {
310 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
311 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxButton. Expected _wxPoint_p.");
312 return NULL;
313 }
314 }
315 if (_argc4) {
316 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
317 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxButton. Expected _wxSize_p.");
318 return NULL;
319 }
320 }
321 if (_argc6) {
322 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
324 return NULL;
325 }
326 }
327 {
328 wxPy_BEGIN_ALLOW_THREADS;
329 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
330
331 wxPy_END_ALLOW_THREADS;
332 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
333 _resultobj = Py_BuildValue("s",_ptemp);
334 {
335 if (_obj2)
336 delete _arg2;
337 }
338 return _resultobj;
339 }
340
341 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
342 static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args) {
343 PyObject * _resultobj;
344 wxButton * _arg0;
345 char * _argc0 = 0;
346
347 self = self;
348 if(!PyArg_ParseTuple(args,"s:wxButton_SetDefault",&_argc0))
349 return NULL;
350 if (_argc0) {
351 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxButton_p")) {
352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
353 return NULL;
354 }
355 }
356 {
357 wxPy_BEGIN_ALLOW_THREADS;
358 wxButton_SetDefault(_arg0);
359
360 wxPy_END_ALLOW_THREADS;
361 } Py_INCREF(Py_None);
362 _resultobj = Py_None;
363 return _resultobj;
364 }
365
366 static void *SwigwxBitmapButtonTowxButton(void *ptr) {
367 wxBitmapButton *src;
368 wxButton *dest;
369 src = (wxBitmapButton *) ptr;
370 dest = (wxButton *) src;
371 return (void *) dest;
372 }
373
374 static void *SwigwxBitmapButtonTowxControl(void *ptr) {
375 wxBitmapButton *src;
376 wxControl *dest;
377 src = (wxBitmapButton *) ptr;
378 dest = (wxControl *) src;
379 return (void *) dest;
380 }
381
382 static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
383 wxBitmapButton *src;
384 wxWindow *dest;
385 src = (wxBitmapButton *) ptr;
386 dest = (wxWindow *) src;
387 return (void *) dest;
388 }
389
390 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
391 wxBitmapButton *src;
392 wxEvtHandler *dest;
393 src = (wxBitmapButton *) ptr;
394 dest = (wxEvtHandler *) src;
395 return (void *) dest;
396 }
397
398 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
399 static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args) {
400 PyObject * _resultobj;
401 wxBitmapButton * _result;
402 wxWindow * _arg0;
403 wxWindowID _arg1;
404 wxBitmap * _arg2;
405 wxPoint * _arg3 = &wxPyDefaultPosition;
406 wxSize * _arg4 = &wxPyDefaultSize;
407 long _arg5 = (wxBU_AUTODRAW);
408 wxValidator * _arg6 = &wxPyDefaultValidator;
409 char * _arg7 = "button";
410 char * _argc0 = 0;
411 char * _argc2 = 0;
412 char * _argc3 = 0;
413 char * _argc4 = 0;
414 char * _argc6 = 0;
415 char _ptemp[128];
416
417 self = self;
418 if(!PyArg_ParseTuple(args,"sis|sslss:new_wxBitmapButton",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
419 return NULL;
420 if (_argc0) {
421 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
423 return NULL;
424 }
425 }
426 if (_argc2) {
427 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
428 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
429 return NULL;
430 }
431 }
432 if (_argc3) {
433 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxBitmapButton. Expected _wxPoint_p.");
435 return NULL;
436 }
437 }
438 if (_argc4) {
439 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxBitmapButton. Expected _wxSize_p.");
441 return NULL;
442 }
443 }
444 if (_argc6) {
445 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
446 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
447 return NULL;
448 }
449 }
450 {
451 wxPy_BEGIN_ALLOW_THREADS;
452 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
453
454 wxPy_END_ALLOW_THREADS;
455 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
456 _resultobj = Py_BuildValue("s",_ptemp);
457 return _resultobj;
458 }
459
460 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
461 static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args) {
462 PyObject * _resultobj;
463 wxBitmap * _result;
464 wxBitmapButton * _arg0;
465 char * _argc0 = 0;
466 char _ptemp[128];
467
468 self = self;
469 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapLabel",&_argc0))
470 return NULL;
471 if (_argc0) {
472 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
474 return NULL;
475 }
476 }
477 {
478 wxPy_BEGIN_ALLOW_THREADS;
479 wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0);
480 _result = (wxBitmap *) &_result_ref;
481
482 wxPy_END_ALLOW_THREADS;
483 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
484 _resultobj = Py_BuildValue("s",_ptemp);
485 return _resultobj;
486 }
487
488 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
489 static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args) {
490 PyObject * _resultobj;
491 wxBitmap * _result;
492 wxBitmapButton * _arg0;
493 char * _argc0 = 0;
494 char _ptemp[128];
495
496 self = self;
497 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapDisabled",&_argc0))
498 return NULL;
499 if (_argc0) {
500 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
502 return NULL;
503 }
504 }
505 {
506 wxPy_BEGIN_ALLOW_THREADS;
507 wxBitmap & _result_ref = wxBitmapButton_GetBitmapDisabled(_arg0);
508 _result = (wxBitmap *) &_result_ref;
509
510 wxPy_END_ALLOW_THREADS;
511 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
512 _resultobj = Py_BuildValue("s",_ptemp);
513 return _resultobj;
514 }
515
516 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
517 static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args) {
518 PyObject * _resultobj;
519 wxBitmap * _result;
520 wxBitmapButton * _arg0;
521 char * _argc0 = 0;
522 char _ptemp[128];
523
524 self = self;
525 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapFocus",&_argc0))
526 return NULL;
527 if (_argc0) {
528 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
530 return NULL;
531 }
532 }
533 {
534 wxPy_BEGIN_ALLOW_THREADS;
535 wxBitmap & _result_ref = wxBitmapButton_GetBitmapFocus(_arg0);
536 _result = (wxBitmap *) &_result_ref;
537
538 wxPy_END_ALLOW_THREADS;
539 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
540 _resultobj = Py_BuildValue("s",_ptemp);
541 return _resultobj;
542 }
543
544 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
545 static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args) {
546 PyObject * _resultobj;
547 wxBitmap * _result;
548 wxBitmapButton * _arg0;
549 char * _argc0 = 0;
550 char _ptemp[128];
551
552 self = self;
553 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapSelected",&_argc0))
554 return NULL;
555 if (_argc0) {
556 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
558 return NULL;
559 }
560 }
561 {
562 wxPy_BEGIN_ALLOW_THREADS;
563 wxBitmap & _result_ref = wxBitmapButton_GetBitmapSelected(_arg0);
564 _result = (wxBitmap *) &_result_ref;
565
566 wxPy_END_ALLOW_THREADS;
567 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
568 _resultobj = Py_BuildValue("s",_ptemp);
569 return _resultobj;
570 }
571
572 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
573 static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args) {
574 PyObject * _resultobj;
575 wxBitmapButton * _arg0;
576 wxBitmap * _arg1;
577 char * _argc0 = 0;
578 char * _argc1 = 0;
579
580 self = self;
581 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapDisabled",&_argc0,&_argc1))
582 return NULL;
583 if (_argc0) {
584 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
586 return NULL;
587 }
588 }
589 if (_argc1) {
590 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
591 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
592 return NULL;
593 }
594 }
595 {
596 wxPy_BEGIN_ALLOW_THREADS;
597 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
598
599 wxPy_END_ALLOW_THREADS;
600 } Py_INCREF(Py_None);
601 _resultobj = Py_None;
602 return _resultobj;
603 }
604
605 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
606 static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args) {
607 PyObject * _resultobj;
608 wxBitmapButton * _arg0;
609 wxBitmap * _arg1;
610 char * _argc0 = 0;
611 char * _argc1 = 0;
612
613 self = self;
614 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapFocus",&_argc0,&_argc1))
615 return NULL;
616 if (_argc0) {
617 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
619 return NULL;
620 }
621 }
622 if (_argc1) {
623 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
624 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
625 return NULL;
626 }
627 }
628 {
629 wxPy_BEGIN_ALLOW_THREADS;
630 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
631
632 wxPy_END_ALLOW_THREADS;
633 } Py_INCREF(Py_None);
634 _resultobj = Py_None;
635 return _resultobj;
636 }
637
638 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
639 static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args) {
640 PyObject * _resultobj;
641 wxBitmapButton * _arg0;
642 wxBitmap * _arg1;
643 char * _argc0 = 0;
644 char * _argc1 = 0;
645
646 self = self;
647 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapSelected",&_argc0,&_argc1))
648 return NULL;
649 if (_argc0) {
650 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
652 return NULL;
653 }
654 }
655 if (_argc1) {
656 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
658 return NULL;
659 }
660 }
661 {
662 wxPy_BEGIN_ALLOW_THREADS;
663 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
664
665 wxPy_END_ALLOW_THREADS;
666 } Py_INCREF(Py_None);
667 _resultobj = Py_None;
668 return _resultobj;
669 }
670
671 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
672 static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args) {
673 PyObject * _resultobj;
674 wxBitmapButton * _arg0;
675 wxBitmap * _arg1;
676 char * _argc0 = 0;
677 char * _argc1 = 0;
678
679 self = self;
680 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapLabel",&_argc0,&_argc1))
681 return NULL;
682 if (_argc0) {
683 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
685 return NULL;
686 }
687 }
688 if (_argc1) {
689 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
690 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
691 return NULL;
692 }
693 }
694 {
695 wxPy_BEGIN_ALLOW_THREADS;
696 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
697
698 wxPy_END_ALLOW_THREADS;
699 } Py_INCREF(Py_None);
700 _resultobj = Py_None;
701 return _resultobj;
702 }
703
704 static void *SwigwxCheckBoxTowxControl(void *ptr) {
705 wxCheckBox *src;
706 wxControl *dest;
707 src = (wxCheckBox *) ptr;
708 dest = (wxControl *) src;
709 return (void *) dest;
710 }
711
712 static void *SwigwxCheckBoxTowxWindow(void *ptr) {
713 wxCheckBox *src;
714 wxWindow *dest;
715 src = (wxCheckBox *) ptr;
716 dest = (wxWindow *) src;
717 return (void *) dest;
718 }
719
720 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
721 wxCheckBox *src;
722 wxEvtHandler *dest;
723 src = (wxCheckBox *) ptr;
724 dest = (wxEvtHandler *) src;
725 return (void *) dest;
726 }
727
728 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
729 static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args) {
730 PyObject * _resultobj;
731 wxCheckBox * _result;
732 wxWindow * _arg0;
733 wxWindowID _arg1;
734 wxString * _arg2;
735 wxPoint * _arg3 = &wxPyDefaultPosition;
736 wxSize * _arg4 = &wxPyDefaultSize;
737 long _arg5 = 0;
738 wxValidator * _arg6 = &wxPyDefaultValidator;
739 char * _arg7 = "checkBox";
740 char * _argc0 = 0;
741 PyObject * _obj2 = 0;
742 char * _argc3 = 0;
743 char * _argc4 = 0;
744 char * _argc6 = 0;
745 char _ptemp[128];
746
747 self = self;
748 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxCheckBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
749 return NULL;
750 if (_argc0) {
751 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
753 return NULL;
754 }
755 }
756 {
757 if (!PyString_Check(_obj2)) {
758 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
759 return NULL;
760 }
761 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
762 }
763 if (_argc3) {
764 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
765 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxCheckBox. Expected _wxPoint_p.");
766 return NULL;
767 }
768 }
769 if (_argc4) {
770 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
771 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxCheckBox. Expected _wxSize_p.");
772 return NULL;
773 }
774 }
775 if (_argc6) {
776 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
777 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
778 return NULL;
779 }
780 }
781 {
782 wxPy_BEGIN_ALLOW_THREADS;
783 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
784
785 wxPy_END_ALLOW_THREADS;
786 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
787 _resultobj = Py_BuildValue("s",_ptemp);
788 {
789 if (_obj2)
790 delete _arg2;
791 }
792 return _resultobj;
793 }
794
795 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
796 static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args) {
797 PyObject * _resultobj;
798 bool _result;
799 wxCheckBox * _arg0;
800 char * _argc0 = 0;
801
802 self = self;
803 if(!PyArg_ParseTuple(args,"s:wxCheckBox_GetValue",&_argc0))
804 return NULL;
805 if (_argc0) {
806 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckBox_p")) {
807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
808 return NULL;
809 }
810 }
811 {
812 wxPy_BEGIN_ALLOW_THREADS;
813 _result = (bool )wxCheckBox_GetValue(_arg0);
814
815 wxPy_END_ALLOW_THREADS;
816 } _resultobj = Py_BuildValue("i",_result);
817 return _resultobj;
818 }
819
820 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
821 static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args) {
822 PyObject * _resultobj;
823 wxCheckBox * _arg0;
824 bool _arg1;
825 char * _argc0 = 0;
826 int tempbool1;
827
828 self = self;
829 if(!PyArg_ParseTuple(args,"si:wxCheckBox_SetValue",&_argc0,&tempbool1))
830 return NULL;
831 if (_argc0) {
832 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckBox_p")) {
833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
834 return NULL;
835 }
836 }
837 _arg1 = (bool ) tempbool1;
838 {
839 wxPy_BEGIN_ALLOW_THREADS;
840 wxCheckBox_SetValue(_arg0,_arg1);
841
842 wxPy_END_ALLOW_THREADS;
843 } Py_INCREF(Py_None);
844 _resultobj = Py_None;
845 return _resultobj;
846 }
847
848 static void *SwigwxChoiceTowxControl(void *ptr) {
849 wxChoice *src;
850 wxControl *dest;
851 src = (wxChoice *) ptr;
852 dest = (wxControl *) src;
853 return (void *) dest;
854 }
855
856 static void *SwigwxChoiceTowxWindow(void *ptr) {
857 wxChoice *src;
858 wxWindow *dest;
859 src = (wxChoice *) ptr;
860 dest = (wxWindow *) src;
861 return (void *) dest;
862 }
863
864 static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
865 wxChoice *src;
866 wxEvtHandler *dest;
867 src = (wxChoice *) ptr;
868 dest = (wxEvtHandler *) src;
869 return (void *) dest;
870 }
871
872 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
873 static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args) {
874 PyObject * _resultobj;
875 wxChoice * _result;
876 wxWindow * _arg0;
877 wxWindowID _arg1;
878 wxPoint * _arg2 = &wxPyDefaultPosition;
879 wxSize * _arg3 = &wxPyDefaultSize;
880 int _arg4 = 0;
881 wxString * _arg5 = NULL;
882 long _arg6 = 0;
883 wxValidator * _arg7 = &wxPyDefaultValidator;
884 char * _arg8 = "choice";
885 char * _argc0 = 0;
886 char * _argc2 = 0;
887 char * _argc3 = 0;
888 PyObject * _obj5 = 0;
889 char * _argc7 = 0;
890 char _ptemp[128];
891
892 self = self;
893 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxChoice",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
894 return NULL;
895 if (_argc0) {
896 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
898 return NULL;
899 }
900 }
901 if (_argc2) {
902 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
903 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxChoice. Expected _wxPoint_p.");
904 return NULL;
905 }
906 }
907 if (_argc3) {
908 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
909 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxChoice. Expected _wxSize_p.");
910 return NULL;
911 }
912 }
913 if (_obj5)
914 {
915 _arg5 = wxString_LIST_helper(_obj5);
916 if (_arg5 == NULL) {
917 return NULL;
918 }
919 }
920 if (_argc7) {
921 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
922 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
923 return NULL;
924 }
925 }
926 {
927 if (_obj5) {
928 _arg4 = PyList_Size(_obj5);
929 }
930 else {
931 _arg4 = 0;
932 }
933 }
934 {
935 wxPy_BEGIN_ALLOW_THREADS;
936 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
937
938 wxPy_END_ALLOW_THREADS;
939 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
940 _resultobj = Py_BuildValue("s",_ptemp);
941 {
942 delete [] _arg5;
943 }
944 return _resultobj;
945 }
946
947 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
948 static PyObject *_wrap_wxChoice_Append(PyObject *self, PyObject *args) {
949 PyObject * _resultobj;
950 wxChoice * _arg0;
951 wxString * _arg1;
952 char * _argc0 = 0;
953 PyObject * _obj1 = 0;
954
955 self = self;
956 if(!PyArg_ParseTuple(args,"sO:wxChoice_Append",&_argc0,&_obj1))
957 return NULL;
958 if (_argc0) {
959 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
961 return NULL;
962 }
963 }
964 {
965 if (!PyString_Check(_obj1)) {
966 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
967 return NULL;
968 }
969 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
970 }
971 {
972 wxPy_BEGIN_ALLOW_THREADS;
973 wxChoice_Append(_arg0,*_arg1);
974
975 wxPy_END_ALLOW_THREADS;
976 } Py_INCREF(Py_None);
977 _resultobj = Py_None;
978 {
979 if (_obj1)
980 delete _arg1;
981 }
982 return _resultobj;
983 }
984
985 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
986 static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args) {
987 PyObject * _resultobj;
988 wxChoice * _arg0;
989 char * _argc0 = 0;
990
991 self = self;
992 if(!PyArg_ParseTuple(args,"s:wxChoice_Clear",&_argc0))
993 return NULL;
994 if (_argc0) {
995 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
997 return NULL;
998 }
999 }
1000 {
1001 wxPy_BEGIN_ALLOW_THREADS;
1002 wxChoice_Clear(_arg0);
1003
1004 wxPy_END_ALLOW_THREADS;
1005 } Py_INCREF(Py_None);
1006 _resultobj = Py_None;
1007 return _resultobj;
1008 }
1009
1010 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1011 static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args) {
1012 PyObject * _resultobj;
1013 int _result;
1014 wxChoice * _arg0;
1015 wxString * _arg1;
1016 char * _argc0 = 0;
1017 PyObject * _obj1 = 0;
1018
1019 self = self;
1020 if(!PyArg_ParseTuple(args,"sO:wxChoice_FindString",&_argc0,&_obj1))
1021 return NULL;
1022 if (_argc0) {
1023 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1025 return NULL;
1026 }
1027 }
1028 {
1029 if (!PyString_Check(_obj1)) {
1030 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1031 return NULL;
1032 }
1033 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1034 }
1035 {
1036 wxPy_BEGIN_ALLOW_THREADS;
1037 _result = (int )wxChoice_FindString(_arg0,*_arg1);
1038
1039 wxPy_END_ALLOW_THREADS;
1040 } _resultobj = Py_BuildValue("i",_result);
1041 {
1042 if (_obj1)
1043 delete _arg1;
1044 }
1045 return _resultobj;
1046 }
1047
1048 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1049 static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args) {
1050 PyObject * _resultobj;
1051 int _result;
1052 wxChoice * _arg0;
1053 char * _argc0 = 0;
1054
1055 self = self;
1056 if(!PyArg_ParseTuple(args,"s:wxChoice_GetColumns",&_argc0))
1057 return NULL;
1058 if (_argc0) {
1059 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1061 return NULL;
1062 }
1063 }
1064 {
1065 wxPy_BEGIN_ALLOW_THREADS;
1066 _result = (int )wxChoice_GetColumns(_arg0);
1067
1068 wxPy_END_ALLOW_THREADS;
1069 } _resultobj = Py_BuildValue("i",_result);
1070 return _resultobj;
1071 }
1072
1073 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1074 static PyObject *_wrap_wxChoice_GetSelection(PyObject *self, PyObject *args) {
1075 PyObject * _resultobj;
1076 int _result;
1077 wxChoice * _arg0;
1078 char * _argc0 = 0;
1079
1080 self = self;
1081 if(!PyArg_ParseTuple(args,"s:wxChoice_GetSelection",&_argc0))
1082 return NULL;
1083 if (_argc0) {
1084 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1086 return NULL;
1087 }
1088 }
1089 {
1090 wxPy_BEGIN_ALLOW_THREADS;
1091 _result = (int )wxChoice_GetSelection(_arg0);
1092
1093 wxPy_END_ALLOW_THREADS;
1094 } _resultobj = Py_BuildValue("i",_result);
1095 return _resultobj;
1096 }
1097
1098 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1099 static PyObject *_wrap_wxChoice_GetString(PyObject *self, PyObject *args) {
1100 PyObject * _resultobj;
1101 wxString * _result;
1102 wxChoice * _arg0;
1103 int _arg1;
1104 char * _argc0 = 0;
1105
1106 self = self;
1107 if(!PyArg_ParseTuple(args,"si:wxChoice_GetString",&_argc0,&_arg1))
1108 return NULL;
1109 if (_argc0) {
1110 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1112 return NULL;
1113 }
1114 }
1115 {
1116 wxPy_BEGIN_ALLOW_THREADS;
1117 _result = new wxString (wxChoice_GetString(_arg0,_arg1));
1118
1119 wxPy_END_ALLOW_THREADS;
1120 }{
1121 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1122 }
1123 {
1124 delete _result;
1125 }
1126 return _resultobj;
1127 }
1128
1129 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1130 static PyObject *_wrap_wxChoice_GetStringSelection(PyObject *self, PyObject *args) {
1131 PyObject * _resultobj;
1132 wxString * _result;
1133 wxChoice * _arg0;
1134 char * _argc0 = 0;
1135
1136 self = self;
1137 if(!PyArg_ParseTuple(args,"s:wxChoice_GetStringSelection",&_argc0))
1138 return NULL;
1139 if (_argc0) {
1140 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1142 return NULL;
1143 }
1144 }
1145 {
1146 wxPy_BEGIN_ALLOW_THREADS;
1147 _result = new wxString (wxChoice_GetStringSelection(_arg0));
1148
1149 wxPy_END_ALLOW_THREADS;
1150 }{
1151 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1152 }
1153 {
1154 delete _result;
1155 }
1156 return _resultobj;
1157 }
1158
1159 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1160 static PyObject *_wrap_wxChoice_Number(PyObject *self, PyObject *args) {
1161 PyObject * _resultobj;
1162 int _result;
1163 wxChoice * _arg0;
1164 char * _argc0 = 0;
1165
1166 self = self;
1167 if(!PyArg_ParseTuple(args,"s:wxChoice_Number",&_argc0))
1168 return NULL;
1169 if (_argc0) {
1170 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1172 return NULL;
1173 }
1174 }
1175 {
1176 wxPy_BEGIN_ALLOW_THREADS;
1177 _result = (int )wxChoice_Number(_arg0);
1178
1179 wxPy_END_ALLOW_THREADS;
1180 } _resultobj = Py_BuildValue("i",_result);
1181 return _resultobj;
1182 }
1183
1184 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1185 static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args) {
1186 PyObject * _resultobj;
1187 wxChoice * _arg0;
1188 int _arg1 = 1;
1189 char * _argc0 = 0;
1190
1191 self = self;
1192 if(!PyArg_ParseTuple(args,"s|i:wxChoice_SetColumns",&_argc0,&_arg1))
1193 return NULL;
1194 if (_argc0) {
1195 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1197 return NULL;
1198 }
1199 }
1200 {
1201 wxPy_BEGIN_ALLOW_THREADS;
1202 wxChoice_SetColumns(_arg0,_arg1);
1203
1204 wxPy_END_ALLOW_THREADS;
1205 } Py_INCREF(Py_None);
1206 _resultobj = Py_None;
1207 return _resultobj;
1208 }
1209
1210 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1211 static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args) {
1212 PyObject * _resultobj;
1213 wxChoice * _arg0;
1214 int _arg1;
1215 char * _argc0 = 0;
1216
1217 self = self;
1218 if(!PyArg_ParseTuple(args,"si:wxChoice_SetSelection",&_argc0,&_arg1))
1219 return NULL;
1220 if (_argc0) {
1221 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1223 return NULL;
1224 }
1225 }
1226 {
1227 wxPy_BEGIN_ALLOW_THREADS;
1228 wxChoice_SetSelection(_arg0,_arg1);
1229
1230 wxPy_END_ALLOW_THREADS;
1231 } Py_INCREF(Py_None);
1232 _resultobj = Py_None;
1233 return _resultobj;
1234 }
1235
1236 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1237 static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args) {
1238 PyObject * _resultobj;
1239 wxChoice * _arg0;
1240 wxString * _arg1;
1241 char * _argc0 = 0;
1242 PyObject * _obj1 = 0;
1243
1244 self = self;
1245 if(!PyArg_ParseTuple(args,"sO:wxChoice_SetStringSelection",&_argc0,&_obj1))
1246 return NULL;
1247 if (_argc0) {
1248 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1250 return NULL;
1251 }
1252 }
1253 {
1254 if (!PyString_Check(_obj1)) {
1255 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1256 return NULL;
1257 }
1258 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1259 }
1260 {
1261 wxPy_BEGIN_ALLOW_THREADS;
1262 wxChoice_SetStringSelection(_arg0,*_arg1);
1263
1264 wxPy_END_ALLOW_THREADS;
1265 } Py_INCREF(Py_None);
1266 _resultobj = Py_None;
1267 {
1268 if (_obj1)
1269 delete _arg1;
1270 }
1271 return _resultobj;
1272 }
1273
1274 static void *SwigwxComboBoxTowxChoice(void *ptr) {
1275 wxComboBox *src;
1276 wxChoice *dest;
1277 src = (wxComboBox *) ptr;
1278 dest = (wxChoice *) src;
1279 return (void *) dest;
1280 }
1281
1282 static void *SwigwxComboBoxTowxControl(void *ptr) {
1283 wxComboBox *src;
1284 wxControl *dest;
1285 src = (wxComboBox *) ptr;
1286 dest = (wxControl *) src;
1287 return (void *) dest;
1288 }
1289
1290 static void *SwigwxComboBoxTowxWindow(void *ptr) {
1291 wxComboBox *src;
1292 wxWindow *dest;
1293 src = (wxComboBox *) ptr;
1294 dest = (wxWindow *) src;
1295 return (void *) dest;
1296 }
1297
1298 static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
1299 wxComboBox *src;
1300 wxEvtHandler *dest;
1301 src = (wxComboBox *) ptr;
1302 dest = (wxEvtHandler *) src;
1303 return (void *) dest;
1304 }
1305
1306 #define new_wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
1307 static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args) {
1308 PyObject * _resultobj;
1309 wxComboBox * _result;
1310 wxWindow * _arg0;
1311 wxWindowID _arg1;
1312 char * _arg2 = "";
1313 wxPoint * _arg3 = &wxPyDefaultPosition;
1314 wxSize * _arg4 = &wxPyDefaultSize;
1315 int _arg5 = 0;
1316 wxString * _arg6 = NULL;
1317 long _arg7 = 0;
1318 wxValidator * _arg8 = &wxPyDefaultValidator;
1319 char * _arg9 = "comboBox";
1320 char * _argc0 = 0;
1321 char * _argc3 = 0;
1322 char * _argc4 = 0;
1323 PyObject * _obj6 = 0;
1324 char * _argc8 = 0;
1325 char _ptemp[128];
1326
1327 self = self;
1328 if(!PyArg_ParseTuple(args,"si|sssOlss:new_wxComboBox",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_obj6,&_arg7,&_argc8,&_arg9))
1329 return NULL;
1330 if (_argc0) {
1331 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1333 return NULL;
1334 }
1335 }
1336 if (_argc3) {
1337 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
1338 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxComboBox. Expected _wxPoint_p.");
1339 return NULL;
1340 }
1341 }
1342 if (_argc4) {
1343 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
1344 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxComboBox. Expected _wxSize_p.");
1345 return NULL;
1346 }
1347 }
1348 if (_obj6)
1349 {
1350 _arg6 = wxString_LIST_helper(_obj6);
1351 if (_arg6 == NULL) {
1352 return NULL;
1353 }
1354 }
1355 if (_argc8) {
1356 if (SWIG_GetPtr(_argc8,(void **) &_arg8,"_wxValidator_p")) {
1357 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1358 return NULL;
1359 }
1360 }
1361 {
1362 if (_obj6) {
1363 _arg5 = PyList_Size(_obj6);
1364 }
1365 else {
1366 _arg5 = 0;
1367 }
1368 }
1369 {
1370 wxPy_BEGIN_ALLOW_THREADS;
1371 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
1372
1373 wxPy_END_ALLOW_THREADS;
1374 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
1375 _resultobj = Py_BuildValue("s",_ptemp);
1376 {
1377 delete [] _arg6;
1378 }
1379 return _resultobj;
1380 }
1381
1382 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1383 static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args) {
1384 PyObject * _resultobj;
1385 wxComboBox * _arg0;
1386 wxString * _arg1;
1387 char * _argc0 = 0;
1388 PyObject * _obj1 = 0;
1389
1390 self = self;
1391 if(!PyArg_ParseTuple(args,"sO:wxComboBox_Append",&_argc0,&_obj1))
1392 return NULL;
1393 if (_argc0) {
1394 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1396 return NULL;
1397 }
1398 }
1399 {
1400 if (!PyString_Check(_obj1)) {
1401 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1402 return NULL;
1403 }
1404 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1405 }
1406 {
1407 wxPy_BEGIN_ALLOW_THREADS;
1408 wxComboBox_Append(_arg0,*_arg1);
1409
1410 wxPy_END_ALLOW_THREADS;
1411 } Py_INCREF(Py_None);
1412 _resultobj = Py_None;
1413 {
1414 if (_obj1)
1415 delete _arg1;
1416 }
1417 return _resultobj;
1418 }
1419
1420 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1421 static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args) {
1422 PyObject * _resultobj;
1423 wxComboBox * _arg0;
1424 char * _argc0 = 0;
1425
1426 self = self;
1427 if(!PyArg_ParseTuple(args,"s:wxComboBox_Clear",&_argc0))
1428 return NULL;
1429 if (_argc0) {
1430 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1432 return NULL;
1433 }
1434 }
1435 {
1436 wxPy_BEGIN_ALLOW_THREADS;
1437 wxComboBox_Clear(_arg0);
1438
1439 wxPy_END_ALLOW_THREADS;
1440 } Py_INCREF(Py_None);
1441 _resultobj = Py_None;
1442 return _resultobj;
1443 }
1444
1445 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1446 static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args) {
1447 PyObject * _resultobj;
1448 wxComboBox * _arg0;
1449 char * _argc0 = 0;
1450
1451 self = self;
1452 if(!PyArg_ParseTuple(args,"s:wxComboBox_Copy",&_argc0))
1453 return NULL;
1454 if (_argc0) {
1455 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1457 return NULL;
1458 }
1459 }
1460 {
1461 wxPy_BEGIN_ALLOW_THREADS;
1462 wxComboBox_Copy(_arg0);
1463
1464 wxPy_END_ALLOW_THREADS;
1465 } Py_INCREF(Py_None);
1466 _resultobj = Py_None;
1467 return _resultobj;
1468 }
1469
1470 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1471 static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args) {
1472 PyObject * _resultobj;
1473 wxComboBox * _arg0;
1474 char * _argc0 = 0;
1475
1476 self = self;
1477 if(!PyArg_ParseTuple(args,"s:wxComboBox_Cut",&_argc0))
1478 return NULL;
1479 if (_argc0) {
1480 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1482 return NULL;
1483 }
1484 }
1485 {
1486 wxPy_BEGIN_ALLOW_THREADS;
1487 wxComboBox_Cut(_arg0);
1488
1489 wxPy_END_ALLOW_THREADS;
1490 } Py_INCREF(Py_None);
1491 _resultobj = Py_None;
1492 return _resultobj;
1493 }
1494
1495 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1496 static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args) {
1497 PyObject * _resultobj;
1498 wxComboBox * _arg0;
1499 int _arg1;
1500 char * _argc0 = 0;
1501
1502 self = self;
1503 if(!PyArg_ParseTuple(args,"si:wxComboBox_Delete",&_argc0,&_arg1))
1504 return NULL;
1505 if (_argc0) {
1506 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1508 return NULL;
1509 }
1510 }
1511 {
1512 wxPy_BEGIN_ALLOW_THREADS;
1513 wxComboBox_Delete(_arg0,_arg1);
1514
1515 wxPy_END_ALLOW_THREADS;
1516 } Py_INCREF(Py_None);
1517 _resultobj = Py_None;
1518 return _resultobj;
1519 }
1520
1521 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1522 static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args) {
1523 PyObject * _resultobj;
1524 int _result;
1525 wxComboBox * _arg0;
1526 wxString * _arg1;
1527 char * _argc0 = 0;
1528 PyObject * _obj1 = 0;
1529
1530 self = self;
1531 if(!PyArg_ParseTuple(args,"sO:wxComboBox_FindString",&_argc0,&_obj1))
1532 return NULL;
1533 if (_argc0) {
1534 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
1536 return NULL;
1537 }
1538 }
1539 {
1540 if (!PyString_Check(_obj1)) {
1541 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1542 return NULL;
1543 }
1544 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1545 }
1546 {
1547 wxPy_BEGIN_ALLOW_THREADS;
1548 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
1549
1550 wxPy_END_ALLOW_THREADS;
1551 } _resultobj = Py_BuildValue("i",_result);
1552 {
1553 if (_obj1)
1554 delete _arg1;
1555 }
1556 return _resultobj;
1557 }
1558
1559 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
1560 static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args) {
1561 PyObject * _resultobj;
1562 long _result;
1563 wxComboBox * _arg0;
1564 char * _argc0 = 0;
1565
1566 self = self;
1567 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetInsertionPoint",&_argc0))
1568 return NULL;
1569 if (_argc0) {
1570 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
1572 return NULL;
1573 }
1574 }
1575 {
1576 wxPy_BEGIN_ALLOW_THREADS;
1577 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
1578
1579 wxPy_END_ALLOW_THREADS;
1580 } _resultobj = Py_BuildValue("l",_result);
1581 return _resultobj;
1582 }
1583
1584 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
1585 static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args) {
1586 PyObject * _resultobj;
1587 long _result;
1588 wxComboBox * _arg0;
1589 char * _argc0 = 0;
1590
1591 self = self;
1592 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetLastPosition",&_argc0))
1593 return NULL;
1594 if (_argc0) {
1595 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
1597 return NULL;
1598 }
1599 }
1600 {
1601 wxPy_BEGIN_ALLOW_THREADS;
1602 _result = (long )wxComboBox_GetLastPosition(_arg0);
1603
1604 wxPy_END_ALLOW_THREADS;
1605 } _resultobj = Py_BuildValue("l",_result);
1606 return _resultobj;
1607 }
1608
1609 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
1610 static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args) {
1611 PyObject * _resultobj;
1612 int _result;
1613 wxComboBox * _arg0;
1614 char * _argc0 = 0;
1615
1616 self = self;
1617 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetSelection",&_argc0))
1618 return NULL;
1619 if (_argc0) {
1620 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
1622 return NULL;
1623 }
1624 }
1625 {
1626 wxPy_BEGIN_ALLOW_THREADS;
1627 _result = (int )wxComboBox_GetSelection(_arg0);
1628
1629 wxPy_END_ALLOW_THREADS;
1630 } _resultobj = Py_BuildValue("i",_result);
1631 return _resultobj;
1632 }
1633
1634 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1635 static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args) {
1636 PyObject * _resultobj;
1637 wxString * _result;
1638 wxComboBox * _arg0;
1639 int _arg1;
1640 char * _argc0 = 0;
1641
1642 self = self;
1643 if(!PyArg_ParseTuple(args,"si:wxComboBox_GetString",&_argc0,&_arg1))
1644 return NULL;
1645 if (_argc0) {
1646 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
1648 return NULL;
1649 }
1650 }
1651 {
1652 wxPy_BEGIN_ALLOW_THREADS;
1653 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
1654
1655 wxPy_END_ALLOW_THREADS;
1656 }{
1657 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1658 }
1659 {
1660 delete _result;
1661 }
1662 return _resultobj;
1663 }
1664
1665 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1666 static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args) {
1667 PyObject * _resultobj;
1668 wxString * _result;
1669 wxComboBox * _arg0;
1670 char * _argc0 = 0;
1671
1672 self = self;
1673 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetStringSelection",&_argc0))
1674 return NULL;
1675 if (_argc0) {
1676 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
1678 return NULL;
1679 }
1680 }
1681 {
1682 wxPy_BEGIN_ALLOW_THREADS;
1683 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
1684
1685 wxPy_END_ALLOW_THREADS;
1686 }{
1687 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1688 }
1689 {
1690 delete _result;
1691 }
1692 return _resultobj;
1693 }
1694
1695 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
1696 static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args) {
1697 PyObject * _resultobj;
1698 wxString * _result;
1699 wxComboBox * _arg0;
1700 char * _argc0 = 0;
1701
1702 self = self;
1703 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetValue",&_argc0))
1704 return NULL;
1705 if (_argc0) {
1706 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
1708 return NULL;
1709 }
1710 }
1711 {
1712 wxPy_BEGIN_ALLOW_THREADS;
1713 _result = new wxString (wxComboBox_GetValue(_arg0));
1714
1715 wxPy_END_ALLOW_THREADS;
1716 }{
1717 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1718 }
1719 {
1720 delete _result;
1721 }
1722 return _resultobj;
1723 }
1724
1725 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
1726 static PyObject *_wrap_wxComboBox_Number(PyObject *self, PyObject *args) {
1727 PyObject * _resultobj;
1728 int _result;
1729 wxComboBox * _arg0;
1730 char * _argc0 = 0;
1731
1732 self = self;
1733 if(!PyArg_ParseTuple(args,"s:wxComboBox_Number",&_argc0))
1734 return NULL;
1735 if (_argc0) {
1736 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
1738 return NULL;
1739 }
1740 }
1741 {
1742 wxPy_BEGIN_ALLOW_THREADS;
1743 _result = (int )wxComboBox_Number(_arg0);
1744
1745 wxPy_END_ALLOW_THREADS;
1746 } _resultobj = Py_BuildValue("i",_result);
1747 return _resultobj;
1748 }
1749
1750 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
1751 static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args) {
1752 PyObject * _resultobj;
1753 wxComboBox * _arg0;
1754 char * _argc0 = 0;
1755
1756 self = self;
1757 if(!PyArg_ParseTuple(args,"s:wxComboBox_Paste",&_argc0))
1758 return NULL;
1759 if (_argc0) {
1760 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
1762 return NULL;
1763 }
1764 }
1765 {
1766 wxPy_BEGIN_ALLOW_THREADS;
1767 wxComboBox_Paste(_arg0);
1768
1769 wxPy_END_ALLOW_THREADS;
1770 } Py_INCREF(Py_None);
1771 _resultobj = Py_None;
1772 return _resultobj;
1773 }
1774
1775 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1776 static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args) {
1777 PyObject * _resultobj;
1778 wxComboBox * _arg0;
1779 long _arg1;
1780 long _arg2;
1781 wxString * _arg3;
1782 char * _argc0 = 0;
1783 PyObject * _obj3 = 0;
1784
1785 self = self;
1786 if(!PyArg_ParseTuple(args,"sllO:wxComboBox_Replace",&_argc0,&_arg1,&_arg2,&_obj3))
1787 return NULL;
1788 if (_argc0) {
1789 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
1791 return NULL;
1792 }
1793 }
1794 {
1795 if (!PyString_Check(_obj3)) {
1796 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1797 return NULL;
1798 }
1799 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
1800 }
1801 {
1802 wxPy_BEGIN_ALLOW_THREADS;
1803 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
1804
1805 wxPy_END_ALLOW_THREADS;
1806 } Py_INCREF(Py_None);
1807 _resultobj = Py_None;
1808 {
1809 if (_obj3)
1810 delete _arg3;
1811 }
1812 return _resultobj;
1813 }
1814
1815 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
1816 static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args) {
1817 PyObject * _resultobj;
1818 wxComboBox * _arg0;
1819 long _arg1;
1820 long _arg2;
1821 char * _argc0 = 0;
1822
1823 self = self;
1824 if(!PyArg_ParseTuple(args,"sll:wxComboBox_Remove",&_argc0,&_arg1,&_arg2))
1825 return NULL;
1826 if (_argc0) {
1827 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
1829 return NULL;
1830 }
1831 }
1832 {
1833 wxPy_BEGIN_ALLOW_THREADS;
1834 wxComboBox_Remove(_arg0,_arg1,_arg2);
1835
1836 wxPy_END_ALLOW_THREADS;
1837 } Py_INCREF(Py_None);
1838 _resultobj = Py_None;
1839 return _resultobj;
1840 }
1841
1842 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
1843 static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args) {
1844 PyObject * _resultobj;
1845 wxComboBox * _arg0;
1846 long _arg1;
1847 char * _argc0 = 0;
1848
1849 self = self;
1850 if(!PyArg_ParseTuple(args,"sl:wxComboBox_SetInsertionPoint",&_argc0,&_arg1))
1851 return NULL;
1852 if (_argc0) {
1853 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
1855 return NULL;
1856 }
1857 }
1858 {
1859 wxPy_BEGIN_ALLOW_THREADS;
1860 wxComboBox_SetInsertionPoint(_arg0,_arg1);
1861
1862 wxPy_END_ALLOW_THREADS;
1863 } Py_INCREF(Py_None);
1864 _resultobj = Py_None;
1865 return _resultobj;
1866 }
1867
1868 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
1869 static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args) {
1870 PyObject * _resultobj;
1871 wxComboBox * _arg0;
1872 char * _argc0 = 0;
1873
1874 self = self;
1875 if(!PyArg_ParseTuple(args,"s:wxComboBox_SetInsertionPointEnd",&_argc0))
1876 return NULL;
1877 if (_argc0) {
1878 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
1880 return NULL;
1881 }
1882 }
1883 {
1884 wxPy_BEGIN_ALLOW_THREADS;
1885 wxComboBox_SetInsertionPointEnd(_arg0);
1886
1887 wxPy_END_ALLOW_THREADS;
1888 } Py_INCREF(Py_None);
1889 _resultobj = Py_None;
1890 return _resultobj;
1891 }
1892
1893 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
1894 static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args) {
1895 PyObject * _resultobj;
1896 wxComboBox * _arg0;
1897 long _arg1;
1898 long _arg2;
1899 char * _argc0 = 0;
1900
1901 self = self;
1902 if(!PyArg_ParseTuple(args,"sll:wxComboBox_SetMark",&_argc0,&_arg1,&_arg2))
1903 return NULL;
1904 if (_argc0) {
1905 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
1907 return NULL;
1908 }
1909 }
1910 {
1911 wxPy_BEGIN_ALLOW_THREADS;
1912 wxComboBox_SetMark(_arg0,_arg1,_arg2);
1913
1914 wxPy_END_ALLOW_THREADS;
1915 } Py_INCREF(Py_None);
1916 _resultobj = Py_None;
1917 return _resultobj;
1918 }
1919
1920 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1921 static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args) {
1922 PyObject * _resultobj;
1923 wxComboBox * _arg0;
1924 wxString * _arg1;
1925 char * _argc0 = 0;
1926 PyObject * _obj1 = 0;
1927
1928 self = self;
1929 if(!PyArg_ParseTuple(args,"sO:wxComboBox_SetValue",&_argc0,&_obj1))
1930 return NULL;
1931 if (_argc0) {
1932 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
1934 return NULL;
1935 }
1936 }
1937 {
1938 if (!PyString_Check(_obj1)) {
1939 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1940 return NULL;
1941 }
1942 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1943 }
1944 {
1945 wxPy_BEGIN_ALLOW_THREADS;
1946 wxComboBox_SetValue(_arg0,*_arg1);
1947
1948 wxPy_END_ALLOW_THREADS;
1949 } Py_INCREF(Py_None);
1950 _resultobj = Py_None;
1951 {
1952 if (_obj1)
1953 delete _arg1;
1954 }
1955 return _resultobj;
1956 }
1957
1958 static void *SwigwxGaugeTowxControl(void *ptr) {
1959 wxGauge *src;
1960 wxControl *dest;
1961 src = (wxGauge *) ptr;
1962 dest = (wxControl *) src;
1963 return (void *) dest;
1964 }
1965
1966 static void *SwigwxGaugeTowxWindow(void *ptr) {
1967 wxGauge *src;
1968 wxWindow *dest;
1969 src = (wxGauge *) ptr;
1970 dest = (wxWindow *) src;
1971 return (void *) dest;
1972 }
1973
1974 static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
1975 wxGauge *src;
1976 wxEvtHandler *dest;
1977 src = (wxGauge *) ptr;
1978 dest = (wxEvtHandler *) src;
1979 return (void *) dest;
1980 }
1981
1982 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1983 static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args) {
1984 PyObject * _resultobj;
1985 wxGauge * _result;
1986 wxWindow * _arg0;
1987 wxWindowID _arg1;
1988 int _arg2;
1989 wxPoint * _arg3 = &wxPyDefaultPosition;
1990 wxSize * _arg4 = &wxPyDefaultSize;
1991 long _arg5 = (wxGA_HORIZONTAL);
1992 wxValidator * _arg6 = &wxPyDefaultValidator;
1993 char * _arg7 = "gauge";
1994 char * _argc0 = 0;
1995 char * _argc3 = 0;
1996 char * _argc4 = 0;
1997 char * _argc6 = 0;
1998 char _ptemp[128];
1999
2000 self = self;
2001 if(!PyArg_ParseTuple(args,"sii|sslss:new_wxGauge",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
2002 return NULL;
2003 if (_argc0) {
2004 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2006 return NULL;
2007 }
2008 }
2009 if (_argc3) {
2010 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGauge. Expected _wxPoint_p.");
2012 return NULL;
2013 }
2014 }
2015 if (_argc4) {
2016 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxGauge. Expected _wxSize_p.");
2018 return NULL;
2019 }
2020 }
2021 if (_argc6) {
2022 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
2023 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2024 return NULL;
2025 }
2026 }
2027 {
2028 wxPy_BEGIN_ALLOW_THREADS;
2029 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
2030
2031 wxPy_END_ALLOW_THREADS;
2032 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
2033 _resultobj = Py_BuildValue("s",_ptemp);
2034 return _resultobj;
2035 }
2036
2037 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2038 static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args) {
2039 PyObject * _resultobj;
2040 int _result;
2041 wxGauge * _arg0;
2042 char * _argc0 = 0;
2043
2044 self = self;
2045 if(!PyArg_ParseTuple(args,"s:wxGauge_GetBezelFace",&_argc0))
2046 return NULL;
2047 if (_argc0) {
2048 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2050 return NULL;
2051 }
2052 }
2053 {
2054 wxPy_BEGIN_ALLOW_THREADS;
2055 _result = (int )wxGauge_GetBezelFace(_arg0);
2056
2057 wxPy_END_ALLOW_THREADS;
2058 } _resultobj = Py_BuildValue("i",_result);
2059 return _resultobj;
2060 }
2061
2062 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2063 static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args) {
2064 PyObject * _resultobj;
2065 int _result;
2066 wxGauge * _arg0;
2067 char * _argc0 = 0;
2068
2069 self = self;
2070 if(!PyArg_ParseTuple(args,"s:wxGauge_GetRange",&_argc0))
2071 return NULL;
2072 if (_argc0) {
2073 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2075 return NULL;
2076 }
2077 }
2078 {
2079 wxPy_BEGIN_ALLOW_THREADS;
2080 _result = (int )wxGauge_GetRange(_arg0);
2081
2082 wxPy_END_ALLOW_THREADS;
2083 } _resultobj = Py_BuildValue("i",_result);
2084 return _resultobj;
2085 }
2086
2087 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2088 static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args) {
2089 PyObject * _resultobj;
2090 int _result;
2091 wxGauge * _arg0;
2092 char * _argc0 = 0;
2093
2094 self = self;
2095 if(!PyArg_ParseTuple(args,"s:wxGauge_GetShadowWidth",&_argc0))
2096 return NULL;
2097 if (_argc0) {
2098 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2100 return NULL;
2101 }
2102 }
2103 {
2104 wxPy_BEGIN_ALLOW_THREADS;
2105 _result = (int )wxGauge_GetShadowWidth(_arg0);
2106
2107 wxPy_END_ALLOW_THREADS;
2108 } _resultobj = Py_BuildValue("i",_result);
2109 return _resultobj;
2110 }
2111
2112 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2113 static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args) {
2114 PyObject * _resultobj;
2115 int _result;
2116 wxGauge * _arg0;
2117 char * _argc0 = 0;
2118
2119 self = self;
2120 if(!PyArg_ParseTuple(args,"s:wxGauge_GetValue",&_argc0))
2121 return NULL;
2122 if (_argc0) {
2123 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2125 return NULL;
2126 }
2127 }
2128 {
2129 wxPy_BEGIN_ALLOW_THREADS;
2130 _result = (int )wxGauge_GetValue(_arg0);
2131
2132 wxPy_END_ALLOW_THREADS;
2133 } _resultobj = Py_BuildValue("i",_result);
2134 return _resultobj;
2135 }
2136
2137 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2138 static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args) {
2139 PyObject * _resultobj;
2140 wxGauge * _arg0;
2141 int _arg1;
2142 char * _argc0 = 0;
2143
2144 self = self;
2145 if(!PyArg_ParseTuple(args,"si:wxGauge_SetBezelFace",&_argc0,&_arg1))
2146 return NULL;
2147 if (_argc0) {
2148 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2150 return NULL;
2151 }
2152 }
2153 {
2154 wxPy_BEGIN_ALLOW_THREADS;
2155 wxGauge_SetBezelFace(_arg0,_arg1);
2156
2157 wxPy_END_ALLOW_THREADS;
2158 } Py_INCREF(Py_None);
2159 _resultobj = Py_None;
2160 return _resultobj;
2161 }
2162
2163 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2164 static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args) {
2165 PyObject * _resultobj;
2166 wxGauge * _arg0;
2167 int _arg1;
2168 char * _argc0 = 0;
2169
2170 self = self;
2171 if(!PyArg_ParseTuple(args,"si:wxGauge_SetRange",&_argc0,&_arg1))
2172 return NULL;
2173 if (_argc0) {
2174 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2176 return NULL;
2177 }
2178 }
2179 {
2180 wxPy_BEGIN_ALLOW_THREADS;
2181 wxGauge_SetRange(_arg0,_arg1);
2182
2183 wxPy_END_ALLOW_THREADS;
2184 } Py_INCREF(Py_None);
2185 _resultobj = Py_None;
2186 return _resultobj;
2187 }
2188
2189 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2190 static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args) {
2191 PyObject * _resultobj;
2192 wxGauge * _arg0;
2193 int _arg1;
2194 char * _argc0 = 0;
2195
2196 self = self;
2197 if(!PyArg_ParseTuple(args,"si:wxGauge_SetShadowWidth",&_argc0,&_arg1))
2198 return NULL;
2199 if (_argc0) {
2200 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2202 return NULL;
2203 }
2204 }
2205 {
2206 wxPy_BEGIN_ALLOW_THREADS;
2207 wxGauge_SetShadowWidth(_arg0,_arg1);
2208
2209 wxPy_END_ALLOW_THREADS;
2210 } Py_INCREF(Py_None);
2211 _resultobj = Py_None;
2212 return _resultobj;
2213 }
2214
2215 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2216 static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args) {
2217 PyObject * _resultobj;
2218 wxGauge * _arg0;
2219 int _arg1;
2220 char * _argc0 = 0;
2221
2222 self = self;
2223 if(!PyArg_ParseTuple(args,"si:wxGauge_SetValue",&_argc0,&_arg1))
2224 return NULL;
2225 if (_argc0) {
2226 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2228 return NULL;
2229 }
2230 }
2231 {
2232 wxPy_BEGIN_ALLOW_THREADS;
2233 wxGauge_SetValue(_arg0,_arg1);
2234
2235 wxPy_END_ALLOW_THREADS;
2236 } Py_INCREF(Py_None);
2237 _resultobj = Py_None;
2238 return _resultobj;
2239 }
2240
2241 static void *SwigwxStaticBoxTowxControl(void *ptr) {
2242 wxStaticBox *src;
2243 wxControl *dest;
2244 src = (wxStaticBox *) ptr;
2245 dest = (wxControl *) src;
2246 return (void *) dest;
2247 }
2248
2249 static void *SwigwxStaticBoxTowxWindow(void *ptr) {
2250 wxStaticBox *src;
2251 wxWindow *dest;
2252 src = (wxStaticBox *) ptr;
2253 dest = (wxWindow *) src;
2254 return (void *) dest;
2255 }
2256
2257 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
2258 wxStaticBox *src;
2259 wxEvtHandler *dest;
2260 src = (wxStaticBox *) ptr;
2261 dest = (wxEvtHandler *) src;
2262 return (void *) dest;
2263 }
2264
2265 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2266 static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args) {
2267 PyObject * _resultobj;
2268 wxStaticBox * _result;
2269 wxWindow * _arg0;
2270 wxWindowID _arg1;
2271 wxString * _arg2;
2272 wxPoint * _arg3 = &wxPyDefaultPosition;
2273 wxSize * _arg4 = &wxPyDefaultSize;
2274 long _arg5 = 0;
2275 char * _arg6 = "staticBox";
2276 char * _argc0 = 0;
2277 PyObject * _obj2 = 0;
2278 char * _argc3 = 0;
2279 char * _argc4 = 0;
2280 char _ptemp[128];
2281
2282 self = self;
2283 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxStaticBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
2284 return NULL;
2285 if (_argc0) {
2286 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2288 return NULL;
2289 }
2290 }
2291 {
2292 if (!PyString_Check(_obj2)) {
2293 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2294 return NULL;
2295 }
2296 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2297 }
2298 if (_argc3) {
2299 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticBox. Expected _wxPoint_p.");
2301 return NULL;
2302 }
2303 }
2304 if (_argc4) {
2305 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
2306 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticBox. Expected _wxSize_p.");
2307 return NULL;
2308 }
2309 }
2310 {
2311 wxPy_BEGIN_ALLOW_THREADS;
2312 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
2313
2314 wxPy_END_ALLOW_THREADS;
2315 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
2316 _resultobj = Py_BuildValue("s",_ptemp);
2317 {
2318 if (_obj2)
2319 delete _arg2;
2320 }
2321 return _resultobj;
2322 }
2323
2324 static void *SwigwxStaticLineTowxControl(void *ptr) {
2325 wxStaticLine *src;
2326 wxControl *dest;
2327 src = (wxStaticLine *) ptr;
2328 dest = (wxControl *) src;
2329 return (void *) dest;
2330 }
2331
2332 static void *SwigwxStaticLineTowxWindow(void *ptr) {
2333 wxStaticLine *src;
2334 wxWindow *dest;
2335 src = (wxStaticLine *) ptr;
2336 dest = (wxWindow *) src;
2337 return (void *) dest;
2338 }
2339
2340 static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
2341 wxStaticLine *src;
2342 wxEvtHandler *dest;
2343 src = (wxStaticLine *) ptr;
2344 dest = (wxEvtHandler *) src;
2345 return (void *) dest;
2346 }
2347
2348 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2349 static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args) {
2350 PyObject * _resultobj;
2351 wxStaticLine * _result;
2352 wxWindow * _arg0;
2353 wxWindowID _arg1;
2354 wxPoint * _arg2 = &wxPyDefaultPosition;
2355 wxSize * _arg3 = &wxPyDefaultSize;
2356 long _arg4 = wxLI_HORIZONTAL;
2357 char * _arg5 = "staticLine";
2358 char * _argc0 = 0;
2359 char * _argc2 = 0;
2360 char * _argc3 = 0;
2361 char _ptemp[128];
2362
2363 self = self;
2364 if(!PyArg_ParseTuple(args,"si|ssls:new_wxStaticLine",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2365 return NULL;
2366 if (_argc0) {
2367 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2369 return NULL;
2370 }
2371 }
2372 if (_argc2) {
2373 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2374 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticLine. Expected _wxPoint_p.");
2375 return NULL;
2376 }
2377 }
2378 if (_argc3) {
2379 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2380 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticLine. Expected _wxSize_p.");
2381 return NULL;
2382 }
2383 }
2384 {
2385 wxPy_BEGIN_ALLOW_THREADS;
2386 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2387
2388 wxPy_END_ALLOW_THREADS;
2389 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
2390 _resultobj = Py_BuildValue("s",_ptemp);
2391 return _resultobj;
2392 }
2393
2394 static void *SwigwxStaticTextTowxControl(void *ptr) {
2395 wxStaticText *src;
2396 wxControl *dest;
2397 src = (wxStaticText *) ptr;
2398 dest = (wxControl *) src;
2399 return (void *) dest;
2400 }
2401
2402 static void *SwigwxStaticTextTowxWindow(void *ptr) {
2403 wxStaticText *src;
2404 wxWindow *dest;
2405 src = (wxStaticText *) ptr;
2406 dest = (wxWindow *) src;
2407 return (void *) dest;
2408 }
2409
2410 static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
2411 wxStaticText *src;
2412 wxEvtHandler *dest;
2413 src = (wxStaticText *) ptr;
2414 dest = (wxEvtHandler *) src;
2415 return (void *) dest;
2416 }
2417
2418 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2419 static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args) {
2420 PyObject * _resultobj;
2421 wxStaticText * _result;
2422 wxWindow * _arg0;
2423 wxWindowID _arg1;
2424 wxString * _arg2;
2425 wxPoint * _arg3 = &wxPyDefaultPosition;
2426 wxSize * _arg4 = &wxPyDefaultSize;
2427 long _arg5 = 0;
2428 char * _arg6 = "staticText";
2429 char * _argc0 = 0;
2430 PyObject * _obj2 = 0;
2431 char * _argc3 = 0;
2432 char * _argc4 = 0;
2433 char _ptemp[128];
2434
2435 self = self;
2436 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxStaticText",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
2437 return NULL;
2438 if (_argc0) {
2439 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
2441 return NULL;
2442 }
2443 }
2444 {
2445 if (!PyString_Check(_obj2)) {
2446 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2447 return NULL;
2448 }
2449 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2450 }
2451 if (_argc3) {
2452 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticText. Expected _wxPoint_p.");
2454 return NULL;
2455 }
2456 }
2457 if (_argc4) {
2458 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
2459 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticText. Expected _wxSize_p.");
2460 return NULL;
2461 }
2462 }
2463 {
2464 wxPy_BEGIN_ALLOW_THREADS;
2465 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
2466
2467 wxPy_END_ALLOW_THREADS;
2468 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
2469 _resultobj = Py_BuildValue("s",_ptemp);
2470 {
2471 if (_obj2)
2472 delete _arg2;
2473 }
2474 return _resultobj;
2475 }
2476
2477 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
2478 static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args) {
2479 PyObject * _resultobj;
2480 wxString * _result;
2481 wxStaticText * _arg0;
2482 char * _argc0 = 0;
2483
2484 self = self;
2485 if(!PyArg_ParseTuple(args,"s:wxStaticText_GetLabel",&_argc0))
2486 return NULL;
2487 if (_argc0) {
2488 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticText_p")) {
2489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
2490 return NULL;
2491 }
2492 }
2493 {
2494 wxPy_BEGIN_ALLOW_THREADS;
2495 _result = new wxString (wxStaticText_GetLabel(_arg0));
2496
2497 wxPy_END_ALLOW_THREADS;
2498 }{
2499 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2500 }
2501 {
2502 delete _result;
2503 }
2504 return _resultobj;
2505 }
2506
2507 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2508 static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args) {
2509 PyObject * _resultobj;
2510 wxStaticText * _arg0;
2511 wxString * _arg1;
2512 char * _argc0 = 0;
2513 PyObject * _obj1 = 0;
2514
2515 self = self;
2516 if(!PyArg_ParseTuple(args,"sO:wxStaticText_SetLabel",&_argc0,&_obj1))
2517 return NULL;
2518 if (_argc0) {
2519 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticText_p")) {
2520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
2521 return NULL;
2522 }
2523 }
2524 {
2525 if (!PyString_Check(_obj1)) {
2526 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2527 return NULL;
2528 }
2529 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2530 }
2531 {
2532 wxPy_BEGIN_ALLOW_THREADS;
2533 wxStaticText_SetLabel(_arg0,*_arg1);
2534
2535 wxPy_END_ALLOW_THREADS;
2536 } Py_INCREF(Py_None);
2537 _resultobj = Py_None;
2538 {
2539 if (_obj1)
2540 delete _arg1;
2541 }
2542 return _resultobj;
2543 }
2544
2545 static void *SwigwxListBoxTowxControl(void *ptr) {
2546 wxListBox *src;
2547 wxControl *dest;
2548 src = (wxListBox *) ptr;
2549 dest = (wxControl *) src;
2550 return (void *) dest;
2551 }
2552
2553 static void *SwigwxListBoxTowxWindow(void *ptr) {
2554 wxListBox *src;
2555 wxWindow *dest;
2556 src = (wxListBox *) ptr;
2557 dest = (wxWindow *) src;
2558 return (void *) dest;
2559 }
2560
2561 static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
2562 wxListBox *src;
2563 wxEvtHandler *dest;
2564 src = (wxListBox *) ptr;
2565 dest = (wxEvtHandler *) src;
2566 return (void *) dest;
2567 }
2568
2569 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2570 static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args) {
2571 PyObject * _resultobj;
2572 wxListBox * _result;
2573 wxWindow * _arg0;
2574 wxWindowID _arg1;
2575 wxPoint * _arg2 = &wxPyDefaultPosition;
2576 wxSize * _arg3 = &wxPyDefaultSize;
2577 int _arg4;
2578 wxString * _arg5 = NULL;
2579 long _arg6 = 0;
2580 wxValidator * _arg7 = &wxPyDefaultValidator;
2581 char * _arg8 = "listBox";
2582 char * _argc0 = 0;
2583 char * _argc2 = 0;
2584 char * _argc3 = 0;
2585 PyObject * _obj5 = 0;
2586 char * _argc7 = 0;
2587 char _ptemp[128];
2588
2589 self = self;
2590 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxListBox",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
2591 return NULL;
2592 if (_argc0) {
2593 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
2595 return NULL;
2596 }
2597 }
2598 if (_argc2) {
2599 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2600 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListBox. Expected _wxPoint_p.");
2601 return NULL;
2602 }
2603 }
2604 if (_argc3) {
2605 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2606 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxListBox. Expected _wxSize_p.");
2607 return NULL;
2608 }
2609 }
2610 if (_obj5)
2611 {
2612 _arg5 = wxString_LIST_helper(_obj5);
2613 if (_arg5 == NULL) {
2614 return NULL;
2615 }
2616 }
2617 if (_argc7) {
2618 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
2620 return NULL;
2621 }
2622 }
2623 {
2624 if (_obj5) {
2625 _arg4 = PyList_Size(_obj5);
2626 }
2627 else {
2628 _arg4 = 0;
2629 }
2630 }
2631 {
2632 wxPy_BEGIN_ALLOW_THREADS;
2633 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
2634
2635 wxPy_END_ALLOW_THREADS;
2636 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
2637 _resultobj = Py_BuildValue("s",_ptemp);
2638 {
2639 delete [] _arg5;
2640 }
2641 return _resultobj;
2642 }
2643
2644 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
2645 static PyObject *_wrap_wxListBox_Append(PyObject *self, PyObject *args) {
2646 PyObject * _resultobj;
2647 wxListBox * _arg0;
2648 wxString * _arg1;
2649 char * _argc0 = 0;
2650 PyObject * _obj1 = 0;
2651
2652 self = self;
2653 if(!PyArg_ParseTuple(args,"sO:wxListBox_Append",&_argc0,&_obj1))
2654 return NULL;
2655 if (_argc0) {
2656 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
2658 return NULL;
2659 }
2660 }
2661 {
2662 if (!PyString_Check(_obj1)) {
2663 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2664 return NULL;
2665 }
2666 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2667 }
2668 {
2669 wxPy_BEGIN_ALLOW_THREADS;
2670 wxListBox_Append(_arg0,*_arg1);
2671
2672 wxPy_END_ALLOW_THREADS;
2673 } Py_INCREF(Py_None);
2674 _resultobj = Py_None;
2675 {
2676 if (_obj1)
2677 delete _arg1;
2678 }
2679 return _resultobj;
2680 }
2681
2682 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
2683 static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args) {
2684 PyObject * _resultobj;
2685 wxListBox * _arg0;
2686 char * _argc0 = 0;
2687
2688 self = self;
2689 if(!PyArg_ParseTuple(args,"s:wxListBox_Clear",&_argc0))
2690 return NULL;
2691 if (_argc0) {
2692 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
2694 return NULL;
2695 }
2696 }
2697 {
2698 wxPy_BEGIN_ALLOW_THREADS;
2699 wxListBox_Clear(_arg0);
2700
2701 wxPy_END_ALLOW_THREADS;
2702 } Py_INCREF(Py_None);
2703 _resultobj = Py_None;
2704 return _resultobj;
2705 }
2706
2707 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2708 static PyObject *_wrap_wxListBox_Delete(PyObject *self, PyObject *args) {
2709 PyObject * _resultobj;
2710 wxListBox * _arg0;
2711 int _arg1;
2712 char * _argc0 = 0;
2713
2714 self = self;
2715 if(!PyArg_ParseTuple(args,"si:wxListBox_Delete",&_argc0,&_arg1))
2716 return NULL;
2717 if (_argc0) {
2718 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
2720 return NULL;
2721 }
2722 }
2723 {
2724 wxPy_BEGIN_ALLOW_THREADS;
2725 wxListBox_Delete(_arg0,_arg1);
2726
2727 wxPy_END_ALLOW_THREADS;
2728 } Py_INCREF(Py_None);
2729 _resultobj = Py_None;
2730 return _resultobj;
2731 }
2732
2733 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
2734 static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args) {
2735 PyObject * _resultobj;
2736 wxListBox * _arg0;
2737 int _arg1;
2738 char * _argc0 = 0;
2739
2740 self = self;
2741 if(!PyArg_ParseTuple(args,"si:wxListBox_Deselect",&_argc0,&_arg1))
2742 return NULL;
2743 if (_argc0) {
2744 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
2746 return NULL;
2747 }
2748 }
2749 {
2750 wxPy_BEGIN_ALLOW_THREADS;
2751 wxListBox_Deselect(_arg0,_arg1);
2752
2753 wxPy_END_ALLOW_THREADS;
2754 } Py_INCREF(Py_None);
2755 _resultobj = Py_None;
2756 return _resultobj;
2757 }
2758
2759 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2760 static PyObject *_wrap_wxListBox_FindString(PyObject *self, PyObject *args) {
2761 PyObject * _resultobj;
2762 int _result;
2763 wxListBox * _arg0;
2764 wxString * _arg1;
2765 char * _argc0 = 0;
2766 PyObject * _obj1 = 0;
2767
2768 self = self;
2769 if(!PyArg_ParseTuple(args,"sO:wxListBox_FindString",&_argc0,&_obj1))
2770 return NULL;
2771 if (_argc0) {
2772 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
2774 return NULL;
2775 }
2776 }
2777 {
2778 if (!PyString_Check(_obj1)) {
2779 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2780 return NULL;
2781 }
2782 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2783 }
2784 {
2785 wxPy_BEGIN_ALLOW_THREADS;
2786 _result = (int )wxListBox_FindString(_arg0,*_arg1);
2787
2788 wxPy_END_ALLOW_THREADS;
2789 } _resultobj = Py_BuildValue("i",_result);
2790 {
2791 if (_obj1)
2792 delete _arg1;
2793 }
2794 return _resultobj;
2795 }
2796
2797 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2798 static PyObject *_wrap_wxListBox_GetSelection(PyObject *self, PyObject *args) {
2799 PyObject * _resultobj;
2800 int _result;
2801 wxListBox * _arg0;
2802 char * _argc0 = 0;
2803
2804 self = self;
2805 if(!PyArg_ParseTuple(args,"s:wxListBox_GetSelection",&_argc0))
2806 return NULL;
2807 if (_argc0) {
2808 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
2810 return NULL;
2811 }
2812 }
2813 {
2814 wxPy_BEGIN_ALLOW_THREADS;
2815 _result = (int )wxListBox_GetSelection(_arg0);
2816
2817 wxPy_END_ALLOW_THREADS;
2818 } _resultobj = Py_BuildValue("i",_result);
2819 return _resultobj;
2820 }
2821
2822 static PyObject * wxListBox_GetSelections(wxListBox *self) {
2823 wxArrayInt lst;
2824 self->GetSelections(lst);
2825 PyObject *tup = PyTuple_New(lst.GetCount());
2826 for(int i=0; i<lst.GetCount(); i++) {
2827 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2828 }
2829 return tup;
2830 }
2831 static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args) {
2832 PyObject * _resultobj;
2833 PyObject * _result;
2834 wxListBox * _arg0;
2835 char * _argc0 = 0;
2836
2837 self = self;
2838 if(!PyArg_ParseTuple(args,"s:wxListBox_GetSelections",&_argc0))
2839 return NULL;
2840 if (_argc0) {
2841 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
2843 return NULL;
2844 }
2845 }
2846 {
2847 wxPy_BEGIN_ALLOW_THREADS;
2848 _result = (PyObject *)wxListBox_GetSelections(_arg0);
2849
2850 wxPy_END_ALLOW_THREADS;
2851 }{
2852 _resultobj = _result;
2853 }
2854 return _resultobj;
2855 }
2856
2857 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2858 static PyObject *_wrap_wxListBox_GetString(PyObject *self, PyObject *args) {
2859 PyObject * _resultobj;
2860 wxString * _result;
2861 wxListBox * _arg0;
2862 int _arg1;
2863 char * _argc0 = 0;
2864
2865 self = self;
2866 if(!PyArg_ParseTuple(args,"si:wxListBox_GetString",&_argc0,&_arg1))
2867 return NULL;
2868 if (_argc0) {
2869 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
2871 return NULL;
2872 }
2873 }
2874 {
2875 wxPy_BEGIN_ALLOW_THREADS;
2876 _result = new wxString (wxListBox_GetString(_arg0,_arg1));
2877
2878 wxPy_END_ALLOW_THREADS;
2879 }{
2880 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2881 }
2882 {
2883 delete _result;
2884 }
2885 return _resultobj;
2886 }
2887
2888 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2889 static PyObject *_wrap_wxListBox_GetStringSelection(PyObject *self, PyObject *args) {
2890 PyObject * _resultobj;
2891 wxString * _result;
2892 wxListBox * _arg0;
2893 char * _argc0 = 0;
2894
2895 self = self;
2896 if(!PyArg_ParseTuple(args,"s:wxListBox_GetStringSelection",&_argc0))
2897 return NULL;
2898 if (_argc0) {
2899 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
2901 return NULL;
2902 }
2903 }
2904 {
2905 wxPy_BEGIN_ALLOW_THREADS;
2906 _result = new wxString (wxListBox_GetStringSelection(_arg0));
2907
2908 wxPy_END_ALLOW_THREADS;
2909 }{
2910 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2911 }
2912 {
2913 delete _result;
2914 }
2915 return _resultobj;
2916 }
2917
2918 #define wxListBox_Number(_swigobj) (_swigobj->Number())
2919 static PyObject *_wrap_wxListBox_Number(PyObject *self, PyObject *args) {
2920 PyObject * _resultobj;
2921 int _result;
2922 wxListBox * _arg0;
2923 char * _argc0 = 0;
2924
2925 self = self;
2926 if(!PyArg_ParseTuple(args,"s:wxListBox_Number",&_argc0))
2927 return NULL;
2928 if (_argc0) {
2929 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
2931 return NULL;
2932 }
2933 }
2934 {
2935 wxPy_BEGIN_ALLOW_THREADS;
2936 _result = (int )wxListBox_Number(_arg0);
2937
2938 wxPy_END_ALLOW_THREADS;
2939 } _resultobj = Py_BuildValue("i",_result);
2940 return _resultobj;
2941 }
2942
2943 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
2944 static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args) {
2945 PyObject * _resultobj;
2946 bool _result;
2947 wxListBox * _arg0;
2948 int _arg1;
2949 char * _argc0 = 0;
2950
2951 self = self;
2952 if(!PyArg_ParseTuple(args,"si:wxListBox_Selected",&_argc0,&_arg1))
2953 return NULL;
2954 if (_argc0) {
2955 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
2957 return NULL;
2958 }
2959 }
2960 {
2961 wxPy_BEGIN_ALLOW_THREADS;
2962 _result = (bool )wxListBox_Selected(_arg0,_arg1);
2963
2964 wxPy_END_ALLOW_THREADS;
2965 } _resultobj = Py_BuildValue("i",_result);
2966 return _resultobj;
2967 }
2968
2969 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
2970 static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args) {
2971 PyObject * _resultobj;
2972 wxListBox * _arg0;
2973 int _arg1;
2974 wxString * _arg2;
2975 char * _argc0 = 0;
2976 PyObject * _obj2 = 0;
2977
2978 self = self;
2979 if(!PyArg_ParseTuple(args,"sO:wxListBox_Set",&_argc0,&_obj2))
2980 return NULL;
2981 if (_argc0) {
2982 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
2984 return NULL;
2985 }
2986 }
2987 if (_obj2)
2988 {
2989 _arg2 = wxString_LIST_helper(_obj2);
2990 if (_arg2 == NULL) {
2991 return NULL;
2992 }
2993 }
2994 {
2995 if (_obj2) {
2996 _arg1 = PyList_Size(_obj2);
2997 }
2998 else {
2999 _arg1 = 0;
3000 }
3001 }
3002 {
3003 wxPy_BEGIN_ALLOW_THREADS;
3004 wxListBox_Set(_arg0,_arg1,_arg2);
3005
3006 wxPy_END_ALLOW_THREADS;
3007 } Py_INCREF(Py_None);
3008 _resultobj = Py_None;
3009 {
3010 delete [] _arg2;
3011 }
3012 return _resultobj;
3013 }
3014
3015 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3016 static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args) {
3017 PyObject * _resultobj;
3018 wxListBox * _arg0;
3019 int _arg1;
3020 char * _argc0 = 0;
3021
3022 self = self;
3023 if(!PyArg_ParseTuple(args,"si:wxListBox_SetFirstItem",&_argc0,&_arg1))
3024 return NULL;
3025 if (_argc0) {
3026 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3028 return NULL;
3029 }
3030 }
3031 {
3032 wxPy_BEGIN_ALLOW_THREADS;
3033 wxListBox_SetFirstItem(_arg0,_arg1);
3034
3035 wxPy_END_ALLOW_THREADS;
3036 } Py_INCREF(Py_None);
3037 _resultobj = Py_None;
3038 return _resultobj;
3039 }
3040
3041 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3042 static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args) {
3043 PyObject * _resultobj;
3044 wxListBox * _arg0;
3045 wxString * _arg1;
3046 char * _argc0 = 0;
3047 PyObject * _obj1 = 0;
3048
3049 self = self;
3050 if(!PyArg_ParseTuple(args,"sO:wxListBox_SetFirstItemStr",&_argc0,&_obj1))
3051 return NULL;
3052 if (_argc0) {
3053 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3055 return NULL;
3056 }
3057 }
3058 {
3059 if (!PyString_Check(_obj1)) {
3060 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3061 return NULL;
3062 }
3063 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3064 }
3065 {
3066 wxPy_BEGIN_ALLOW_THREADS;
3067 wxListBox_SetFirstItemStr(_arg0,*_arg1);
3068
3069 wxPy_END_ALLOW_THREADS;
3070 } Py_INCREF(Py_None);
3071 _resultobj = Py_None;
3072 {
3073 if (_obj1)
3074 delete _arg1;
3075 }
3076 return _resultobj;
3077 }
3078
3079 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3080 static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args) {
3081 PyObject * _resultobj;
3082 wxListBox * _arg0;
3083 int _arg1;
3084 bool _arg2 = (1);
3085 char * _argc0 = 0;
3086 int tempbool2;
3087
3088 self = self;
3089 if(!PyArg_ParseTuple(args,"si|i:wxListBox_SetSelection",&_argc0,&_arg1,&tempbool2))
3090 return NULL;
3091 if (_argc0) {
3092 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3094 return NULL;
3095 }
3096 }
3097 _arg2 = (bool ) tempbool2;
3098 {
3099 wxPy_BEGIN_ALLOW_THREADS;
3100 wxListBox_SetSelection(_arg0,_arg1,_arg2);
3101
3102 wxPy_END_ALLOW_THREADS;
3103 } Py_INCREF(Py_None);
3104 _resultobj = Py_None;
3105 return _resultobj;
3106 }
3107
3108 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3109 static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args) {
3110 PyObject * _resultobj;
3111 wxListBox * _arg0;
3112 int _arg1;
3113 wxString * _arg2;
3114 char * _argc0 = 0;
3115 PyObject * _obj2 = 0;
3116
3117 self = self;
3118 if(!PyArg_ParseTuple(args,"siO:wxListBox_SetString",&_argc0,&_arg1,&_obj2))
3119 return NULL;
3120 if (_argc0) {
3121 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3123 return NULL;
3124 }
3125 }
3126 {
3127 if (!PyString_Check(_obj2)) {
3128 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3129 return NULL;
3130 }
3131 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3132 }
3133 {
3134 wxPy_BEGIN_ALLOW_THREADS;
3135 wxListBox_SetString(_arg0,_arg1,*_arg2);
3136
3137 wxPy_END_ALLOW_THREADS;
3138 } Py_INCREF(Py_None);
3139 _resultobj = Py_None;
3140 {
3141 if (_obj2)
3142 delete _arg2;
3143 }
3144 return _resultobj;
3145 }
3146
3147 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3148 static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args) {
3149 PyObject * _resultobj;
3150 wxListBox * _arg0;
3151 wxString * _arg1;
3152 bool _arg2 = (1);
3153 char * _argc0 = 0;
3154 PyObject * _obj1 = 0;
3155 int tempbool2;
3156
3157 self = self;
3158 if(!PyArg_ParseTuple(args,"sO|i:wxListBox_SetStringSelection",&_argc0,&_obj1,&tempbool2))
3159 return NULL;
3160 if (_argc0) {
3161 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3163 return NULL;
3164 }
3165 }
3166 {
3167 if (!PyString_Check(_obj1)) {
3168 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3169 return NULL;
3170 }
3171 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3172 }
3173 _arg2 = (bool ) tempbool2;
3174 {
3175 wxPy_BEGIN_ALLOW_THREADS;
3176 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
3177
3178 wxPy_END_ALLOW_THREADS;
3179 } Py_INCREF(Py_None);
3180 _resultobj = Py_None;
3181 {
3182 if (_obj1)
3183 delete _arg1;
3184 }
3185 return _resultobj;
3186 }
3187
3188 static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
3189 wxCheckListBox *src;
3190 wxListBox *dest;
3191 src = (wxCheckListBox *) ptr;
3192 dest = (wxListBox *) src;
3193 return (void *) dest;
3194 }
3195
3196 static void *SwigwxCheckListBoxTowxControl(void *ptr) {
3197 wxCheckListBox *src;
3198 wxControl *dest;
3199 src = (wxCheckListBox *) ptr;
3200 dest = (wxControl *) src;
3201 return (void *) dest;
3202 }
3203
3204 static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
3205 wxCheckListBox *src;
3206 wxWindow *dest;
3207 src = (wxCheckListBox *) ptr;
3208 dest = (wxWindow *) src;
3209 return (void *) dest;
3210 }
3211
3212 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
3213 wxCheckListBox *src;
3214 wxEvtHandler *dest;
3215 src = (wxCheckListBox *) ptr;
3216 dest = (wxEvtHandler *) src;
3217 return (void *) dest;
3218 }
3219
3220 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3221 static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args) {
3222 PyObject * _resultobj;
3223 wxCheckListBox * _result;
3224 wxWindow * _arg0;
3225 wxWindowID _arg1;
3226 wxPoint * _arg2 = &wxPyDefaultPosition;
3227 wxSize * _arg3 = &wxPyDefaultSize;
3228 int _arg4 = 0;
3229 wxString * _arg5 = NULL;
3230 long _arg6 = 0;
3231 wxValidator * _arg7 = &wxPyDefaultValidator;
3232 char * _arg8 = "listBox";
3233 char * _argc0 = 0;
3234 char * _argc2 = 0;
3235 char * _argc3 = 0;
3236 PyObject * _obj5 = 0;
3237 char * _argc7 = 0;
3238 char _ptemp[128];
3239
3240 self = self;
3241 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxCheckListBox",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
3242 return NULL;
3243 if (_argc0) {
3244 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
3246 return NULL;
3247 }
3248 }
3249 if (_argc2) {
3250 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxCheckListBox. Expected _wxPoint_p.");
3252 return NULL;
3253 }
3254 }
3255 if (_argc3) {
3256 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3257 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxCheckListBox. Expected _wxSize_p.");
3258 return NULL;
3259 }
3260 }
3261 if (_obj5)
3262 {
3263 _arg5 = wxString_LIST_helper(_obj5);
3264 if (_arg5 == NULL) {
3265 return NULL;
3266 }
3267 }
3268 if (_argc7) {
3269 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
3270 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
3271 return NULL;
3272 }
3273 }
3274 {
3275 if (_obj5) {
3276 _arg4 = PyList_Size(_obj5);
3277 }
3278 else {
3279 _arg4 = 0;
3280 }
3281 }
3282 {
3283 wxPy_BEGIN_ALLOW_THREADS;
3284 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
3285
3286 wxPy_END_ALLOW_THREADS;
3287 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
3288 _resultobj = Py_BuildValue("s",_ptemp);
3289 {
3290 delete [] _arg5;
3291 }
3292 return _resultobj;
3293 }
3294
3295 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3296 static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args) {
3297 PyObject * _resultobj;
3298 bool _result;
3299 wxCheckListBox * _arg0;
3300 int _arg1;
3301 char * _argc0 = 0;
3302
3303 self = self;
3304 if(!PyArg_ParseTuple(args,"si:wxCheckListBox_IsChecked",&_argc0,&_arg1))
3305 return NULL;
3306 if (_argc0) {
3307 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckListBox_p")) {
3308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
3309 return NULL;
3310 }
3311 }
3312 {
3313 wxPy_BEGIN_ALLOW_THREADS;
3314 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
3315
3316 wxPy_END_ALLOW_THREADS;
3317 } _resultobj = Py_BuildValue("i",_result);
3318 return _resultobj;
3319 }
3320
3321 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3322 static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args) {
3323 PyObject * _resultobj;
3324 wxCheckListBox * _arg0;
3325 int _arg1;
3326 bool _arg2 = (1);
3327 char * _argc0 = 0;
3328 int tempbool2;
3329
3330 self = self;
3331 if(!PyArg_ParseTuple(args,"si|i:wxCheckListBox_Check",&_argc0,&_arg1,&tempbool2))
3332 return NULL;
3333 if (_argc0) {
3334 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckListBox_p")) {
3335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
3336 return NULL;
3337 }
3338 }
3339 _arg2 = (bool ) tempbool2;
3340 {
3341 wxPy_BEGIN_ALLOW_THREADS;
3342 wxCheckListBox_Check(_arg0,_arg1,_arg2);
3343
3344 wxPy_END_ALLOW_THREADS;
3345 } Py_INCREF(Py_None);
3346 _resultobj = Py_None;
3347 return _resultobj;
3348 }
3349
3350 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
3351 static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args) {
3352 PyObject * _resultobj;
3353 int _result;
3354 wxCheckListBox * _arg0;
3355 char * _argc0 = 0;
3356
3357 self = self;
3358 if(!PyArg_ParseTuple(args,"s:wxCheckListBox_GetItemHeight",&_argc0))
3359 return NULL;
3360 if (_argc0) {
3361 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckListBox_p")) {
3362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
3363 return NULL;
3364 }
3365 }
3366 {
3367 wxPy_BEGIN_ALLOW_THREADS;
3368 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
3369
3370 wxPy_END_ALLOW_THREADS;
3371 } _resultobj = Py_BuildValue("i",_result);
3372 return _resultobj;
3373 }
3374
3375 static void *SwigwxTextCtrlTowxControl(void *ptr) {
3376 wxTextCtrl *src;
3377 wxControl *dest;
3378 src = (wxTextCtrl *) ptr;
3379 dest = (wxControl *) src;
3380 return (void *) dest;
3381 }
3382
3383 static void *SwigwxTextCtrlTowxWindow(void *ptr) {
3384 wxTextCtrl *src;
3385 wxWindow *dest;
3386 src = (wxTextCtrl *) ptr;
3387 dest = (wxWindow *) src;
3388 return (void *) dest;
3389 }
3390
3391 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
3392 wxTextCtrl *src;
3393 wxEvtHandler *dest;
3394 src = (wxTextCtrl *) ptr;
3395 dest = (wxEvtHandler *) src;
3396 return (void *) dest;
3397 }
3398
3399 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3400 static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args) {
3401 PyObject * _resultobj;
3402 wxTextCtrl * _result;
3403 wxWindow * _arg0;
3404 wxWindowID _arg1;
3405 char * _arg2 = "";
3406 wxPoint * _arg3 = &wxPyDefaultPosition;
3407 wxSize * _arg4 = &wxPyDefaultSize;
3408 long _arg5 = 0;
3409 wxValidator * _arg6 = &wxPyDefaultValidator;
3410 char * _arg7 = "text";
3411 char * _argc0 = 0;
3412 char * _argc3 = 0;
3413 char * _argc4 = 0;
3414 char * _argc6 = 0;
3415 char _ptemp[128];
3416
3417 self = self;
3418 if(!PyArg_ParseTuple(args,"si|ssslss:new_wxTextCtrl",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
3419 return NULL;
3420 if (_argc0) {
3421 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
3423 return NULL;
3424 }
3425 }
3426 if (_argc3) {
3427 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTextCtrl. Expected _wxPoint_p.");
3429 return NULL;
3430 }
3431 }
3432 if (_argc4) {
3433 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
3434 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxTextCtrl. Expected _wxSize_p.");
3435 return NULL;
3436 }
3437 }
3438 if (_argc6) {
3439 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
3440 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
3441 return NULL;
3442 }
3443 }
3444 {
3445 wxPy_BEGIN_ALLOW_THREADS;
3446 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3447
3448 wxPy_END_ALLOW_THREADS;
3449 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
3450 _resultobj = Py_BuildValue("s",_ptemp);
3451 return _resultobj;
3452 }
3453
3454 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
3455 static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args) {
3456 PyObject * _resultobj;
3457 wxTextCtrl * _arg0;
3458 char * _argc0 = 0;
3459
3460 self = self;
3461 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Clear",&_argc0))
3462 return NULL;
3463 if (_argc0) {
3464 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
3466 return NULL;
3467 }
3468 }
3469 {
3470 wxPy_BEGIN_ALLOW_THREADS;
3471 wxTextCtrl_Clear(_arg0);
3472
3473 wxPy_END_ALLOW_THREADS;
3474 } Py_INCREF(Py_None);
3475 _resultobj = Py_None;
3476 return _resultobj;
3477 }
3478
3479 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
3480 static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args) {
3481 PyObject * _resultobj;
3482 wxTextCtrl * _arg0;
3483 char * _argc0 = 0;
3484
3485 self = self;
3486 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Copy",&_argc0))
3487 return NULL;
3488 if (_argc0) {
3489 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
3491 return NULL;
3492 }
3493 }
3494 {
3495 wxPy_BEGIN_ALLOW_THREADS;
3496 wxTextCtrl_Copy(_arg0);
3497
3498 wxPy_END_ALLOW_THREADS;
3499 } Py_INCREF(Py_None);
3500 _resultobj = Py_None;
3501 return _resultobj;
3502 }
3503
3504 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
3505 static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args) {
3506 PyObject * _resultobj;
3507 wxTextCtrl * _arg0;
3508 char * _argc0 = 0;
3509
3510 self = self;
3511 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Cut",&_argc0))
3512 return NULL;
3513 if (_argc0) {
3514 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
3516 return NULL;
3517 }
3518 }
3519 {
3520 wxPy_BEGIN_ALLOW_THREADS;
3521 wxTextCtrl_Cut(_arg0);
3522
3523 wxPy_END_ALLOW_THREADS;
3524 } Py_INCREF(Py_None);
3525 _resultobj = Py_None;
3526 return _resultobj;
3527 }
3528
3529 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
3530 static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args) {
3531 PyObject * _resultobj;
3532 wxTextCtrl * _arg0;
3533 char * _argc0 = 0;
3534
3535 self = self;
3536 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_DiscardEdits",&_argc0))
3537 return NULL;
3538 if (_argc0) {
3539 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
3541 return NULL;
3542 }
3543 }
3544 {
3545 wxPy_BEGIN_ALLOW_THREADS;
3546 wxTextCtrl_DiscardEdits(_arg0);
3547
3548 wxPy_END_ALLOW_THREADS;
3549 } Py_INCREF(Py_None);
3550 _resultobj = Py_None;
3551 return _resultobj;
3552 }
3553
3554 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3555 static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args) {
3556 PyObject * _resultobj;
3557 long _result;
3558 wxTextCtrl * _arg0;
3559 char * _argc0 = 0;
3560
3561 self = self;
3562 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetInsertionPoint",&_argc0))
3563 return NULL;
3564 if (_argc0) {
3565 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
3567 return NULL;
3568 }
3569 }
3570 {
3571 wxPy_BEGIN_ALLOW_THREADS;
3572 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
3573
3574 wxPy_END_ALLOW_THREADS;
3575 } _resultobj = Py_BuildValue("l",_result);
3576 return _resultobj;
3577 }
3578
3579 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3580 static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args) {
3581 PyObject * _resultobj;
3582 long _result;
3583 wxTextCtrl * _arg0;
3584 char * _argc0 = 0;
3585
3586 self = self;
3587 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetLastPosition",&_argc0))
3588 return NULL;
3589 if (_argc0) {
3590 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
3592 return NULL;
3593 }
3594 }
3595 {
3596 wxPy_BEGIN_ALLOW_THREADS;
3597 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
3598
3599 wxPy_END_ALLOW_THREADS;
3600 } _resultobj = Py_BuildValue("l",_result);
3601 return _resultobj;
3602 }
3603
3604 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
3605 static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args) {
3606 PyObject * _resultobj;
3607 int _result;
3608 wxTextCtrl * _arg0;
3609 long _arg1;
3610 char * _argc0 = 0;
3611
3612 self = self;
3613 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_GetLineLength",&_argc0,&_arg1))
3614 return NULL;
3615 if (_argc0) {
3616 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
3618 return NULL;
3619 }
3620 }
3621 {
3622 wxPy_BEGIN_ALLOW_THREADS;
3623 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
3624
3625 wxPy_END_ALLOW_THREADS;
3626 } _resultobj = Py_BuildValue("i",_result);
3627 return _resultobj;
3628 }
3629
3630 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
3631 static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args) {
3632 PyObject * _resultobj;
3633 wxString * _result;
3634 wxTextCtrl * _arg0;
3635 long _arg1;
3636 char * _argc0 = 0;
3637
3638 self = self;
3639 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_GetLineText",&_argc0,&_arg1))
3640 return NULL;
3641 if (_argc0) {
3642 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
3644 return NULL;
3645 }
3646 }
3647 {
3648 wxPy_BEGIN_ALLOW_THREADS;
3649 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
3650
3651 wxPy_END_ALLOW_THREADS;
3652 }{
3653 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3654 }
3655 {
3656 delete _result;
3657 }
3658 return _resultobj;
3659 }
3660
3661 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
3662 static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args) {
3663 PyObject * _resultobj;
3664 int _result;
3665 wxTextCtrl * _arg0;
3666 char * _argc0 = 0;
3667
3668 self = self;
3669 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetNumberOfLines",&_argc0))
3670 return NULL;
3671 if (_argc0) {
3672 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
3674 return NULL;
3675 }
3676 }
3677 {
3678 wxPy_BEGIN_ALLOW_THREADS;
3679 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
3680
3681 wxPy_END_ALLOW_THREADS;
3682 } _resultobj = Py_BuildValue("i",_result);
3683 return _resultobj;
3684 }
3685
3686 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
3687 static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args) {
3688 PyObject * _resultobj;
3689 wxString * _result;
3690 wxTextCtrl * _arg0;
3691 char * _argc0 = 0;
3692
3693 self = self;
3694 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetValue",&_argc0))
3695 return NULL;
3696 if (_argc0) {
3697 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
3699 return NULL;
3700 }
3701 }
3702 {
3703 wxPy_BEGIN_ALLOW_THREADS;
3704 _result = new wxString (wxTextCtrl_GetValue(_arg0));
3705
3706 wxPy_END_ALLOW_THREADS;
3707 }{
3708 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3709 }
3710 {
3711 delete _result;
3712 }
3713 return _resultobj;
3714 }
3715
3716 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
3717 static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args) {
3718 PyObject * _resultobj;
3719 bool _result;
3720 wxTextCtrl * _arg0;
3721 char * _argc0 = 0;
3722
3723 self = self;
3724 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_IsModified",&_argc0))
3725 return NULL;
3726 if (_argc0) {
3727 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
3729 return NULL;
3730 }
3731 }
3732 {
3733 wxPy_BEGIN_ALLOW_THREADS;
3734 _result = (bool )wxTextCtrl_IsModified(_arg0);
3735
3736 wxPy_END_ALLOW_THREADS;
3737 } _resultobj = Py_BuildValue("i",_result);
3738 return _resultobj;
3739 }
3740
3741 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
3742 static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args) {
3743 PyObject * _resultobj;
3744 bool _result;
3745 wxTextCtrl * _arg0;
3746 wxString * _arg1;
3747 char * _argc0 = 0;
3748 PyObject * _obj1 = 0;
3749
3750 self = self;
3751 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_LoadFile",&_argc0,&_obj1))
3752 return NULL;
3753 if (_argc0) {
3754 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
3756 return NULL;
3757 }
3758 }
3759 {
3760 if (!PyString_Check(_obj1)) {
3761 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3762 return NULL;
3763 }
3764 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3765 }
3766 {
3767 wxPy_BEGIN_ALLOW_THREADS;
3768 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
3769
3770 wxPy_END_ALLOW_THREADS;
3771 } _resultobj = Py_BuildValue("i",_result);
3772 {
3773 if (_obj1)
3774 delete _arg1;
3775 }
3776 return _resultobj;
3777 }
3778
3779 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
3780 static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args) {
3781 PyObject * _resultobj;
3782 wxTextCtrl * _arg0;
3783 char * _argc0 = 0;
3784
3785 self = self;
3786 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Paste",&_argc0))
3787 return NULL;
3788 if (_argc0) {
3789 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
3791 return NULL;
3792 }
3793 }
3794 {
3795 wxPy_BEGIN_ALLOW_THREADS;
3796 wxTextCtrl_Paste(_arg0);
3797
3798 wxPy_END_ALLOW_THREADS;
3799 } Py_INCREF(Py_None);
3800 _resultobj = Py_None;
3801 return _resultobj;
3802 }
3803
3804 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
3805 static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args) {
3806 PyObject * _resultobj;
3807 wxTextCtrl * _arg0;
3808 long _arg1;
3809 long * _arg2;
3810 long temp;
3811 long * _arg3;
3812 long temp0;
3813 char * _argc0 = 0;
3814
3815 self = self;
3816 {
3817 _arg2 = &temp;
3818 }
3819 {
3820 _arg3 = &temp0;
3821 }
3822 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_PositionToXY",&_argc0,&_arg1))
3823 return NULL;
3824 if (_argc0) {
3825 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
3827 return NULL;
3828 }
3829 }
3830 {
3831 wxPy_BEGIN_ALLOW_THREADS;
3832 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
3833
3834 wxPy_END_ALLOW_THREADS;
3835 } Py_INCREF(Py_None);
3836 _resultobj = Py_None;
3837 {
3838 PyObject *o;
3839 o = PyInt_FromLong((long) (*_arg2));
3840 _resultobj = t_output_helper(_resultobj, o);
3841 }
3842 {
3843 PyObject *o;
3844 o = PyInt_FromLong((long) (*_arg3));
3845 _resultobj = t_output_helper(_resultobj, o);
3846 }
3847 return _resultobj;
3848 }
3849
3850 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3851 static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args) {
3852 PyObject * _resultobj;
3853 wxTextCtrl * _arg0;
3854 long _arg1;
3855 long _arg2;
3856 char * _argc0 = 0;
3857
3858 self = self;
3859 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_Remove",&_argc0,&_arg1,&_arg2))
3860 return NULL;
3861 if (_argc0) {
3862 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
3864 return NULL;
3865 }
3866 }
3867 {
3868 wxPy_BEGIN_ALLOW_THREADS;
3869 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
3870
3871 wxPy_END_ALLOW_THREADS;
3872 } Py_INCREF(Py_None);
3873 _resultobj = Py_None;
3874 return _resultobj;
3875 }
3876
3877 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3878 static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args) {
3879 PyObject * _resultobj;
3880 wxTextCtrl * _arg0;
3881 long _arg1;
3882 long _arg2;
3883 wxString * _arg3;
3884 char * _argc0 = 0;
3885 PyObject * _obj3 = 0;
3886
3887 self = self;
3888 if(!PyArg_ParseTuple(args,"sllO:wxTextCtrl_Replace",&_argc0,&_arg1,&_arg2,&_obj3))
3889 return NULL;
3890 if (_argc0) {
3891 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
3893 return NULL;
3894 }
3895 }
3896 {
3897 if (!PyString_Check(_obj3)) {
3898 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3899 return NULL;
3900 }
3901 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
3902 }
3903 {
3904 wxPy_BEGIN_ALLOW_THREADS;
3905 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
3906
3907 wxPy_END_ALLOW_THREADS;
3908 } Py_INCREF(Py_None);
3909 _resultobj = Py_None;
3910 {
3911 if (_obj3)
3912 delete _arg3;
3913 }
3914 return _resultobj;
3915 }
3916
3917 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
3918 static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args) {
3919 PyObject * _resultobj;
3920 bool _result;
3921 wxTextCtrl * _arg0;
3922 wxString * _arg1;
3923 char * _argc0 = 0;
3924 PyObject * _obj1 = 0;
3925
3926 self = self;
3927 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_SaveFile",&_argc0,&_obj1))
3928 return NULL;
3929 if (_argc0) {
3930 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
3932 return NULL;
3933 }
3934 }
3935 {
3936 if (!PyString_Check(_obj1)) {
3937 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3938 return NULL;
3939 }
3940 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3941 }
3942 {
3943 wxPy_BEGIN_ALLOW_THREADS;
3944 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
3945
3946 wxPy_END_ALLOW_THREADS;
3947 } _resultobj = Py_BuildValue("i",_result);
3948 {
3949 if (_obj1)
3950 delete _arg1;
3951 }
3952 return _resultobj;
3953 }
3954
3955 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3956 static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args) {
3957 PyObject * _resultobj;
3958 wxTextCtrl * _arg0;
3959 bool _arg1;
3960 char * _argc0 = 0;
3961 int tempbool1;
3962
3963 self = self;
3964 if(!PyArg_ParseTuple(args,"si:wxTextCtrl_SetEditable",&_argc0,&tempbool1))
3965 return NULL;
3966 if (_argc0) {
3967 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
3969 return NULL;
3970 }
3971 }
3972 _arg1 = (bool ) tempbool1;
3973 {
3974 wxPy_BEGIN_ALLOW_THREADS;
3975 wxTextCtrl_SetEditable(_arg0,_arg1);
3976
3977 wxPy_END_ALLOW_THREADS;
3978 } Py_INCREF(Py_None);
3979 _resultobj = Py_None;
3980 return _resultobj;
3981 }
3982
3983 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3984 static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args) {
3985 PyObject * _resultobj;
3986 wxTextCtrl * _arg0;
3987 long _arg1;
3988 char * _argc0 = 0;
3989
3990 self = self;
3991 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_SetInsertionPoint",&_argc0,&_arg1))
3992 return NULL;
3993 if (_argc0) {
3994 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
3996 return NULL;
3997 }
3998 }
3999 {
4000 wxPy_BEGIN_ALLOW_THREADS;
4001 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
4002
4003 wxPy_END_ALLOW_THREADS;
4004 } Py_INCREF(Py_None);
4005 _resultobj = Py_None;
4006 return _resultobj;
4007 }
4008
4009 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4010 static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args) {
4011 PyObject * _resultobj;
4012 wxTextCtrl * _arg0;
4013 char * _argc0 = 0;
4014
4015 self = self;
4016 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_SetInsertionPointEnd",&_argc0))
4017 return NULL;
4018 if (_argc0) {
4019 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4021 return NULL;
4022 }
4023 }
4024 {
4025 wxPy_BEGIN_ALLOW_THREADS;
4026 wxTextCtrl_SetInsertionPointEnd(_arg0);
4027
4028 wxPy_END_ALLOW_THREADS;
4029 } Py_INCREF(Py_None);
4030 _resultobj = Py_None;
4031 return _resultobj;
4032 }
4033
4034 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4035 static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args) {
4036 PyObject * _resultobj;
4037 wxTextCtrl * _arg0;
4038 long _arg1;
4039 long _arg2;
4040 char * _argc0 = 0;
4041
4042 self = self;
4043 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_SetSelection",&_argc0,&_arg1,&_arg2))
4044 return NULL;
4045 if (_argc0) {
4046 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4048 return NULL;
4049 }
4050 }
4051 {
4052 wxPy_BEGIN_ALLOW_THREADS;
4053 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
4054
4055 wxPy_END_ALLOW_THREADS;
4056 } Py_INCREF(Py_None);
4057 _resultobj = Py_None;
4058 return _resultobj;
4059 }
4060
4061 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4062 static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args) {
4063 PyObject * _resultobj;
4064 wxTextCtrl * _arg0;
4065 wxString * _arg1;
4066 char * _argc0 = 0;
4067 PyObject * _obj1 = 0;
4068
4069 self = self;
4070 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_SetValue",&_argc0,&_obj1))
4071 return NULL;
4072 if (_argc0) {
4073 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
4075 return NULL;
4076 }
4077 }
4078 {
4079 if (!PyString_Check(_obj1)) {
4080 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4081 return NULL;
4082 }
4083 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4084 }
4085 {
4086 wxPy_BEGIN_ALLOW_THREADS;
4087 wxTextCtrl_SetValue(_arg0,*_arg1);
4088
4089 wxPy_END_ALLOW_THREADS;
4090 } Py_INCREF(Py_None);
4091 _resultobj = Py_None;
4092 {
4093 if (_obj1)
4094 delete _arg1;
4095 }
4096 return _resultobj;
4097 }
4098
4099 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
4100 static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args) {
4101 PyObject * _resultobj;
4102 wxTextCtrl * _arg0;
4103 long _arg1;
4104 char * _argc0 = 0;
4105
4106 self = self;
4107 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_ShowPosition",&_argc0,&_arg1))
4108 return NULL;
4109 if (_argc0) {
4110 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
4112 return NULL;
4113 }
4114 }
4115 {
4116 wxPy_BEGIN_ALLOW_THREADS;
4117 wxTextCtrl_ShowPosition(_arg0,_arg1);
4118
4119 wxPy_END_ALLOW_THREADS;
4120 } Py_INCREF(Py_None);
4121 _resultobj = Py_None;
4122 return _resultobj;
4123 }
4124
4125 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
4126 static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args) {
4127 PyObject * _resultobj;
4128 wxTextCtrl * _arg0;
4129 wxString * _arg1;
4130 char * _argc0 = 0;
4131 PyObject * _obj1 = 0;
4132
4133 self = self;
4134 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_WriteText",&_argc0,&_obj1))
4135 return NULL;
4136 if (_argc0) {
4137 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
4139 return NULL;
4140 }
4141 }
4142 {
4143 if (!PyString_Check(_obj1)) {
4144 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4145 return NULL;
4146 }
4147 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4148 }
4149 {
4150 wxPy_BEGIN_ALLOW_THREADS;
4151 wxTextCtrl_WriteText(_arg0,*_arg1);
4152
4153 wxPy_END_ALLOW_THREADS;
4154 } Py_INCREF(Py_None);
4155 _resultobj = Py_None;
4156 {
4157 if (_obj1)
4158 delete _arg1;
4159 }
4160 return _resultobj;
4161 }
4162
4163 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
4164 static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args) {
4165 PyObject * _resultobj;
4166 wxTextCtrl * _arg0;
4167 wxString * _arg1;
4168 char * _argc0 = 0;
4169 PyObject * _obj1 = 0;
4170
4171 self = self;
4172 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_AppendText",&_argc0,&_obj1))
4173 return NULL;
4174 if (_argc0) {
4175 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
4177 return NULL;
4178 }
4179 }
4180 {
4181 if (!PyString_Check(_obj1)) {
4182 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4183 return NULL;
4184 }
4185 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4186 }
4187 {
4188 wxPy_BEGIN_ALLOW_THREADS;
4189 wxTextCtrl_AppendText(_arg0,*_arg1);
4190
4191 wxPy_END_ALLOW_THREADS;
4192 } Py_INCREF(Py_None);
4193 _resultobj = Py_None;
4194 {
4195 if (_obj1)
4196 delete _arg1;
4197 }
4198 return _resultobj;
4199 }
4200
4201 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
4202 static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args) {
4203 PyObject * _resultobj;
4204 long _result;
4205 wxTextCtrl * _arg0;
4206 long _arg1;
4207 long _arg2;
4208 char * _argc0 = 0;
4209
4210 self = self;
4211 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_XYToPosition",&_argc0,&_arg1,&_arg2))
4212 return NULL;
4213 if (_argc0) {
4214 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
4216 return NULL;
4217 }
4218 }
4219 {
4220 wxPy_BEGIN_ALLOW_THREADS;
4221 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
4222
4223 wxPy_END_ALLOW_THREADS;
4224 } _resultobj = Py_BuildValue("l",_result);
4225 return _resultobj;
4226 }
4227
4228 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
4229 static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args) {
4230 PyObject * _resultobj;
4231 bool _result;
4232 wxTextCtrl * _arg0;
4233 char * _argc0 = 0;
4234
4235 self = self;
4236 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanCopy",&_argc0))
4237 return NULL;
4238 if (_argc0) {
4239 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
4241 return NULL;
4242 }
4243 }
4244 {
4245 wxPy_BEGIN_ALLOW_THREADS;
4246 _result = (bool )wxTextCtrl_CanCopy(_arg0);
4247
4248 wxPy_END_ALLOW_THREADS;
4249 } _resultobj = Py_BuildValue("i",_result);
4250 return _resultobj;
4251 }
4252
4253 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
4254 static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args) {
4255 PyObject * _resultobj;
4256 bool _result;
4257 wxTextCtrl * _arg0;
4258 char * _argc0 = 0;
4259
4260 self = self;
4261 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanCut",&_argc0))
4262 return NULL;
4263 if (_argc0) {
4264 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
4266 return NULL;
4267 }
4268 }
4269 {
4270 wxPy_BEGIN_ALLOW_THREADS;
4271 _result = (bool )wxTextCtrl_CanCut(_arg0);
4272
4273 wxPy_END_ALLOW_THREADS;
4274 } _resultobj = Py_BuildValue("i",_result);
4275 return _resultobj;
4276 }
4277
4278 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4279 static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args) {
4280 PyObject * _resultobj;
4281 bool _result;
4282 wxTextCtrl * _arg0;
4283 char * _argc0 = 0;
4284
4285 self = self;
4286 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanPaste",&_argc0))
4287 return NULL;
4288 if (_argc0) {
4289 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
4291 return NULL;
4292 }
4293 }
4294 {
4295 wxPy_BEGIN_ALLOW_THREADS;
4296 _result = (bool )wxTextCtrl_CanPaste(_arg0);
4297
4298 wxPy_END_ALLOW_THREADS;
4299 } _resultobj = Py_BuildValue("i",_result);
4300 return _resultobj;
4301 }
4302
4303 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
4304 static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args) {
4305 PyObject * _resultobj;
4306 bool _result;
4307 wxTextCtrl * _arg0;
4308 char * _argc0 = 0;
4309
4310 self = self;
4311 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanRedo",&_argc0))
4312 return NULL;
4313 if (_argc0) {
4314 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
4316 return NULL;
4317 }
4318 }
4319 {
4320 wxPy_BEGIN_ALLOW_THREADS;
4321 _result = (bool )wxTextCtrl_CanRedo(_arg0);
4322
4323 wxPy_END_ALLOW_THREADS;
4324 } _resultobj = Py_BuildValue("i",_result);
4325 return _resultobj;
4326 }
4327
4328 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4329 static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args) {
4330 PyObject * _resultobj;
4331 bool _result;
4332 wxTextCtrl * _arg0;
4333 char * _argc0 = 0;
4334
4335 self = self;
4336 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanUndo",&_argc0))
4337 return NULL;
4338 if (_argc0) {
4339 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
4341 return NULL;
4342 }
4343 }
4344 {
4345 wxPy_BEGIN_ALLOW_THREADS;
4346 _result = (bool )wxTextCtrl_CanUndo(_arg0);
4347
4348 wxPy_END_ALLOW_THREADS;
4349 } _resultobj = Py_BuildValue("i",_result);
4350 return _resultobj;
4351 }
4352
4353 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
4354 static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args) {
4355 PyObject * _resultobj;
4356 wxTextCtrl * _arg0;
4357 long * _arg1;
4358 long temp;
4359 long * _arg2;
4360 long temp0;
4361 char * _argc0 = 0;
4362
4363 self = self;
4364 {
4365 _arg1 = &temp;
4366 }
4367 {
4368 _arg2 = &temp0;
4369 }
4370 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetSelection",&_argc0))
4371 return NULL;
4372 if (_argc0) {
4373 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
4375 return NULL;
4376 }
4377 }
4378 {
4379 wxPy_BEGIN_ALLOW_THREADS;
4380 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
4381
4382 wxPy_END_ALLOW_THREADS;
4383 } Py_INCREF(Py_None);
4384 _resultobj = Py_None;
4385 {
4386 PyObject *o;
4387 o = PyInt_FromLong((long) (*_arg1));
4388 _resultobj = t_output_helper(_resultobj, o);
4389 }
4390 {
4391 PyObject *o;
4392 o = PyInt_FromLong((long) (*_arg2));
4393 _resultobj = t_output_helper(_resultobj, o);
4394 }
4395 return _resultobj;
4396 }
4397
4398 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
4399 static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args) {
4400 PyObject * _resultobj;
4401 bool _result;
4402 wxTextCtrl * _arg0;
4403 char * _argc0 = 0;
4404
4405 self = self;
4406 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_IsEditable",&_argc0))
4407 return NULL;
4408 if (_argc0) {
4409 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
4411 return NULL;
4412 }
4413 }
4414 {
4415 wxPy_BEGIN_ALLOW_THREADS;
4416 _result = (bool )wxTextCtrl_IsEditable(_arg0);
4417
4418 wxPy_END_ALLOW_THREADS;
4419 } _resultobj = Py_BuildValue("i",_result);
4420 return _resultobj;
4421 }
4422
4423 static void *SwigwxScrollBarTowxControl(void *ptr) {
4424 wxScrollBar *src;
4425 wxControl *dest;
4426 src = (wxScrollBar *) ptr;
4427 dest = (wxControl *) src;
4428 return (void *) dest;
4429 }
4430
4431 static void *SwigwxScrollBarTowxWindow(void *ptr) {
4432 wxScrollBar *src;
4433 wxWindow *dest;
4434 src = (wxScrollBar *) ptr;
4435 dest = (wxWindow *) src;
4436 return (void *) dest;
4437 }
4438
4439 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
4440 wxScrollBar *src;
4441 wxEvtHandler *dest;
4442 src = (wxScrollBar *) ptr;
4443 dest = (wxEvtHandler *) src;
4444 return (void *) dest;
4445 }
4446
4447 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4448 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args) {
4449 PyObject * _resultobj;
4450 wxScrollBar * _result;
4451 wxWindow * _arg0;
4452 wxWindowID _arg1 = -1;
4453 wxPoint * _arg2 = &wxPyDefaultPosition;
4454 wxSize * _arg3 = &wxPyDefaultSize;
4455 long _arg4 = (wxSB_HORIZONTAL);
4456 wxValidator * _arg5 = &wxPyDefaultValidator;
4457 char * _arg6 = "scrollBar";
4458 char * _argc0 = 0;
4459 char * _argc2 = 0;
4460 char * _argc3 = 0;
4461 char * _argc5 = 0;
4462 char _ptemp[128];
4463
4464 self = self;
4465 if(!PyArg_ParseTuple(args,"s|isslss:new_wxScrollBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
4466 return NULL;
4467 if (_argc0) {
4468 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
4470 return NULL;
4471 }
4472 }
4473 if (_argc2) {
4474 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
4475 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrollBar. Expected _wxPoint_p.");
4476 return NULL;
4477 }
4478 }
4479 if (_argc3) {
4480 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
4481 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrollBar. Expected _wxSize_p.");
4482 return NULL;
4483 }
4484 }
4485 if (_argc5) {
4486 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
4487 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
4488 return NULL;
4489 }
4490 }
4491 {
4492 wxPy_BEGIN_ALLOW_THREADS;
4493 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
4494
4495 wxPy_END_ALLOW_THREADS;
4496 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
4497 _resultobj = Py_BuildValue("s",_ptemp);
4498 return _resultobj;
4499 }
4500
4501 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
4502 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args) {
4503 PyObject * _resultobj;
4504 int _result;
4505 wxScrollBar * _arg0;
4506 char * _argc0 = 0;
4507
4508 self = self;
4509 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetRange",&_argc0))
4510 return NULL;
4511 if (_argc0) {
4512 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
4514 return NULL;
4515 }
4516 }
4517 {
4518 wxPy_BEGIN_ALLOW_THREADS;
4519 _result = (int )wxScrollBar_GetRange(_arg0);
4520
4521 wxPy_END_ALLOW_THREADS;
4522 } _resultobj = Py_BuildValue("i",_result);
4523 return _resultobj;
4524 }
4525
4526 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
4527 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args) {
4528 PyObject * _resultobj;
4529 int _result;
4530 wxScrollBar * _arg0;
4531 char * _argc0 = 0;
4532
4533 self = self;
4534 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetPageSize",&_argc0))
4535 return NULL;
4536 if (_argc0) {
4537 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
4539 return NULL;
4540 }
4541 }
4542 {
4543 wxPy_BEGIN_ALLOW_THREADS;
4544 _result = (int )wxScrollBar_GetPageSize(_arg0);
4545
4546 wxPy_END_ALLOW_THREADS;
4547 } _resultobj = Py_BuildValue("i",_result);
4548 return _resultobj;
4549 }
4550
4551 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
4552 static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args) {
4553 PyObject * _resultobj;
4554 int _result;
4555 wxScrollBar * _arg0;
4556 char * _argc0 = 0;
4557
4558 self = self;
4559 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetThumbPosition",&_argc0))
4560 return NULL;
4561 if (_argc0) {
4562 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
4564 return NULL;
4565 }
4566 }
4567 {
4568 wxPy_BEGIN_ALLOW_THREADS;
4569 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
4570
4571 wxPy_END_ALLOW_THREADS;
4572 } _resultobj = Py_BuildValue("i",_result);
4573 return _resultobj;
4574 }
4575
4576 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
4577 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args) {
4578 PyObject * _resultobj;
4579 int _result;
4580 wxScrollBar * _arg0;
4581 char * _argc0 = 0;
4582
4583 self = self;
4584 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetThumbSize",&_argc0))
4585 return NULL;
4586 if (_argc0) {
4587 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
4589 return NULL;
4590 }
4591 }
4592 {
4593 wxPy_BEGIN_ALLOW_THREADS;
4594 _result = (int )wxScrollBar_GetThumbSize(_arg0);
4595
4596 wxPy_END_ALLOW_THREADS;
4597 } _resultobj = Py_BuildValue("i",_result);
4598 return _resultobj;
4599 }
4600
4601 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
4602 static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args) {
4603 PyObject * _resultobj;
4604 wxScrollBar * _arg0;
4605 int _arg1;
4606 char * _argc0 = 0;
4607
4608 self = self;
4609 if(!PyArg_ParseTuple(args,"si:wxScrollBar_SetThumbPosition",&_argc0,&_arg1))
4610 return NULL;
4611 if (_argc0) {
4612 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
4614 return NULL;
4615 }
4616 }
4617 {
4618 wxPy_BEGIN_ALLOW_THREADS;
4619 wxScrollBar_SetThumbPosition(_arg0,_arg1);
4620
4621 wxPy_END_ALLOW_THREADS;
4622 } Py_INCREF(Py_None);
4623 _resultobj = Py_None;
4624 return _resultobj;
4625 }
4626
4627 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4628 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args) {
4629 PyObject * _resultobj;
4630 wxScrollBar * _arg0;
4631 int _arg1;
4632 int _arg2;
4633 int _arg3;
4634 int _arg4;
4635 bool _arg5 = (1);
4636 char * _argc0 = 0;
4637 int tempbool5;
4638
4639 self = self;
4640 if(!PyArg_ParseTuple(args,"siiii|i:wxScrollBar_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
4641 return NULL;
4642 if (_argc0) {
4643 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
4645 return NULL;
4646 }
4647 }
4648 _arg5 = (bool ) tempbool5;
4649 {
4650 wxPy_BEGIN_ALLOW_THREADS;
4651 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4652
4653 wxPy_END_ALLOW_THREADS;
4654 } Py_INCREF(Py_None);
4655 _resultobj = Py_None;
4656 return _resultobj;
4657 }
4658
4659 static void *SwigwxSpinButtonTowxControl(void *ptr) {
4660 wxSpinButton *src;
4661 wxControl *dest;
4662 src = (wxSpinButton *) ptr;
4663 dest = (wxControl *) src;
4664 return (void *) dest;
4665 }
4666
4667 static void *SwigwxSpinButtonTowxWindow(void *ptr) {
4668 wxSpinButton *src;
4669 wxWindow *dest;
4670 src = (wxSpinButton *) ptr;
4671 dest = (wxWindow *) src;
4672 return (void *) dest;
4673 }
4674
4675 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
4676 wxSpinButton *src;
4677 wxEvtHandler *dest;
4678 src = (wxSpinButton *) ptr;
4679 dest = (wxEvtHandler *) src;
4680 return (void *) dest;
4681 }
4682
4683 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4684 static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args) {
4685 PyObject * _resultobj;
4686 wxSpinButton * _result;
4687 wxWindow * _arg0;
4688 wxWindowID _arg1 = -1;
4689 wxPoint * _arg2 = &wxPyDefaultPosition;
4690 wxSize * _arg3 = &wxPyDefaultSize;
4691 long _arg4 = (wxSP_HORIZONTAL);
4692 char * _arg5 = "spinButton";
4693 char * _argc0 = 0;
4694 char * _argc2 = 0;
4695 char * _argc3 = 0;
4696 char _ptemp[128];
4697
4698 self = self;
4699 if(!PyArg_ParseTuple(args,"s|issls:new_wxSpinButton",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
4700 return NULL;
4701 if (_argc0) {
4702 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
4704 return NULL;
4705 }
4706 }
4707 if (_argc2) {
4708 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
4709 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSpinButton. Expected _wxPoint_p.");
4710 return NULL;
4711 }
4712 }
4713 if (_argc3) {
4714 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
4715 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSpinButton. Expected _wxSize_p.");
4716 return NULL;
4717 }
4718 }
4719 {
4720 wxPy_BEGIN_ALLOW_THREADS;
4721 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4722
4723 wxPy_END_ALLOW_THREADS;
4724 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
4725 _resultobj = Py_BuildValue("s",_ptemp);
4726 return _resultobj;
4727 }
4728
4729 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
4730 static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args) {
4731 PyObject * _resultobj;
4732 int _result;
4733 wxSpinButton * _arg0;
4734 char * _argc0 = 0;
4735
4736 self = self;
4737 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMax",&_argc0))
4738 return NULL;
4739 if (_argc0) {
4740 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
4742 return NULL;
4743 }
4744 }
4745 {
4746 wxPy_BEGIN_ALLOW_THREADS;
4747 _result = (int )wxSpinButton_GetMax(_arg0);
4748
4749 wxPy_END_ALLOW_THREADS;
4750 } _resultobj = Py_BuildValue("i",_result);
4751 return _resultobj;
4752 }
4753
4754 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
4755 static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args) {
4756 PyObject * _resultobj;
4757 int _result;
4758 wxSpinButton * _arg0;
4759 char * _argc0 = 0;
4760
4761 self = self;
4762 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMin",&_argc0))
4763 return NULL;
4764 if (_argc0) {
4765 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
4767 return NULL;
4768 }
4769 }
4770 {
4771 wxPy_BEGIN_ALLOW_THREADS;
4772 _result = (int )wxSpinButton_GetMin(_arg0);
4773
4774 wxPy_END_ALLOW_THREADS;
4775 } _resultobj = Py_BuildValue("i",_result);
4776 return _resultobj;
4777 }
4778
4779 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
4780 static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args) {
4781 PyObject * _resultobj;
4782 int _result;
4783 wxSpinButton * _arg0;
4784 char * _argc0 = 0;
4785
4786 self = self;
4787 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetValue",&_argc0))
4788 return NULL;
4789 if (_argc0) {
4790 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
4792 return NULL;
4793 }
4794 }
4795 {
4796 wxPy_BEGIN_ALLOW_THREADS;
4797 _result = (int )wxSpinButton_GetValue(_arg0);
4798
4799 wxPy_END_ALLOW_THREADS;
4800 } _resultobj = Py_BuildValue("i",_result);
4801 return _resultobj;
4802 }
4803
4804 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
4805 static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args) {
4806 PyObject * _resultobj;
4807 wxSpinButton * _arg0;
4808 int _arg1;
4809 int _arg2;
4810 char * _argc0 = 0;
4811
4812 self = self;
4813 if(!PyArg_ParseTuple(args,"sii:wxSpinButton_SetRange",&_argc0,&_arg1,&_arg2))
4814 return NULL;
4815 if (_argc0) {
4816 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
4818 return NULL;
4819 }
4820 }
4821 {
4822 wxPy_BEGIN_ALLOW_THREADS;
4823 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
4824
4825 wxPy_END_ALLOW_THREADS;
4826 } Py_INCREF(Py_None);
4827 _resultobj = Py_None;
4828 return _resultobj;
4829 }
4830
4831 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4832 static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args) {
4833 PyObject * _resultobj;
4834 wxSpinButton * _arg0;
4835 int _arg1;
4836 char * _argc0 = 0;
4837
4838 self = self;
4839 if(!PyArg_ParseTuple(args,"si:wxSpinButton_SetValue",&_argc0,&_arg1))
4840 return NULL;
4841 if (_argc0) {
4842 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
4844 return NULL;
4845 }
4846 }
4847 {
4848 wxPy_BEGIN_ALLOW_THREADS;
4849 wxSpinButton_SetValue(_arg0,_arg1);
4850
4851 wxPy_END_ALLOW_THREADS;
4852 } Py_INCREF(Py_None);
4853 _resultobj = Py_None;
4854 return _resultobj;
4855 }
4856
4857 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
4858 wxStaticBitmap *src;
4859 wxControl *dest;
4860 src = (wxStaticBitmap *) ptr;
4861 dest = (wxControl *) src;
4862 return (void *) dest;
4863 }
4864
4865 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
4866 wxStaticBitmap *src;
4867 wxWindow *dest;
4868 src = (wxStaticBitmap *) ptr;
4869 dest = (wxWindow *) src;
4870 return (void *) dest;
4871 }
4872
4873 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
4874 wxStaticBitmap *src;
4875 wxEvtHandler *dest;
4876 src = (wxStaticBitmap *) ptr;
4877 dest = (wxEvtHandler *) src;
4878 return (void *) dest;
4879 }
4880
4881 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4882 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args) {
4883 PyObject * _resultobj;
4884 wxStaticBitmap * _result;
4885 wxWindow * _arg0;
4886 wxWindowID _arg1;
4887 wxBitmap * _arg2;
4888 wxPoint * _arg3 = &wxPyDefaultPosition;
4889 wxSize * _arg4 = &wxPyDefaultSize;
4890 long _arg5 = 0;
4891 char * _arg6 = "staticBitmap";
4892 char * _argc0 = 0;
4893 char * _argc2 = 0;
4894 char * _argc3 = 0;
4895 char * _argc4 = 0;
4896 char _ptemp[128];
4897
4898 self = self;
4899 if(!PyArg_ParseTuple(args,"sis|ssls:new_wxStaticBitmap",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4,&_arg5,&_arg6))
4900 return NULL;
4901 if (_argc0) {
4902 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
4904 return NULL;
4905 }
4906 }
4907 if (_argc2) {
4908 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
4909 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
4910 return NULL;
4911 }
4912 }
4913 if (_argc3) {
4914 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
4915 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticBitmap. Expected _wxPoint_p.");
4916 return NULL;
4917 }
4918 }
4919 if (_argc4) {
4920 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
4921 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticBitmap. Expected _wxSize_p.");
4922 return NULL;
4923 }
4924 }
4925 {
4926 wxPy_BEGIN_ALLOW_THREADS;
4927 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4928
4929 wxPy_END_ALLOW_THREADS;
4930 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
4931 _resultobj = Py_BuildValue("s",_ptemp);
4932 return _resultobj;
4933 }
4934
4935 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4936 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args) {
4937 PyObject * _resultobj;
4938 wxBitmap * _result;
4939 wxStaticBitmap * _arg0;
4940 char * _argc0 = 0;
4941 char _ptemp[128];
4942
4943 self = self;
4944 if(!PyArg_ParseTuple(args,"s:wxStaticBitmap_GetBitmap",&_argc0))
4945 return NULL;
4946 if (_argc0) {
4947 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
4948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
4949 return NULL;
4950 }
4951 }
4952 {
4953 wxPy_BEGIN_ALLOW_THREADS;
4954 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
4955 _result = (wxBitmap *) &_result_ref;
4956
4957 wxPy_END_ALLOW_THREADS;
4958 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4959 _resultobj = Py_BuildValue("s",_ptemp);
4960 return _resultobj;
4961 }
4962
4963 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4964 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args) {
4965 PyObject * _resultobj;
4966 wxStaticBitmap * _arg0;
4967 wxBitmap * _arg1;
4968 char * _argc0 = 0;
4969 char * _argc1 = 0;
4970
4971 self = self;
4972 if(!PyArg_ParseTuple(args,"ss:wxStaticBitmap_SetBitmap",&_argc0,&_argc1))
4973 return NULL;
4974 if (_argc0) {
4975 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
4976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
4977 return NULL;
4978 }
4979 }
4980 if (_argc1) {
4981 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
4982 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
4983 return NULL;
4984 }
4985 }
4986 {
4987 wxPy_BEGIN_ALLOW_THREADS;
4988 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
4989
4990 wxPy_END_ALLOW_THREADS;
4991 } Py_INCREF(Py_None);
4992 _resultobj = Py_None;
4993 return _resultobj;
4994 }
4995
4996 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
4997 static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args) {
4998 PyObject * _resultobj;
4999 wxStaticBitmap * _arg0;
5000 wxIcon * _arg1;
5001 char * _argc0 = 0;
5002 char * _argc1 = 0;
5003
5004 self = self;
5005 if(!PyArg_ParseTuple(args,"ss:wxStaticBitmap_SetIcon",&_argc0,&_argc1))
5006 return NULL;
5007 if (_argc0) {
5008 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
5009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
5010 return NULL;
5011 }
5012 }
5013 if (_argc1) {
5014 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
5015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
5016 return NULL;
5017 }
5018 }
5019 {
5020 wxPy_BEGIN_ALLOW_THREADS;
5021 wxStaticBitmap_SetIcon(_arg0,*_arg1);
5022
5023 wxPy_END_ALLOW_THREADS;
5024 } Py_INCREF(Py_None);
5025 _resultobj = Py_None;
5026 return _resultobj;
5027 }
5028
5029 static void *SwigwxRadioBoxTowxControl(void *ptr) {
5030 wxRadioBox *src;
5031 wxControl *dest;
5032 src = (wxRadioBox *) ptr;
5033 dest = (wxControl *) src;
5034 return (void *) dest;
5035 }
5036
5037 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
5038 wxRadioBox *src;
5039 wxWindow *dest;
5040 src = (wxRadioBox *) ptr;
5041 dest = (wxWindow *) src;
5042 return (void *) dest;
5043 }
5044
5045 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
5046 wxRadioBox *src;
5047 wxEvtHandler *dest;
5048 src = (wxRadioBox *) ptr;
5049 dest = (wxEvtHandler *) src;
5050 return (void *) dest;
5051 }
5052
5053 #define new_wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (new wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
5054 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args) {
5055 PyObject * _resultobj;
5056 wxRadioBox * _result;
5057 wxWindow * _arg0;
5058 wxWindowID _arg1;
5059 wxString * _arg2;
5060 wxPoint * _arg3 = &wxPyDefaultPosition;
5061 wxSize * _arg4 = &wxPyDefaultSize;
5062 int _arg5 = 0;
5063 wxString * _arg6 = NULL;
5064 int _arg7 = 0;
5065 long _arg8 = (wxRA_HORIZONTAL);
5066 wxValidator * _arg9 = &wxPyDefaultValidator;
5067 char * _arg10 = "radioBox";
5068 char * _argc0 = 0;
5069 PyObject * _obj2 = 0;
5070 char * _argc3 = 0;
5071 char * _argc4 = 0;
5072 PyObject * _obj6 = 0;
5073 char * _argc9 = 0;
5074 char _ptemp[128];
5075
5076 self = self;
5077 if(!PyArg_ParseTuple(args,"siO|ssOilss:new_wxRadioBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_obj6,&_arg7,&_arg8,&_argc9,&_arg10))
5078 return NULL;
5079 if (_argc0) {
5080 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
5082 return NULL;
5083 }
5084 }
5085 {
5086 if (!PyString_Check(_obj2)) {
5087 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5088 return NULL;
5089 }
5090 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5091 }
5092 if (_argc3) {
5093 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
5094 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioBox. Expected _wxPoint_p.");
5095 return NULL;
5096 }
5097 }
5098 if (_argc4) {
5099 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
5100 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioBox. Expected _wxSize_p.");
5101 return NULL;
5102 }
5103 }
5104 if (_obj6)
5105 {
5106 _arg6 = wxString_LIST_helper(_obj6);
5107 if (_arg6 == NULL) {
5108 return NULL;
5109 }
5110 }
5111 if (_argc9) {
5112 if (SWIG_GetPtr(_argc9,(void **) &_arg9,"_wxValidator_p")) {
5113 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
5114 return NULL;
5115 }
5116 }
5117 {
5118 if (_obj6) {
5119 _arg5 = PyList_Size(_obj6);
5120 }
5121 else {
5122 _arg5 = 0;
5123 }
5124 }
5125 {
5126 wxPy_BEGIN_ALLOW_THREADS;
5127 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
5128
5129 wxPy_END_ALLOW_THREADS;
5130 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
5131 _resultobj = Py_BuildValue("s",_ptemp);
5132 {
5133 if (_obj2)
5134 delete _arg2;
5135 }
5136 {
5137 delete [] _arg6;
5138 }
5139 return _resultobj;
5140 }
5141
5142 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5143 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args) {
5144 PyObject * _resultobj;
5145 wxRadioBox * _arg0;
5146 bool _arg1;
5147 char * _argc0 = 0;
5148 int tempbool1;
5149
5150 self = self;
5151 if(!PyArg_ParseTuple(args,"si:wxRadioBox_Enable",&_argc0,&tempbool1))
5152 return NULL;
5153 if (_argc0) {
5154 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
5156 return NULL;
5157 }
5158 }
5159 _arg1 = (bool ) tempbool1;
5160 {
5161 wxPy_BEGIN_ALLOW_THREADS;
5162 wxRadioBox_Enable(_arg0,_arg1);
5163
5164 wxPy_END_ALLOW_THREADS;
5165 } Py_INCREF(Py_None);
5166 _resultobj = Py_None;
5167 return _resultobj;
5168 }
5169
5170 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5171 static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args) {
5172 PyObject * _resultobj;
5173 wxRadioBox * _arg0;
5174 int _arg1;
5175 bool _arg2;
5176 char * _argc0 = 0;
5177 int tempbool2;
5178
5179 self = self;
5180 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_EnableItem",&_argc0,&_arg1,&tempbool2))
5181 return NULL;
5182 if (_argc0) {
5183 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
5185 return NULL;
5186 }
5187 }
5188 _arg2 = (bool ) tempbool2;
5189 {
5190 wxPy_BEGIN_ALLOW_THREADS;
5191 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
5192
5193 wxPy_END_ALLOW_THREADS;
5194 } Py_INCREF(Py_None);
5195 _resultobj = Py_None;
5196 return _resultobj;
5197 }
5198
5199 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
5200 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args) {
5201 PyObject * _resultobj;
5202 int _result;
5203 wxRadioBox * _arg0;
5204 wxString * _arg1;
5205 char * _argc0 = 0;
5206 PyObject * _obj1 = 0;
5207
5208 self = self;
5209 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_FindString",&_argc0,&_obj1))
5210 return NULL;
5211 if (_argc0) {
5212 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
5214 return NULL;
5215 }
5216 }
5217 {
5218 if (!PyString_Check(_obj1)) {
5219 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5220 return NULL;
5221 }
5222 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5223 }
5224 {
5225 wxPy_BEGIN_ALLOW_THREADS;
5226 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
5227
5228 wxPy_END_ALLOW_THREADS;
5229 } _resultobj = Py_BuildValue("i",_result);
5230 {
5231 if (_obj1)
5232 delete _arg1;
5233 }
5234 return _resultobj;
5235 }
5236
5237 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5238 static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args) {
5239 PyObject * _resultobj;
5240 wxString * _result;
5241 wxRadioBox * _arg0;
5242 int _arg1;
5243 char * _argc0 = 0;
5244
5245 self = self;
5246 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetItemLabel",&_argc0,&_arg1))
5247 return NULL;
5248 if (_argc0) {
5249 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
5251 return NULL;
5252 }
5253 }
5254 {
5255 wxPy_BEGIN_ALLOW_THREADS;
5256 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
5257
5258 wxPy_END_ALLOW_THREADS;
5259 }{
5260 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5261 }
5262 {
5263 delete _result;
5264 }
5265 return _resultobj;
5266 }
5267
5268 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
5269 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args) {
5270 PyObject * _resultobj;
5271 int _result;
5272 wxRadioBox * _arg0;
5273 char * _argc0 = 0;
5274
5275 self = self;
5276 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetSelection",&_argc0))
5277 return NULL;
5278 if (_argc0) {
5279 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
5281 return NULL;
5282 }
5283 }
5284 {
5285 wxPy_BEGIN_ALLOW_THREADS;
5286 _result = (int )wxRadioBox_GetSelection(_arg0);
5287
5288 wxPy_END_ALLOW_THREADS;
5289 } _resultobj = Py_BuildValue("i",_result);
5290 return _resultobj;
5291 }
5292
5293 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
5294 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args) {
5295 PyObject * _resultobj;
5296 wxString * _result;
5297 wxRadioBox * _arg0;
5298 int _arg1;
5299 char * _argc0 = 0;
5300
5301 self = self;
5302 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetString",&_argc0,&_arg1))
5303 return NULL;
5304 if (_argc0) {
5305 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
5307 return NULL;
5308 }
5309 }
5310 {
5311 wxPy_BEGIN_ALLOW_THREADS;
5312 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
5313
5314 wxPy_END_ALLOW_THREADS;
5315 }{
5316 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5317 }
5318 {
5319 delete _result;
5320 }
5321 return _resultobj;
5322 }
5323
5324 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5325 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args) {
5326 PyObject * _resultobj;
5327 wxString * _result;
5328 wxRadioBox * _arg0;
5329 char * _argc0 = 0;
5330
5331 self = self;
5332 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetStringSelection",&_argc0))
5333 return NULL;
5334 if (_argc0) {
5335 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
5337 return NULL;
5338 }
5339 }
5340 {
5341 wxPy_BEGIN_ALLOW_THREADS;
5342 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
5343
5344 wxPy_END_ALLOW_THREADS;
5345 }{
5346 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5347 }
5348 {
5349 delete _result;
5350 }
5351 return _resultobj;
5352 }
5353
5354 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
5355 static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args) {
5356 PyObject * _resultobj;
5357 int _result;
5358 wxRadioBox * _arg0;
5359 char * _argc0 = 0;
5360
5361 self = self;
5362 if(!PyArg_ParseTuple(args,"s:wxRadioBox_Number",&_argc0))
5363 return NULL;
5364 if (_argc0) {
5365 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
5367 return NULL;
5368 }
5369 }
5370 {
5371 wxPy_BEGIN_ALLOW_THREADS;
5372 _result = (int )wxRadioBox_Number(_arg0);
5373
5374 wxPy_END_ALLOW_THREADS;
5375 } _resultobj = Py_BuildValue("i",_result);
5376 return _resultobj;
5377 }
5378
5379 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5380 static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args) {
5381 PyObject * _resultobj;
5382 wxRadioBox * _arg0;
5383 int _arg1;
5384 wxString * _arg2;
5385 char * _argc0 = 0;
5386 PyObject * _obj2 = 0;
5387
5388 self = self;
5389 if(!PyArg_ParseTuple(args,"siO:wxRadioBox_SetItemLabel",&_argc0,&_arg1,&_obj2))
5390 return NULL;
5391 if (_argc0) {
5392 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
5394 return NULL;
5395 }
5396 }
5397 {
5398 if (!PyString_Check(_obj2)) {
5399 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5400 return NULL;
5401 }
5402 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5403 }
5404 {
5405 wxPy_BEGIN_ALLOW_THREADS;
5406 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
5407
5408 wxPy_END_ALLOW_THREADS;
5409 } Py_INCREF(Py_None);
5410 _resultobj = Py_None;
5411 {
5412 if (_obj2)
5413 delete _arg2;
5414 }
5415 return _resultobj;
5416 }
5417
5418 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
5419 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args) {
5420 PyObject * _resultobj;
5421 wxRadioBox * _arg0;
5422 int _arg1;
5423 char * _argc0 = 0;
5424
5425 self = self;
5426 if(!PyArg_ParseTuple(args,"si:wxRadioBox_SetSelection",&_argc0,&_arg1))
5427 return NULL;
5428 if (_argc0) {
5429 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
5431 return NULL;
5432 }
5433 }
5434 {
5435 wxPy_BEGIN_ALLOW_THREADS;
5436 wxRadioBox_SetSelection(_arg0,_arg1);
5437
5438 wxPy_END_ALLOW_THREADS;
5439 } Py_INCREF(Py_None);
5440 _resultobj = Py_None;
5441 return _resultobj;
5442 }
5443
5444 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
5445 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args) {
5446 PyObject * _resultobj;
5447 wxRadioBox * _arg0;
5448 wxString * _arg1;
5449 char * _argc0 = 0;
5450 PyObject * _obj1 = 0;
5451
5452 self = self;
5453 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_SetStringSelection",&_argc0,&_obj1))
5454 return NULL;
5455 if (_argc0) {
5456 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
5458 return NULL;
5459 }
5460 }
5461 {
5462 if (!PyString_Check(_obj1)) {
5463 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5464 return NULL;
5465 }
5466 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5467 }
5468 {
5469 wxPy_BEGIN_ALLOW_THREADS;
5470 wxRadioBox_SetStringSelection(_arg0,*_arg1);
5471
5472 wxPy_END_ALLOW_THREADS;
5473 } Py_INCREF(Py_None);
5474 _resultobj = Py_None;
5475 {
5476 if (_obj1)
5477 delete _arg1;
5478 }
5479 return _resultobj;
5480 }
5481
5482 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5483 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args) {
5484 PyObject * _resultobj;
5485 wxRadioBox * _arg0;
5486 bool _arg1;
5487 char * _argc0 = 0;
5488 int tempbool1;
5489
5490 self = self;
5491 if(!PyArg_ParseTuple(args,"si:wxRadioBox_Show",&_argc0,&tempbool1))
5492 return NULL;
5493 if (_argc0) {
5494 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
5496 return NULL;
5497 }
5498 }
5499 _arg1 = (bool ) tempbool1;
5500 {
5501 wxPy_BEGIN_ALLOW_THREADS;
5502 wxRadioBox_Show(_arg0,_arg1);
5503
5504 wxPy_END_ALLOW_THREADS;
5505 } Py_INCREF(Py_None);
5506 _resultobj = Py_None;
5507 return _resultobj;
5508 }
5509
5510 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
5511 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args) {
5512 PyObject * _resultobj;
5513 wxRadioBox * _arg0;
5514 int _arg1;
5515 bool _arg2;
5516 char * _argc0 = 0;
5517 int tempbool2;
5518
5519 self = self;
5520 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_ShowItem",&_argc0,&_arg1,&tempbool2))
5521 return NULL;
5522 if (_argc0) {
5523 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
5525 return NULL;
5526 }
5527 }
5528 _arg2 = (bool ) tempbool2;
5529 {
5530 wxPy_BEGIN_ALLOW_THREADS;
5531 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
5532
5533 wxPy_END_ALLOW_THREADS;
5534 } Py_INCREF(Py_None);
5535 _resultobj = Py_None;
5536 return _resultobj;
5537 }
5538
5539 static void *SwigwxRadioButtonTowxControl(void *ptr) {
5540 wxRadioButton *src;
5541 wxControl *dest;
5542 src = (wxRadioButton *) ptr;
5543 dest = (wxControl *) src;
5544 return (void *) dest;
5545 }
5546
5547 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
5548 wxRadioButton *src;
5549 wxWindow *dest;
5550 src = (wxRadioButton *) ptr;
5551 dest = (wxWindow *) src;
5552 return (void *) dest;
5553 }
5554
5555 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
5556 wxRadioButton *src;
5557 wxEvtHandler *dest;
5558 src = (wxRadioButton *) ptr;
5559 dest = (wxEvtHandler *) src;
5560 return (void *) dest;
5561 }
5562
5563 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5564 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args) {
5565 PyObject * _resultobj;
5566 wxRadioButton * _result;
5567 wxWindow * _arg0;
5568 wxWindowID _arg1;
5569 wxString * _arg2;
5570 wxPoint * _arg3 = &wxPyDefaultPosition;
5571 wxSize * _arg4 = &wxPyDefaultSize;
5572 long _arg5 = 0;
5573 wxValidator * _arg6 = &wxPyDefaultValidator;
5574 char * _arg7 = "radioButton";
5575 char * _argc0 = 0;
5576 PyObject * _obj2 = 0;
5577 char * _argc3 = 0;
5578 char * _argc4 = 0;
5579 char * _argc6 = 0;
5580 char _ptemp[128];
5581
5582 self = self;
5583 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxRadioButton",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
5584 return NULL;
5585 if (_argc0) {
5586 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
5588 return NULL;
5589 }
5590 }
5591 {
5592 if (!PyString_Check(_obj2)) {
5593 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5594 return NULL;
5595 }
5596 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5597 }
5598 if (_argc3) {
5599 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
5600 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioButton. Expected _wxPoint_p.");
5601 return NULL;
5602 }
5603 }
5604 if (_argc4) {
5605 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
5606 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioButton. Expected _wxSize_p.");
5607 return NULL;
5608 }
5609 }
5610 if (_argc6) {
5611 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
5612 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
5613 return NULL;
5614 }
5615 }
5616 {
5617 wxPy_BEGIN_ALLOW_THREADS;
5618 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
5619
5620 wxPy_END_ALLOW_THREADS;
5621 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
5622 _resultobj = Py_BuildValue("s",_ptemp);
5623 {
5624 if (_obj2)
5625 delete _arg2;
5626 }
5627 return _resultobj;
5628 }
5629
5630 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
5631 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args) {
5632 PyObject * _resultobj;
5633 bool _result;
5634 wxRadioButton * _arg0;
5635 char * _argc0 = 0;
5636
5637 self = self;
5638 if(!PyArg_ParseTuple(args,"s:wxRadioButton_GetValue",&_argc0))
5639 return NULL;
5640 if (_argc0) {
5641 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
5642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
5643 return NULL;
5644 }
5645 }
5646 {
5647 wxPy_BEGIN_ALLOW_THREADS;
5648 _result = (bool )wxRadioButton_GetValue(_arg0);
5649
5650 wxPy_END_ALLOW_THREADS;
5651 } _resultobj = Py_BuildValue("i",_result);
5652 return _resultobj;
5653 }
5654
5655 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5656 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args) {
5657 PyObject * _resultobj;
5658 wxRadioButton * _arg0;
5659 bool _arg1;
5660 char * _argc0 = 0;
5661 int tempbool1;
5662
5663 self = self;
5664 if(!PyArg_ParseTuple(args,"si:wxRadioButton_SetValue",&_argc0,&tempbool1))
5665 return NULL;
5666 if (_argc0) {
5667 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
5668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
5669 return NULL;
5670 }
5671 }
5672 _arg1 = (bool ) tempbool1;
5673 {
5674 wxPy_BEGIN_ALLOW_THREADS;
5675 wxRadioButton_SetValue(_arg0,_arg1);
5676
5677 wxPy_END_ALLOW_THREADS;
5678 } Py_INCREF(Py_None);
5679 _resultobj = Py_None;
5680 return _resultobj;
5681 }
5682
5683 static void *SwigwxSliderTowxControl(void *ptr) {
5684 wxSlider *src;
5685 wxControl *dest;
5686 src = (wxSlider *) ptr;
5687 dest = (wxControl *) src;
5688 return (void *) dest;
5689 }
5690
5691 static void *SwigwxSliderTowxWindow(void *ptr) {
5692 wxSlider *src;
5693 wxWindow *dest;
5694 src = (wxSlider *) ptr;
5695 dest = (wxWindow *) src;
5696 return (void *) dest;
5697 }
5698
5699 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
5700 wxSlider *src;
5701 wxEvtHandler *dest;
5702 src = (wxSlider *) ptr;
5703 dest = (wxEvtHandler *) src;
5704 return (void *) dest;
5705 }
5706
5707 #define new_wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
5708 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args) {
5709 PyObject * _resultobj;
5710 wxSlider * _result;
5711 wxWindow * _arg0;
5712 wxWindowID _arg1;
5713 int _arg2;
5714 int _arg3;
5715 int _arg4;
5716 wxPoint * _arg5 = &wxPyDefaultPosition;
5717 wxSize * _arg6 = &wxPyDefaultSize;
5718 long _arg7 = (wxSL_HORIZONTAL);
5719 wxValidator * _arg8 = &wxPyDefaultValidator;
5720 char * _arg9 = "slider";
5721 char * _argc0 = 0;
5722 char * _argc5 = 0;
5723 char * _argc6 = 0;
5724 char * _argc8 = 0;
5725 char _ptemp[128];
5726
5727 self = self;
5728 if(!PyArg_ParseTuple(args,"siiii|sslss:new_wxSlider",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_argc5,&_argc6,&_arg7,&_argc8,&_arg9))
5729 return NULL;
5730 if (_argc0) {
5731 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
5733 return NULL;
5734 }
5735 }
5736 if (_argc5) {
5737 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPoint_p")) {
5738 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxSlider. Expected _wxPoint_p.");
5739 return NULL;
5740 }
5741 }
5742 if (_argc6) {
5743 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxSize_p")) {
5744 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxSlider. Expected _wxSize_p.");
5745 return NULL;
5746 }
5747 }
5748 if (_argc8) {
5749 if (SWIG_GetPtr(_argc8,(void **) &_arg8,"_wxValidator_p")) {
5750 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
5751 return NULL;
5752 }
5753 }
5754 {
5755 wxPy_BEGIN_ALLOW_THREADS;
5756 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
5757
5758 wxPy_END_ALLOW_THREADS;
5759 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
5760 _resultobj = Py_BuildValue("s",_ptemp);
5761 return _resultobj;
5762 }
5763
5764 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
5765 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args) {
5766 PyObject * _resultobj;
5767 wxSlider * _arg0;
5768 char * _argc0 = 0;
5769
5770 self = self;
5771 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearSel",&_argc0))
5772 return NULL;
5773 if (_argc0) {
5774 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
5776 return NULL;
5777 }
5778 }
5779 {
5780 wxPy_BEGIN_ALLOW_THREADS;
5781 wxSlider_ClearSel(_arg0);
5782
5783 wxPy_END_ALLOW_THREADS;
5784 } Py_INCREF(Py_None);
5785 _resultobj = Py_None;
5786 return _resultobj;
5787 }
5788
5789 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
5790 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args) {
5791 PyObject * _resultobj;
5792 wxSlider * _arg0;
5793 char * _argc0 = 0;
5794
5795 self = self;
5796 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearTicks",&_argc0))
5797 return NULL;
5798 if (_argc0) {
5799 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
5801 return NULL;
5802 }
5803 }
5804 {
5805 wxPy_BEGIN_ALLOW_THREADS;
5806 wxSlider_ClearTicks(_arg0);
5807
5808 wxPy_END_ALLOW_THREADS;
5809 } Py_INCREF(Py_None);
5810 _resultobj = Py_None;
5811 return _resultobj;
5812 }
5813
5814 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
5815 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args) {
5816 PyObject * _resultobj;
5817 int _result;
5818 wxSlider * _arg0;
5819 char * _argc0 = 0;
5820
5821 self = self;
5822 if(!PyArg_ParseTuple(args,"s:wxSlider_GetLineSize",&_argc0))
5823 return NULL;
5824 if (_argc0) {
5825 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
5827 return NULL;
5828 }
5829 }
5830 {
5831 wxPy_BEGIN_ALLOW_THREADS;
5832 _result = (int )wxSlider_GetLineSize(_arg0);
5833
5834 wxPy_END_ALLOW_THREADS;
5835 } _resultobj = Py_BuildValue("i",_result);
5836 return _resultobj;
5837 }
5838
5839 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
5840 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args) {
5841 PyObject * _resultobj;
5842 int _result;
5843 wxSlider * _arg0;
5844 char * _argc0 = 0;
5845
5846 self = self;
5847 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMax",&_argc0))
5848 return NULL;
5849 if (_argc0) {
5850 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
5852 return NULL;
5853 }
5854 }
5855 {
5856 wxPy_BEGIN_ALLOW_THREADS;
5857 _result = (int )wxSlider_GetMax(_arg0);
5858
5859 wxPy_END_ALLOW_THREADS;
5860 } _resultobj = Py_BuildValue("i",_result);
5861 return _resultobj;
5862 }
5863
5864 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
5865 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args) {
5866 PyObject * _resultobj;
5867 int _result;
5868 wxSlider * _arg0;
5869 char * _argc0 = 0;
5870
5871 self = self;
5872 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMin",&_argc0))
5873 return NULL;
5874 if (_argc0) {
5875 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
5877 return NULL;
5878 }
5879 }
5880 {
5881 wxPy_BEGIN_ALLOW_THREADS;
5882 _result = (int )wxSlider_GetMin(_arg0);
5883
5884 wxPy_END_ALLOW_THREADS;
5885 } _resultobj = Py_BuildValue("i",_result);
5886 return _resultobj;
5887 }
5888
5889 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5890 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args) {
5891 PyObject * _resultobj;
5892 int _result;
5893 wxSlider * _arg0;
5894 char * _argc0 = 0;
5895
5896 self = self;
5897 if(!PyArg_ParseTuple(args,"s:wxSlider_GetPageSize",&_argc0))
5898 return NULL;
5899 if (_argc0) {
5900 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
5902 return NULL;
5903 }
5904 }
5905 {
5906 wxPy_BEGIN_ALLOW_THREADS;
5907 _result = (int )wxSlider_GetPageSize(_arg0);
5908
5909 wxPy_END_ALLOW_THREADS;
5910 } _resultobj = Py_BuildValue("i",_result);
5911 return _resultobj;
5912 }
5913
5914 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
5915 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args) {
5916 PyObject * _resultobj;
5917 int _result;
5918 wxSlider * _arg0;
5919 char * _argc0 = 0;
5920
5921 self = self;
5922 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelEnd",&_argc0))
5923 return NULL;
5924 if (_argc0) {
5925 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
5927 return NULL;
5928 }
5929 }
5930 {
5931 wxPy_BEGIN_ALLOW_THREADS;
5932 _result = (int )wxSlider_GetSelEnd(_arg0);
5933
5934 wxPy_END_ALLOW_THREADS;
5935 } _resultobj = Py_BuildValue("i",_result);
5936 return _resultobj;
5937 }
5938
5939 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
5940 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args) {
5941 PyObject * _resultobj;
5942 int _result;
5943 wxSlider * _arg0;
5944 char * _argc0 = 0;
5945
5946 self = self;
5947 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelStart",&_argc0))
5948 return NULL;
5949 if (_argc0) {
5950 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
5952 return NULL;
5953 }
5954 }
5955 {
5956 wxPy_BEGIN_ALLOW_THREADS;
5957 _result = (int )wxSlider_GetSelStart(_arg0);
5958
5959 wxPy_END_ALLOW_THREADS;
5960 } _resultobj = Py_BuildValue("i",_result);
5961 return _resultobj;
5962 }
5963
5964 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
5965 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args) {
5966 PyObject * _resultobj;
5967 int _result;
5968 wxSlider * _arg0;
5969 char * _argc0 = 0;
5970
5971 self = self;
5972 if(!PyArg_ParseTuple(args,"s:wxSlider_GetThumbLength",&_argc0))
5973 return NULL;
5974 if (_argc0) {
5975 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
5977 return NULL;
5978 }
5979 }
5980 {
5981 wxPy_BEGIN_ALLOW_THREADS;
5982 _result = (int )wxSlider_GetThumbLength(_arg0);
5983
5984 wxPy_END_ALLOW_THREADS;
5985 } _resultobj = Py_BuildValue("i",_result);
5986 return _resultobj;
5987 }
5988
5989 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
5990 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args) {
5991 PyObject * _resultobj;
5992 int _result;
5993 wxSlider * _arg0;
5994 char * _argc0 = 0;
5995
5996 self = self;
5997 if(!PyArg_ParseTuple(args,"s:wxSlider_GetTickFreq",&_argc0))
5998 return NULL;
5999 if (_argc0) {
6000 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
6002 return NULL;
6003 }
6004 }
6005 {
6006 wxPy_BEGIN_ALLOW_THREADS;
6007 _result = (int )wxSlider_GetTickFreq(_arg0);
6008
6009 wxPy_END_ALLOW_THREADS;
6010 } _resultobj = Py_BuildValue("i",_result);
6011 return _resultobj;
6012 }
6013
6014 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
6015 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args) {
6016 PyObject * _resultobj;
6017 int _result;
6018 wxSlider * _arg0;
6019 char * _argc0 = 0;
6020
6021 self = self;
6022 if(!PyArg_ParseTuple(args,"s:wxSlider_GetValue",&_argc0))
6023 return NULL;
6024 if (_argc0) {
6025 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
6027 return NULL;
6028 }
6029 }
6030 {
6031 wxPy_BEGIN_ALLOW_THREADS;
6032 _result = (int )wxSlider_GetValue(_arg0);
6033
6034 wxPy_END_ALLOW_THREADS;
6035 } _resultobj = Py_BuildValue("i",_result);
6036 return _resultobj;
6037 }
6038
6039 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6040 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args) {
6041 PyObject * _resultobj;
6042 wxSlider * _arg0;
6043 int _arg1;
6044 int _arg2;
6045 char * _argc0 = 0;
6046
6047 self = self;
6048 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetRange",&_argc0,&_arg1,&_arg2))
6049 return NULL;
6050 if (_argc0) {
6051 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
6053 return NULL;
6054 }
6055 }
6056 {
6057 wxPy_BEGIN_ALLOW_THREADS;
6058 wxSlider_SetRange(_arg0,_arg1,_arg2);
6059
6060 wxPy_END_ALLOW_THREADS;
6061 } Py_INCREF(Py_None);
6062 _resultobj = Py_None;
6063 return _resultobj;
6064 }
6065
6066 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
6067 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args) {
6068 PyObject * _resultobj;
6069 wxSlider * _arg0;
6070 int _arg1;
6071 int _arg2;
6072 char * _argc0 = 0;
6073
6074 self = self;
6075 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetTickFreq",&_argc0,&_arg1,&_arg2))
6076 return NULL;
6077 if (_argc0) {
6078 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
6080 return NULL;
6081 }
6082 }
6083 {
6084 wxPy_BEGIN_ALLOW_THREADS;
6085 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
6086
6087 wxPy_END_ALLOW_THREADS;
6088 } Py_INCREF(Py_None);
6089 _resultobj = Py_None;
6090 return _resultobj;
6091 }
6092
6093 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
6094 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args) {
6095 PyObject * _resultobj;
6096 wxSlider * _arg0;
6097 int _arg1;
6098 char * _argc0 = 0;
6099
6100 self = self;
6101 if(!PyArg_ParseTuple(args,"si:wxSlider_SetLineSize",&_argc0,&_arg1))
6102 return NULL;
6103 if (_argc0) {
6104 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
6106 return NULL;
6107 }
6108 }
6109 {
6110 wxPy_BEGIN_ALLOW_THREADS;
6111 wxSlider_SetLineSize(_arg0,_arg1);
6112
6113 wxPy_END_ALLOW_THREADS;
6114 } Py_INCREF(Py_None);
6115 _resultobj = Py_None;
6116 return _resultobj;
6117 }
6118
6119 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
6120 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args) {
6121 PyObject * _resultobj;
6122 wxSlider * _arg0;
6123 int _arg1;
6124 char * _argc0 = 0;
6125
6126 self = self;
6127 if(!PyArg_ParseTuple(args,"si:wxSlider_SetPageSize",&_argc0,&_arg1))
6128 return NULL;
6129 if (_argc0) {
6130 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
6132 return NULL;
6133 }
6134 }
6135 {
6136 wxPy_BEGIN_ALLOW_THREADS;
6137 wxSlider_SetPageSize(_arg0,_arg1);
6138
6139 wxPy_END_ALLOW_THREADS;
6140 } Py_INCREF(Py_None);
6141 _resultobj = Py_None;
6142 return _resultobj;
6143 }
6144
6145 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
6146 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args) {
6147 PyObject * _resultobj;
6148 wxSlider * _arg0;
6149 int _arg1;
6150 int _arg2;
6151 char * _argc0 = 0;
6152
6153 self = self;
6154 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetSelection",&_argc0,&_arg1,&_arg2))
6155 return NULL;
6156 if (_argc0) {
6157 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
6159 return NULL;
6160 }
6161 }
6162 {
6163 wxPy_BEGIN_ALLOW_THREADS;
6164 wxSlider_SetSelection(_arg0,_arg1,_arg2);
6165
6166 wxPy_END_ALLOW_THREADS;
6167 } Py_INCREF(Py_None);
6168 _resultobj = Py_None;
6169 return _resultobj;
6170 }
6171
6172 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
6173 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args) {
6174 PyObject * _resultobj;
6175 wxSlider * _arg0;
6176 int _arg1;
6177 char * _argc0 = 0;
6178
6179 self = self;
6180 if(!PyArg_ParseTuple(args,"si:wxSlider_SetThumbLength",&_argc0,&_arg1))
6181 return NULL;
6182 if (_argc0) {
6183 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
6185 return NULL;
6186 }
6187 }
6188 {
6189 wxPy_BEGIN_ALLOW_THREADS;
6190 wxSlider_SetThumbLength(_arg0,_arg1);
6191
6192 wxPy_END_ALLOW_THREADS;
6193 } Py_INCREF(Py_None);
6194 _resultobj = Py_None;
6195 return _resultobj;
6196 }
6197
6198 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
6199 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args) {
6200 PyObject * _resultobj;
6201 wxSlider * _arg0;
6202 int _arg1;
6203 char * _argc0 = 0;
6204
6205 self = self;
6206 if(!PyArg_ParseTuple(args,"si:wxSlider_SetTick",&_argc0,&_arg1))
6207 return NULL;
6208 if (_argc0) {
6209 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
6211 return NULL;
6212 }
6213 }
6214 {
6215 wxPy_BEGIN_ALLOW_THREADS;
6216 wxSlider_SetTick(_arg0,_arg1);
6217
6218 wxPy_END_ALLOW_THREADS;
6219 } Py_INCREF(Py_None);
6220 _resultobj = Py_None;
6221 return _resultobj;
6222 }
6223
6224 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6225 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args) {
6226 PyObject * _resultobj;
6227 wxSlider * _arg0;
6228 int _arg1;
6229 char * _argc0 = 0;
6230
6231 self = self;
6232 if(!PyArg_ParseTuple(args,"si:wxSlider_SetValue",&_argc0,&_arg1))
6233 return NULL;
6234 if (_argc0) {
6235 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
6237 return NULL;
6238 }
6239 }
6240 {
6241 wxPy_BEGIN_ALLOW_THREADS;
6242 wxSlider_SetValue(_arg0,_arg1);
6243
6244 wxPy_END_ALLOW_THREADS;
6245 } Py_INCREF(Py_None);
6246 _resultobj = Py_None;
6247 return _resultobj;
6248 }
6249
6250 static PyMethodDef controlscMethods[] = {
6251 { "wxSlider_SetValue", _wrap_wxSlider_SetValue, 1 },
6252 { "wxSlider_SetTick", _wrap_wxSlider_SetTick, 1 },
6253 { "wxSlider_SetThumbLength", _wrap_wxSlider_SetThumbLength, 1 },
6254 { "wxSlider_SetSelection", _wrap_wxSlider_SetSelection, 1 },
6255 { "wxSlider_SetPageSize", _wrap_wxSlider_SetPageSize, 1 },
6256 { "wxSlider_SetLineSize", _wrap_wxSlider_SetLineSize, 1 },
6257 { "wxSlider_SetTickFreq", _wrap_wxSlider_SetTickFreq, 1 },
6258 { "wxSlider_SetRange", _wrap_wxSlider_SetRange, 1 },
6259 { "wxSlider_GetValue", _wrap_wxSlider_GetValue, 1 },
6260 { "wxSlider_GetTickFreq", _wrap_wxSlider_GetTickFreq, 1 },
6261 { "wxSlider_GetThumbLength", _wrap_wxSlider_GetThumbLength, 1 },
6262 { "wxSlider_GetSelStart", _wrap_wxSlider_GetSelStart, 1 },
6263 { "wxSlider_GetSelEnd", _wrap_wxSlider_GetSelEnd, 1 },
6264 { "wxSlider_GetPageSize", _wrap_wxSlider_GetPageSize, 1 },
6265 { "wxSlider_GetMin", _wrap_wxSlider_GetMin, 1 },
6266 { "wxSlider_GetMax", _wrap_wxSlider_GetMax, 1 },
6267 { "wxSlider_GetLineSize", _wrap_wxSlider_GetLineSize, 1 },
6268 { "wxSlider_ClearTicks", _wrap_wxSlider_ClearTicks, 1 },
6269 { "wxSlider_ClearSel", _wrap_wxSlider_ClearSel, 1 },
6270 { "new_wxSlider", _wrap_new_wxSlider, 1 },
6271 { "wxRadioButton_SetValue", _wrap_wxRadioButton_SetValue, 1 },
6272 { "wxRadioButton_GetValue", _wrap_wxRadioButton_GetValue, 1 },
6273 { "new_wxRadioButton", _wrap_new_wxRadioButton, 1 },
6274 { "wxRadioBox_ShowItem", _wrap_wxRadioBox_ShowItem, 1 },
6275 { "wxRadioBox_Show", _wrap_wxRadioBox_Show, 1 },
6276 { "wxRadioBox_SetStringSelection", _wrap_wxRadioBox_SetStringSelection, 1 },
6277 { "wxRadioBox_SetSelection", _wrap_wxRadioBox_SetSelection, 1 },
6278 { "wxRadioBox_SetItemLabel", _wrap_wxRadioBox_SetItemLabel, 1 },
6279 { "wxRadioBox_Number", _wrap_wxRadioBox_Number, 1 },
6280 { "wxRadioBox_GetStringSelection", _wrap_wxRadioBox_GetStringSelection, 1 },
6281 { "wxRadioBox_GetString", _wrap_wxRadioBox_GetString, 1 },
6282 { "wxRadioBox_GetSelection", _wrap_wxRadioBox_GetSelection, 1 },
6283 { "wxRadioBox_GetItemLabel", _wrap_wxRadioBox_GetItemLabel, 1 },
6284 { "wxRadioBox_FindString", _wrap_wxRadioBox_FindString, 1 },
6285 { "wxRadioBox_EnableItem", _wrap_wxRadioBox_EnableItem, 1 },
6286 { "wxRadioBox_Enable", _wrap_wxRadioBox_Enable, 1 },
6287 { "new_wxRadioBox", _wrap_new_wxRadioBox, 1 },
6288 { "wxStaticBitmap_SetIcon", _wrap_wxStaticBitmap_SetIcon, 1 },
6289 { "wxStaticBitmap_SetBitmap", _wrap_wxStaticBitmap_SetBitmap, 1 },
6290 { "wxStaticBitmap_GetBitmap", _wrap_wxStaticBitmap_GetBitmap, 1 },
6291 { "new_wxStaticBitmap", _wrap_new_wxStaticBitmap, 1 },
6292 { "wxSpinButton_SetValue", _wrap_wxSpinButton_SetValue, 1 },
6293 { "wxSpinButton_SetRange", _wrap_wxSpinButton_SetRange, 1 },
6294 { "wxSpinButton_GetValue", _wrap_wxSpinButton_GetValue, 1 },
6295 { "wxSpinButton_GetMin", _wrap_wxSpinButton_GetMin, 1 },
6296 { "wxSpinButton_GetMax", _wrap_wxSpinButton_GetMax, 1 },
6297 { "new_wxSpinButton", _wrap_new_wxSpinButton, 1 },
6298 { "wxScrollBar_SetScrollbar", _wrap_wxScrollBar_SetScrollbar, 1 },
6299 { "wxScrollBar_SetThumbPosition", _wrap_wxScrollBar_SetThumbPosition, 1 },
6300 { "wxScrollBar_GetThumbSize", _wrap_wxScrollBar_GetThumbSize, 1 },
6301 { "wxScrollBar_GetThumbPosition", _wrap_wxScrollBar_GetThumbPosition, 1 },
6302 { "wxScrollBar_GetPageSize", _wrap_wxScrollBar_GetPageSize, 1 },
6303 { "wxScrollBar_GetRange", _wrap_wxScrollBar_GetRange, 1 },
6304 { "new_wxScrollBar", _wrap_new_wxScrollBar, 1 },
6305 { "wxTextCtrl_IsEditable", _wrap_wxTextCtrl_IsEditable, 1 },
6306 { "wxTextCtrl_GetSelection", _wrap_wxTextCtrl_GetSelection, 1 },
6307 { "wxTextCtrl_CanUndo", _wrap_wxTextCtrl_CanUndo, 1 },
6308 { "wxTextCtrl_CanRedo", _wrap_wxTextCtrl_CanRedo, 1 },
6309 { "wxTextCtrl_CanPaste", _wrap_wxTextCtrl_CanPaste, 1 },
6310 { "wxTextCtrl_CanCut", _wrap_wxTextCtrl_CanCut, 1 },
6311 { "wxTextCtrl_CanCopy", _wrap_wxTextCtrl_CanCopy, 1 },
6312 { "wxTextCtrl_XYToPosition", _wrap_wxTextCtrl_XYToPosition, 1 },
6313 { "wxTextCtrl_AppendText", _wrap_wxTextCtrl_AppendText, 1 },
6314 { "wxTextCtrl_WriteText", _wrap_wxTextCtrl_WriteText, 1 },
6315 { "wxTextCtrl_ShowPosition", _wrap_wxTextCtrl_ShowPosition, 1 },
6316 { "wxTextCtrl_SetValue", _wrap_wxTextCtrl_SetValue, 1 },
6317 { "wxTextCtrl_SetSelection", _wrap_wxTextCtrl_SetSelection, 1 },
6318 { "wxTextCtrl_SetInsertionPointEnd", _wrap_wxTextCtrl_SetInsertionPointEnd, 1 },
6319 { "wxTextCtrl_SetInsertionPoint", _wrap_wxTextCtrl_SetInsertionPoint, 1 },
6320 { "wxTextCtrl_SetEditable", _wrap_wxTextCtrl_SetEditable, 1 },
6321 { "wxTextCtrl_SaveFile", _wrap_wxTextCtrl_SaveFile, 1 },
6322 { "wxTextCtrl_Replace", _wrap_wxTextCtrl_Replace, 1 },
6323 { "wxTextCtrl_Remove", _wrap_wxTextCtrl_Remove, 1 },
6324 { "wxTextCtrl_PositionToXY", _wrap_wxTextCtrl_PositionToXY, 1 },
6325 { "wxTextCtrl_Paste", _wrap_wxTextCtrl_Paste, 1 },
6326 { "wxTextCtrl_LoadFile", _wrap_wxTextCtrl_LoadFile, 1 },
6327 { "wxTextCtrl_IsModified", _wrap_wxTextCtrl_IsModified, 1 },
6328 { "wxTextCtrl_GetValue", _wrap_wxTextCtrl_GetValue, 1 },
6329 { "wxTextCtrl_GetNumberOfLines", _wrap_wxTextCtrl_GetNumberOfLines, 1 },
6330 { "wxTextCtrl_GetLineText", _wrap_wxTextCtrl_GetLineText, 1 },
6331 { "wxTextCtrl_GetLineLength", _wrap_wxTextCtrl_GetLineLength, 1 },
6332 { "wxTextCtrl_GetLastPosition", _wrap_wxTextCtrl_GetLastPosition, 1 },
6333 { "wxTextCtrl_GetInsertionPoint", _wrap_wxTextCtrl_GetInsertionPoint, 1 },
6334 { "wxTextCtrl_DiscardEdits", _wrap_wxTextCtrl_DiscardEdits, 1 },
6335 { "wxTextCtrl_Cut", _wrap_wxTextCtrl_Cut, 1 },
6336 { "wxTextCtrl_Copy", _wrap_wxTextCtrl_Copy, 1 },
6337 { "wxTextCtrl_Clear", _wrap_wxTextCtrl_Clear, 1 },
6338 { "new_wxTextCtrl", _wrap_new_wxTextCtrl, 1 },
6339 { "wxCheckListBox_GetItemHeight", _wrap_wxCheckListBox_GetItemHeight, 1 },
6340 { "wxCheckListBox_Check", _wrap_wxCheckListBox_Check, 1 },
6341 { "wxCheckListBox_IsChecked", _wrap_wxCheckListBox_IsChecked, 1 },
6342 { "new_wxCheckListBox", _wrap_new_wxCheckListBox, 1 },
6343 { "wxListBox_SetStringSelection", _wrap_wxListBox_SetStringSelection, 1 },
6344 { "wxListBox_SetString", _wrap_wxListBox_SetString, 1 },
6345 { "wxListBox_SetSelection", _wrap_wxListBox_SetSelection, 1 },
6346 { "wxListBox_SetFirstItemStr", _wrap_wxListBox_SetFirstItemStr, 1 },
6347 { "wxListBox_SetFirstItem", _wrap_wxListBox_SetFirstItem, 1 },
6348 { "wxListBox_Set", _wrap_wxListBox_Set, 1 },
6349 { "wxListBox_Selected", _wrap_wxListBox_Selected, 1 },
6350 { "wxListBox_Number", _wrap_wxListBox_Number, 1 },
6351 { "wxListBox_GetStringSelection", _wrap_wxListBox_GetStringSelection, 1 },
6352 { "wxListBox_GetString", _wrap_wxListBox_GetString, 1 },
6353 { "wxListBox_GetSelections", _wrap_wxListBox_GetSelections, 1 },
6354 { "wxListBox_GetSelection", _wrap_wxListBox_GetSelection, 1 },
6355 { "wxListBox_FindString", _wrap_wxListBox_FindString, 1 },
6356 { "wxListBox_Deselect", _wrap_wxListBox_Deselect, 1 },
6357 { "wxListBox_Delete", _wrap_wxListBox_Delete, 1 },
6358 { "wxListBox_Clear", _wrap_wxListBox_Clear, 1 },
6359 { "wxListBox_Append", _wrap_wxListBox_Append, 1 },
6360 { "new_wxListBox", _wrap_new_wxListBox, 1 },
6361 { "wxStaticText_SetLabel", _wrap_wxStaticText_SetLabel, 1 },
6362 { "wxStaticText_GetLabel", _wrap_wxStaticText_GetLabel, 1 },
6363 { "new_wxStaticText", _wrap_new_wxStaticText, 1 },
6364 { "new_wxStaticLine", _wrap_new_wxStaticLine, 1 },
6365 { "new_wxStaticBox", _wrap_new_wxStaticBox, 1 },
6366 { "wxGauge_SetValue", _wrap_wxGauge_SetValue, 1 },
6367 { "wxGauge_SetShadowWidth", _wrap_wxGauge_SetShadowWidth, 1 },
6368 { "wxGauge_SetRange", _wrap_wxGauge_SetRange, 1 },
6369 { "wxGauge_SetBezelFace", _wrap_wxGauge_SetBezelFace, 1 },
6370 { "wxGauge_GetValue", _wrap_wxGauge_GetValue, 1 },
6371 { "wxGauge_GetShadowWidth", _wrap_wxGauge_GetShadowWidth, 1 },
6372 { "wxGauge_GetRange", _wrap_wxGauge_GetRange, 1 },
6373 { "wxGauge_GetBezelFace", _wrap_wxGauge_GetBezelFace, 1 },
6374 { "new_wxGauge", _wrap_new_wxGauge, 1 },
6375 { "wxComboBox_SetValue", _wrap_wxComboBox_SetValue, 1 },
6376 { "wxComboBox_SetMark", _wrap_wxComboBox_SetMark, 1 },
6377 { "wxComboBox_SetInsertionPointEnd", _wrap_wxComboBox_SetInsertionPointEnd, 1 },
6378 { "wxComboBox_SetInsertionPoint", _wrap_wxComboBox_SetInsertionPoint, 1 },
6379 { "wxComboBox_Remove", _wrap_wxComboBox_Remove, 1 },
6380 { "wxComboBox_Replace", _wrap_wxComboBox_Replace, 1 },
6381 { "wxComboBox_Paste", _wrap_wxComboBox_Paste, 1 },
6382 { "wxComboBox_Number", _wrap_wxComboBox_Number, 1 },
6383 { "wxComboBox_GetValue", _wrap_wxComboBox_GetValue, 1 },
6384 { "wxComboBox_GetStringSelection", _wrap_wxComboBox_GetStringSelection, 1 },
6385 { "wxComboBox_GetString", _wrap_wxComboBox_GetString, 1 },
6386 { "wxComboBox_GetSelection", _wrap_wxComboBox_GetSelection, 1 },
6387 { "wxComboBox_GetLastPosition", _wrap_wxComboBox_GetLastPosition, 1 },
6388 { "wxComboBox_GetInsertionPoint", _wrap_wxComboBox_GetInsertionPoint, 1 },
6389 { "wxComboBox_FindString", _wrap_wxComboBox_FindString, 1 },
6390 { "wxComboBox_Delete", _wrap_wxComboBox_Delete, 1 },
6391 { "wxComboBox_Cut", _wrap_wxComboBox_Cut, 1 },
6392 { "wxComboBox_Copy", _wrap_wxComboBox_Copy, 1 },
6393 { "wxComboBox_Clear", _wrap_wxComboBox_Clear, 1 },
6394 { "wxComboBox_Append", _wrap_wxComboBox_Append, 1 },
6395 { "new_wxComboBox", _wrap_new_wxComboBox, 1 },
6396 { "wxChoice_SetStringSelection", _wrap_wxChoice_SetStringSelection, 1 },
6397 { "wxChoice_SetSelection", _wrap_wxChoice_SetSelection, 1 },
6398 { "wxChoice_SetColumns", _wrap_wxChoice_SetColumns, 1 },
6399 { "wxChoice_Number", _wrap_wxChoice_Number, 1 },
6400 { "wxChoice_GetStringSelection", _wrap_wxChoice_GetStringSelection, 1 },
6401 { "wxChoice_GetString", _wrap_wxChoice_GetString, 1 },
6402 { "wxChoice_GetSelection", _wrap_wxChoice_GetSelection, 1 },
6403 { "wxChoice_GetColumns", _wrap_wxChoice_GetColumns, 1 },
6404 { "wxChoice_FindString", _wrap_wxChoice_FindString, 1 },
6405 { "wxChoice_Clear", _wrap_wxChoice_Clear, 1 },
6406 { "wxChoice_Append", _wrap_wxChoice_Append, 1 },
6407 { "new_wxChoice", _wrap_new_wxChoice, 1 },
6408 { "wxCheckBox_SetValue", _wrap_wxCheckBox_SetValue, 1 },
6409 { "wxCheckBox_GetValue", _wrap_wxCheckBox_GetValue, 1 },
6410 { "new_wxCheckBox", _wrap_new_wxCheckBox, 1 },
6411 { "wxBitmapButton_SetBitmapLabel", _wrap_wxBitmapButton_SetBitmapLabel, 1 },
6412 { "wxBitmapButton_SetBitmapSelected", _wrap_wxBitmapButton_SetBitmapSelected, 1 },
6413 { "wxBitmapButton_SetBitmapFocus", _wrap_wxBitmapButton_SetBitmapFocus, 1 },
6414 { "wxBitmapButton_SetBitmapDisabled", _wrap_wxBitmapButton_SetBitmapDisabled, 1 },
6415 { "wxBitmapButton_GetBitmapSelected", _wrap_wxBitmapButton_GetBitmapSelected, 1 },
6416 { "wxBitmapButton_GetBitmapFocus", _wrap_wxBitmapButton_GetBitmapFocus, 1 },
6417 { "wxBitmapButton_GetBitmapDisabled", _wrap_wxBitmapButton_GetBitmapDisabled, 1 },
6418 { "wxBitmapButton_GetBitmapLabel", _wrap_wxBitmapButton_GetBitmapLabel, 1 },
6419 { "new_wxBitmapButton", _wrap_new_wxBitmapButton, 1 },
6420 { "wxButton_SetDefault", _wrap_wxButton_SetDefault, 1 },
6421 { "new_wxButton", _wrap_new_wxButton, 1 },
6422 { "wxControl_SetLabel", _wrap_wxControl_SetLabel, 1 },
6423 { "wxControl_GetLabel", _wrap_wxControl_GetLabel, 1 },
6424 { "wxControl_Command", _wrap_wxControl_Command, 1 },
6425 { NULL, NULL }
6426 };
6427 static PyObject *SWIG_globals;
6428 #ifdef __cplusplus
6429 extern "C"
6430 #endif
6431 SWIGEXPORT(void,initcontrolsc)() {
6432 PyObject *m, *d;
6433 SWIG_globals = SWIG_newvarlink();
6434 m = Py_InitModule("controlsc", controlscMethods);
6435 d = PyModule_GetDict(m);
6436 /*
6437 * These are the pointer type-equivalency mappings.
6438 * (Used by the SWIG pointer type-checker).
6439 */
6440 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6441 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
6442 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
6443 SWIG_RegisterMapping("_signed_long","_long",0);
6444 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
6445 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
6446 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
6447 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
6448 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
6449 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
6450 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
6451 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
6452 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6453 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
6454 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
6455 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
6456 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6457 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6458 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6459 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6460 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6461 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6462 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6463 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6464 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6465 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6466 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6467 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6468 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6469 SWIG_RegisterMapping("_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6470 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
6471 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
6472 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6473 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6474 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6475 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6476 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6477 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6478 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
6479 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
6480 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6481 SWIG_RegisterMapping("_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6482 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
6483 SWIG_RegisterMapping("_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
6484 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6485 SWIG_RegisterMapping("_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6486 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6487 SWIG_RegisterMapping("_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6488 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
6489 SWIG_RegisterMapping("_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
6490 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
6491 SWIG_RegisterMapping("_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
6492 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
6493 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
6494 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6495 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6496 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
6497 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6498 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6499 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
6500 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6501 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
6502 SWIG_RegisterMapping("_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice);
6503 SWIG_RegisterMapping("_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice);
6504 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
6505 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
6506 SWIG_RegisterMapping("_long","_wxDash",0);
6507 SWIG_RegisterMapping("_long","_unsigned_long",0);
6508 SWIG_RegisterMapping("_long","_signed_long",0);
6509 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6510 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
6511 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
6512 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6513 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
6514 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6515 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
6516 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
6517 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6518 SWIG_RegisterMapping("_size_t","_int",0);
6519 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6520 SWIG_RegisterMapping("_size_t","_uint",0);
6521 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6522 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
6523 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
6524 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
6525 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
6526 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
6527 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
6528 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
6529 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
6530 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
6531 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6532 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
6533 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6534 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
6535 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
6536 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
6537 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
6538 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6539 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
6540 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
6541 SWIG_RegisterMapping("_uint","_size_t",0);
6542 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6543 SWIG_RegisterMapping("_uint","_int",0);
6544 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6545 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
6546 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
6547 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6548 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
6549 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
6550 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6551 SWIG_RegisterMapping("_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6552 SWIG_RegisterMapping("_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6553 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
6554 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
6555 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6556 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6557 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6558 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
6559 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
6560 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6561 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
6562 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
6563 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
6564 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
6565 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
6566 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
6567 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
6568 SWIG_RegisterMapping("_EBool","_signed_int",0);
6569 SWIG_RegisterMapping("_EBool","_int",0);
6570 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6571 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6572 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
6573 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
6574 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6575 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
6576 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6577 SWIG_RegisterMapping("_unsigned_long","_long",0);
6578 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6579 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6580 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6581 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
6582 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
6583 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
6584 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6585 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
6586 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
6587 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
6588 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
6589 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
6590 SWIG_RegisterMapping("_signed_int","_EBool",0);
6591 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6592 SWIG_RegisterMapping("_signed_int","_int",0);
6593 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
6594 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6595 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
6596 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
6597 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
6598 SWIG_RegisterMapping("_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6599 SWIG_RegisterMapping("_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6600 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
6601 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6602 SWIG_RegisterMapping("_WXTYPE","_short",0);
6603 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6604 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6605 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6606 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6607 SWIG_RegisterMapping("_unsigned_short","_short",0);
6608 SWIG_RegisterMapping("_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
6609 SWIG_RegisterMapping("_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
6610 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
6611 SWIG_RegisterMapping("_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
6612 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
6613 SWIG_RegisterMapping("_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
6614 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6615 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6616 SWIG_RegisterMapping("_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow);
6617 SWIG_RegisterMapping("_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow);
6618 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
6619 SWIG_RegisterMapping("_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
6620 SWIG_RegisterMapping("_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6621 SWIG_RegisterMapping("_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6622 SWIG_RegisterMapping("_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6623 SWIG_RegisterMapping("_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6624 SWIG_RegisterMapping("_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
6625 SWIG_RegisterMapping("_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
6626 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
6627 SWIG_RegisterMapping("_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
6628 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow);
6629 SWIG_RegisterMapping("_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow);
6630 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
6631 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
6632 SWIG_RegisterMapping("_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
6633 SWIG_RegisterMapping("_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
6634 SWIG_RegisterMapping("_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
6635 SWIG_RegisterMapping("_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
6636 SWIG_RegisterMapping("_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
6637 SWIG_RegisterMapping("_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
6638 SWIG_RegisterMapping("_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
6639 SWIG_RegisterMapping("_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
6640 SWIG_RegisterMapping("_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6641 SWIG_RegisterMapping("_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6642 SWIG_RegisterMapping("_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
6643 SWIG_RegisterMapping("_class_wxWindow","_wxButton",SwigwxButtonTowxWindow);
6644 SWIG_RegisterMapping("_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
6645 SWIG_RegisterMapping("_class_wxWindow","_wxControl",SwigwxControlTowxWindow);
6646 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
6647 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
6648 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6649 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
6650 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
6651 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6652 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
6653 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6654 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6655 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
6656 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6657 SWIG_RegisterMapping("_signed_short","_short",0);
6658 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6659 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6660 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6661 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
6662 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
6663 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6664 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6665 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
6666 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6667 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
6668 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
6669 SWIG_RegisterMapping("_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
6670 SWIG_RegisterMapping("_wxControl","_wxSlider",SwigwxSliderTowxControl);
6671 SWIG_RegisterMapping("_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
6672 SWIG_RegisterMapping("_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
6673 SWIG_RegisterMapping("_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
6674 SWIG_RegisterMapping("_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
6675 SWIG_RegisterMapping("_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6676 SWIG_RegisterMapping("_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6677 SWIG_RegisterMapping("_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl);
6678 SWIG_RegisterMapping("_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl);
6679 SWIG_RegisterMapping("_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
6680 SWIG_RegisterMapping("_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
6681 SWIG_RegisterMapping("_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
6682 SWIG_RegisterMapping("_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
6683 SWIG_RegisterMapping("_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6684 SWIG_RegisterMapping("_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6685 SWIG_RegisterMapping("_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
6686 SWIG_RegisterMapping("_wxControl","_wxListBox",SwigwxListBoxTowxControl);
6687 SWIG_RegisterMapping("_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
6688 SWIG_RegisterMapping("_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
6689 SWIG_RegisterMapping("_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl);
6690 SWIG_RegisterMapping("_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl);
6691 SWIG_RegisterMapping("_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
6692 SWIG_RegisterMapping("_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
6693 SWIG_RegisterMapping("_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
6694 SWIG_RegisterMapping("_wxControl","_wxGauge",SwigwxGaugeTowxControl);
6695 SWIG_RegisterMapping("_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
6696 SWIG_RegisterMapping("_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
6697 SWIG_RegisterMapping("_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
6698 SWIG_RegisterMapping("_wxControl","_wxChoice",SwigwxChoiceTowxControl);
6699 SWIG_RegisterMapping("_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
6700 SWIG_RegisterMapping("_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
6701 SWIG_RegisterMapping("_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6702 SWIG_RegisterMapping("_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6703 SWIG_RegisterMapping("_wxControl","_class_wxButton",SwigwxButtonTowxControl);
6704 SWIG_RegisterMapping("_wxControl","_wxButton",SwigwxButtonTowxControl);
6705 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
6706 SWIG_RegisterMapping("_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6707 SWIG_RegisterMapping("_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6708 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
6709 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
6710 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6711 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6712 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6713 SWIG_RegisterMapping("_unsigned_int","_int",0);
6714 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6715 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
6716 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6717 SWIG_RegisterMapping("_short","_WXTYPE",0);
6718 SWIG_RegisterMapping("_short","_unsigned_short",0);
6719 SWIG_RegisterMapping("_short","_signed_short",0);
6720 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
6721 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
6722 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
6723 SWIG_RegisterMapping("_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice);
6724 SWIG_RegisterMapping("_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice);
6725 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
6726 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
6727 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6728 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
6729 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
6730 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6731 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6732 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6733 SWIG_RegisterMapping("_wxWindowID","_int",0);
6734 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6735 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6736 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
6737 SWIG_RegisterMapping("_int","_size_t",0);
6738 SWIG_RegisterMapping("_int","_EBool",0);
6739 SWIG_RegisterMapping("_int","_uint",0);
6740 SWIG_RegisterMapping("_int","_wxWindowID",0);
6741 SWIG_RegisterMapping("_int","_unsigned_int",0);
6742 SWIG_RegisterMapping("_int","_signed_int",0);
6743 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
6744 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
6745 SWIG_RegisterMapping("_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6746 SWIG_RegisterMapping("_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6747 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
6748 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6749 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6750 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
6751 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6752 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
6753 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
6754 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
6755 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
6756 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6757 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
6758 SWIG_RegisterMapping("_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
6759 SWIG_RegisterMapping("_class_wxControl","_wxSlider",SwigwxSliderTowxControl);
6760 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
6761 SWIG_RegisterMapping("_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
6762 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
6763 SWIG_RegisterMapping("_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
6764 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6765 SWIG_RegisterMapping("_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6766 SWIG_RegisterMapping("_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl);
6767 SWIG_RegisterMapping("_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl);
6768 SWIG_RegisterMapping("_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
6769 SWIG_RegisterMapping("_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
6770 SWIG_RegisterMapping("_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
6771 SWIG_RegisterMapping("_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
6772 SWIG_RegisterMapping("_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6773 SWIG_RegisterMapping("_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6774 SWIG_RegisterMapping("_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
6775 SWIG_RegisterMapping("_class_wxControl","_wxListBox",SwigwxListBoxTowxControl);
6776 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
6777 SWIG_RegisterMapping("_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
6778 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl);
6779 SWIG_RegisterMapping("_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl);
6780 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
6781 SWIG_RegisterMapping("_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
6782 SWIG_RegisterMapping("_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
6783 SWIG_RegisterMapping("_class_wxControl","_wxGauge",SwigwxGaugeTowxControl);
6784 SWIG_RegisterMapping("_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
6785 SWIG_RegisterMapping("_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
6786 SWIG_RegisterMapping("_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
6787 SWIG_RegisterMapping("_class_wxControl","_wxChoice",SwigwxChoiceTowxControl);
6788 SWIG_RegisterMapping("_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
6789 SWIG_RegisterMapping("_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
6790 SWIG_RegisterMapping("_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6791 SWIG_RegisterMapping("_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6792 SWIG_RegisterMapping("_class_wxControl","_class_wxButton",SwigwxButtonTowxControl);
6793 SWIG_RegisterMapping("_class_wxControl","_wxButton",SwigwxButtonTowxControl);
6794 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
6795 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
6796 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6797 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6798 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6799 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6800 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
6801 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
6802 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
6803 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6804 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
6805 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
6806 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
6807 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
6808 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
6809 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6810 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
6811 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6812 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6813 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6814 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
6815 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
6816 SWIG_RegisterMapping("_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
6817 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6818 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6819 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6820 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6821 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6822 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6823 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6824 SWIG_RegisterMapping("_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6825 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6826 SWIG_RegisterMapping("_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6827 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6828 SWIG_RegisterMapping("_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6829 SWIG_RegisterMapping("_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6830 SWIG_RegisterMapping("_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6831 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
6832 SWIG_RegisterMapping("_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
6833 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6834 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6835 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6836 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6837 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6838 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6839 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
6840 SWIG_RegisterMapping("_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
6841 SWIG_RegisterMapping("_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6842 SWIG_RegisterMapping("_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6843 SWIG_RegisterMapping("_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
6844 SWIG_RegisterMapping("_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
6845 SWIG_RegisterMapping("_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6846 SWIG_RegisterMapping("_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6847 SWIG_RegisterMapping("_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6848 SWIG_RegisterMapping("_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6849 SWIG_RegisterMapping("_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
6850 SWIG_RegisterMapping("_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
6851 SWIG_RegisterMapping("_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
6852 SWIG_RegisterMapping("_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
6853 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
6854 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
6855 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
6856 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6857 SWIG_RegisterMapping("_wxDash","_long",0);
6858 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
6859 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
6860 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
6861 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
6862 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
6863 SWIG_RegisterMapping("_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
6864 SWIG_RegisterMapping("_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
6865 SWIG_RegisterMapping("_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
6866 SWIG_RegisterMapping("_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
6867 SWIG_RegisterMapping("_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
6868 SWIG_RegisterMapping("_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
6869 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6870 SWIG_RegisterMapping("_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6871 SWIG_RegisterMapping("_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow);
6872 SWIG_RegisterMapping("_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow);
6873 SWIG_RegisterMapping("_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
6874 SWIG_RegisterMapping("_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
6875 SWIG_RegisterMapping("_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6876 SWIG_RegisterMapping("_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6877 SWIG_RegisterMapping("_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6878 SWIG_RegisterMapping("_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6879 SWIG_RegisterMapping("_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
6880 SWIG_RegisterMapping("_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
6881 SWIG_RegisterMapping("_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
6882 SWIG_RegisterMapping("_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
6883 SWIG_RegisterMapping("_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow);
6884 SWIG_RegisterMapping("_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow);
6885 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
6886 SWIG_RegisterMapping("_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
6887 SWIG_RegisterMapping("_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
6888 SWIG_RegisterMapping("_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
6889 SWIG_RegisterMapping("_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
6890 SWIG_RegisterMapping("_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
6891 SWIG_RegisterMapping("_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
6892 SWIG_RegisterMapping("_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
6893 SWIG_RegisterMapping("_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
6894 SWIG_RegisterMapping("_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
6895 SWIG_RegisterMapping("_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6896 SWIG_RegisterMapping("_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6897 SWIG_RegisterMapping("_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
6898 SWIG_RegisterMapping("_wxWindow","_wxButton",SwigwxButtonTowxWindow);
6899 SWIG_RegisterMapping("_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
6900 SWIG_RegisterMapping("_wxWindow","_wxControl",SwigwxControlTowxWindow);
6901 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
6902 }