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