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