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