]>
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; | |
694759cf | 3689 | int _arg2 = (int ) TRUE; |
1d99702e | 3690 | PyObject * _argo0 = 0; |
efc5f224 | 3691 | char *_kwnames[] = { "self","uiIndex","bCheck", NULL }; |
9c039d08 RD |
3692 | |
3693 | self = self; | |
694759cf | 3694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2)) |
9c039d08 | 3695 | return NULL; |
1d99702e RD |
3696 | if (_argo0) { |
3697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) { | |
9c039d08 RD |
3699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p."); |
3700 | return NULL; | |
3701 | } | |
3702 | } | |
cf694132 RD |
3703 | { |
3704 | wxPy_BEGIN_ALLOW_THREADS; | |
3705 | wxCheckListBox_Check(_arg0,_arg1,_arg2); | |
3706 | ||
3707 | wxPy_END_ALLOW_THREADS; | |
3708 | } Py_INCREF(Py_None); | |
9c039d08 RD |
3709 | _resultobj = Py_None; |
3710 | return _resultobj; | |
3711 | } | |
3712 | ||
694759cf RD |
3713 | #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2)) |
3714 | static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3715 | PyObject * _resultobj; | |
3716 | wxCheckListBox * _arg0; | |
3717 | int _arg1; | |
3718 | wxString * _arg2; | |
3719 | int _arg3; | |
3720 | PyObject * _argo0 = 0; | |
3721 | PyObject * _obj2 = 0; | |
3722 | char *_kwnames[] = { "self","LIST","pos", NULL }; | |
3723 | ||
3724 | self = self; | |
3725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3)) | |
3726 | return NULL; | |
3727 | if (_argo0) { | |
3728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) { | |
3730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p."); | |
3731 | return NULL; | |
3732 | } | |
3733 | } | |
3734 | { | |
3735 | _arg2 = wxString_LIST_helper(_obj2); | |
3736 | if (_arg2 == NULL) { | |
3737 | return NULL; | |
3738 | } | |
3739 | } | |
3740 | { | |
3741 | if (_obj2) { | |
3742 | _arg1 = PyList_Size(_obj2); | |
3743 | } | |
3744 | else { | |
3745 | _arg1 = 0; | |
3746 | } | |
3747 | } | |
3748 | { | |
3749 | wxPy_BEGIN_ALLOW_THREADS; | |
3750 | wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3); | |
3751 | ||
3752 | wxPy_END_ALLOW_THREADS; | |
3753 | } Py_INCREF(Py_None); | |
3754 | _resultobj = Py_None; | |
3755 | { | |
3756 | delete [] _arg2; | |
3757 | } | |
3758 | return _resultobj; | |
3759 | } | |
3760 | ||
9c039d08 | 3761 | #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight()) |
efc5f224 | 3762 | static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
3763 | PyObject * _resultobj; |
3764 | int _result; | |
3765 | wxCheckListBox * _arg0; | |
1d99702e | 3766 | PyObject * _argo0 = 0; |
efc5f224 | 3767 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
3768 | |
3769 | self = self; | |
efc5f224 | 3770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0)) |
9c039d08 | 3771 | return NULL; |
1d99702e RD |
3772 | if (_argo0) { |
3773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) { | |
9c039d08 RD |
3775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p."); |
3776 | return NULL; | |
3777 | } | |
3778 | } | |
cf694132 RD |
3779 | { |
3780 | wxPy_BEGIN_ALLOW_THREADS; | |
3781 | _result = (int )wxCheckListBox_GetItemHeight(_arg0); | |
3782 | ||
3783 | wxPy_END_ALLOW_THREADS; | |
3784 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
3785 | return _resultobj; |
3786 | } | |
3787 | ||
8ab979d7 RD |
3788 | static void *SwigwxTextCtrlTowxControl(void *ptr) { |
3789 | wxTextCtrl *src; | |
3790 | wxControl *dest; | |
3791 | src = (wxTextCtrl *) ptr; | |
3792 | dest = (wxControl *) src; | |
3793 | return (void *) dest; | |
3794 | } | |
3795 | ||
3796 | static void *SwigwxTextCtrlTowxWindow(void *ptr) { | |
3797 | wxTextCtrl *src; | |
3798 | wxWindow *dest; | |
3799 | src = (wxTextCtrl *) ptr; | |
3800 | dest = (wxWindow *) src; | |
3801 | return (void *) dest; | |
3802 | } | |
3803 | ||
3804 | static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) { | |
3805 | wxTextCtrl *src; | |
3806 | wxEvtHandler *dest; | |
3807 | src = (wxTextCtrl *) ptr; | |
3808 | dest = (wxEvtHandler *) src; | |
3809 | return (void *) dest; | |
3810 | } | |
3811 | ||
3812 | #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) | |
efc5f224 | 3813 | static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3814 | PyObject * _resultobj; |
3815 | wxTextCtrl * _result; | |
3816 | wxWindow * _arg0; | |
3817 | wxWindowID _arg1; | |
1d99702e RD |
3818 | char * _arg2 = (char *) ""; |
3819 | wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition; | |
3820 | wxSize * _arg4 = (wxSize *) &wxPyDefaultSize; | |
3821 | long _arg5 = (long ) 0; | |
3822 | wxValidator * _arg6 = (wxValidator *) &wxPyDefaultValidator; | |
3823 | char * _arg7 = (char *) "text"; | |
3824 | PyObject * _argo0 = 0; | |
2f90df85 RD |
3825 | wxPoint temp; |
3826 | PyObject * _obj3 = 0; | |
3827 | wxSize temp0; | |
3828 | PyObject * _obj4 = 0; | |
1d99702e | 3829 | PyObject * _argo6 = 0; |
efc5f224 | 3830 | char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
3831 | char _ptemp[128]; |
3832 | ||
3833 | self = self; | |
2f90df85 | 3834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
8ab979d7 | 3835 | return NULL; |
1d99702e RD |
3836 | if (_argo0) { |
3837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
3839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p."); |
3840 | return NULL; | |
3841 | } | |
3842 | } | |
2f90df85 RD |
3843 | if (_obj3) |
3844 | { | |
3845 | _arg3 = &temp; | |
3846 | if (! wxPoint_helper(_obj3, &_arg3)) | |
8ab979d7 | 3847 | return NULL; |
2f90df85 RD |
3848 | } |
3849 | if (_obj4) | |
3850 | { | |
3851 | _arg4 = &temp0; | |
3852 | if (! wxSize_helper(_obj4, &_arg4)) | |
8ab979d7 | 3853 | return NULL; |
2f90df85 | 3854 | } |
1d99702e RD |
3855 | if (_argo6) { |
3856 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
3857 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
8ab979d7 RD |
3858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p."); |
3859 | return NULL; | |
3860 | } | |
3861 | } | |
cf694132 RD |
3862 | { |
3863 | wxPy_BEGIN_ALLOW_THREADS; | |
3864 | _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
3865 | ||
3866 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3867 | } if (_result) { |
3868 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
3869 | _resultobj = Py_BuildValue("s",_ptemp); | |
3870 | } else { | |
3871 | Py_INCREF(Py_None); | |
3872 | _resultobj = Py_None; | |
3873 | } | |
8ab979d7 RD |
3874 | return _resultobj; |
3875 | } | |
3876 | ||
3877 | #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear()) | |
efc5f224 | 3878 | static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3879 | PyObject * _resultobj; |
3880 | wxTextCtrl * _arg0; | |
1d99702e | 3881 | PyObject * _argo0 = 0; |
efc5f224 | 3882 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3883 | |
3884 | self = self; | |
efc5f224 | 3885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0)) |
8ab979d7 | 3886 | return NULL; |
1d99702e RD |
3887 | if (_argo0) { |
3888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
3890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p."); |
3891 | return NULL; | |
3892 | } | |
3893 | } | |
cf694132 RD |
3894 | { |
3895 | wxPy_BEGIN_ALLOW_THREADS; | |
3896 | wxTextCtrl_Clear(_arg0); | |
3897 | ||
3898 | wxPy_END_ALLOW_THREADS; | |
3899 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
3900 | _resultobj = Py_None; |
3901 | return _resultobj; | |
3902 | } | |
3903 | ||
3904 | #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy()) | |
efc5f224 | 3905 | static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3906 | PyObject * _resultobj; |
3907 | wxTextCtrl * _arg0; | |
1d99702e | 3908 | PyObject * _argo0 = 0; |
efc5f224 | 3909 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3910 | |
3911 | self = self; | |
efc5f224 | 3912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0)) |
8ab979d7 | 3913 | return NULL; |
1d99702e RD |
3914 | if (_argo0) { |
3915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
3917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p."); |
3918 | return NULL; | |
3919 | } | |
3920 | } | |
cf694132 RD |
3921 | { |
3922 | wxPy_BEGIN_ALLOW_THREADS; | |
3923 | wxTextCtrl_Copy(_arg0); | |
3924 | ||
3925 | wxPy_END_ALLOW_THREADS; | |
3926 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
3927 | _resultobj = Py_None; |
3928 | return _resultobj; | |
3929 | } | |
3930 | ||
3931 | #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut()) | |
efc5f224 | 3932 | static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3933 | PyObject * _resultobj; |
3934 | wxTextCtrl * _arg0; | |
1d99702e | 3935 | PyObject * _argo0 = 0; |
efc5f224 | 3936 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3937 | |
3938 | self = self; | |
efc5f224 | 3939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0)) |
8ab979d7 | 3940 | return NULL; |
1d99702e RD |
3941 | if (_argo0) { |
3942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
3944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p."); |
3945 | return NULL; | |
3946 | } | |
3947 | } | |
cf694132 RD |
3948 | { |
3949 | wxPy_BEGIN_ALLOW_THREADS; | |
3950 | wxTextCtrl_Cut(_arg0); | |
3951 | ||
3952 | wxPy_END_ALLOW_THREADS; | |
3953 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
3954 | _resultobj = Py_None; |
3955 | return _resultobj; | |
3956 | } | |
3957 | ||
3958 | #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits()) | |
efc5f224 | 3959 | static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3960 | PyObject * _resultobj; |
3961 | wxTextCtrl * _arg0; | |
1d99702e | 3962 | PyObject * _argo0 = 0; |
efc5f224 | 3963 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3964 | |
3965 | self = self; | |
efc5f224 | 3966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0)) |
8ab979d7 | 3967 | return NULL; |
1d99702e RD |
3968 | if (_argo0) { |
3969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
3971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p."); |
3972 | return NULL; | |
3973 | } | |
3974 | } | |
cf694132 RD |
3975 | { |
3976 | wxPy_BEGIN_ALLOW_THREADS; | |
3977 | wxTextCtrl_DiscardEdits(_arg0); | |
3978 | ||
3979 | wxPy_END_ALLOW_THREADS; | |
3980 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
3981 | _resultobj = Py_None; |
3982 | return _resultobj; | |
3983 | } | |
3984 | ||
3985 | #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint()) | |
efc5f224 | 3986 | static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3987 | PyObject * _resultobj; |
3988 | long _result; | |
3989 | wxTextCtrl * _arg0; | |
1d99702e | 3990 | PyObject * _argo0 = 0; |
efc5f224 | 3991 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3992 | |
3993 | self = self; | |
efc5f224 | 3994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0)) |
8ab979d7 | 3995 | return NULL; |
1d99702e RD |
3996 | if (_argo0) { |
3997 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3998 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
3999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p."); |
4000 | return NULL; | |
4001 | } | |
4002 | } | |
cf694132 RD |
4003 | { |
4004 | wxPy_BEGIN_ALLOW_THREADS; | |
4005 | _result = (long )wxTextCtrl_GetInsertionPoint(_arg0); | |
4006 | ||
4007 | wxPy_END_ALLOW_THREADS; | |
4008 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4009 | return _resultobj; |
4010 | } | |
4011 | ||
4012 | #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition()) | |
efc5f224 | 4013 | static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4014 | PyObject * _resultobj; |
4015 | long _result; | |
4016 | wxTextCtrl * _arg0; | |
1d99702e | 4017 | PyObject * _argo0 = 0; |
efc5f224 | 4018 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4019 | |
4020 | self = self; | |
efc5f224 | 4021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0)) |
8ab979d7 | 4022 | return NULL; |
1d99702e RD |
4023 | if (_argo0) { |
4024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p."); |
4027 | return NULL; | |
4028 | } | |
4029 | } | |
cf694132 RD |
4030 | { |
4031 | wxPy_BEGIN_ALLOW_THREADS; | |
4032 | _result = (long )wxTextCtrl_GetLastPosition(_arg0); | |
4033 | ||
4034 | wxPy_END_ALLOW_THREADS; | |
4035 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4036 | return _resultobj; |
4037 | } | |
4038 | ||
4039 | #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0)) | |
efc5f224 | 4040 | static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4041 | PyObject * _resultobj; |
4042 | int _result; | |
4043 | wxTextCtrl * _arg0; | |
4044 | long _arg1; | |
1d99702e | 4045 | PyObject * _argo0 = 0; |
efc5f224 | 4046 | char *_kwnames[] = { "self","lineNo", NULL }; |
8ab979d7 RD |
4047 | |
4048 | self = self; | |
efc5f224 | 4049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 4050 | return NULL; |
1d99702e RD |
4051 | if (_argo0) { |
4052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p."); |
4055 | return NULL; | |
4056 | } | |
4057 | } | |
cf694132 RD |
4058 | { |
4059 | wxPy_BEGIN_ALLOW_THREADS; | |
4060 | _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1); | |
4061 | ||
4062 | wxPy_END_ALLOW_THREADS; | |
4063 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4064 | return _resultobj; |
4065 | } | |
4066 | ||
4067 | #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0)) | |
efc5f224 | 4068 | static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4069 | PyObject * _resultobj; |
4070 | wxString * _result; | |
4071 | wxTextCtrl * _arg0; | |
4072 | long _arg1; | |
1d99702e | 4073 | PyObject * _argo0 = 0; |
efc5f224 | 4074 | char *_kwnames[] = { "self","lineNo", NULL }; |
8ab979d7 RD |
4075 | |
4076 | self = self; | |
efc5f224 | 4077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 4078 | return NULL; |
1d99702e RD |
4079 | if (_argo0) { |
4080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p."); |
4083 | return NULL; | |
4084 | } | |
4085 | } | |
8ab979d7 | 4086 | { |
cf694132 RD |
4087 | wxPy_BEGIN_ALLOW_THREADS; |
4088 | _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1)); | |
4089 | ||
4090 | wxPy_END_ALLOW_THREADS; | |
4091 | }{ | |
8ab979d7 RD |
4092 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
4093 | } | |
4094 | { | |
4095 | delete _result; | |
4096 | } | |
4097 | return _resultobj; | |
4098 | } | |
4099 | ||
4100 | #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines()) | |
efc5f224 | 4101 | static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4102 | PyObject * _resultobj; |
4103 | int _result; | |
4104 | wxTextCtrl * _arg0; | |
1d99702e | 4105 | PyObject * _argo0 = 0; |
efc5f224 | 4106 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4107 | |
4108 | self = self; | |
efc5f224 | 4109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0)) |
8ab979d7 | 4110 | return NULL; |
1d99702e RD |
4111 | if (_argo0) { |
4112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p."); |
4115 | return NULL; | |
4116 | } | |
4117 | } | |
cf694132 RD |
4118 | { |
4119 | wxPy_BEGIN_ALLOW_THREADS; | |
4120 | _result = (int )wxTextCtrl_GetNumberOfLines(_arg0); | |
4121 | ||
4122 | wxPy_END_ALLOW_THREADS; | |
4123 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4124 | return _resultobj; |
4125 | } | |
4126 | ||
4127 | #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue()) | |
efc5f224 | 4128 | static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4129 | PyObject * _resultobj; |
4130 | wxString * _result; | |
4131 | wxTextCtrl * _arg0; | |
1d99702e | 4132 | PyObject * _argo0 = 0; |
efc5f224 | 4133 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4134 | |
4135 | self = self; | |
efc5f224 | 4136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0)) |
8ab979d7 | 4137 | return NULL; |
1d99702e RD |
4138 | if (_argo0) { |
4139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p."); |
4142 | return NULL; | |
4143 | } | |
4144 | } | |
8ab979d7 | 4145 | { |
cf694132 RD |
4146 | wxPy_BEGIN_ALLOW_THREADS; |
4147 | _result = new wxString (wxTextCtrl_GetValue(_arg0)); | |
4148 | ||
4149 | wxPy_END_ALLOW_THREADS; | |
4150 | }{ | |
8ab979d7 RD |
4151 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
4152 | } | |
4153 | { | |
4154 | delete _result; | |
4155 | } | |
4156 | return _resultobj; | |
4157 | } | |
4158 | ||
4159 | #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified()) | |
efc5f224 | 4160 | static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4161 | PyObject * _resultobj; |
4162 | bool _result; | |
4163 | wxTextCtrl * _arg0; | |
1d99702e | 4164 | PyObject * _argo0 = 0; |
efc5f224 | 4165 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4166 | |
4167 | self = self; | |
efc5f224 | 4168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0)) |
8ab979d7 | 4169 | return NULL; |
1d99702e RD |
4170 | if (_argo0) { |
4171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p."); |
4174 | return NULL; | |
4175 | } | |
4176 | } | |
cf694132 RD |
4177 | { |
4178 | wxPy_BEGIN_ALLOW_THREADS; | |
4179 | _result = (bool )wxTextCtrl_IsModified(_arg0); | |
4180 | ||
4181 | wxPy_END_ALLOW_THREADS; | |
4182 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4183 | return _resultobj; |
4184 | } | |
4185 | ||
4186 | #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0)) | |
efc5f224 | 4187 | static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4188 | PyObject * _resultobj; |
4189 | bool _result; | |
4190 | wxTextCtrl * _arg0; | |
4191 | wxString * _arg1; | |
1d99702e | 4192 | PyObject * _argo0 = 0; |
8ab979d7 | 4193 | PyObject * _obj1 = 0; |
efc5f224 | 4194 | char *_kwnames[] = { "self","filename", NULL }; |
8ab979d7 RD |
4195 | |
4196 | self = self; | |
efc5f224 | 4197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4198 | return NULL; |
1d99702e RD |
4199 | if (_argo0) { |
4200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p."); |
4203 | return NULL; | |
4204 | } | |
4205 | } | |
4206 | { | |
4207 | if (!PyString_Check(_obj1)) { | |
4208 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4209 | return NULL; | |
4210 | } | |
cf694132 | 4211 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
8ab979d7 | 4212 | } |
cf694132 RD |
4213 | { |
4214 | wxPy_BEGIN_ALLOW_THREADS; | |
4215 | _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1); | |
4216 | ||
4217 | wxPy_END_ALLOW_THREADS; | |
4218 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4219 | { |
4220 | if (_obj1) | |
4221 | delete _arg1; | |
4222 | } | |
4223 | return _resultobj; | |
4224 | } | |
4225 | ||
4226 | #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste()) | |
efc5f224 | 4227 | static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4228 | PyObject * _resultobj; |
4229 | wxTextCtrl * _arg0; | |
1d99702e | 4230 | PyObject * _argo0 = 0; |
efc5f224 | 4231 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4232 | |
4233 | self = self; | |
efc5f224 | 4234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0)) |
8ab979d7 | 4235 | return NULL; |
1d99702e RD |
4236 | if (_argo0) { |
4237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p."); |
4240 | return NULL; | |
4241 | } | |
4242 | } | |
cf694132 RD |
4243 | { |
4244 | wxPy_BEGIN_ALLOW_THREADS; | |
4245 | wxTextCtrl_Paste(_arg0); | |
4246 | ||
4247 | wxPy_END_ALLOW_THREADS; | |
4248 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4249 | _resultobj = Py_None; |
4250 | return _resultobj; | |
4251 | } | |
4252 | ||
4253 | #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 4254 | static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4255 | PyObject * _resultobj; |
4256 | wxTextCtrl * _arg0; | |
4257 | long _arg1; | |
4258 | long * _arg2; | |
4259 | long temp; | |
4260 | long * _arg3; | |
4261 | long temp0; | |
1d99702e | 4262 | PyObject * _argo0 = 0; |
efc5f224 | 4263 | char *_kwnames[] = { "self","pos", NULL }; |
8ab979d7 RD |
4264 | |
4265 | self = self; | |
4266 | { | |
4267 | _arg2 = &temp; | |
4268 | } | |
4269 | { | |
4270 | _arg3 = &temp0; | |
4271 | } | |
efc5f224 | 4272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 4273 | return NULL; |
1d99702e RD |
4274 | if (_argo0) { |
4275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p."); |
4278 | return NULL; | |
4279 | } | |
4280 | } | |
cf694132 RD |
4281 | { |
4282 | wxPy_BEGIN_ALLOW_THREADS; | |
4283 | wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3); | |
4284 | ||
4285 | wxPy_END_ALLOW_THREADS; | |
4286 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4287 | _resultobj = Py_None; |
4288 | { | |
4289 | PyObject *o; | |
4290 | o = PyInt_FromLong((long) (*_arg2)); | |
4291 | _resultobj = t_output_helper(_resultobj, o); | |
4292 | } | |
4293 | { | |
4294 | PyObject *o; | |
4295 | o = PyInt_FromLong((long) (*_arg3)); | |
4296 | _resultobj = t_output_helper(_resultobj, o); | |
4297 | } | |
4298 | return _resultobj; | |
4299 | } | |
4300 | ||
4301 | #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1)) | |
efc5f224 | 4302 | static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4303 | PyObject * _resultobj; |
4304 | wxTextCtrl * _arg0; | |
4305 | long _arg1; | |
4306 | long _arg2; | |
1d99702e | 4307 | PyObject * _argo0 = 0; |
efc5f224 | 4308 | char *_kwnames[] = { "self","from","to", NULL }; |
8ab979d7 RD |
4309 | |
4310 | self = self; | |
efc5f224 | 4311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4312 | return NULL; |
1d99702e RD |
4313 | if (_argo0) { |
4314 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4315 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p."); |
4317 | return NULL; | |
4318 | } | |
4319 | } | |
cf694132 RD |
4320 | { |
4321 | wxPy_BEGIN_ALLOW_THREADS; | |
4322 | wxTextCtrl_Remove(_arg0,_arg1,_arg2); | |
4323 | ||
4324 | wxPy_END_ALLOW_THREADS; | |
4325 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4326 | _resultobj = Py_None; |
4327 | return _resultobj; | |
4328 | } | |
4329 | ||
4330 | #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 4331 | static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4332 | PyObject * _resultobj; |
4333 | wxTextCtrl * _arg0; | |
4334 | long _arg1; | |
4335 | long _arg2; | |
4336 | wxString * _arg3; | |
1d99702e | 4337 | PyObject * _argo0 = 0; |
8ab979d7 | 4338 | PyObject * _obj3 = 0; |
efc5f224 | 4339 | char *_kwnames[] = { "self","from","to","value", NULL }; |
8ab979d7 RD |
4340 | |
4341 | self = self; | |
efc5f224 | 4342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) |
8ab979d7 | 4343 | return NULL; |
1d99702e RD |
4344 | if (_argo0) { |
4345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p."); |
4348 | return NULL; | |
4349 | } | |
4350 | } | |
4351 | { | |
4352 | if (!PyString_Check(_obj3)) { | |
4353 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4354 | return NULL; | |
4355 | } | |
cf694132 | 4356 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); |
8ab979d7 | 4357 | } |
cf694132 RD |
4358 | { |
4359 | wxPy_BEGIN_ALLOW_THREADS; | |
4360 | wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3); | |
4361 | ||
4362 | wxPy_END_ALLOW_THREADS; | |
4363 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4364 | _resultobj = Py_None; |
4365 | { | |
4366 | if (_obj3) | |
4367 | delete _arg3; | |
4368 | } | |
4369 | return _resultobj; | |
4370 | } | |
4371 | ||
4372 | #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0)) | |
efc5f224 | 4373 | static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4374 | PyObject * _resultobj; |
4375 | bool _result; | |
4376 | wxTextCtrl * _arg0; | |
4377 | wxString * _arg1; | |
1d99702e | 4378 | PyObject * _argo0 = 0; |
8ab979d7 | 4379 | PyObject * _obj1 = 0; |
efc5f224 | 4380 | char *_kwnames[] = { "self","filename", NULL }; |
8ab979d7 RD |
4381 | |
4382 | self = self; | |
efc5f224 | 4383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4384 | return NULL; |
1d99702e RD |
4385 | if (_argo0) { |
4386 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4387 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p."); |
4389 | return NULL; | |
4390 | } | |
4391 | } | |
4392 | { | |
4393 | if (!PyString_Check(_obj1)) { | |
4394 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4395 | return NULL; | |
4396 | } | |
cf694132 | 4397 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
8ab979d7 | 4398 | } |
cf694132 RD |
4399 | { |
4400 | wxPy_BEGIN_ALLOW_THREADS; | |
4401 | _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1); | |
4402 | ||
4403 | wxPy_END_ALLOW_THREADS; | |
4404 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4405 | { |
4406 | if (_obj1) | |
4407 | delete _arg1; | |
4408 | } | |
4409 | return _resultobj; | |
4410 | } | |
4411 | ||
4412 | #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0)) | |
efc5f224 | 4413 | static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4414 | PyObject * _resultobj; |
4415 | wxTextCtrl * _arg0; | |
4416 | bool _arg1; | |
1d99702e | 4417 | PyObject * _argo0 = 0; |
8ab979d7 | 4418 | int tempbool1; |
efc5f224 | 4419 | char *_kwnames[] = { "self","editable", NULL }; |
8ab979d7 RD |
4420 | |
4421 | self = self; | |
efc5f224 | 4422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 4423 | return NULL; |
1d99702e RD |
4424 | if (_argo0) { |
4425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p."); |
4428 | return NULL; | |
4429 | } | |
4430 | } | |
4431 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
4432 | { |
4433 | wxPy_BEGIN_ALLOW_THREADS; | |
4434 | wxTextCtrl_SetEditable(_arg0,_arg1); | |
4435 | ||
4436 | wxPy_END_ALLOW_THREADS; | |
4437 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4438 | _resultobj = Py_None; |
4439 | return _resultobj; | |
4440 | } | |
4441 | ||
4442 | #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0)) | |
efc5f224 | 4443 | static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4444 | PyObject * _resultobj; |
4445 | wxTextCtrl * _arg0; | |
4446 | long _arg1; | |
1d99702e | 4447 | PyObject * _argo0 = 0; |
efc5f224 | 4448 | char *_kwnames[] = { "self","pos", NULL }; |
8ab979d7 RD |
4449 | |
4450 | self = self; | |
efc5f224 | 4451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 4452 | return NULL; |
1d99702e RD |
4453 | if (_argo0) { |
4454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p."); |
4457 | return NULL; | |
4458 | } | |
4459 | } | |
cf694132 RD |
4460 | { |
4461 | wxPy_BEGIN_ALLOW_THREADS; | |
4462 | wxTextCtrl_SetInsertionPoint(_arg0,_arg1); | |
4463 | ||
4464 | wxPy_END_ALLOW_THREADS; | |
4465 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4466 | _resultobj = Py_None; |
4467 | return _resultobj; | |
4468 | } | |
4469 | ||
4470 | #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd()) | |
efc5f224 | 4471 | static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4472 | PyObject * _resultobj; |
4473 | wxTextCtrl * _arg0; | |
1d99702e | 4474 | PyObject * _argo0 = 0; |
efc5f224 | 4475 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4476 | |
4477 | self = self; | |
efc5f224 | 4478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0)) |
8ab979d7 | 4479 | return NULL; |
1d99702e RD |
4480 | if (_argo0) { |
4481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p."); |
4484 | return NULL; | |
4485 | } | |
4486 | } | |
cf694132 RD |
4487 | { |
4488 | wxPy_BEGIN_ALLOW_THREADS; | |
4489 | wxTextCtrl_SetInsertionPointEnd(_arg0); | |
4490 | ||
4491 | wxPy_END_ALLOW_THREADS; | |
4492 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4493 | _resultobj = Py_None; |
4494 | return _resultobj; | |
4495 | } | |
4496 | ||
4497 | #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
efc5f224 | 4498 | static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4499 | PyObject * _resultobj; |
4500 | wxTextCtrl * _arg0; | |
4501 | long _arg1; | |
4502 | long _arg2; | |
1d99702e | 4503 | PyObject * _argo0 = 0; |
efc5f224 | 4504 | char *_kwnames[] = { "self","from","to", NULL }; |
8ab979d7 RD |
4505 | |
4506 | self = self; | |
efc5f224 | 4507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4508 | return NULL; |
1d99702e RD |
4509 | if (_argo0) { |
4510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p."); |
4513 | return NULL; | |
4514 | } | |
4515 | } | |
cf694132 RD |
4516 | { |
4517 | wxPy_BEGIN_ALLOW_THREADS; | |
4518 | wxTextCtrl_SetSelection(_arg0,_arg1,_arg2); | |
4519 | ||
4520 | wxPy_END_ALLOW_THREADS; | |
4521 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4522 | _resultobj = Py_None; |
4523 | return _resultobj; | |
4524 | } | |
4525 | ||
4526 | #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
efc5f224 | 4527 | static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4528 | PyObject * _resultobj; |
4529 | wxTextCtrl * _arg0; | |
4530 | wxString * _arg1; | |
1d99702e | 4531 | PyObject * _argo0 = 0; |
8ab979d7 | 4532 | PyObject * _obj1 = 0; |
efc5f224 | 4533 | char *_kwnames[] = { "self","value", NULL }; |
8ab979d7 RD |
4534 | |
4535 | self = self; | |
efc5f224 | 4536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4537 | return NULL; |
1d99702e RD |
4538 | if (_argo0) { |
4539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p."); |
4542 | return NULL; | |
4543 | } | |
4544 | } | |
4545 | { | |
4546 | if (!PyString_Check(_obj1)) { | |
4547 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4548 | return NULL; | |
4549 | } | |
cf694132 | 4550 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
8ab979d7 | 4551 | } |
cf694132 RD |
4552 | { |
4553 | wxPy_BEGIN_ALLOW_THREADS; | |
4554 | wxTextCtrl_SetValue(_arg0,*_arg1); | |
4555 | ||
4556 | wxPy_END_ALLOW_THREADS; | |
4557 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4558 | _resultobj = Py_None; |
4559 | { | |
4560 | if (_obj1) | |
4561 | delete _arg1; | |
4562 | } | |
4563 | return _resultobj; | |
4564 | } | |
4565 | ||
4566 | #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0)) | |
efc5f224 | 4567 | static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4568 | PyObject * _resultobj; |
4569 | wxTextCtrl * _arg0; | |
4570 | long _arg1; | |
1d99702e | 4571 | PyObject * _argo0 = 0; |
efc5f224 | 4572 | char *_kwnames[] = { "self","pos", NULL }; |
8ab979d7 RD |
4573 | |
4574 | self = self; | |
efc5f224 | 4575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 4576 | return NULL; |
1d99702e RD |
4577 | if (_argo0) { |
4578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p."); |
4581 | return NULL; | |
4582 | } | |
4583 | } | |
cf694132 RD |
4584 | { |
4585 | wxPy_BEGIN_ALLOW_THREADS; | |
4586 | wxTextCtrl_ShowPosition(_arg0,_arg1); | |
4587 | ||
4588 | wxPy_END_ALLOW_THREADS; | |
4589 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4590 | _resultobj = Py_None; |
4591 | return _resultobj; | |
4592 | } | |
4593 | ||
4594 | #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0)) | |
efc5f224 | 4595 | static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4596 | PyObject * _resultobj; |
4597 | wxTextCtrl * _arg0; | |
4598 | wxString * _arg1; | |
1d99702e | 4599 | PyObject * _argo0 = 0; |
8ab979d7 | 4600 | PyObject * _obj1 = 0; |
efc5f224 | 4601 | char *_kwnames[] = { "self","text", NULL }; |
8ab979d7 RD |
4602 | |
4603 | self = self; | |
efc5f224 | 4604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4605 | return NULL; |
1d99702e RD |
4606 | if (_argo0) { |
4607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p."); |
4610 | return NULL; | |
4611 | } | |
4612 | } | |
4613 | { | |
4614 | if (!PyString_Check(_obj1)) { | |
4615 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4616 | return NULL; | |
4617 | } | |
cf694132 RD |
4618 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
4619 | } | |
4620 | { | |
4621 | wxPy_BEGIN_ALLOW_THREADS; | |
4622 | wxTextCtrl_WriteText(_arg0,*_arg1); | |
4623 | ||
4624 | wxPy_END_ALLOW_THREADS; | |
4625 | } Py_INCREF(Py_None); | |
4626 | _resultobj = Py_None; | |
4627 | { | |
4628 | if (_obj1) | |
4629 | delete _arg1; | |
4630 | } | |
4631 | return _resultobj; | |
4632 | } | |
4633 | ||
4634 | #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0)) | |
efc5f224 | 4635 | static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4636 | PyObject * _resultobj; |
4637 | wxTextCtrl * _arg0; | |
4638 | wxString * _arg1; | |
1d99702e | 4639 | PyObject * _argo0 = 0; |
cf694132 | 4640 | PyObject * _obj1 = 0; |
efc5f224 | 4641 | char *_kwnames[] = { "self","text", NULL }; |
cf694132 RD |
4642 | |
4643 | self = self; | |
efc5f224 | 4644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1)) |
cf694132 | 4645 | return NULL; |
1d99702e RD |
4646 | if (_argo0) { |
4647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
cf694132 RD |
4649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p."); |
4650 | return NULL; | |
4651 | } | |
4652 | } | |
4653 | { | |
4654 | if (!PyString_Check(_obj1)) { | |
4655 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4656 | return NULL; | |
4657 | } | |
4658 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
8ab979d7 | 4659 | } |
cf694132 RD |
4660 | { |
4661 | wxPy_BEGIN_ALLOW_THREADS; | |
4662 | wxTextCtrl_AppendText(_arg0,*_arg1); | |
4663 | ||
4664 | wxPy_END_ALLOW_THREADS; | |
4665 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4666 | _resultobj = Py_None; |
4667 | { | |
4668 | if (_obj1) | |
4669 | delete _arg1; | |
4670 | } | |
4671 | return _resultobj; | |
4672 | } | |
4673 | ||
4674 | #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1)) | |
efc5f224 | 4675 | static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4676 | PyObject * _resultobj; |
4677 | long _result; | |
4678 | wxTextCtrl * _arg0; | |
4679 | long _arg1; | |
4680 | long _arg2; | |
1d99702e | 4681 | PyObject * _argo0 = 0; |
efc5f224 | 4682 | char *_kwnames[] = { "self","x","y", NULL }; |
8ab979d7 RD |
4683 | |
4684 | self = self; | |
efc5f224 | 4685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4686 | return NULL; |
1d99702e RD |
4687 | if (_argo0) { |
4688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
8ab979d7 RD |
4690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p."); |
4691 | return NULL; | |
4692 | } | |
4693 | } | |
cf694132 RD |
4694 | { |
4695 | wxPy_BEGIN_ALLOW_THREADS; | |
4696 | _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2); | |
4697 | ||
4698 | wxPy_END_ALLOW_THREADS; | |
4699 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4700 | return _resultobj; |
4701 | } | |
4702 | ||
c127177f | 4703 | #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy()) |
efc5f224 | 4704 | static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) { |
c127177f RD |
4705 | PyObject * _resultobj; |
4706 | bool _result; | |
4707 | wxTextCtrl * _arg0; | |
1d99702e | 4708 | PyObject * _argo0 = 0; |
efc5f224 | 4709 | char *_kwnames[] = { "self", NULL }; |
c127177f RD |
4710 | |
4711 | self = self; | |
efc5f224 | 4712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0)) |
c127177f | 4713 | return NULL; |
1d99702e RD |
4714 | if (_argo0) { |
4715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
c127177f RD |
4717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p."); |
4718 | return NULL; | |
4719 | } | |
4720 | } | |
4721 | { | |
4722 | wxPy_BEGIN_ALLOW_THREADS; | |
4723 | _result = (bool )wxTextCtrl_CanCopy(_arg0); | |
4724 | ||
4725 | wxPy_END_ALLOW_THREADS; | |
4726 | } _resultobj = Py_BuildValue("i",_result); | |
4727 | return _resultobj; | |
4728 | } | |
4729 | ||
4730 | #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut()) | |
efc5f224 | 4731 | static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) { |
c127177f RD |
4732 | PyObject * _resultobj; |
4733 | bool _result; | |
4734 | wxTextCtrl * _arg0; | |
1d99702e | 4735 | PyObject * _argo0 = 0; |
efc5f224 | 4736 | char *_kwnames[] = { "self", NULL }; |
c127177f RD |
4737 | |
4738 | self = self; | |
efc5f224 | 4739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0)) |
c127177f | 4740 | return NULL; |
1d99702e RD |
4741 | if (_argo0) { |
4742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
c127177f RD |
4744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p."); |
4745 | return NULL; | |
4746 | } | |
4747 | } | |
4748 | { | |
4749 | wxPy_BEGIN_ALLOW_THREADS; | |
4750 | _result = (bool )wxTextCtrl_CanCut(_arg0); | |
4751 | ||
4752 | wxPy_END_ALLOW_THREADS; | |
4753 | } _resultobj = Py_BuildValue("i",_result); | |
4754 | return _resultobj; | |
4755 | } | |
4756 | ||
4757 | #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) | |
efc5f224 | 4758 | static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { |
c127177f RD |
4759 | PyObject * _resultobj; |
4760 | bool _result; | |
4761 | wxTextCtrl * _arg0; | |
1d99702e | 4762 | PyObject * _argo0 = 0; |
efc5f224 | 4763 | char *_kwnames[] = { "self", NULL }; |
c127177f RD |
4764 | |
4765 | self = self; | |
efc5f224 | 4766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0)) |
c127177f | 4767 | return NULL; |
1d99702e RD |
4768 | if (_argo0) { |
4769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
c127177f RD |
4771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p."); |
4772 | return NULL; | |
4773 | } | |
4774 | } | |
4775 | { | |
4776 | wxPy_BEGIN_ALLOW_THREADS; | |
4777 | _result = (bool )wxTextCtrl_CanPaste(_arg0); | |
4778 | ||
4779 | wxPy_END_ALLOW_THREADS; | |
4780 | } _resultobj = Py_BuildValue("i",_result); | |
4781 | return _resultobj; | |
4782 | } | |
4783 | ||
4784 | #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) | |
efc5f224 | 4785 | static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { |
c127177f RD |
4786 | PyObject * _resultobj; |
4787 | bool _result; | |
4788 | wxTextCtrl * _arg0; | |
1d99702e | 4789 | PyObject * _argo0 = 0; |
efc5f224 | 4790 | char *_kwnames[] = { "self", NULL }; |
c127177f RD |
4791 | |
4792 | self = self; | |
efc5f224 | 4793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0)) |
c127177f | 4794 | return NULL; |
1d99702e RD |
4795 | if (_argo0) { |
4796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
c127177f RD |
4798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p."); |
4799 | return NULL; | |
4800 | } | |
4801 | } | |
4802 | { | |
4803 | wxPy_BEGIN_ALLOW_THREADS; | |
4804 | _result = (bool )wxTextCtrl_CanRedo(_arg0); | |
4805 | ||
4806 | wxPy_END_ALLOW_THREADS; | |
4807 | } _resultobj = Py_BuildValue("i",_result); | |
4808 | return _resultobj; | |
4809 | } | |
4810 | ||
4811 | #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) | |
efc5f224 | 4812 | static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { |
c127177f RD |
4813 | PyObject * _resultobj; |
4814 | bool _result; | |
4815 | wxTextCtrl * _arg0; | |
1d99702e | 4816 | PyObject * _argo0 = 0; |
efc5f224 | 4817 | char *_kwnames[] = { "self", NULL }; |
c127177f RD |
4818 | |
4819 | self = self; | |
efc5f224 | 4820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0)) |
c127177f | 4821 | return NULL; |
1d99702e RD |
4822 | if (_argo0) { |
4823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
c127177f RD |
4825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p."); |
4826 | return NULL; | |
4827 | } | |
4828 | } | |
4829 | { | |
4830 | wxPy_BEGIN_ALLOW_THREADS; | |
4831 | _result = (bool )wxTextCtrl_CanUndo(_arg0); | |
4832 | ||
4833 | wxPy_END_ALLOW_THREADS; | |
4834 | } _resultobj = Py_BuildValue("i",_result); | |
4835 | return _resultobj; | |
4836 | } | |
4837 | ||
4838 | #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
efc5f224 | 4839 | static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
c127177f RD |
4840 | PyObject * _resultobj; |
4841 | wxTextCtrl * _arg0; | |
4842 | long * _arg1; | |
4843 | long temp; | |
4844 | long * _arg2; | |
4845 | long temp0; | |
1d99702e | 4846 | PyObject * _argo0 = 0; |
efc5f224 | 4847 | char *_kwnames[] = { "self", NULL }; |
c127177f RD |
4848 | |
4849 | self = self; | |
4850 | { | |
4851 | _arg1 = &temp; | |
4852 | } | |
4853 | { | |
4854 | _arg2 = &temp0; | |
4855 | } | |
efc5f224 | 4856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0)) |
c127177f | 4857 | return NULL; |
1d99702e RD |
4858 | if (_argo0) { |
4859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
c127177f RD |
4861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p."); |
4862 | return NULL; | |
4863 | } | |
4864 | } | |
4865 | { | |
4866 | wxPy_BEGIN_ALLOW_THREADS; | |
4867 | wxTextCtrl_GetSelection(_arg0,_arg1,_arg2); | |
4868 | ||
4869 | wxPy_END_ALLOW_THREADS; | |
4870 | } Py_INCREF(Py_None); | |
4871 | _resultobj = Py_None; | |
4872 | { | |
4873 | PyObject *o; | |
4874 | o = PyInt_FromLong((long) (*_arg1)); | |
4875 | _resultobj = t_output_helper(_resultobj, o); | |
4876 | } | |
4877 | { | |
4878 | PyObject *o; | |
4879 | o = PyInt_FromLong((long) (*_arg2)); | |
4880 | _resultobj = t_output_helper(_resultobj, o); | |
4881 | } | |
4882 | return _resultobj; | |
4883 | } | |
4884 | ||
4885 | #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable()) | |
efc5f224 | 4886 | static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) { |
c127177f RD |
4887 | PyObject * _resultobj; |
4888 | bool _result; | |
4889 | wxTextCtrl * _arg0; | |
1d99702e | 4890 | PyObject * _argo0 = 0; |
efc5f224 | 4891 | char *_kwnames[] = { "self", NULL }; |
c127177f RD |
4892 | |
4893 | self = self; | |
efc5f224 | 4894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0)) |
c127177f | 4895 | return NULL; |
1d99702e RD |
4896 | if (_argo0) { |
4897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
c127177f RD |
4899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p."); |
4900 | return NULL; | |
4901 | } | |
4902 | } | |
4903 | { | |
4904 | wxPy_BEGIN_ALLOW_THREADS; | |
4905 | _result = (bool )wxTextCtrl_IsEditable(_arg0); | |
4906 | ||
4907 | wxPy_END_ALLOW_THREADS; | |
4908 | } _resultobj = Py_BuildValue("i",_result); | |
4909 | return _resultobj; | |
4910 | } | |
4911 | ||
b1462dfa RD |
4912 | #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
4913 | static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4914 | PyObject * _resultobj; | |
4915 | wxTextCtrl * _arg0; | |
4916 | PyObject * _argo0 = 0; | |
4917 | char *_kwnames[] = { "self", NULL }; | |
4918 | ||
4919 | self = self; | |
4920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0)) | |
4921 | return NULL; | |
4922 | if (_argo0) { | |
4923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
4925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p."); | |
4926 | return NULL; | |
4927 | } | |
4928 | } | |
4929 | { | |
4930 | wxPy_BEGIN_ALLOW_THREADS; | |
4931 | wxTextCtrl_Undo(_arg0); | |
4932 | ||
4933 | wxPy_END_ALLOW_THREADS; | |
4934 | } Py_INCREF(Py_None); | |
4935 | _resultobj = Py_None; | |
4936 | return _resultobj; | |
4937 | } | |
4938 | ||
4939 | #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo()) | |
4940 | static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4941 | PyObject * _resultobj; | |
4942 | wxTextCtrl * _arg0; | |
4943 | PyObject * _argo0 = 0; | |
4944 | char *_kwnames[] = { "self", NULL }; | |
4945 | ||
4946 | self = self; | |
4947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0)) | |
4948 | return NULL; | |
4949 | if (_argo0) { | |
4950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
4952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p."); | |
4953 | return NULL; | |
4954 | } | |
4955 | } | |
4956 | { | |
4957 | wxPy_BEGIN_ALLOW_THREADS; | |
4958 | wxTextCtrl_Redo(_arg0); | |
4959 | ||
4960 | wxPy_END_ALLOW_THREADS; | |
4961 | } Py_INCREF(Py_None); | |
4962 | _resultobj = Py_None; | |
4963 | return _resultobj; | |
4964 | } | |
4965 | ||
4966 | static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) { | |
4967 | self->AppendText(text + '\n'); | |
4968 | } | |
4969 | static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4970 | PyObject * _resultobj; | |
4971 | wxTextCtrl * _arg0; | |
4972 | wxString * _arg1; | |
4973 | PyObject * _argo0 = 0; | |
4974 | PyObject * _obj1 = 0; | |
4975 | char *_kwnames[] = { "self","text", NULL }; | |
4976 | ||
4977 | self = self; | |
4978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1)) | |
4979 | return NULL; | |
4980 | if (_argo0) { | |
4981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
4983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p."); | |
4984 | return NULL; | |
4985 | } | |
4986 | } | |
4987 | { | |
4988 | if (!PyString_Check(_obj1)) { | |
4989 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4990 | return NULL; | |
4991 | } | |
4992 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4993 | } | |
4994 | { | |
4995 | wxPy_BEGIN_ALLOW_THREADS; | |
4996 | wxTextCtrl_write(_arg0,*_arg1); | |
4997 | ||
4998 | wxPy_END_ALLOW_THREADS; | |
4999 | } Py_INCREF(Py_None); | |
5000 | _resultobj = Py_None; | |
5001 | { | |
5002 | if (_obj1) | |
5003 | delete _arg1; | |
5004 | } | |
5005 | return _resultobj; | |
5006 | } | |
5007 | ||
8ab979d7 RD |
5008 | static void *SwigwxScrollBarTowxControl(void *ptr) { |
5009 | wxScrollBar *src; | |
5010 | wxControl *dest; | |
5011 | src = (wxScrollBar *) ptr; | |
5012 | dest = (wxControl *) src; | |
5013 | return (void *) dest; | |
5014 | } | |
5015 | ||
5016 | static void *SwigwxScrollBarTowxWindow(void *ptr) { | |
5017 | wxScrollBar *src; | |
5018 | wxWindow *dest; | |
5019 | src = (wxScrollBar *) ptr; | |
5020 | dest = (wxWindow *) src; | |
5021 | return (void *) dest; | |
5022 | } | |
5023 | ||
5024 | static void *SwigwxScrollBarTowxEvtHandler(void *ptr) { | |
5025 | wxScrollBar *src; | |
5026 | wxEvtHandler *dest; | |
5027 | src = (wxScrollBar *) ptr; | |
5028 | dest = (wxEvtHandler *) src; | |
5029 | return (void *) dest; | |
5030 | } | |
5031 | ||
5032 | #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 5033 | static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5034 | PyObject * _resultobj; |
5035 | wxScrollBar * _result; | |
5036 | wxWindow * _arg0; | |
1d99702e RD |
5037 | wxWindowID _arg1 = (wxWindowID ) -1; |
5038 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
5039 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
5040 | long _arg4 = (long ) wxSB_HORIZONTAL; | |
5041 | wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator; | |
5042 | char * _arg6 = (char *) "scrollBar"; | |
5043 | PyObject * _argo0 = 0; | |
2f90df85 RD |
5044 | wxPoint temp; |
5045 | PyObject * _obj2 = 0; | |
5046 | wxSize temp0; | |
5047 | PyObject * _obj3 = 0; | |
1d99702e | 5048 | PyObject * _argo5 = 0; |
efc5f224 | 5049 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
5050 | char _ptemp[128]; |
5051 | ||
5052 | self = self; | |
2f90df85 | 5053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
8ab979d7 | 5054 | return NULL; |
1d99702e RD |
5055 | if (_argo0) { |
5056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
5058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p."); |
5059 | return NULL; | |
5060 | } | |
5061 | } | |
2f90df85 RD |
5062 | if (_obj2) |
5063 | { | |
5064 | _arg2 = &temp; | |
5065 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 5066 | return NULL; |
2f90df85 RD |
5067 | } |
5068 | if (_obj3) | |
5069 | { | |
5070 | _arg3 = &temp0; | |
5071 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 5072 | return NULL; |
2f90df85 | 5073 | } |
1d99702e RD |
5074 | if (_argo5) { |
5075 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
5076 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
8ab979d7 RD |
5077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p."); |
5078 | return NULL; | |
5079 | } | |
5080 | } | |
cf694132 RD |
5081 | { |
5082 | wxPy_BEGIN_ALLOW_THREADS; | |
5083 | _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
5084 | ||
5085 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5086 | } if (_result) { |
5087 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
5088 | _resultobj = Py_BuildValue("s",_ptemp); | |
5089 | } else { | |
5090 | Py_INCREF(Py_None); | |
5091 | _resultobj = Py_None; | |
5092 | } | |
8ab979d7 RD |
5093 | return _resultobj; |
5094 | } | |
5095 | ||
5096 | #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange()) | |
efc5f224 | 5097 | static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5098 | PyObject * _resultobj; |
5099 | int _result; | |
5100 | wxScrollBar * _arg0; | |
1d99702e | 5101 | PyObject * _argo0 = 0; |
efc5f224 | 5102 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5103 | |
5104 | self = self; | |
efc5f224 | 5105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0)) |
8ab979d7 | 5106 | return NULL; |
1d99702e RD |
5107 | if (_argo0) { |
5108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
8ab979d7 RD |
5110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p."); |
5111 | return NULL; | |
5112 | } | |
5113 | } | |
cf694132 RD |
5114 | { |
5115 | wxPy_BEGIN_ALLOW_THREADS; | |
5116 | _result = (int )wxScrollBar_GetRange(_arg0); | |
5117 | ||
5118 | wxPy_END_ALLOW_THREADS; | |
5119 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5120 | return _resultobj; |
5121 | } | |
5122 | ||
5123 | #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize()) | |
efc5f224 | 5124 | static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5125 | PyObject * _resultobj; |
5126 | int _result; | |
5127 | wxScrollBar * _arg0; | |
1d99702e | 5128 | PyObject * _argo0 = 0; |
efc5f224 | 5129 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5130 | |
5131 | self = self; | |
efc5f224 | 5132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0)) |
8ab979d7 | 5133 | return NULL; |
1d99702e RD |
5134 | if (_argo0) { |
5135 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5136 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
8ab979d7 RD |
5137 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p."); |
5138 | return NULL; | |
5139 | } | |
5140 | } | |
cf694132 RD |
5141 | { |
5142 | wxPy_BEGIN_ALLOW_THREADS; | |
5143 | _result = (int )wxScrollBar_GetPageSize(_arg0); | |
5144 | ||
5145 | wxPy_END_ALLOW_THREADS; | |
5146 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5147 | return _resultobj; |
5148 | } | |
5149 | ||
b8b8dda7 | 5150 | #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition()) |
efc5f224 | 5151 | static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5152 | PyObject * _resultobj; |
5153 | int _result; | |
5154 | wxScrollBar * _arg0; | |
1d99702e | 5155 | PyObject * _argo0 = 0; |
efc5f224 | 5156 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5157 | |
5158 | self = self; | |
efc5f224 | 5159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0)) |
8ab979d7 | 5160 | return NULL; |
1d99702e RD |
5161 | if (_argo0) { |
5162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
b8b8dda7 | 5164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p."); |
8ab979d7 RD |
5165 | return NULL; |
5166 | } | |
5167 | } | |
cf694132 RD |
5168 | { |
5169 | wxPy_BEGIN_ALLOW_THREADS; | |
5170 | _result = (int )wxScrollBar_GetThumbPosition(_arg0); | |
5171 | ||
5172 | wxPy_END_ALLOW_THREADS; | |
5173 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5174 | return _resultobj; |
5175 | } | |
5176 | ||
5177 | #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize()) | |
efc5f224 | 5178 | static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5179 | PyObject * _resultobj; |
5180 | int _result; | |
5181 | wxScrollBar * _arg0; | |
1d99702e | 5182 | PyObject * _argo0 = 0; |
efc5f224 | 5183 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5184 | |
5185 | self = self; | |
efc5f224 | 5186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0)) |
8ab979d7 | 5187 | return NULL; |
1d99702e RD |
5188 | if (_argo0) { |
5189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
8ab979d7 RD |
5191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p."); |
5192 | return NULL; | |
5193 | } | |
5194 | } | |
cf694132 RD |
5195 | { |
5196 | wxPy_BEGIN_ALLOW_THREADS; | |
5197 | _result = (int )wxScrollBar_GetThumbSize(_arg0); | |
5198 | ||
5199 | wxPy_END_ALLOW_THREADS; | |
5200 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5201 | return _resultobj; |
5202 | } | |
5203 | ||
b8b8dda7 | 5204 | #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0)) |
efc5f224 | 5205 | static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5206 | PyObject * _resultobj; |
5207 | wxScrollBar * _arg0; | |
5208 | int _arg1; | |
1d99702e | 5209 | PyObject * _argo0 = 0; |
efc5f224 | 5210 | char *_kwnames[] = { "self","viewStart", NULL }; |
8ab979d7 RD |
5211 | |
5212 | self = self; | |
efc5f224 | 5213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 5214 | return NULL; |
1d99702e RD |
5215 | if (_argo0) { |
5216 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5217 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
b8b8dda7 | 5218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p."); |
8ab979d7 RD |
5219 | return NULL; |
5220 | } | |
5221 | } | |
cf694132 RD |
5222 | { |
5223 | wxPy_BEGIN_ALLOW_THREADS; | |
5224 | wxScrollBar_SetThumbPosition(_arg0,_arg1); | |
5225 | ||
5226 | wxPy_END_ALLOW_THREADS; | |
5227 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
5228 | _resultobj = Py_None; |
5229 | return _resultobj; | |
5230 | } | |
5231 | ||
5232 | #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
efc5f224 | 5233 | static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5234 | PyObject * _resultobj; |
5235 | wxScrollBar * _arg0; | |
5236 | int _arg1; | |
5237 | int _arg2; | |
5238 | int _arg3; | |
5239 | int _arg4; | |
1d99702e RD |
5240 | bool _arg5 = (bool ) TRUE; |
5241 | PyObject * _argo0 = 0; | |
5242 | int tempbool5 = (int) TRUE; | |
efc5f224 | 5243 | char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL }; |
8ab979d7 RD |
5244 | |
5245 | self = self; | |
efc5f224 | 5246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) |
8ab979d7 | 5247 | return NULL; |
1d99702e RD |
5248 | if (_argo0) { |
5249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
8ab979d7 RD |
5251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p."); |
5252 | return NULL; | |
5253 | } | |
5254 | } | |
5255 | _arg5 = (bool ) tempbool5; | |
cf694132 RD |
5256 | { |
5257 | wxPy_BEGIN_ALLOW_THREADS; | |
5258 | wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5259 | ||
5260 | wxPy_END_ALLOW_THREADS; | |
5261 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
5262 | _resultobj = Py_None; |
5263 | return _resultobj; | |
5264 | } | |
5265 | ||
5266 | static void *SwigwxSpinButtonTowxControl(void *ptr) { | |
5267 | wxSpinButton *src; | |
5268 | wxControl *dest; | |
5269 | src = (wxSpinButton *) ptr; | |
5270 | dest = (wxControl *) src; | |
5271 | return (void *) dest; | |
5272 | } | |
5273 | ||
5274 | static void *SwigwxSpinButtonTowxWindow(void *ptr) { | |
5275 | wxSpinButton *src; | |
5276 | wxWindow *dest; | |
5277 | src = (wxSpinButton *) ptr; | |
5278 | dest = (wxWindow *) src; | |
5279 | return (void *) dest; | |
5280 | } | |
5281 | ||
5282 | static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) { | |
5283 | wxSpinButton *src; | |
5284 | wxEvtHandler *dest; | |
5285 | src = (wxSpinButton *) ptr; | |
5286 | dest = (wxEvtHandler *) src; | |
5287 | return (void *) dest; | |
5288 | } | |
5289 | ||
5290 | #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
efc5f224 | 5291 | static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5292 | PyObject * _resultobj; |
5293 | wxSpinButton * _result; | |
5294 | wxWindow * _arg0; | |
1d99702e RD |
5295 | wxWindowID _arg1 = (wxWindowID ) -1; |
5296 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
5297 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
5298 | long _arg4 = (long ) wxSP_HORIZONTAL; | |
5299 | char * _arg5 = (char *) "spinButton"; | |
5300 | PyObject * _argo0 = 0; | |
2f90df85 RD |
5301 | wxPoint temp; |
5302 | PyObject * _obj2 = 0; | |
5303 | wxSize temp0; | |
5304 | PyObject * _obj3 = 0; | |
efc5f224 | 5305 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
8ab979d7 RD |
5306 | char _ptemp[128]; |
5307 | ||
5308 | self = self; | |
2f90df85 | 5309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
8ab979d7 | 5310 | return NULL; |
1d99702e RD |
5311 | if (_argo0) { |
5312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
5314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p."); |
5315 | return NULL; | |
5316 | } | |
5317 | } | |
2f90df85 RD |
5318 | if (_obj2) |
5319 | { | |
5320 | _arg2 = &temp; | |
5321 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 5322 | return NULL; |
2f90df85 RD |
5323 | } |
5324 | if (_obj3) | |
5325 | { | |
5326 | _arg3 = &temp0; | |
5327 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 5328 | return NULL; |
2f90df85 | 5329 | } |
cf694132 RD |
5330 | { |
5331 | wxPy_BEGIN_ALLOW_THREADS; | |
5332 | _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
5333 | ||
5334 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5335 | } if (_result) { |
5336 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p"); | |
5337 | _resultobj = Py_BuildValue("s",_ptemp); | |
5338 | } else { | |
5339 | Py_INCREF(Py_None); | |
5340 | _resultobj = Py_None; | |
5341 | } | |
8ab979d7 RD |
5342 | return _resultobj; |
5343 | } | |
5344 | ||
5345 | #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax()) | |
efc5f224 | 5346 | static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5347 | PyObject * _resultobj; |
5348 | int _result; | |
5349 | wxSpinButton * _arg0; | |
1d99702e | 5350 | PyObject * _argo0 = 0; |
efc5f224 | 5351 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5352 | |
5353 | self = self; | |
efc5f224 | 5354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0)) |
8ab979d7 | 5355 | return NULL; |
1d99702e RD |
5356 | if (_argo0) { |
5357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
8ab979d7 RD |
5359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p."); |
5360 | return NULL; | |
5361 | } | |
5362 | } | |
cf694132 RD |
5363 | { |
5364 | wxPy_BEGIN_ALLOW_THREADS; | |
5365 | _result = (int )wxSpinButton_GetMax(_arg0); | |
5366 | ||
5367 | wxPy_END_ALLOW_THREADS; | |
5368 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5369 | return _resultobj; |
5370 | } | |
5371 | ||
5372 | #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin()) | |
efc5f224 | 5373 | static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5374 | PyObject * _resultobj; |
5375 | int _result; | |
5376 | wxSpinButton * _arg0; | |
1d99702e | 5377 | PyObject * _argo0 = 0; |
efc5f224 | 5378 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5379 | |
5380 | self = self; | |
efc5f224 | 5381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0)) |
8ab979d7 | 5382 | return NULL; |
1d99702e RD |
5383 | if (_argo0) { |
5384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
8ab979d7 RD |
5386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p."); |
5387 | return NULL; | |
5388 | } | |
5389 | } | |
cf694132 RD |
5390 | { |
5391 | wxPy_BEGIN_ALLOW_THREADS; | |
5392 | _result = (int )wxSpinButton_GetMin(_arg0); | |
5393 | ||
5394 | wxPy_END_ALLOW_THREADS; | |
5395 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5396 | return _resultobj; |
5397 | } | |
5398 | ||
5399 | #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue()) | |
efc5f224 | 5400 | static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5401 | PyObject * _resultobj; |
5402 | int _result; | |
5403 | wxSpinButton * _arg0; | |
1d99702e | 5404 | PyObject * _argo0 = 0; |
efc5f224 | 5405 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5406 | |
5407 | self = self; | |
efc5f224 | 5408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0)) |
8ab979d7 | 5409 | return NULL; |
1d99702e RD |
5410 | if (_argo0) { |
5411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
8ab979d7 RD |
5413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p."); |
5414 | return NULL; | |
5415 | } | |
5416 | } | |
cf694132 RD |
5417 | { |
5418 | wxPy_BEGIN_ALLOW_THREADS; | |
5419 | _result = (int )wxSpinButton_GetValue(_arg0); | |
5420 | ||
5421 | wxPy_END_ALLOW_THREADS; | |
5422 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5423 | return _resultobj; |
5424 | } | |
5425 | ||
5426 | #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1)) | |
efc5f224 | 5427 | static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5428 | PyObject * _resultobj; |
5429 | wxSpinButton * _arg0; | |
5430 | int _arg1; | |
5431 | int _arg2; | |
1d99702e | 5432 | PyObject * _argo0 = 0; |
efc5f224 | 5433 | char *_kwnames[] = { "self","min","max", NULL }; |
8ab979d7 RD |
5434 | |
5435 | self = self; | |
efc5f224 | 5436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 5437 | return NULL; |
1d99702e RD |
5438 | if (_argo0) { |
5439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
8ab979d7 RD |
5441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p."); |
5442 | return NULL; | |
5443 | } | |
5444 | } | |
cf694132 RD |
5445 | { |
5446 | wxPy_BEGIN_ALLOW_THREADS; | |
5447 | wxSpinButton_SetRange(_arg0,_arg1,_arg2); | |
5448 | ||
5449 | wxPy_END_ALLOW_THREADS; | |
5450 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
5451 | _resultobj = Py_None; |
5452 | return _resultobj; | |
5453 | } | |
5454 | ||
5455 | #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
efc5f224 | 5456 | static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5457 | PyObject * _resultobj; |
5458 | wxSpinButton * _arg0; | |
5459 | int _arg1; | |
1d99702e | 5460 | PyObject * _argo0 = 0; |
efc5f224 | 5461 | char *_kwnames[] = { "self","value", NULL }; |
8ab979d7 RD |
5462 | |
5463 | self = self; | |
efc5f224 | 5464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 5465 | return NULL; |
1d99702e RD |
5466 | if (_argo0) { |
5467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
8ab979d7 RD |
5469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p."); |
5470 | return NULL; | |
5471 | } | |
5472 | } | |
cf694132 RD |
5473 | { |
5474 | wxPy_BEGIN_ALLOW_THREADS; | |
5475 | wxSpinButton_SetValue(_arg0,_arg1); | |
5476 | ||
5477 | wxPy_END_ALLOW_THREADS; | |
5478 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
5479 | _resultobj = Py_None; |
5480 | return _resultobj; | |
5481 | } | |
5482 | ||
5483 | static void *SwigwxStaticBitmapTowxControl(void *ptr) { | |
5484 | wxStaticBitmap *src; | |
5485 | wxControl *dest; | |
5486 | src = (wxStaticBitmap *) ptr; | |
5487 | dest = (wxControl *) src; | |
5488 | return (void *) dest; | |
5489 | } | |
5490 | ||
5491 | static void *SwigwxStaticBitmapTowxWindow(void *ptr) { | |
5492 | wxStaticBitmap *src; | |
5493 | wxWindow *dest; | |
5494 | src = (wxStaticBitmap *) ptr; | |
5495 | dest = (wxWindow *) src; | |
5496 | return (void *) dest; | |
5497 | } | |
5498 | ||
5499 | static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) { | |
5500 | wxStaticBitmap *src; | |
5501 | wxEvtHandler *dest; | |
5502 | src = (wxStaticBitmap *) ptr; | |
5503 | dest = (wxEvtHandler *) src; | |
5504 | return (void *) dest; | |
5505 | } | |
5506 | ||
5507 | #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 5508 | static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5509 | PyObject * _resultobj; |
5510 | wxStaticBitmap * _result; | |
5511 | wxWindow * _arg0; | |
5512 | wxWindowID _arg1; | |
5513 | wxBitmap * _arg2; | |
1d99702e RD |
5514 | wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition; |
5515 | wxSize * _arg4 = (wxSize *) &wxPyDefaultSize; | |
5516 | long _arg5 = (long ) 0; | |
5517 | char * _arg6 = (char *) "staticBitmap"; | |
5518 | PyObject * _argo0 = 0; | |
5519 | PyObject * _argo2 = 0; | |
2f90df85 RD |
5520 | wxPoint temp; |
5521 | PyObject * _obj3 = 0; | |
5522 | wxSize temp0; | |
5523 | PyObject * _obj4 = 0; | |
efc5f224 | 5524 | char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL }; |
8ab979d7 RD |
5525 | char _ptemp[128]; |
5526 | ||
5527 | self = self; | |
2f90df85 | 5528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6)) |
8ab979d7 | 5529 | return NULL; |
1d99702e RD |
5530 | if (_argo0) { |
5531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
5533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p."); |
5534 | return NULL; | |
5535 | } | |
5536 | } | |
1d99702e RD |
5537 | if (_argo2) { |
5538 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5539 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
8ab979d7 RD |
5540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p."); |
5541 | return NULL; | |
5542 | } | |
5543 | } | |
2f90df85 RD |
5544 | if (_obj3) |
5545 | { | |
5546 | _arg3 = &temp; | |
5547 | if (! wxPoint_helper(_obj3, &_arg3)) | |
8ab979d7 | 5548 | return NULL; |
2f90df85 RD |
5549 | } |
5550 | if (_obj4) | |
5551 | { | |
5552 | _arg4 = &temp0; | |
5553 | if (! wxSize_helper(_obj4, &_arg4)) | |
8ab979d7 | 5554 | return NULL; |
2f90df85 | 5555 | } |
cf694132 RD |
5556 | { |
5557 | wxPy_BEGIN_ALLOW_THREADS; | |
5558 | _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
5559 | ||
5560 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5561 | } if (_result) { |
5562 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p"); | |
5563 | _resultobj = Py_BuildValue("s",_ptemp); | |
5564 | } else { | |
5565 | Py_INCREF(Py_None); | |
5566 | _resultobj = Py_None; | |
5567 | } | |
8ab979d7 RD |
5568 | return _resultobj; |
5569 | } | |
5570 | ||
5571 | #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
efc5f224 | 5572 | static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5573 | PyObject * _resultobj; |
5574 | wxBitmap * _result; | |
5575 | wxStaticBitmap * _arg0; | |
1d99702e | 5576 | PyObject * _argo0 = 0; |
efc5f224 | 5577 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5578 | char _ptemp[128]; |
5579 | ||
5580 | self = self; | |
efc5f224 | 5581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0)) |
8ab979d7 | 5582 | return NULL; |
1d99702e RD |
5583 | if (_argo0) { |
5584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) { | |
8ab979d7 RD |
5586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p."); |
5587 | return NULL; | |
5588 | } | |
5589 | } | |
cf694132 RD |
5590 | { |
5591 | wxPy_BEGIN_ALLOW_THREADS; | |
5592 | const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0); | |
8ab979d7 | 5593 | _result = (wxBitmap *) &_result_ref; |
cf694132 RD |
5594 | |
5595 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5596 | } if (_result) { |
5597 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
5598 | _resultobj = Py_BuildValue("s",_ptemp); | |
5599 | } else { | |
5600 | Py_INCREF(Py_None); | |
5601 | _resultobj = Py_None; | |
5602 | } | |
8ab979d7 RD |
5603 | return _resultobj; |
5604 | } | |
5605 | ||
5606 | #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
efc5f224 | 5607 | static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5608 | PyObject * _resultobj; |
5609 | wxStaticBitmap * _arg0; | |
5610 | wxBitmap * _arg1; | |
1d99702e RD |
5611 | PyObject * _argo0 = 0; |
5612 | PyObject * _argo1 = 0; | |
efc5f224 | 5613 | char *_kwnames[] = { "self","bitmap", NULL }; |
8ab979d7 RD |
5614 | |
5615 | self = self; | |
efc5f224 | 5616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5617 | return NULL; |
1d99702e RD |
5618 | if (_argo0) { |
5619 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5620 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) { | |
8ab979d7 RD |
5621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p."); |
5622 | return NULL; | |
5623 | } | |
5624 | } | |
1d99702e RD |
5625 | if (_argo1) { |
5626 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5627 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
8ab979d7 RD |
5628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p."); |
5629 | return NULL; | |
5630 | } | |
5631 | } | |
cf694132 RD |
5632 | { |
5633 | wxPy_BEGIN_ALLOW_THREADS; | |
5634 | wxStaticBitmap_SetBitmap(_arg0,*_arg1); | |
5635 | ||
5636 | wxPy_END_ALLOW_THREADS; | |
5637 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
5638 | _resultobj = Py_None; |
5639 | return _resultobj; | |
5640 | } | |
5641 | ||
8bf5d46e | 5642 | #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) |
efc5f224 | 5643 | static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e RD |
5644 | PyObject * _resultobj; |
5645 | wxStaticBitmap * _arg0; | |
5646 | wxIcon * _arg1; | |
1d99702e RD |
5647 | PyObject * _argo0 = 0; |
5648 | PyObject * _argo1 = 0; | |
efc5f224 | 5649 | char *_kwnames[] = { "self","icon", NULL }; |
8bf5d46e RD |
5650 | |
5651 | self = self; | |
efc5f224 | 5652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1)) |
8bf5d46e | 5653 | return NULL; |
1d99702e RD |
5654 | if (_argo0) { |
5655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) { | |
8bf5d46e RD |
5657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p."); |
5658 | return NULL; | |
5659 | } | |
5660 | } | |
1d99702e RD |
5661 | if (_argo1) { |
5662 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5663 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) { | |
8bf5d46e RD |
5664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p."); |
5665 | return NULL; | |
5666 | } | |
5667 | } | |
5668 | { | |
5669 | wxPy_BEGIN_ALLOW_THREADS; | |
5670 | wxStaticBitmap_SetIcon(_arg0,*_arg1); | |
5671 | ||
5672 | wxPy_END_ALLOW_THREADS; | |
5673 | } Py_INCREF(Py_None); | |
5674 | _resultobj = Py_None; | |
5675 | return _resultobj; | |
5676 | } | |
5677 | ||
8ab979d7 RD |
5678 | static void *SwigwxRadioBoxTowxControl(void *ptr) { |
5679 | wxRadioBox *src; | |
5680 | wxControl *dest; | |
5681 | src = (wxRadioBox *) ptr; | |
5682 | dest = (wxControl *) src; | |
5683 | return (void *) dest; | |
5684 | } | |
5685 | ||
5686 | static void *SwigwxRadioBoxTowxWindow(void *ptr) { | |
5687 | wxRadioBox *src; | |
5688 | wxWindow *dest; | |
5689 | src = (wxRadioBox *) ptr; | |
5690 | dest = (wxWindow *) src; | |
5691 | return (void *) dest; | |
5692 | } | |
5693 | ||
5694 | static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) { | |
5695 | wxRadioBox *src; | |
5696 | wxEvtHandler *dest; | |
5697 | src = (wxRadioBox *) ptr; | |
5698 | dest = (wxEvtHandler *) src; | |
5699 | return (void *) dest; | |
5700 | } | |
5701 | ||
5702 | #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 | 5703 | static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5704 | PyObject * _resultobj; |
5705 | wxRadioBox * _result; | |
5706 | wxWindow * _arg0; | |
5707 | wxWindowID _arg1; | |
5708 | wxString * _arg2; | |
1d99702e RD |
5709 | wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition; |
5710 | wxSize * _arg4 = (wxSize *) &wxPyDefaultSize; | |
5711 | int _arg5 = (int ) 0; | |
5712 | wxString * _arg6 = (wxString *) NULL; | |
5713 | int _arg7 = (int ) 0; | |
5714 | long _arg8 = (long ) wxRA_HORIZONTAL; | |
5715 | wxValidator * _arg9 = (wxValidator *) &wxPyDefaultValidator; | |
5716 | char * _arg10 = (char *) "radioBox"; | |
5717 | PyObject * _argo0 = 0; | |
8ab979d7 | 5718 | PyObject * _obj2 = 0; |
2f90df85 RD |
5719 | wxPoint temp; |
5720 | PyObject * _obj3 = 0; | |
5721 | wxSize temp0; | |
5722 | PyObject * _obj4 = 0; | |
8ab979d7 | 5723 | PyObject * _obj6 = 0; |
1d99702e | 5724 | PyObject * _argo9 = 0; |
efc5f224 | 5725 | char *_kwnames[] = { "parent","id","label","point","size","LIST","majorDimension","style","validator","name", NULL }; |
8ab979d7 RD |
5726 | char _ptemp[128]; |
5727 | ||
5728 | self = self; | |
2f90df85 | 5729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10)) |
8ab979d7 | 5730 | return NULL; |
1d99702e RD |
5731 | if (_argo0) { |
5732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
5734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p."); |
5735 | return NULL; | |
5736 | } | |
5737 | } | |
5738 | { | |
5739 | if (!PyString_Check(_obj2)) { | |
5740 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5741 | return NULL; | |
5742 | } | |
cf694132 | 5743 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 5744 | } |
2f90df85 RD |
5745 | if (_obj3) |
5746 | { | |
5747 | _arg3 = &temp; | |
5748 | if (! wxPoint_helper(_obj3, &_arg3)) | |
8ab979d7 | 5749 | return NULL; |
2f90df85 RD |
5750 | } |
5751 | if (_obj4) | |
5752 | { | |
5753 | _arg4 = &temp0; | |
5754 | if (! wxSize_helper(_obj4, &_arg4)) | |
8ab979d7 | 5755 | return NULL; |
2f90df85 | 5756 | } |
8ab979d7 RD |
5757 | if (_obj6) |
5758 | { | |
5759 | _arg6 = wxString_LIST_helper(_obj6); | |
5760 | if (_arg6 == NULL) { | |
5761 | return NULL; | |
5762 | } | |
5763 | } | |
1d99702e RD |
5764 | if (_argo9) { |
5765 | if (_argo9 == Py_None) { _arg9 = NULL; } | |
5766 | else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) { | |
8ab979d7 RD |
5767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p."); |
5768 | return NULL; | |
5769 | } | |
5770 | } | |
5771 | { | |
cf694132 RD |
5772 | if (_obj6) { |
5773 | _arg5 = PyList_Size(_obj6); | |
5774 | } | |
5775 | else { | |
5776 | _arg5 = 0; | |
5777 | } | |
8ab979d7 | 5778 | } |
cf694132 RD |
5779 | { |
5780 | wxPy_BEGIN_ALLOW_THREADS; | |
5781 | _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10); | |
5782 | ||
5783 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5784 | } if (_result) { |
5785 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p"); | |
5786 | _resultobj = Py_BuildValue("s",_ptemp); | |
5787 | } else { | |
5788 | Py_INCREF(Py_None); | |
5789 | _resultobj = Py_None; | |
5790 | } | |
8ab979d7 RD |
5791 | { |
5792 | if (_obj2) | |
5793 | delete _arg2; | |
5794 | } | |
5795 | { | |
5796 | delete [] _arg6; | |
5797 | } | |
5798 | return _resultobj; | |
5799 | } | |
5800 | ||
0699c864 | 5801 | #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) |
efc5f224 | 5802 | static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5803 | PyObject * _resultobj; |
5804 | wxRadioBox * _arg0; | |
5805 | bool _arg1; | |
1d99702e | 5806 | PyObject * _argo0 = 0; |
8ab979d7 | 5807 | int tempbool1; |
efc5f224 | 5808 | char *_kwnames[] = { "self","enable", NULL }; |
8ab979d7 RD |
5809 | |
5810 | self = self; | |
efc5f224 | 5811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 5812 | return NULL; |
1d99702e RD |
5813 | if (_argo0) { |
5814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
0699c864 | 5816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p."); |
8ab979d7 RD |
5817 | return NULL; |
5818 | } | |
5819 | } | |
5820 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
5821 | { |
5822 | wxPy_BEGIN_ALLOW_THREADS; | |
5823 | wxRadioBox_Enable(_arg0,_arg1); | |
5824 | ||
5825 | wxPy_END_ALLOW_THREADS; | |
5826 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
5827 | _resultobj = Py_None; |
5828 | return _resultobj; | |
5829 | } | |
5830 | ||
0699c864 | 5831 | #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1)) |
efc5f224 | 5832 | static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5833 | PyObject * _resultobj; |
5834 | wxRadioBox * _arg0; | |
5835 | int _arg1; | |
5836 | bool _arg2; | |
1d99702e | 5837 | PyObject * _argo0 = 0; |
8ab979d7 | 5838 | int tempbool2; |
efc5f224 | 5839 | char *_kwnames[] = { "self","n","enable", NULL }; |
8ab979d7 RD |
5840 | |
5841 | self = self; | |
efc5f224 | 5842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2)) |
8ab979d7 | 5843 | return NULL; |
1d99702e RD |
5844 | if (_argo0) { |
5845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
0699c864 | 5847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p."); |
8ab979d7 RD |
5848 | return NULL; |
5849 | } | |
5850 | } | |
5851 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
5852 | { |
5853 | wxPy_BEGIN_ALLOW_THREADS; | |
5854 | wxRadioBox_EnableItem(_arg0,_arg1,_arg2); | |
5855 | ||
5856 | wxPy_END_ALLOW_THREADS; | |
5857 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
5858 | _resultobj = Py_None; |
5859 | return _resultobj; | |
5860 | } | |
5861 | ||
5862 | #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0)) | |
efc5f224 | 5863 | static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5864 | PyObject * _resultobj; |
5865 | int _result; | |
5866 | wxRadioBox * _arg0; | |
5867 | wxString * _arg1; | |
1d99702e | 5868 | PyObject * _argo0 = 0; |
8ab979d7 | 5869 | PyObject * _obj1 = 0; |
efc5f224 | 5870 | char *_kwnames[] = { "self","string", NULL }; |
8ab979d7 RD |
5871 | |
5872 | self = self; | |
efc5f224 | 5873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 5874 | return NULL; |
1d99702e RD |
5875 | if (_argo0) { |
5876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
5878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p."); |
5879 | return NULL; | |
5880 | } | |
5881 | } | |
5882 | { | |
5883 | if (!PyString_Check(_obj1)) { | |
5884 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5885 | return NULL; | |
5886 | } | |
cf694132 | 5887 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
8ab979d7 | 5888 | } |
cf694132 RD |
5889 | { |
5890 | wxPy_BEGIN_ALLOW_THREADS; | |
5891 | _result = (int )wxRadioBox_FindString(_arg0,*_arg1); | |
5892 | ||
5893 | wxPy_END_ALLOW_THREADS; | |
5894 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5895 | { |
5896 | if (_obj1) | |
5897 | delete _arg1; | |
5898 | } | |
5899 | return _resultobj; | |
5900 | } | |
5901 | ||
0699c864 | 5902 | #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0)) |
efc5f224 | 5903 | static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5904 | PyObject * _resultobj; |
5905 | wxString * _result; | |
5906 | wxRadioBox * _arg0; | |
5907 | int _arg1; | |
1d99702e | 5908 | PyObject * _argo0 = 0; |
efc5f224 | 5909 | char *_kwnames[] = { "self","n", NULL }; |
8ab979d7 RD |
5910 | |
5911 | self = self; | |
efc5f224 | 5912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 5913 | return NULL; |
1d99702e RD |
5914 | if (_argo0) { |
5915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
0699c864 | 5917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p."); |
8ab979d7 RD |
5918 | return NULL; |
5919 | } | |
5920 | } | |
8ab979d7 | 5921 | { |
cf694132 RD |
5922 | wxPy_BEGIN_ALLOW_THREADS; |
5923 | _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1)); | |
5924 | ||
5925 | wxPy_END_ALLOW_THREADS; | |
5926 | }{ | |
8ab979d7 RD |
5927 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
5928 | } | |
5929 | { | |
5930 | delete _result; | |
5931 | } | |
5932 | return _resultobj; | |
5933 | } | |
5934 | ||
5935 | #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
efc5f224 | 5936 | static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5937 | PyObject * _resultobj; |
5938 | int _result; | |
5939 | wxRadioBox * _arg0; | |
1d99702e | 5940 | PyObject * _argo0 = 0; |
efc5f224 | 5941 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5942 | |
5943 | self = self; | |
efc5f224 | 5944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0)) |
8ab979d7 | 5945 | return NULL; |
1d99702e RD |
5946 | if (_argo0) { |
5947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
5949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p."); |
5950 | return NULL; | |
5951 | } | |
5952 | } | |
cf694132 RD |
5953 | { |
5954 | wxPy_BEGIN_ALLOW_THREADS; | |
5955 | _result = (int )wxRadioBox_GetSelection(_arg0); | |
5956 | ||
5957 | wxPy_END_ALLOW_THREADS; | |
5958 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5959 | return _resultobj; |
5960 | } | |
5961 | ||
5962 | #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0)) | |
efc5f224 | 5963 | static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5964 | PyObject * _resultobj; |
5965 | wxString * _result; | |
5966 | wxRadioBox * _arg0; | |
5967 | int _arg1; | |
1d99702e | 5968 | PyObject * _argo0 = 0; |
efc5f224 | 5969 | char *_kwnames[] = { "self","n", NULL }; |
8ab979d7 RD |
5970 | |
5971 | self = self; | |
efc5f224 | 5972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 5973 | return NULL; |
1d99702e RD |
5974 | if (_argo0) { |
5975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
5977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p."); |
5978 | return NULL; | |
5979 | } | |
5980 | } | |
8ab979d7 | 5981 | { |
cf694132 RD |
5982 | wxPy_BEGIN_ALLOW_THREADS; |
5983 | _result = new wxString (wxRadioBox_GetString(_arg0,_arg1)); | |
5984 | ||
5985 | wxPy_END_ALLOW_THREADS; | |
5986 | }{ | |
8ab979d7 RD |
5987 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
5988 | } | |
5989 | { | |
5990 | delete _result; | |
5991 | } | |
5992 | return _resultobj; | |
5993 | } | |
5994 | ||
5995 | #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection()) | |
efc5f224 | 5996 | static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
5997 | PyObject * _resultobj; |
5998 | wxString * _result; | |
5999 | wxRadioBox * _arg0; | |
1d99702e | 6000 | PyObject * _argo0 = 0; |
efc5f224 | 6001 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6002 | |
6003 | self = self; | |
efc5f224 | 6004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0)) |
8ab979d7 | 6005 | return NULL; |
1d99702e RD |
6006 | if (_argo0) { |
6007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
6009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p."); |
6010 | return NULL; | |
6011 | } | |
6012 | } | |
8ab979d7 | 6013 | { |
cf694132 RD |
6014 | wxPy_BEGIN_ALLOW_THREADS; |
6015 | _result = new wxString (wxRadioBox_GetStringSelection(_arg0)); | |
6016 | ||
6017 | wxPy_END_ALLOW_THREADS; | |
6018 | }{ | |
8ab979d7 RD |
6019 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
6020 | } | |
6021 | { | |
6022 | delete _result; | |
6023 | } | |
6024 | return _resultobj; | |
6025 | } | |
6026 | ||
6027 | #define wxRadioBox_Number(_swigobj) (_swigobj->Number()) | |
efc5f224 | 6028 | static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6029 | PyObject * _resultobj; |
6030 | int _result; | |
6031 | wxRadioBox * _arg0; | |
1d99702e | 6032 | PyObject * _argo0 = 0; |
efc5f224 | 6033 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6034 | |
6035 | self = self; | |
efc5f224 | 6036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_Number",_kwnames,&_argo0)) |
8ab979d7 | 6037 | return NULL; |
1d99702e RD |
6038 | if (_argo0) { |
6039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
6041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p."); |
6042 | return NULL; | |
6043 | } | |
6044 | } | |
cf694132 RD |
6045 | { |
6046 | wxPy_BEGIN_ALLOW_THREADS; | |
6047 | _result = (int )wxRadioBox_Number(_arg0); | |
6048 | ||
6049 | wxPy_END_ALLOW_THREADS; | |
6050 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6051 | return _resultobj; |
6052 | } | |
6053 | ||
0699c864 | 6054 | #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1)) |
efc5f224 | 6055 | static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6056 | PyObject * _resultobj; |
6057 | wxRadioBox * _arg0; | |
6058 | int _arg1; | |
6059 | wxString * _arg2; | |
1d99702e | 6060 | PyObject * _argo0 = 0; |
8ab979d7 | 6061 | PyObject * _obj2 = 0; |
efc5f224 | 6062 | char *_kwnames[] = { "self","n","label", NULL }; |
8ab979d7 RD |
6063 | |
6064 | self = self; | |
efc5f224 | 6065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 6066 | return NULL; |
1d99702e RD |
6067 | if (_argo0) { |
6068 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6069 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
0699c864 | 6070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p."); |
8ab979d7 RD |
6071 | return NULL; |
6072 | } | |
6073 | } | |
6074 | { | |
6075 | if (!PyString_Check(_obj2)) { | |
6076 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6077 | return NULL; | |
6078 | } | |
cf694132 | 6079 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 6080 | } |
cf694132 RD |
6081 | { |
6082 | wxPy_BEGIN_ALLOW_THREADS; | |
6083 | wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2); | |
6084 | ||
6085 | wxPy_END_ALLOW_THREADS; | |
6086 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6087 | _resultobj = Py_None; |
6088 | { | |
6089 | if (_obj2) | |
6090 | delete _arg2; | |
6091 | } | |
6092 | return _resultobj; | |
6093 | } | |
6094 | ||
6095 | #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
efc5f224 | 6096 | static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6097 | PyObject * _resultobj; |
6098 | wxRadioBox * _arg0; | |
6099 | int _arg1; | |
1d99702e | 6100 | PyObject * _argo0 = 0; |
efc5f224 | 6101 | char *_kwnames[] = { "self","n", NULL }; |
8ab979d7 RD |
6102 | |
6103 | self = self; | |
efc5f224 | 6104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 6105 | return NULL; |
1d99702e RD |
6106 | if (_argo0) { |
6107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
6109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p."); |
6110 | return NULL; | |
6111 | } | |
6112 | } | |
cf694132 RD |
6113 | { |
6114 | wxPy_BEGIN_ALLOW_THREADS; | |
6115 | wxRadioBox_SetSelection(_arg0,_arg1); | |
6116 | ||
6117 | wxPy_END_ALLOW_THREADS; | |
6118 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6119 | _resultobj = Py_None; |
6120 | return _resultobj; | |
6121 | } | |
6122 | ||
6123 | #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0)) | |
efc5f224 | 6124 | static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6125 | PyObject * _resultobj; |
6126 | wxRadioBox * _arg0; | |
6127 | wxString * _arg1; | |
1d99702e | 6128 | PyObject * _argo0 = 0; |
8ab979d7 | 6129 | PyObject * _obj1 = 0; |
efc5f224 | 6130 | char *_kwnames[] = { "self","string", NULL }; |
8ab979d7 RD |
6131 | |
6132 | self = self; | |
efc5f224 | 6133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 6134 | return NULL; |
1d99702e RD |
6135 | if (_argo0) { |
6136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
6138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p."); |
6139 | return NULL; | |
6140 | } | |
6141 | } | |
6142 | { | |
6143 | if (!PyString_Check(_obj1)) { | |
6144 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6145 | return NULL; | |
6146 | } | |
cf694132 | 6147 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
8ab979d7 | 6148 | } |
cf694132 RD |
6149 | { |
6150 | wxPy_BEGIN_ALLOW_THREADS; | |
6151 | wxRadioBox_SetStringSelection(_arg0,*_arg1); | |
6152 | ||
6153 | wxPy_END_ALLOW_THREADS; | |
6154 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6155 | _resultobj = Py_None; |
6156 | { | |
6157 | if (_obj1) | |
6158 | delete _arg1; | |
6159 | } | |
6160 | return _resultobj; | |
6161 | } | |
6162 | ||
6163 | #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
efc5f224 | 6164 | static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6165 | PyObject * _resultobj; |
6166 | wxRadioBox * _arg0; | |
6167 | bool _arg1; | |
1d99702e | 6168 | PyObject * _argo0 = 0; |
8ab979d7 | 6169 | int tempbool1; |
efc5f224 | 6170 | char *_kwnames[] = { "self","show", NULL }; |
8ab979d7 RD |
6171 | |
6172 | self = self; | |
efc5f224 | 6173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 6174 | return NULL; |
1d99702e RD |
6175 | if (_argo0) { |
6176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
6178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p."); |
6179 | return NULL; | |
6180 | } | |
6181 | } | |
6182 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
6183 | { |
6184 | wxPy_BEGIN_ALLOW_THREADS; | |
6185 | wxRadioBox_Show(_arg0,_arg1); | |
6186 | ||
6187 | wxPy_END_ALLOW_THREADS; | |
6188 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6189 | _resultobj = Py_None; |
6190 | return _resultobj; | |
6191 | } | |
6192 | ||
6193 | #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1)) | |
efc5f224 | 6194 | static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6195 | PyObject * _resultobj; |
6196 | wxRadioBox * _arg0; | |
6197 | int _arg1; | |
6198 | bool _arg2; | |
1d99702e | 6199 | PyObject * _argo0 = 0; |
8ab979d7 | 6200 | int tempbool2; |
efc5f224 | 6201 | char *_kwnames[] = { "self","item","show", NULL }; |
8ab979d7 RD |
6202 | |
6203 | self = self; | |
efc5f224 | 6204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2)) |
8ab979d7 | 6205 | return NULL; |
1d99702e RD |
6206 | if (_argo0) { |
6207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
8ab979d7 RD |
6209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p."); |
6210 | return NULL; | |
6211 | } | |
6212 | } | |
6213 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
6214 | { |
6215 | wxPy_BEGIN_ALLOW_THREADS; | |
6216 | wxRadioBox_ShowItem(_arg0,_arg1,_arg2); | |
6217 | ||
6218 | wxPy_END_ALLOW_THREADS; | |
6219 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6220 | _resultobj = Py_None; |
6221 | return _resultobj; | |
6222 | } | |
6223 | ||
6224 | static void *SwigwxRadioButtonTowxControl(void *ptr) { | |
6225 | wxRadioButton *src; | |
6226 | wxControl *dest; | |
6227 | src = (wxRadioButton *) ptr; | |
6228 | dest = (wxControl *) src; | |
6229 | return (void *) dest; | |
6230 | } | |
6231 | ||
6232 | static void *SwigwxRadioButtonTowxWindow(void *ptr) { | |
6233 | wxRadioButton *src; | |
6234 | wxWindow *dest; | |
6235 | src = (wxRadioButton *) ptr; | |
6236 | dest = (wxWindow *) src; | |
6237 | return (void *) dest; | |
6238 | } | |
6239 | ||
6240 | static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) { | |
6241 | wxRadioButton *src; | |
6242 | wxEvtHandler *dest; | |
6243 | src = (wxRadioButton *) ptr; | |
6244 | dest = (wxEvtHandler *) src; | |
6245 | return (void *) dest; | |
6246 | } | |
6247 | ||
6248 | #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) | |
efc5f224 | 6249 | static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6250 | PyObject * _resultobj; |
6251 | wxRadioButton * _result; | |
6252 | wxWindow * _arg0; | |
6253 | wxWindowID _arg1; | |
6254 | wxString * _arg2; | |
1d99702e RD |
6255 | wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition; |
6256 | wxSize * _arg4 = (wxSize *) &wxPyDefaultSize; | |
6257 | long _arg5 = (long ) 0; | |
6258 | wxValidator * _arg6 = (wxValidator *) &wxPyDefaultValidator; | |
6259 | char * _arg7 = (char *) "radioButton"; | |
6260 | PyObject * _argo0 = 0; | |
8ab979d7 | 6261 | PyObject * _obj2 = 0; |
2f90df85 RD |
6262 | wxPoint temp; |
6263 | PyObject * _obj3 = 0; | |
6264 | wxSize temp0; | |
6265 | PyObject * _obj4 = 0; | |
1d99702e | 6266 | PyObject * _argo6 = 0; |
efc5f224 | 6267 | char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
6268 | char _ptemp[128]; |
6269 | ||
6270 | self = self; | |
2f90df85 | 6271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
8ab979d7 | 6272 | return NULL; |
1d99702e RD |
6273 | if (_argo0) { |
6274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
6276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p."); |
6277 | return NULL; | |
6278 | } | |
6279 | } | |
6280 | { | |
6281 | if (!PyString_Check(_obj2)) { | |
6282 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6283 | return NULL; | |
6284 | } | |
cf694132 | 6285 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 6286 | } |
2f90df85 RD |
6287 | if (_obj3) |
6288 | { | |
6289 | _arg3 = &temp; | |
6290 | if (! wxPoint_helper(_obj3, &_arg3)) | |
8ab979d7 | 6291 | return NULL; |
2f90df85 RD |
6292 | } |
6293 | if (_obj4) | |
6294 | { | |
6295 | _arg4 = &temp0; | |
6296 | if (! wxSize_helper(_obj4, &_arg4)) | |
8ab979d7 | 6297 | return NULL; |
2f90df85 | 6298 | } |
1d99702e RD |
6299 | if (_argo6) { |
6300 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6301 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
8ab979d7 RD |
6302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p."); |
6303 | return NULL; | |
6304 | } | |
6305 | } | |
cf694132 RD |
6306 | { |
6307 | wxPy_BEGIN_ALLOW_THREADS; | |
6308 | _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
6309 | ||
6310 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
6311 | } if (_result) { |
6312 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p"); | |
6313 | _resultobj = Py_BuildValue("s",_ptemp); | |
6314 | } else { | |
6315 | Py_INCREF(Py_None); | |
6316 | _resultobj = Py_None; | |
6317 | } | |
8ab979d7 RD |
6318 | { |
6319 | if (_obj2) | |
6320 | delete _arg2; | |
6321 | } | |
6322 | return _resultobj; | |
6323 | } | |
6324 | ||
6325 | #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue()) | |
efc5f224 | 6326 | static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6327 | PyObject * _resultobj; |
6328 | bool _result; | |
6329 | wxRadioButton * _arg0; | |
1d99702e | 6330 | PyObject * _argo0 = 0; |
efc5f224 | 6331 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6332 | |
6333 | self = self; | |
efc5f224 | 6334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0)) |
8ab979d7 | 6335 | return NULL; |
1d99702e RD |
6336 | if (_argo0) { |
6337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) { | |
8ab979d7 RD |
6339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p."); |
6340 | return NULL; | |
6341 | } | |
6342 | } | |
cf694132 RD |
6343 | { |
6344 | wxPy_BEGIN_ALLOW_THREADS; | |
6345 | _result = (bool )wxRadioButton_GetValue(_arg0); | |
6346 | ||
6347 | wxPy_END_ALLOW_THREADS; | |
6348 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6349 | return _resultobj; |
6350 | } | |
6351 | ||
6352 | #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
efc5f224 | 6353 | static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6354 | PyObject * _resultobj; |
6355 | wxRadioButton * _arg0; | |
6356 | bool _arg1; | |
1d99702e | 6357 | PyObject * _argo0 = 0; |
8ab979d7 | 6358 | int tempbool1; |
efc5f224 | 6359 | char *_kwnames[] = { "self","value", NULL }; |
8ab979d7 RD |
6360 | |
6361 | self = self; | |
efc5f224 | 6362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 6363 | return NULL; |
1d99702e RD |
6364 | if (_argo0) { |
6365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) { | |
8ab979d7 RD |
6367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p."); |
6368 | return NULL; | |
6369 | } | |
6370 | } | |
6371 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
6372 | { |
6373 | wxPy_BEGIN_ALLOW_THREADS; | |
6374 | wxRadioButton_SetValue(_arg0,_arg1); | |
6375 | ||
6376 | wxPy_END_ALLOW_THREADS; | |
6377 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6378 | _resultobj = Py_None; |
6379 | return _resultobj; | |
6380 | } | |
6381 | ||
6382 | static void *SwigwxSliderTowxControl(void *ptr) { | |
6383 | wxSlider *src; | |
6384 | wxControl *dest; | |
6385 | src = (wxSlider *) ptr; | |
6386 | dest = (wxControl *) src; | |
6387 | return (void *) dest; | |
6388 | } | |
6389 | ||
6390 | static void *SwigwxSliderTowxWindow(void *ptr) { | |
6391 | wxSlider *src; | |
6392 | wxWindow *dest; | |
6393 | src = (wxSlider *) ptr; | |
6394 | dest = (wxWindow *) src; | |
6395 | return (void *) dest; | |
6396 | } | |
6397 | ||
6398 | static void *SwigwxSliderTowxEvtHandler(void *ptr) { | |
6399 | wxSlider *src; | |
6400 | wxEvtHandler *dest; | |
6401 | src = (wxSlider *) ptr; | |
6402 | dest = (wxEvtHandler *) src; | |
6403 | return (void *) dest; | |
6404 | } | |
6405 | ||
6406 | #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 | 6407 | static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6408 | PyObject * _resultobj; |
6409 | wxSlider * _result; | |
6410 | wxWindow * _arg0; | |
6411 | wxWindowID _arg1; | |
6412 | int _arg2; | |
6413 | int _arg3; | |
6414 | int _arg4; | |
1d99702e RD |
6415 | wxPoint * _arg5 = (wxPoint *) &wxPyDefaultPosition; |
6416 | wxSize * _arg6 = (wxSize *) &wxPyDefaultSize; | |
6417 | long _arg7 = (long ) wxSL_HORIZONTAL; | |
6418 | wxValidator * _arg8 = (wxValidator *) &wxPyDefaultValidator; | |
6419 | char * _arg9 = (char *) "slider"; | |
6420 | PyObject * _argo0 = 0; | |
2f90df85 RD |
6421 | wxPoint temp; |
6422 | PyObject * _obj5 = 0; | |
6423 | wxSize temp0; | |
6424 | PyObject * _obj6 = 0; | |
1d99702e | 6425 | PyObject * _argo8 = 0; |
efc5f224 | 6426 | char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL }; |
8ab979d7 RD |
6427 | char _ptemp[128]; |
6428 | ||
6429 | self = self; | |
2f90df85 | 6430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9)) |
8ab979d7 | 6431 | return NULL; |
1d99702e RD |
6432 | if (_argo0) { |
6433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
6435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p."); |
6436 | return NULL; | |
6437 | } | |
6438 | } | |
2f90df85 RD |
6439 | if (_obj5) |
6440 | { | |
6441 | _arg5 = &temp; | |
6442 | if (! wxPoint_helper(_obj5, &_arg5)) | |
8ab979d7 | 6443 | return NULL; |
2f90df85 RD |
6444 | } |
6445 | if (_obj6) | |
6446 | { | |
6447 | _arg6 = &temp0; | |
6448 | if (! wxSize_helper(_obj6, &_arg6)) | |
8ab979d7 | 6449 | return NULL; |
2f90df85 | 6450 | } |
1d99702e RD |
6451 | if (_argo8) { |
6452 | if (_argo8 == Py_None) { _arg8 = NULL; } | |
6453 | else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) { | |
8ab979d7 RD |
6454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p."); |
6455 | return NULL; | |
6456 | } | |
6457 | } | |
cf694132 RD |
6458 | { |
6459 | wxPy_BEGIN_ALLOW_THREADS; | |
6460 | _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9); | |
6461 | ||
6462 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
6463 | } if (_result) { |
6464 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p"); | |
6465 | _resultobj = Py_BuildValue("s",_ptemp); | |
6466 | } else { | |
6467 | Py_INCREF(Py_None); | |
6468 | _resultobj = Py_None; | |
6469 | } | |
8ab979d7 RD |
6470 | return _resultobj; |
6471 | } | |
6472 | ||
6473 | #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel()) | |
efc5f224 | 6474 | static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6475 | PyObject * _resultobj; |
6476 | wxSlider * _arg0; | |
1d99702e | 6477 | PyObject * _argo0 = 0; |
efc5f224 | 6478 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6479 | |
6480 | self = self; | |
efc5f224 | 6481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0)) |
8ab979d7 | 6482 | return NULL; |
1d99702e RD |
6483 | if (_argo0) { |
6484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p."); |
6487 | return NULL; | |
6488 | } | |
6489 | } | |
cf694132 RD |
6490 | { |
6491 | wxPy_BEGIN_ALLOW_THREADS; | |
6492 | wxSlider_ClearSel(_arg0); | |
6493 | ||
6494 | wxPy_END_ALLOW_THREADS; | |
6495 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6496 | _resultobj = Py_None; |
6497 | return _resultobj; | |
6498 | } | |
6499 | ||
6500 | #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks()) | |
efc5f224 | 6501 | static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6502 | PyObject * _resultobj; |
6503 | wxSlider * _arg0; | |
1d99702e | 6504 | PyObject * _argo0 = 0; |
efc5f224 | 6505 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6506 | |
6507 | self = self; | |
efc5f224 | 6508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0)) |
8ab979d7 | 6509 | return NULL; |
1d99702e RD |
6510 | if (_argo0) { |
6511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p."); |
6514 | return NULL; | |
6515 | } | |
6516 | } | |
cf694132 RD |
6517 | { |
6518 | wxPy_BEGIN_ALLOW_THREADS; | |
6519 | wxSlider_ClearTicks(_arg0); | |
6520 | ||
6521 | wxPy_END_ALLOW_THREADS; | |
6522 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6523 | _resultobj = Py_None; |
6524 | return _resultobj; | |
6525 | } | |
6526 | ||
6527 | #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize()) | |
efc5f224 | 6528 | static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6529 | PyObject * _resultobj; |
6530 | int _result; | |
6531 | wxSlider * _arg0; | |
1d99702e | 6532 | PyObject * _argo0 = 0; |
efc5f224 | 6533 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6534 | |
6535 | self = self; | |
efc5f224 | 6536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0)) |
8ab979d7 | 6537 | return NULL; |
1d99702e RD |
6538 | if (_argo0) { |
6539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p."); |
6542 | return NULL; | |
6543 | } | |
6544 | } | |
cf694132 RD |
6545 | { |
6546 | wxPy_BEGIN_ALLOW_THREADS; | |
6547 | _result = (int )wxSlider_GetLineSize(_arg0); | |
6548 | ||
6549 | wxPy_END_ALLOW_THREADS; | |
6550 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6551 | return _resultobj; |
6552 | } | |
6553 | ||
6554 | #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax()) | |
efc5f224 | 6555 | static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6556 | PyObject * _resultobj; |
6557 | int _result; | |
6558 | wxSlider * _arg0; | |
1d99702e | 6559 | PyObject * _argo0 = 0; |
efc5f224 | 6560 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6561 | |
6562 | self = self; | |
efc5f224 | 6563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0)) |
8ab979d7 | 6564 | return NULL; |
1d99702e RD |
6565 | if (_argo0) { |
6566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p."); |
6569 | return NULL; | |
6570 | } | |
6571 | } | |
cf694132 RD |
6572 | { |
6573 | wxPy_BEGIN_ALLOW_THREADS; | |
6574 | _result = (int )wxSlider_GetMax(_arg0); | |
6575 | ||
6576 | wxPy_END_ALLOW_THREADS; | |
6577 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6578 | return _resultobj; |
6579 | } | |
6580 | ||
6581 | #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin()) | |
efc5f224 | 6582 | static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6583 | PyObject * _resultobj; |
6584 | int _result; | |
6585 | wxSlider * _arg0; | |
1d99702e | 6586 | PyObject * _argo0 = 0; |
efc5f224 | 6587 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6588 | |
6589 | self = self; | |
efc5f224 | 6590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0)) |
8ab979d7 | 6591 | return NULL; |
1d99702e RD |
6592 | if (_argo0) { |
6593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p."); |
6596 | return NULL; | |
6597 | } | |
6598 | } | |
cf694132 RD |
6599 | { |
6600 | wxPy_BEGIN_ALLOW_THREADS; | |
6601 | _result = (int )wxSlider_GetMin(_arg0); | |
6602 | ||
6603 | wxPy_END_ALLOW_THREADS; | |
6604 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6605 | return _resultobj; |
6606 | } | |
6607 | ||
6608 | #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize()) | |
efc5f224 | 6609 | static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6610 | PyObject * _resultobj; |
6611 | int _result; | |
6612 | wxSlider * _arg0; | |
1d99702e | 6613 | PyObject * _argo0 = 0; |
efc5f224 | 6614 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6615 | |
6616 | self = self; | |
efc5f224 | 6617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0)) |
8ab979d7 | 6618 | return NULL; |
1d99702e RD |
6619 | if (_argo0) { |
6620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p."); |
6623 | return NULL; | |
6624 | } | |
6625 | } | |
cf694132 RD |
6626 | { |
6627 | wxPy_BEGIN_ALLOW_THREADS; | |
6628 | _result = (int )wxSlider_GetPageSize(_arg0); | |
6629 | ||
6630 | wxPy_END_ALLOW_THREADS; | |
6631 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6632 | return _resultobj; |
6633 | } | |
6634 | ||
6635 | #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd()) | |
efc5f224 | 6636 | static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6637 | PyObject * _resultobj; |
6638 | int _result; | |
6639 | wxSlider * _arg0; | |
1d99702e | 6640 | PyObject * _argo0 = 0; |
efc5f224 | 6641 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6642 | |
6643 | self = self; | |
efc5f224 | 6644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0)) |
8ab979d7 | 6645 | return NULL; |
1d99702e RD |
6646 | if (_argo0) { |
6647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p."); |
6650 | return NULL; | |
6651 | } | |
6652 | } | |
cf694132 RD |
6653 | { |
6654 | wxPy_BEGIN_ALLOW_THREADS; | |
6655 | _result = (int )wxSlider_GetSelEnd(_arg0); | |
6656 | ||
6657 | wxPy_END_ALLOW_THREADS; | |
6658 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6659 | return _resultobj; |
6660 | } | |
6661 | ||
6662 | #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart()) | |
efc5f224 | 6663 | static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6664 | PyObject * _resultobj; |
6665 | int _result; | |
6666 | wxSlider * _arg0; | |
1d99702e | 6667 | PyObject * _argo0 = 0; |
efc5f224 | 6668 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6669 | |
6670 | self = self; | |
efc5f224 | 6671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0)) |
8ab979d7 | 6672 | return NULL; |
1d99702e RD |
6673 | if (_argo0) { |
6674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p."); |
6677 | return NULL; | |
6678 | } | |
6679 | } | |
cf694132 RD |
6680 | { |
6681 | wxPy_BEGIN_ALLOW_THREADS; | |
6682 | _result = (int )wxSlider_GetSelStart(_arg0); | |
6683 | ||
6684 | wxPy_END_ALLOW_THREADS; | |
6685 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6686 | return _resultobj; |
6687 | } | |
6688 | ||
6689 | #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength()) | |
efc5f224 | 6690 | static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6691 | PyObject * _resultobj; |
6692 | int _result; | |
6693 | wxSlider * _arg0; | |
1d99702e | 6694 | PyObject * _argo0 = 0; |
efc5f224 | 6695 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6696 | |
6697 | self = self; | |
efc5f224 | 6698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0)) |
8ab979d7 | 6699 | return NULL; |
1d99702e RD |
6700 | if (_argo0) { |
6701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p."); |
6704 | return NULL; | |
6705 | } | |
6706 | } | |
cf694132 RD |
6707 | { |
6708 | wxPy_BEGIN_ALLOW_THREADS; | |
6709 | _result = (int )wxSlider_GetThumbLength(_arg0); | |
6710 | ||
6711 | wxPy_END_ALLOW_THREADS; | |
6712 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6713 | return _resultobj; |
6714 | } | |
6715 | ||
6716 | #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq()) | |
efc5f224 | 6717 | static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6718 | PyObject * _resultobj; |
6719 | int _result; | |
6720 | wxSlider * _arg0; | |
1d99702e | 6721 | PyObject * _argo0 = 0; |
efc5f224 | 6722 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6723 | |
6724 | self = self; | |
efc5f224 | 6725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0)) |
8ab979d7 | 6726 | return NULL; |
1d99702e RD |
6727 | if (_argo0) { |
6728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p."); |
6731 | return NULL; | |
6732 | } | |
6733 | } | |
cf694132 RD |
6734 | { |
6735 | wxPy_BEGIN_ALLOW_THREADS; | |
6736 | _result = (int )wxSlider_GetTickFreq(_arg0); | |
6737 | ||
6738 | wxPy_END_ALLOW_THREADS; | |
6739 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6740 | return _resultobj; |
6741 | } | |
6742 | ||
6743 | #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue()) | |
efc5f224 | 6744 | static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6745 | PyObject * _resultobj; |
6746 | int _result; | |
6747 | wxSlider * _arg0; | |
1d99702e | 6748 | PyObject * _argo0 = 0; |
efc5f224 | 6749 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
6750 | |
6751 | self = self; | |
efc5f224 | 6752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0)) |
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_GetValue. Expected _wxSlider_p."); |
6758 | return NULL; | |
6759 | } | |
6760 | } | |
cf694132 RD |
6761 | { |
6762 | wxPy_BEGIN_ALLOW_THREADS; | |
6763 | _result = (int )wxSlider_GetValue(_arg0); | |
6764 | ||
6765 | wxPy_END_ALLOW_THREADS; | |
6766 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6767 | return _resultobj; |
6768 | } | |
6769 | ||
6770 | #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1)) | |
efc5f224 | 6771 | static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6772 | PyObject * _resultobj; |
6773 | wxSlider * _arg0; | |
6774 | int _arg1; | |
6775 | int _arg2; | |
1d99702e | 6776 | PyObject * _argo0 = 0; |
efc5f224 | 6777 | char *_kwnames[] = { "self","minValue","maxValue", NULL }; |
8ab979d7 RD |
6778 | |
6779 | self = self; | |
efc5f224 | 6780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
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_SetRange. Expected _wxSlider_p."); |
6786 | return NULL; | |
6787 | } | |
6788 | } | |
cf694132 RD |
6789 | { |
6790 | wxPy_BEGIN_ALLOW_THREADS; | |
6791 | wxSlider_SetRange(_arg0,_arg1,_arg2); | |
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_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1)) | |
efc5f224 | 6800 | static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6801 | PyObject * _resultobj; |
6802 | wxSlider * _arg0; | |
6803 | int _arg1; | |
6804 | int _arg2; | |
1d99702e | 6805 | PyObject * _argo0 = 0; |
efc5f224 | 6806 | char *_kwnames[] = { "self","n","pos", NULL }; |
8ab979d7 RD |
6807 | |
6808 | self = self; | |
efc5f224 | 6809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 6810 | return NULL; |
1d99702e RD |
6811 | if (_argo0) { |
6812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p."); |
6815 | return NULL; | |
6816 | } | |
6817 | } | |
cf694132 RD |
6818 | { |
6819 | wxPy_BEGIN_ALLOW_THREADS; | |
6820 | wxSlider_SetTickFreq(_arg0,_arg1,_arg2); | |
6821 | ||
6822 | wxPy_END_ALLOW_THREADS; | |
6823 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6824 | _resultobj = Py_None; |
6825 | return _resultobj; | |
6826 | } | |
6827 | ||
6828 | #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0)) | |
efc5f224 | 6829 | static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6830 | PyObject * _resultobj; |
6831 | wxSlider * _arg0; | |
6832 | int _arg1; | |
1d99702e | 6833 | PyObject * _argo0 = 0; |
efc5f224 | 6834 | char *_kwnames[] = { "self","lineSize", NULL }; |
8ab979d7 RD |
6835 | |
6836 | self = self; | |
efc5f224 | 6837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 6838 | return NULL; |
1d99702e RD |
6839 | if (_argo0) { |
6840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p."); |
6843 | return NULL; | |
6844 | } | |
6845 | } | |
cf694132 RD |
6846 | { |
6847 | wxPy_BEGIN_ALLOW_THREADS; | |
6848 | wxSlider_SetLineSize(_arg0,_arg1); | |
6849 | ||
6850 | wxPy_END_ALLOW_THREADS; | |
6851 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6852 | _resultobj = Py_None; |
6853 | return _resultobj; | |
6854 | } | |
6855 | ||
6856 | #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0)) | |
efc5f224 | 6857 | static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6858 | PyObject * _resultobj; |
6859 | wxSlider * _arg0; | |
6860 | int _arg1; | |
1d99702e | 6861 | PyObject * _argo0 = 0; |
efc5f224 | 6862 | char *_kwnames[] = { "self","pageSize", NULL }; |
8ab979d7 RD |
6863 | |
6864 | self = self; | |
efc5f224 | 6865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 6866 | return NULL; |
1d99702e RD |
6867 | if (_argo0) { |
6868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p."); |
6871 | return NULL; | |
6872 | } | |
6873 | } | |
cf694132 RD |
6874 | { |
6875 | wxPy_BEGIN_ALLOW_THREADS; | |
6876 | wxSlider_SetPageSize(_arg0,_arg1); | |
6877 | ||
6878 | wxPy_END_ALLOW_THREADS; | |
6879 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6880 | _resultobj = Py_None; |
6881 | return _resultobj; | |
6882 | } | |
6883 | ||
6884 | #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
efc5f224 | 6885 | static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6886 | PyObject * _resultobj; |
6887 | wxSlider * _arg0; | |
6888 | int _arg1; | |
6889 | int _arg2; | |
1d99702e | 6890 | PyObject * _argo0 = 0; |
efc5f224 | 6891 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
8ab979d7 RD |
6892 | |
6893 | self = self; | |
efc5f224 | 6894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 6895 | return NULL; |
1d99702e RD |
6896 | if (_argo0) { |
6897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p."); |
6900 | return NULL; | |
6901 | } | |
6902 | } | |
cf694132 RD |
6903 | { |
6904 | wxPy_BEGIN_ALLOW_THREADS; | |
6905 | wxSlider_SetSelection(_arg0,_arg1,_arg2); | |
6906 | ||
6907 | wxPy_END_ALLOW_THREADS; | |
6908 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6909 | _resultobj = Py_None; |
6910 | return _resultobj; | |
6911 | } | |
6912 | ||
6913 | #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0)) | |
efc5f224 | 6914 | static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6915 | PyObject * _resultobj; |
6916 | wxSlider * _arg0; | |
6917 | int _arg1; | |
1d99702e | 6918 | PyObject * _argo0 = 0; |
efc5f224 | 6919 | char *_kwnames[] = { "self","len", NULL }; |
8ab979d7 RD |
6920 | |
6921 | self = self; | |
efc5f224 | 6922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 6923 | return NULL; |
1d99702e RD |
6924 | if (_argo0) { |
6925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p."); |
6928 | return NULL; | |
6929 | } | |
6930 | } | |
cf694132 RD |
6931 | { |
6932 | wxPy_BEGIN_ALLOW_THREADS; | |
6933 | wxSlider_SetThumbLength(_arg0,_arg1); | |
6934 | ||
6935 | wxPy_END_ALLOW_THREADS; | |
6936 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6937 | _resultobj = Py_None; |
6938 | return _resultobj; | |
6939 | } | |
6940 | ||
6941 | #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0)) | |
efc5f224 | 6942 | static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6943 | PyObject * _resultobj; |
6944 | wxSlider * _arg0; | |
6945 | int _arg1; | |
1d99702e | 6946 | PyObject * _argo0 = 0; |
efc5f224 | 6947 | char *_kwnames[] = { "self","tickPos", NULL }; |
8ab979d7 RD |
6948 | |
6949 | self = self; | |
efc5f224 | 6950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 6951 | return NULL; |
1d99702e RD |
6952 | if (_argo0) { |
6953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p."); |
6956 | return NULL; | |
6957 | } | |
6958 | } | |
cf694132 RD |
6959 | { |
6960 | wxPy_BEGIN_ALLOW_THREADS; | |
6961 | wxSlider_SetTick(_arg0,_arg1); | |
6962 | ||
6963 | wxPy_END_ALLOW_THREADS; | |
6964 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6965 | _resultobj = Py_None; |
6966 | return _resultobj; | |
6967 | } | |
6968 | ||
6969 | #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
efc5f224 | 6970 | static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
6971 | PyObject * _resultobj; |
6972 | wxSlider * _arg0; | |
6973 | int _arg1; | |
1d99702e | 6974 | PyObject * _argo0 = 0; |
efc5f224 | 6975 | char *_kwnames[] = { "self","value", NULL }; |
8ab979d7 RD |
6976 | |
6977 | self = self; | |
efc5f224 | 6978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 6979 | return NULL; |
1d99702e RD |
6980 | if (_argo0) { |
6981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
8ab979d7 RD |
6983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p."); |
6984 | return NULL; | |
6985 | } | |
6986 | } | |
cf694132 RD |
6987 | { |
6988 | wxPy_BEGIN_ALLOW_THREADS; | |
6989 | wxSlider_SetValue(_arg0,_arg1); | |
6990 | ||
6991 | wxPy_END_ALLOW_THREADS; | |
6992 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
6993 | _resultobj = Py_None; |
6994 | return _resultobj; | |
6995 | } | |
6996 | ||
6997 | static PyMethodDef controlscMethods[] = { | |
efc5f224 RD |
6998 | { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS }, |
6999 | { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS }, | |
7000 | { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS }, | |
7001 | { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7002 | { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
7003 | { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS }, | |
7004 | { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS }, | |
7005 | { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
7006 | { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
7007 | { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS }, | |
7008 | { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS }, | |
7009 | { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS }, | |
7010 | { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS }, | |
7011 | { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
7012 | { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS }, | |
7013 | { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS }, | |
7014 | { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS }, | |
7015 | { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS }, | |
7016 | { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS }, | |
7017 | { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS }, | |
7018 | { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
7019 | { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
7020 | { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS }, | |
7021 | { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS }, | |
7022 | { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS }, | |
7023 | { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
7024 | { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7025 | { "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS }, | |
7026 | { "wxRadioBox_Number", (PyCFunction) _wrap_wxRadioBox_Number, METH_VARARGS | METH_KEYWORDS }, | |
7027 | { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
7028 | { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS }, | |
7029 | { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7030 | { "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS }, | |
7031 | { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS }, | |
7032 | { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS }, | |
7033 | { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS }, | |
7034 | { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS }, | |
7035 | { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
7036 | { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
7037 | { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
7038 | { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS }, | |
7039 | { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
7040 | { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
7041 | { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
7042 | { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS }, | |
7043 | { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS }, | |
7044 | { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS }, | |
7045 | { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS }, | |
7046 | { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS }, | |
7047 | { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS }, | |
7048 | { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS }, | |
7049 | { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
7050 | { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS }, | |
7051 | { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
b1462dfa RD |
7052 | { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS }, |
7053 | { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
7054 | { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7055 | { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS }, |
7056 | { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7057 | { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
7058 | { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
7059 | { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
7060 | { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS }, | |
7061 | { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS }, | |
7062 | { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS }, | |
7063 | { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, | |
7064 | { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS }, | |
7065 | { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS }, | |
7066 | { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
7067 | { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7068 | { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, | |
7069 | { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
7070 | { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS }, | |
7071 | { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, | |
7072 | { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS }, | |
7073 | { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS }, | |
7074 | { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS }, | |
7075 | { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
7076 | { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
7077 | { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS }, | |
7078 | { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
7079 | { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS }, | |
7080 | { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS }, | |
7081 | { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS }, | |
7082 | { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, | |
7083 | { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
7084 | { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS }, | |
7085 | { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
7086 | { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
7087 | { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
7088 | { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
7089 | { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS }, | |
694759cf | 7090 | { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7091 | { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS }, |
7092 | { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, | |
7093 | { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS }, | |
7094 | { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
7095 | { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS }, | |
7096 | { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7097 | { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS }, | |
7098 | { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS }, | |
7099 | { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS }, | |
7100 | { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS }, | |
7101 | { "wxListBox_Number", (PyCFunction) _wrap_wxListBox_Number, METH_VARARGS | METH_KEYWORDS }, | |
7102 | { "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
7103 | { "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS }, | |
2f90df85 | 7104 | { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7105 | { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS }, |
7106 | { "wxListBox_GetSelection", (PyCFunction) _wrap_wxListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7107 | { "wxListBox_FindString", (PyCFunction) _wrap_wxListBox_FindString, METH_VARARGS | METH_KEYWORDS }, | |
7108 | { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS }, | |
7109 | { "wxListBox_Delete", (PyCFunction) _wrap_wxListBox_Delete, METH_VARARGS | METH_KEYWORDS }, | |
7110 | { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
7111 | { "wxListBox_Append", (PyCFunction) _wrap_wxListBox_Append, METH_VARARGS | METH_KEYWORDS }, | |
7112 | { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS }, | |
7113 | { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7114 | { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7115 | { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS }, | |
7116 | { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS }, | |
7117 | { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS }, | |
7118 | { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
7119 | { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS }, | |
7120 | { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
7121 | { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS }, | |
7122 | { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
7123 | { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS }, | |
7124 | { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS }, | |
7125 | { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS }, | |
7126 | { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS }, | |
7127 | { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
7128 | { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS }, | |
7129 | { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7130 | { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, | |
7131 | { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
7132 | { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS }, | |
7133 | { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS }, | |
7134 | { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS }, | |
7135 | { "wxComboBox_Number", (PyCFunction) _wrap_wxComboBox_Number, METH_VARARGS | METH_KEYWORDS }, | |
7136 | { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
7137 | { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
7138 | { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS }, | |
7139 | { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7140 | { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, | |
7141 | { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
7142 | { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS }, | |
7143 | { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS }, | |
7144 | { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS }, | |
7145 | { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS }, | |
7146 | { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
7147 | { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS }, | |
7148 | { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS }, | |
7149 | { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
7150 | { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7151 | { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS }, | |
7152 | { "wxChoice_Number", (PyCFunction) _wrap_wxChoice_Number, METH_VARARGS | METH_KEYWORDS }, | |
7153 | { "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
7154 | { "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS }, | |
7155 | { "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
7156 | { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS }, | |
7157 | { "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS }, | |
7158 | { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS }, | |
7159 | { "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS }, | |
7160 | { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS }, | |
7161 | { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
7162 | { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
7163 | { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS }, | |
7164 | { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, | |
7165 | { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, | |
7166 | { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, | |
7167 | { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, | |
7168 | { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, | |
7169 | { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, | |
7170 | { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, | |
7171 | { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, | |
7172 | { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS }, | |
7173 | { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS }, | |
7174 | { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS }, | |
7175 | { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7176 | { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7177 | { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS }, | |
8ab979d7 RD |
7178 | { NULL, NULL } |
7179 | }; | |
1d99702e RD |
7180 | #ifdef __cplusplus |
7181 | } | |
7182 | #endif | |
7183 | /* | |
7184 | * This table is used by the pointer type-checker | |
7185 | */ | |
7186 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
7187 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
7188 | { "_wxEvent","_class_wxEvent",0}, | |
7189 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
7190 | { "_signed_long","_long",0}, | |
7191 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 7192 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 7193 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 7194 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 7195 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
7196 | { "_wxPrintQuality","_int",0}, |
7197 | { "_wxPrintQuality","_signed_int",0}, | |
7198 | { "_wxPrintQuality","_unsigned_int",0}, | |
7199 | { "_wxPrintQuality","_wxWindowID",0}, | |
7200 | { "_wxPrintQuality","_uint",0}, | |
7201 | { "_wxPrintQuality","_EBool",0}, | |
7202 | { "_wxPrintQuality","_size_t",0}, | |
b1462dfa | 7203 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
1d99702e | 7204 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
b1462dfa | 7205 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e RD |
7206 | { "_class_wxMenuBar","_wxMenuBar",0}, |
7207 | { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler}, | |
7208 | { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler}, | |
7209 | { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
7210 | { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
7211 | { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
7212 | { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
7213 | { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
7214 | { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
7215 | { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
7216 | { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
7217 | { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
7218 | { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
7219 | { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
7220 | { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
7221 | { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
7222 | { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
7223 | { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
7224 | { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
7225 | { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
7226 | { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
7227 | { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
7228 | { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
7229 | { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
7230 | { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
7231 | { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
7232 | { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
7233 | { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
7234 | { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
7235 | { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
7236 | { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
7237 | { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
7238 | { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
7239 | { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
7240 | { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
7241 | { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler}, | |
7242 | { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler}, | |
7243 | { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler}, | |
7244 | { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler}, | |
7245 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
7246 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
7247 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
7248 | { "_wxCursor","_class_wxCursor",0}, | |
7249 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
7250 | { "_wxMask","_class_wxMask",0}, | |
7251 | { "_wxPen","_class_wxPen",0}, | |
7252 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
7253 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 7254 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 7255 | { "_wxStaticBox","_class_wxStaticBox",0}, |
65dd82cb RD |
7256 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
7257 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
7258 | { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice}, |
7259 | { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice}, | |
7260 | { "_wxChoice","_class_wxChoice",0}, | |
7261 | { "_wxSlider","_class_wxSlider",0}, | |
7262 | { "_long","_wxDash",0}, | |
7263 | { "_long","_unsigned_long",0}, | |
7264 | { "_long","_signed_long",0}, | |
7265 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 7266 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
7267 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
7268 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
7269 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 7270 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e RD |
7271 | { "_class_wxGauge","_wxGauge",0}, |
7272 | { "_wxDC","_class_wxDC",0}, | |
b1462dfa | 7273 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
1d99702e | 7274 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
b1462dfa | 7275 | { "_size_t","_wxCoord",0}, |
1d99702e RD |
7276 | { "_size_t","_wxPrintQuality",0}, |
7277 | { "_size_t","_unsigned_int",0}, | |
7278 | { "_size_t","_int",0}, | |
7279 | { "_size_t","_wxWindowID",0}, | |
7280 | { "_size_t","_uint",0}, | |
7281 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 7282 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
1d99702e | 7283 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 7284 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
7285 | { "_class_wxMenuItem","_wxMenuItem",0}, |
7286 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
7287 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
7288 | { "_wxPanel","_class_wxPanel",0}, | |
7289 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
7290 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
7291 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
7292 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
7293 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 7294 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e RD |
7295 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
7296 | { "_wxColour","_class_wxColour",0}, | |
7297 | { "_class_wxDialog","_wxDialog",0}, | |
b1462dfa | 7298 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
7299 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
7300 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
b1462dfa | 7301 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
7302 | { "_wxStaticLine","_class_wxStaticLine",0}, |
7303 | { "_wxBrush","_class_wxBrush",0}, | |
b1462dfa RD |
7304 | { "_wxDataFormat","_class_wxDataFormat",0}, |
7305 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 7306 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 7307 | { "_uint","_wxCoord",0}, |
1d99702e RD |
7308 | { "_uint","_wxPrintQuality",0}, |
7309 | { "_uint","_size_t",0}, | |
7310 | { "_uint","_unsigned_int",0}, | |
7311 | { "_uint","_int",0}, | |
7312 | { "_uint","_wxWindowID",0}, | |
2f90df85 | 7313 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
7314 | { "_class_wxEvent","_wxEvent",0}, |
7315 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
7316 | { "_wxRect","_class_wxRect",0}, | |
7317 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
7318 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
7319 | { "_wxPoint","_class_wxPoint",0}, | |
7320 | { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton}, | |
7321 | { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton}, | |
7322 | { "_class_wxButton","_wxButton",0}, | |
7323 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
7324 | { "_wxBitmap","_class_wxBitmap",0}, | |
7325 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
7326 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
7327 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
7328 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
7329 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
7330 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 7331 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
7332 | { "_class_wxPyEvent","_wxPyEvent",0}, |
7333 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
7334 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
b1462dfa | 7335 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e RD |
7336 | { "_class_wxStaticLine","_wxStaticLine",0}, |
7337 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
b1462dfa | 7338 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
7339 | { "_EBool","_wxPrintQuality",0}, |
7340 | { "_EBool","_signed_int",0}, | |
7341 | { "_EBool","_int",0}, | |
7342 | { "_EBool","_wxWindowID",0}, | |
7343 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 7344 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 7345 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 7346 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
7347 | { "_wxStaticText","_class_wxStaticText",0}, |
7348 | { "_wxFont","_class_wxFont",0}, | |
b1462dfa | 7349 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e RD |
7350 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
7351 | { "_unsigned_long","_wxDash",0}, | |
7352 | { "_unsigned_long","_long",0}, | |
7353 | { "_class_wxRect","_wxRect",0}, | |
7354 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 7355 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
7356 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
7357 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e RD |
7358 | { "_class_wxPyTimer","_wxPyTimer",0}, |
7359 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
7360 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
7361 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
7362 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
7363 | { "_class_wxPanel","_wxPanel",0}, | |
7364 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
7365 | { "_wxComboBox","_class_wxComboBox",0}, | |
7366 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 7367 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
7368 | { "_signed_int","_wxPrintQuality",0}, |
7369 | { "_signed_int","_EBool",0}, | |
7370 | { "_signed_int","_wxWindowID",0}, | |
7371 | { "_signed_int","_int",0}, | |
7372 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
7373 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
7374 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
b1462dfa | 7375 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
7376 | { "_wxMenu","_class_wxMenu",0}, |
7377 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
7378 | { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
7379 | { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
7380 | { "_wxListBox","_class_wxListBox",0}, | |
7381 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
7382 | { "_WXTYPE","_short",0}, | |
7383 | { "_WXTYPE","_signed_short",0}, | |
7384 | { "_WXTYPE","_unsigned_short",0}, | |
b1462dfa | 7385 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
7386 | { "_class_wxBrush","_wxBrush",0}, |
7387 | { "_unsigned_short","_WXTYPE",0}, | |
7388 | { "_unsigned_short","_short",0}, | |
7389 | { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow}, | |
7390 | { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow}, | |
7391 | { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
7392 | { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
7393 | { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
7394 | { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
7395 | { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
7396 | { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
7397 | { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
7398 | { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
7399 | { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
7400 | { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
7401 | { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
7402 | { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
7403 | { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
7404 | { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
7405 | { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow}, | |
7406 | { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow}, | |
7407 | { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow}, | |
7408 | { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow}, | |
7409 | { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
7410 | { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
7411 | { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
7412 | { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
7413 | { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow}, | |
7414 | { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow}, | |
7415 | { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow}, | |
7416 | { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow}, | |
7417 | { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow}, | |
7418 | { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow}, | |
7419 | { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
7420 | { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
7421 | { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
7422 | { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
7423 | { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow}, | |
7424 | { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow}, | |
7425 | { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow}, | |
7426 | { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow}, | |
7427 | { "_class_wxWindow","_wxWindow",0}, | |
7428 | { "_class_wxStaticText","_wxStaticText",0}, | |
7429 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 7430 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 7431 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 7432 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 7433 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 7434 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 7435 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 7436 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
7437 | { "_wxClientDC","_class_wxClientDC",0}, |
7438 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
7439 | { "_class_wxPoint","_wxPoint",0}, | |
7440 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
7441 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
7442 | { "_signed_short","_WXTYPE",0}, | |
7443 | { "_signed_short","_short",0}, | |
7444 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 7445 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
7446 | { "_wxPaintDC","_class_wxPaintDC",0}, |
7447 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
7448 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
7449 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
7450 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
7451 | { "_class_wxCursor","_wxCursor",0}, | |
b1462dfa | 7452 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
7453 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
7454 | { "_unsigned_char","_byte",0}, | |
7455 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
7456 | { "_class_wxMenu","_wxMenu",0}, | |
7457 | { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl}, | |
7458 | { "_wxControl","_wxSlider",SwigwxSliderTowxControl}, | |
7459 | { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
7460 | { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
7461 | { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
7462 | { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
7463 | { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
7464 | { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
7465 | { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
7466 | { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
7467 | { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl}, | |
7468 | { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl}, | |
7469 | { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
7470 | { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
7471 | { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
7472 | { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
7473 | { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl}, | |
7474 | { "_wxControl","_wxListBox",SwigwxListBoxTowxControl}, | |
7475 | { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl}, | |
7476 | { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl}, | |
7477 | { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl}, | |
7478 | { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl}, | |
7479 | { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
7480 | { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
7481 | { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl}, | |
7482 | { "_wxControl","_wxGauge",SwigwxGaugeTowxControl}, | |
7483 | { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl}, | |
7484 | { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl}, | |
7485 | { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl}, | |
7486 | { "_wxControl","_wxChoice",SwigwxChoiceTowxControl}, | |
7487 | { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
7488 | { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
7489 | { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
7490 | { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
7491 | { "_wxControl","_class_wxButton",SwigwxButtonTowxControl}, | |
7492 | { "_wxControl","_wxButton",SwigwxButtonTowxControl}, | |
7493 | { "_wxControl","_class_wxControl",0}, | |
7494 | { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
7495 | { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
7496 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 7497 | { "_unsigned_int","_wxCoord",0}, |
1d99702e RD |
7498 | { "_unsigned_int","_wxPrintQuality",0}, |
7499 | { "_unsigned_int","_size_t",0}, | |
7500 | { "_unsigned_int","_uint",0}, | |
7501 | { "_unsigned_int","_wxWindowID",0}, | |
7502 | { "_unsigned_int","_int",0}, | |
7503 | { "_wxIcon","_class_wxIcon",0}, | |
7504 | { "_wxDialog","_class_wxDialog",0}, | |
7505 | { "_class_wxPen","_wxPen",0}, | |
7506 | { "_short","_WXTYPE",0}, | |
7507 | { "_short","_unsigned_short",0}, | |
7508 | { "_short","_signed_short",0}, | |
7509 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
7510 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
7511 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
7512 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
7513 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
7514 | { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice}, | |
7515 | { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice}, | |
7516 | { "_class_wxChoice","_wxChoice",0}, | |
7517 | { "_class_wxSlider","_wxSlider",0}, | |
7518 | { "_class_wxImageList","_wxImageList",0}, | |
7519 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
48115f4a | 7520 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 7521 | { "_wxWindowID","_wxCoord",0}, |
1d99702e RD |
7522 | { "_wxWindowID","_wxPrintQuality",0}, |
7523 | { "_wxWindowID","_size_t",0}, | |
7524 | { "_wxWindowID","_EBool",0}, | |
7525 | { "_wxWindowID","_uint",0}, | |
7526 | { "_wxWindowID","_int",0}, | |
7527 | { "_wxWindowID","_signed_int",0}, | |
7528 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 7529 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 7530 | { "_int","_wxCoord",0}, |
1d99702e RD |
7531 | { "_int","_wxPrintQuality",0}, |
7532 | { "_int","_size_t",0}, | |
7533 | { "_int","_EBool",0}, | |
7534 | { "_int","_uint",0}, | |
7535 | { "_int","_wxWindowID",0}, | |
7536 | { "_int","_unsigned_int",0}, | |
7537 | { "_int","_signed_int",0}, | |
7538 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 7539 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e | 7540 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
48115f4a RD |
7541 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
7542 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
7543 | { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton}, |
7544 | { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton}, | |
7545 | { "_wxButton","_class_wxButton",0}, | |
7546 | { "_wxSize","_class_wxSize",0}, | |
7547 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
7548 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
65dd82cb | 7549 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
7550 | { "_class_wxPaintDC","_wxPaintDC",0}, |
7551 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
b1462dfa | 7552 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
7553 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
7554 | { "_class_wxComboBox","_wxComboBox",0}, | |
7555 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 7556 | { "_wxValidator","_class_wxValidator",0}, |
1d99702e RD |
7557 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
7558 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
7559 | { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl}, | |
7560 | { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl}, | |
7561 | { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
7562 | { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
7563 | { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
7564 | { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
7565 | { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
7566 | { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
7567 | { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
7568 | { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
7569 | { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl}, | |
7570 | { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl}, | |
7571 | { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
7572 | { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
7573 | { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
7574 | { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
7575 | { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl}, | |
7576 | { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl}, | |
7577 | { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl}, | |
7578 | { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl}, | |
7579 | { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl}, | |
7580 | { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl}, | |
7581 | { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
7582 | { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
7583 | { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl}, | |
7584 | { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl}, | |
7585 | { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl}, | |
7586 | { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl}, | |
7587 | { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl}, | |
7588 | { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl}, | |
7589 | { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
7590 | { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
7591 | { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
7592 | { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
7593 | { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl}, | |
7594 | { "_class_wxControl","_wxButton",SwigwxButtonTowxControl}, | |
7595 | { "_class_wxControl","_wxControl",0}, | |
7596 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
7597 | { "_class_wxIcon","_wxIcon",0}, | |
7598 | { "_class_wxColour","_wxColour",0}, | |
7599 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
7600 | { "_wxPalette","_class_wxPalette",0}, | |
7601 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
7602 | { "_wxCoord","_int",0}, |
7603 | { "_wxCoord","_signed_int",0}, | |
7604 | { "_wxCoord","_unsigned_int",0}, | |
7605 | { "_wxCoord","_wxWindowID",0}, | |
7606 | { "_wxCoord","_uint",0}, | |
7607 | { "_wxCoord","_EBool",0}, | |
7608 | { "_wxCoord","_size_t",0}, | |
7609 | { "_wxCoord","_wxPrintQuality",0}, | |
1d99702e | 7610 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 7611 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e RD |
7612 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
7613 | { "_wxRegion","_class_wxRegion",0}, | |
7614 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
b1462dfa | 7615 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
7616 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
7617 | { "_wxGauge","_class_wxGauge",0}, | |
7618 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 7619 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1d99702e RD |
7620 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
7621 | { "_class_wxClientDC","_wxClientDC",0}, | |
7622 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
b1462dfa | 7623 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
7624 | { "_class_wxSize","_wxSize",0}, |
7625 | { "_class_wxBitmap","_wxBitmap",0}, | |
7626 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
b1462dfa | 7627 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e RD |
7628 | { "_wxMenuBar","_class_wxMenuBar",0}, |
7629 | { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler}, | |
7630 | { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler}, | |
7631 | { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
7632 | { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
7633 | { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
7634 | { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
7635 | { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
7636 | { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
7637 | { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
7638 | { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
7639 | { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
7640 | { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
7641 | { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
7642 | { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
7643 | { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
7644 | { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
7645 | { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
7646 | { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
7647 | { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
7648 | { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
7649 | { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
7650 | { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
7651 | { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
7652 | { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
7653 | { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
7654 | { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
7655 | { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
7656 | { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
7657 | { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
7658 | { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
7659 | { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
7660 | { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
7661 | { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
7662 | { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
7663 | { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler}, | |
7664 | { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler}, | |
7665 | { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler}, | |
7666 | { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler}, | |
7667 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
7668 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
7669 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
7670 | { "_wxDash","_unsigned_long",0}, | |
7671 | { "_wxDash","_long",0}, | |
7672 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
7673 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
7674 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
7675 | { "_class_wxPalette","_wxPalette",0}, | |
b1462dfa | 7676 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 7677 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 7678 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
1d99702e RD |
7679 | { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow}, |
7680 | { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow}, | |
7681 | { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
7682 | { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
7683 | { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
7684 | { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
7685 | { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
7686 | { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
7687 | { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
7688 | { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
7689 | { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
7690 | { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
7691 | { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
7692 | { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
7693 | { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
7694 | { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
7695 | { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow}, | |
7696 | { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow}, | |
7697 | { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow}, | |
7698 | { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow}, | |
7699 | { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
7700 | { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
7701 | { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
7702 | { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
7703 | { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow}, | |
7704 | { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow}, | |
7705 | { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow}, | |
7706 | { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow}, | |
7707 | { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow}, | |
7708 | { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow}, | |
7709 | { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
7710 | { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
7711 | { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
7712 | { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
7713 | { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow}, | |
7714 | { "_wxWindow","_wxButton",SwigwxButtonTowxWindow}, | |
7715 | { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow}, | |
7716 | { "_wxWindow","_wxControl",SwigwxControlTowxWindow}, | |
7717 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 7718 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
7719 | {0,0,0}}; |
7720 | ||
8ab979d7 RD |
7721 | static PyObject *SWIG_globals; |
7722 | #ifdef __cplusplus | |
7723 | extern "C" | |
7724 | #endif | |
1d99702e | 7725 | SWIGEXPORT(void) initcontrolsc() { |
8ab979d7 RD |
7726 | PyObject *m, *d; |
7727 | SWIG_globals = SWIG_newvarlink(); | |
7728 | m = Py_InitModule("controlsc", controlscMethods); | |
7729 | d = PyModule_GetDict(m); | |
2f90df85 RD |
7730 | PyDict_SetItemString(d,"cvar", SWIG_globals); |
7731 | SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set); | |
1d99702e RD |
7732 | { |
7733 | int i; | |
7734 | for (i = 0; _swig_mapping[i].n1; i++) | |
7735 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
7736 | } | |
8ab979d7 | 7737 | } |