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