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