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