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