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