]>
Commit | Line | Data |
---|---|---|
70551f47 | 1 | /* |
2cd2fac8 | 2 | * FILE : src/gtk/controls.cpp |
70551f47 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
70551f47 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
2d091820 | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
70551f47 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1c09ae54 | 30 | # define SWIGEXPORT(a) a _export |
70551f47 | 31 | # else |
1c09ae54 | 32 | # define SWIGEXPORT(a) a |
70551f47 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1c09ae54 | 36 | # define SWIGEXPORT(a) a |
70551f47 RD |
37 | #endif |
38 | ||
1c09ae54 RD |
39 | #include "Python.h" |
40 | ||
70551f47 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
1c09ae54 | 44 | |
70551f47 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 *); | |
2d091820 | 48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
70551f47 RD |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
70551f47 RD |
54 | #define SWIG_init initcontrolsc |
55 | ||
56 | #define SWIG_name "controlsc" | |
57 | ||
58 | #include "helpers.h" | |
59 | #include <wx/slider.h> | |
62bd0874 | 60 | #include <wx/spinbutt.h> |
f6bcfd97 | 61 | #include <wx/spinctrl.h> |
ab9bc19b | 62 | #include <wx/dynarray.h> |
8bf5d46e | 63 | #include <wx/statline.h> |
7a446686 | 64 | #include <wx/tglbtn.h> |
70551f47 RD |
65 | |
66 | #ifdef __WXMSW__ | |
b26e2dc4 RD |
67 | #if wxUSE_OWNER_DRAWN |
68 | #include <wx/checklst.h> | |
69 | #endif | |
70551f47 RD |
70 | #endif |
71 | ||
c95e68d8 RD |
72 | #ifdef __WXGTK__ |
73 | #include <wx/checklst.h> | |
74 | #endif | |
75 | ||
d24a34bb | 76 | |
70551f47 RD |
77 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { |
78 | PyObject* o2; | |
1c09ae54 | 79 | if (!target) { |
70551f47 | 80 | target = o; |
1c09ae54 | 81 | } else if (target == Py_None) { |
70551f47 RD |
82 | Py_DECREF(Py_None); |
83 | target = o; | |
1c09ae54 | 84 | } else { |
70551f47 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 | ||
1c09ae54 | 101 | if (!target) { |
70551f47 | 102 | target = o; |
1c09ae54 | 103 | } else if (target == Py_None) { |
70551f47 RD |
104 | Py_DECREF(Py_None); |
105 | target = o; | |
1c09ae54 | 106 | } else { |
70551f47 RD |
107 | if (!PyTuple_Check(target)) { |
108 | o2 = target; | |
109 | target = PyTuple_New(1); | |
110 | PyTuple_SetItem(target, 0, o2); | |
111 | } | |
1c09ae54 RD |
112 | o3 = PyTuple_New(1); |
113 | PyTuple_SetItem(o3, 0, o); | |
70551f47 RD |
114 | |
115 | o2 = target; | |
1c09ae54 RD |
116 | target = PySequence_Concat(o2, o3); |
117 | Py_DECREF(o2); | |
70551f47 RD |
118 | Py_DECREF(o3); |
119 | } | |
120 | return target; | |
121 | } | |
122 | ||
7a446686 RD |
123 | #if PYTHON_API_VERSION >= 1009 |
124 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
125 | #else | |
126 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
127 | #endif | |
70551f47 | 128 | |
56f5d962 RD |
129 | wxSize wxButton_GetDefaultSize() { |
130 | return wxButton::GetDefaultSize(); | |
131 | } | |
2d091820 RD |
132 | #ifdef __cplusplus |
133 | extern "C" { | |
134 | #endif | |
37f6a977 RD |
135 | static int _wrap_wxDefaultValidator_set(PyObject *val) { |
136 | ||
137 | PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only."); | |
138 | return 1; | |
139 | } | |
140 | ||
141 | static PyObject *_wrap_wxDefaultValidator_get() { | |
142 | PyObject * pyobj; | |
143 | char ptemp[128]; | |
144 | ||
145 | SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p"); | |
146 | pyobj = PyString_FromString(ptemp); | |
147 | return pyobj; | |
148 | } | |
149 | ||
56f5d962 RD |
150 | static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
151 | PyObject * _resultobj; | |
152 | wxSize * _result; | |
153 | char *_kwnames[] = { NULL }; | |
154 | char _ptemp[128]; | |
155 | ||
156 | self = self; | |
157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames)) | |
158 | return NULL; | |
159 | { | |
160 | wxPy_BEGIN_ALLOW_THREADS; | |
161 | _result = new wxSize (wxButton_GetDefaultSize()); | |
162 | ||
163 | wxPy_END_ALLOW_THREADS; | |
164 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
165 | _resultobj = Py_BuildValue("s",_ptemp); | |
166 | return _resultobj; | |
167 | } | |
168 | ||
70551f47 RD |
169 | static void *SwigwxControlTowxWindow(void *ptr) { |
170 | wxControl *src; | |
171 | wxWindow *dest; | |
172 | src = (wxControl *) ptr; | |
173 | dest = (wxWindow *) src; | |
174 | return (void *) dest; | |
175 | } | |
176 | ||
177 | static void *SwigwxControlTowxEvtHandler(void *ptr) { | |
178 | wxControl *src; | |
179 | wxEvtHandler *dest; | |
180 | src = (wxControl *) ptr; | |
181 | dest = (wxEvtHandler *) src; | |
182 | return (void *) dest; | |
183 | } | |
184 | ||
9df61a29 RD |
185 | static void *SwigwxControlTowxObject(void *ptr) { |
186 | wxControl *src; | |
187 | wxObject *dest; | |
188 | src = (wxControl *) ptr; | |
189 | dest = (wxObject *) src; | |
190 | return (void *) dest; | |
191 | } | |
192 | ||
ab2208b5 | 193 | #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
56f5d962 RD |
194 | static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
195 | PyObject * _resultobj; | |
196 | wxControl * _result; | |
ab2208b5 RD |
197 | wxWindow * _arg0; |
198 | wxWindowID _arg1; | |
b68dc582 RD |
199 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
200 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
ab2208b5 | 201 | long _arg4 = (long ) 0; |
b68dc582 | 202 | wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator; |
ab2208b5 | 203 | char * _arg6 = (char *) "control"; |
56f5d962 | 204 | PyObject * _argo0 = 0; |
56f5d962 | 205 | wxPoint temp; |
ab2208b5 | 206 | PyObject * _obj2 = 0; |
56f5d962 | 207 | wxSize temp0; |
ab2208b5 RD |
208 | PyObject * _obj3 = 0; |
209 | PyObject * _argo5 = 0; | |
210 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; | |
211 | char _ptemp[128]; | |
56f5d962 RD |
212 | |
213 | self = self; | |
ab2208b5 | 214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
56f5d962 RD |
215 | return NULL; |
216 | if (_argo0) { | |
217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
ab2208b5 RD |
218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p."); | |
56f5d962 RD |
220 | return NULL; |
221 | } | |
222 | } | |
ab2208b5 | 223 | if (_obj2) |
56f5d962 | 224 | { |
ab2208b5 RD |
225 | _arg2 = &temp; |
226 | if (! wxPoint_helper(_obj2, &_arg2)) | |
56f5d962 RD |
227 | return NULL; |
228 | } | |
ab2208b5 | 229 | if (_obj3) |
56f5d962 | 230 | { |
ab2208b5 RD |
231 | _arg3 = &temp0; |
232 | if (! wxSize_helper(_obj3, &_arg3)) | |
56f5d962 RD |
233 | return NULL; |
234 | } | |
ab2208b5 RD |
235 | if (_argo5) { |
236 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
237 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p."); | |
56f5d962 RD |
239 | return NULL; |
240 | } | |
241 | } | |
242 | { | |
243 | wxPy_BEGIN_ALLOW_THREADS; | |
ab2208b5 | 244 | _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); |
56f5d962 RD |
245 | |
246 | wxPy_END_ALLOW_THREADS; | |
ab2208b5 RD |
247 | } if (_result) { |
248 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p"); | |
249 | _resultobj = Py_BuildValue("s",_ptemp); | |
250 | } else { | |
251 | Py_INCREF(Py_None); | |
252 | _resultobj = Py_None; | |
253 | } | |
56f5d962 RD |
254 | return _resultobj; |
255 | } | |
256 | ||
257 | #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0)) | |
258 | static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) { | |
259 | PyObject * _resultobj; | |
260 | wxControl * _arg0; | |
261 | wxCommandEvent * _arg1; | |
262 | PyObject * _argo0 = 0; | |
263 | PyObject * _argo1 = 0; | |
264 | char *_kwnames[] = { "self","event", NULL }; | |
265 | ||
266 | self = self; | |
267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1)) | |
268 | return NULL; | |
269 | if (_argo0) { | |
270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) { | |
272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p."); | |
273 | return NULL; | |
274 | } | |
275 | } | |
276 | if (_argo1) { | |
277 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
278 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) { | |
279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p."); | |
280 | return NULL; | |
281 | } | |
282 | } | |
283 | { | |
284 | wxPy_BEGIN_ALLOW_THREADS; | |
285 | wxControl_Command(_arg0,*_arg1); | |
286 | ||
287 | wxPy_END_ALLOW_THREADS; | |
288 | } Py_INCREF(Py_None); | |
289 | _resultobj = Py_None; | |
290 | return _resultobj; | |
291 | } | |
292 | ||
70551f47 | 293 | #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel()) |
107e4716 | 294 | static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
295 | PyObject * _resultobj; |
296 | wxString * _result; | |
297 | wxControl * _arg0; | |
2d091820 | 298 | PyObject * _argo0 = 0; |
107e4716 | 299 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
300 | |
301 | self = self; | |
107e4716 | 302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0)) |
70551f47 | 303 | return NULL; |
2d091820 RD |
304 | if (_argo0) { |
305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) { | |
70551f47 RD |
307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p."); |
308 | return NULL; | |
309 | } | |
310 | } | |
70551f47 | 311 | { |
ab9bc19b RD |
312 | wxPy_BEGIN_ALLOW_THREADS; |
313 | _result = new wxString (wxControl_GetLabel(_arg0)); | |
314 | ||
315 | wxPy_END_ALLOW_THREADS; | |
316 | }{ | |
e02c03a4 | 317 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
318 | } |
319 | { | |
320 | delete _result; | |
321 | } | |
322 | return _resultobj; | |
323 | } | |
324 | ||
325 | #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0)) | |
107e4716 | 326 | static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
327 | PyObject * _resultobj; |
328 | wxControl * _arg0; | |
329 | wxString * _arg1; | |
2d091820 | 330 | PyObject * _argo0 = 0; |
70551f47 | 331 | PyObject * _obj1 = 0; |
107e4716 | 332 | char *_kwnames[] = { "self","label", NULL }; |
70551f47 RD |
333 | |
334 | self = self; | |
107e4716 | 335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1)) |
70551f47 | 336 | return NULL; |
2d091820 RD |
337 | if (_argo0) { |
338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) { | |
70551f47 RD |
340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p."); |
341 | return NULL; | |
342 | } | |
343 | } | |
344 | { | |
2cd2fac8 RD |
345 | #if PYTHON_API_VERSION >= 1009 |
346 | char* tmpPtr; int tmpSize; | |
347 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 348 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
349 | return NULL; |
350 | } | |
351 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
352 | return NULL; | |
353 | _arg1 = new wxString(tmpPtr, tmpSize); | |
354 | #else | |
70551f47 RD |
355 | if (!PyString_Check(_obj1)) { |
356 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
357 | return NULL; | |
358 | } | |
2cd2fac8 RD |
359 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
360 | #endif | |
70551f47 | 361 | } |
ab9bc19b RD |
362 | { |
363 | wxPy_BEGIN_ALLOW_THREADS; | |
364 | wxControl_SetLabel(_arg0,*_arg1); | |
365 | ||
366 | wxPy_END_ALLOW_THREADS; | |
367 | } Py_INCREF(Py_None); | |
70551f47 RD |
368 | _resultobj = Py_None; |
369 | { | |
370 | if (_obj1) | |
371 | delete _arg1; | |
372 | } | |
373 | return _resultobj; | |
374 | } | |
375 | ||
376 | static void *SwigwxButtonTowxControl(void *ptr) { | |
377 | wxButton *src; | |
378 | wxControl *dest; | |
379 | src = (wxButton *) ptr; | |
380 | dest = (wxControl *) src; | |
381 | return (void *) dest; | |
382 | } | |
383 | ||
384 | static void *SwigwxButtonTowxWindow(void *ptr) { | |
385 | wxButton *src; | |
386 | wxWindow *dest; | |
387 | src = (wxButton *) ptr; | |
388 | dest = (wxWindow *) src; | |
389 | return (void *) dest; | |
390 | } | |
391 | ||
392 | static void *SwigwxButtonTowxEvtHandler(void *ptr) { | |
393 | wxButton *src; | |
394 | wxEvtHandler *dest; | |
395 | src = (wxButton *) ptr; | |
396 | dest = (wxEvtHandler *) src; | |
397 | return (void *) dest; | |
398 | } | |
399 | ||
9df61a29 RD |
400 | static void *SwigwxButtonTowxObject(void *ptr) { |
401 | wxButton *src; | |
402 | wxObject *dest; | |
403 | src = (wxButton *) ptr; | |
404 | dest = (wxObject *) src; | |
405 | return (void *) dest; | |
406 | } | |
407 | ||
70551f47 | 408 | #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) |
107e4716 | 409 | static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
410 | PyObject * _resultobj; |
411 | wxButton * _result; | |
412 | wxWindow * _arg0; | |
413 | wxWindowID _arg1; | |
414 | wxString * _arg2; | |
b68dc582 RD |
415 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
416 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 | 417 | long _arg5 = (long ) 0; |
b68dc582 | 418 | wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
419 | char * _arg7 = (char *) "button"; |
420 | PyObject * _argo0 = 0; | |
70551f47 | 421 | PyObject * _obj2 = 0; |
37f6a977 RD |
422 | wxPoint temp; |
423 | PyObject * _obj3 = 0; | |
424 | wxSize temp0; | |
425 | PyObject * _obj4 = 0; | |
2d091820 | 426 | PyObject * _argo6 = 0; |
107e4716 | 427 | char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL }; |
70551f47 RD |
428 | char _ptemp[128]; |
429 | ||
430 | self = self; | |
37f6a977 | 431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
70551f47 | 432 | return NULL; |
2d091820 RD |
433 | if (_argo0) { |
434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p."); |
437 | return NULL; | |
438 | } | |
439 | } | |
440 | { | |
2cd2fac8 RD |
441 | #if PYTHON_API_VERSION >= 1009 |
442 | char* tmpPtr; int tmpSize; | |
443 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 444 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
445 | return NULL; |
446 | } | |
447 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
448 | return NULL; | |
449 | _arg2 = new wxString(tmpPtr, tmpSize); | |
450 | #else | |
70551f47 RD |
451 | if (!PyString_Check(_obj2)) { |
452 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
453 | return NULL; | |
454 | } | |
2cd2fac8 RD |
455 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
456 | #endif | |
70551f47 | 457 | } |
37f6a977 RD |
458 | if (_obj3) |
459 | { | |
460 | _arg3 = &temp; | |
461 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 462 | return NULL; |
37f6a977 RD |
463 | } |
464 | if (_obj4) | |
465 | { | |
466 | _arg4 = &temp0; | |
467 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 468 | return NULL; |
37f6a977 | 469 | } |
2d091820 RD |
470 | if (_argo6) { |
471 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
472 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
70551f47 RD |
473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p."); |
474 | return NULL; | |
475 | } | |
476 | } | |
ab9bc19b RD |
477 | { |
478 | wxPy_BEGIN_ALLOW_THREADS; | |
479 | _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
480 | ||
481 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
482 | } if (_result) { |
483 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p"); | |
484 | _resultobj = Py_BuildValue("s",_ptemp); | |
485 | } else { | |
486 | Py_INCREF(Py_None); | |
487 | _resultobj = Py_None; | |
488 | } | |
70551f47 RD |
489 | { |
490 | if (_obj2) | |
491 | delete _arg2; | |
492 | } | |
493 | return _resultobj; | |
494 | } | |
495 | ||
496 | #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault()) | |
107e4716 | 497 | static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
498 | PyObject * _resultobj; |
499 | wxButton * _arg0; | |
2d091820 | 500 | PyObject * _argo0 = 0; |
107e4716 | 501 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
502 | |
503 | self = self; | |
107e4716 | 504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0)) |
70551f47 | 505 | return NULL; |
2d091820 RD |
506 | if (_argo0) { |
507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) { | |
70551f47 RD |
509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p."); |
510 | return NULL; | |
511 | } | |
512 | } | |
ab9bc19b RD |
513 | { |
514 | wxPy_BEGIN_ALLOW_THREADS; | |
515 | wxButton_SetDefault(_arg0); | |
516 | ||
517 | wxPy_END_ALLOW_THREADS; | |
518 | } Py_INCREF(Py_None); | |
70551f47 RD |
519 | _resultobj = Py_None; |
520 | return _resultobj; | |
521 | } | |
522 | ||
ab2208b5 RD |
523 | #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) |
524 | static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
525 | PyObject * _resultobj; | |
526 | wxButton * _arg0; | |
527 | wxColour * _arg1; | |
528 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
529 | wxColour temp; |
530 | PyObject * _obj1 = 0; | |
ab2208b5 RD |
531 | char *_kwnames[] = { "self","colour", NULL }; |
532 | ||
533 | self = self; | |
f6bcfd97 | 534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
ab2208b5 RD |
535 | return NULL; |
536 | if (_argo0) { | |
537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) { | |
539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p."); | |
540 | return NULL; | |
541 | } | |
542 | } | |
f6bcfd97 BP |
543 | { |
544 | _arg1 = &temp; | |
545 | if (! wxColour_helper(_obj1, &_arg1)) | |
ab2208b5 | 546 | return NULL; |
f6bcfd97 | 547 | } |
ab2208b5 RD |
548 | { |
549 | wxPy_BEGIN_ALLOW_THREADS; | |
550 | wxButton_SetBackgroundColour(_arg0,*_arg1); | |
551 | ||
552 | wxPy_END_ALLOW_THREADS; | |
553 | } Py_INCREF(Py_None); | |
554 | _resultobj = Py_None; | |
555 | return _resultobj; | |
556 | } | |
557 | ||
558 | #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0)) | |
559 | static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
560 | PyObject * _resultobj; | |
561 | wxButton * _arg0; | |
562 | wxColour * _arg1; | |
563 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
564 | wxColour temp; |
565 | PyObject * _obj1 = 0; | |
ab2208b5 RD |
566 | char *_kwnames[] = { "self","colour", NULL }; |
567 | ||
568 | self = self; | |
f6bcfd97 | 569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1)) |
ab2208b5 RD |
570 | return NULL; |
571 | if (_argo0) { | |
572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) { | |
574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p."); | |
575 | return NULL; | |
576 | } | |
577 | } | |
f6bcfd97 BP |
578 | { |
579 | _arg1 = &temp; | |
580 | if (! wxColour_helper(_obj1, &_arg1)) | |
ab2208b5 | 581 | return NULL; |
f6bcfd97 | 582 | } |
ab2208b5 RD |
583 | { |
584 | wxPy_BEGIN_ALLOW_THREADS; | |
585 | wxButton_SetForegroundColour(_arg0,*_arg1); | |
586 | ||
587 | wxPy_END_ALLOW_THREADS; | |
588 | } Py_INCREF(Py_None); | |
589 | _resultobj = Py_None; | |
590 | return _resultobj; | |
591 | } | |
592 | ||
70551f47 RD |
593 | static void *SwigwxBitmapButtonTowxButton(void *ptr) { |
594 | wxBitmapButton *src; | |
595 | wxButton *dest; | |
596 | src = (wxBitmapButton *) ptr; | |
597 | dest = (wxButton *) src; | |
598 | return (void *) dest; | |
599 | } | |
600 | ||
601 | static void *SwigwxBitmapButtonTowxControl(void *ptr) { | |
602 | wxBitmapButton *src; | |
603 | wxControl *dest; | |
604 | src = (wxBitmapButton *) ptr; | |
605 | dest = (wxControl *) src; | |
606 | return (void *) dest; | |
607 | } | |
608 | ||
609 | static void *SwigwxBitmapButtonTowxWindow(void *ptr) { | |
610 | wxBitmapButton *src; | |
611 | wxWindow *dest; | |
612 | src = (wxBitmapButton *) ptr; | |
613 | dest = (wxWindow *) src; | |
614 | return (void *) dest; | |
615 | } | |
616 | ||
617 | static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) { | |
618 | wxBitmapButton *src; | |
619 | wxEvtHandler *dest; | |
620 | src = (wxBitmapButton *) ptr; | |
621 | dest = (wxEvtHandler *) src; | |
622 | return (void *) dest; | |
623 | } | |
624 | ||
9df61a29 RD |
625 | static void *SwigwxBitmapButtonTowxObject(void *ptr) { |
626 | wxBitmapButton *src; | |
627 | wxObject *dest; | |
628 | src = (wxBitmapButton *) ptr; | |
629 | dest = (wxObject *) src; | |
630 | return (void *) dest; | |
631 | } | |
632 | ||
70551f47 | 633 | #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) |
107e4716 | 634 | static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
635 | PyObject * _resultobj; |
636 | wxBitmapButton * _result; | |
637 | wxWindow * _arg0; | |
638 | wxWindowID _arg1; | |
639 | wxBitmap * _arg2; | |
b68dc582 RD |
640 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
641 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 | 642 | long _arg5 = (long ) wxBU_AUTODRAW; |
b68dc582 | 643 | wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
644 | char * _arg7 = (char *) "button"; |
645 | PyObject * _argo0 = 0; | |
646 | PyObject * _argo2 = 0; | |
37f6a977 RD |
647 | wxPoint temp; |
648 | PyObject * _obj3 = 0; | |
649 | wxSize temp0; | |
650 | PyObject * _obj4 = 0; | |
2d091820 | 651 | PyObject * _argo6 = 0; |
107e4716 | 652 | char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL }; |
70551f47 RD |
653 | char _ptemp[128]; |
654 | ||
655 | self = self; | |
37f6a977 | 656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
70551f47 | 657 | return NULL; |
2d091820 RD |
658 | if (_argo0) { |
659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p."); |
662 | return NULL; | |
663 | } | |
664 | } | |
2d091820 RD |
665 | if (_argo2) { |
666 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
667 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
70551f47 RD |
668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p."); |
669 | return NULL; | |
670 | } | |
671 | } | |
37f6a977 RD |
672 | if (_obj3) |
673 | { | |
674 | _arg3 = &temp; | |
675 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 676 | return NULL; |
37f6a977 RD |
677 | } |
678 | if (_obj4) | |
679 | { | |
680 | _arg4 = &temp0; | |
681 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 682 | return NULL; |
37f6a977 | 683 | } |
2d091820 RD |
684 | if (_argo6) { |
685 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
686 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
70551f47 RD |
687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p."); |
688 | return NULL; | |
689 | } | |
690 | } | |
ab9bc19b RD |
691 | { |
692 | wxPy_BEGIN_ALLOW_THREADS; | |
693 | _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
694 | ||
695 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
696 | } if (_result) { |
697 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p"); | |
698 | _resultobj = Py_BuildValue("s",_ptemp); | |
699 | } else { | |
700 | Py_INCREF(Py_None); | |
701 | _resultobj = Py_None; | |
702 | } | |
70551f47 RD |
703 | return _resultobj; |
704 | } | |
705 | ||
706 | #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel()) | |
107e4716 | 707 | static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
708 | PyObject * _resultobj; |
709 | wxBitmap * _result; | |
710 | wxBitmapButton * _arg0; | |
2d091820 | 711 | PyObject * _argo0 = 0; |
107e4716 | 712 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
713 | char _ptemp[128]; |
714 | ||
715 | self = self; | |
107e4716 | 716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0)) |
70551f47 | 717 | return NULL; |
2d091820 RD |
718 | if (_argo0) { |
719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
70551f47 RD |
721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p."); |
722 | return NULL; | |
723 | } | |
724 | } | |
ab9bc19b RD |
725 | { |
726 | wxPy_BEGIN_ALLOW_THREADS; | |
727 | wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0); | |
70551f47 | 728 | _result = (wxBitmap *) &_result_ref; |
ab9bc19b RD |
729 | |
730 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
731 | } if (_result) { |
732 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
733 | _resultobj = Py_BuildValue("s",_ptemp); | |
734 | } else { | |
735 | Py_INCREF(Py_None); | |
736 | _resultobj = Py_None; | |
737 | } | |
70551f47 RD |
738 | return _resultobj; |
739 | } | |
740 | ||
c95e68d8 | 741 | #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled()) |
107e4716 | 742 | static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
743 | PyObject * _resultobj; |
744 | wxBitmap * _result; | |
745 | wxBitmapButton * _arg0; | |
2d091820 | 746 | PyObject * _argo0 = 0; |
107e4716 | 747 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
748 | char _ptemp[128]; |
749 | ||
750 | self = self; | |
107e4716 | 751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0)) |
c95e68d8 | 752 | return NULL; |
2d091820 RD |
753 | if (_argo0) { |
754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
c95e68d8 RD |
756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p."); |
757 | return NULL; | |
758 | } | |
759 | } | |
ab9bc19b RD |
760 | { |
761 | wxPy_BEGIN_ALLOW_THREADS; | |
762 | wxBitmap & _result_ref = wxBitmapButton_GetBitmapDisabled(_arg0); | |
c95e68d8 | 763 | _result = (wxBitmap *) &_result_ref; |
ab9bc19b RD |
764 | |
765 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
766 | } if (_result) { |
767 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
768 | _resultobj = Py_BuildValue("s",_ptemp); | |
769 | } else { | |
770 | Py_INCREF(Py_None); | |
771 | _resultobj = Py_None; | |
772 | } | |
c95e68d8 RD |
773 | return _resultobj; |
774 | } | |
775 | ||
776 | #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus()) | |
107e4716 | 777 | static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
778 | PyObject * _resultobj; |
779 | wxBitmap * _result; | |
780 | wxBitmapButton * _arg0; | |
2d091820 | 781 | PyObject * _argo0 = 0; |
107e4716 | 782 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
783 | char _ptemp[128]; |
784 | ||
785 | self = self; | |
107e4716 | 786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0)) |
c95e68d8 | 787 | return NULL; |
2d091820 RD |
788 | if (_argo0) { |
789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
c95e68d8 RD |
791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p."); |
792 | return NULL; | |
793 | } | |
794 | } | |
ab9bc19b RD |
795 | { |
796 | wxPy_BEGIN_ALLOW_THREADS; | |
797 | wxBitmap & _result_ref = wxBitmapButton_GetBitmapFocus(_arg0); | |
c95e68d8 | 798 | _result = (wxBitmap *) &_result_ref; |
ab9bc19b RD |
799 | |
800 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
801 | } if (_result) { |
802 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
803 | _resultobj = Py_BuildValue("s",_ptemp); | |
804 | } else { | |
805 | Py_INCREF(Py_None); | |
806 | _resultobj = Py_None; | |
807 | } | |
c95e68d8 RD |
808 | return _resultobj; |
809 | } | |
810 | ||
811 | #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected()) | |
107e4716 | 812 | static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
813 | PyObject * _resultobj; |
814 | wxBitmap * _result; | |
815 | wxBitmapButton * _arg0; | |
2d091820 | 816 | PyObject * _argo0 = 0; |
107e4716 | 817 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
818 | char _ptemp[128]; |
819 | ||
820 | self = self; | |
107e4716 | 821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0)) |
c95e68d8 | 822 | return NULL; |
2d091820 RD |
823 | if (_argo0) { |
824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
c95e68d8 RD |
826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p."); |
827 | return NULL; | |
828 | } | |
829 | } | |
ab9bc19b RD |
830 | { |
831 | wxPy_BEGIN_ALLOW_THREADS; | |
832 | wxBitmap & _result_ref = wxBitmapButton_GetBitmapSelected(_arg0); | |
c95e68d8 | 833 | _result = (wxBitmap *) &_result_ref; |
ab9bc19b RD |
834 | |
835 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
836 | } if (_result) { |
837 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
838 | _resultobj = Py_BuildValue("s",_ptemp); | |
839 | } else { | |
840 | Py_INCREF(Py_None); | |
841 | _resultobj = Py_None; | |
842 | } | |
c95e68d8 RD |
843 | return _resultobj; |
844 | } | |
845 | ||
846 | #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0)) | |
107e4716 | 847 | static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
848 | PyObject * _resultobj; |
849 | wxBitmapButton * _arg0; | |
850 | wxBitmap * _arg1; | |
2d091820 RD |
851 | PyObject * _argo0 = 0; |
852 | PyObject * _argo1 = 0; | |
107e4716 | 853 | char *_kwnames[] = { "self","bitmap", NULL }; |
c95e68d8 RD |
854 | |
855 | self = self; | |
107e4716 | 856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1)) |
c95e68d8 | 857 | return NULL; |
2d091820 RD |
858 | if (_argo0) { |
859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
c95e68d8 RD |
861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p."); |
862 | return NULL; | |
863 | } | |
864 | } | |
2d091820 RD |
865 | if (_argo1) { |
866 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
867 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
c95e68d8 RD |
868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p."); |
869 | return NULL; | |
870 | } | |
871 | } | |
ab9bc19b RD |
872 | { |
873 | wxPy_BEGIN_ALLOW_THREADS; | |
874 | wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1); | |
875 | ||
876 | wxPy_END_ALLOW_THREADS; | |
877 | } Py_INCREF(Py_None); | |
c95e68d8 RD |
878 | _resultobj = Py_None; |
879 | return _resultobj; | |
880 | } | |
881 | ||
882 | #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0)) | |
107e4716 | 883 | static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
884 | PyObject * _resultobj; |
885 | wxBitmapButton * _arg0; | |
886 | wxBitmap * _arg1; | |
2d091820 RD |
887 | PyObject * _argo0 = 0; |
888 | PyObject * _argo1 = 0; | |
107e4716 | 889 | char *_kwnames[] = { "self","bitmap", NULL }; |
c95e68d8 RD |
890 | |
891 | self = self; | |
107e4716 | 892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1)) |
c95e68d8 | 893 | return NULL; |
2d091820 RD |
894 | if (_argo0) { |
895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
c95e68d8 RD |
897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p."); |
898 | return NULL; | |
899 | } | |
900 | } | |
2d091820 RD |
901 | if (_argo1) { |
902 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
903 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
c95e68d8 RD |
904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p."); |
905 | return NULL; | |
906 | } | |
907 | } | |
ab9bc19b RD |
908 | { |
909 | wxPy_BEGIN_ALLOW_THREADS; | |
910 | wxBitmapButton_SetBitmapFocus(_arg0,*_arg1); | |
911 | ||
912 | wxPy_END_ALLOW_THREADS; | |
913 | } Py_INCREF(Py_None); | |
c95e68d8 RD |
914 | _resultobj = Py_None; |
915 | return _resultobj; | |
916 | } | |
917 | ||
918 | #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0)) | |
107e4716 | 919 | static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
920 | PyObject * _resultobj; |
921 | wxBitmapButton * _arg0; | |
922 | wxBitmap * _arg1; | |
2d091820 RD |
923 | PyObject * _argo0 = 0; |
924 | PyObject * _argo1 = 0; | |
107e4716 | 925 | char *_kwnames[] = { "self","bitmap", NULL }; |
c95e68d8 RD |
926 | |
927 | self = self; | |
107e4716 | 928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1)) |
c95e68d8 | 929 | return NULL; |
2d091820 RD |
930 | if (_argo0) { |
931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
c95e68d8 RD |
933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p."); |
934 | return NULL; | |
935 | } | |
936 | } | |
2d091820 RD |
937 | if (_argo1) { |
938 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
939 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
c95e68d8 RD |
940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p."); |
941 | return NULL; | |
942 | } | |
943 | } | |
ab9bc19b RD |
944 | { |
945 | wxPy_BEGIN_ALLOW_THREADS; | |
946 | wxBitmapButton_SetBitmapSelected(_arg0,*_arg1); | |
947 | ||
948 | wxPy_END_ALLOW_THREADS; | |
949 | } Py_INCREF(Py_None); | |
c95e68d8 RD |
950 | _resultobj = Py_None; |
951 | return _resultobj; | |
952 | } | |
953 | ||
70551f47 | 954 | #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0)) |
107e4716 | 955 | static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
956 | PyObject * _resultobj; |
957 | wxBitmapButton * _arg0; | |
958 | wxBitmap * _arg1; | |
2d091820 RD |
959 | PyObject * _argo0 = 0; |
960 | PyObject * _argo1 = 0; | |
107e4716 | 961 | char *_kwnames[] = { "self","bitmap", NULL }; |
70551f47 RD |
962 | |
963 | self = self; | |
107e4716 | 964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1)) |
70551f47 | 965 | return NULL; |
2d091820 RD |
966 | if (_argo0) { |
967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
70551f47 RD |
969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p."); |
970 | return NULL; | |
971 | } | |
972 | } | |
2d091820 RD |
973 | if (_argo1) { |
974 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
975 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
70551f47 RD |
976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p."); |
977 | return NULL; | |
978 | } | |
979 | } | |
ab9bc19b RD |
980 | { |
981 | wxPy_BEGIN_ALLOW_THREADS; | |
982 | wxBitmapButton_SetBitmapLabel(_arg0,*_arg1); | |
983 | ||
984 | wxPy_END_ALLOW_THREADS; | |
985 | } Py_INCREF(Py_None); | |
70551f47 RD |
986 | _resultobj = Py_None; |
987 | return _resultobj; | |
988 | } | |
989 | ||
f6bcfd97 BP |
990 | #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) |
991 | static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
992 | PyObject * _resultobj; | |
993 | wxBitmapButton * _arg0; | |
994 | int _arg1; | |
995 | int _arg2; | |
996 | PyObject * _argo0 = 0; | |
997 | char *_kwnames[] = { "self","x","y", NULL }; | |
998 | ||
999 | self = self; | |
1000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1001 | return NULL; | |
1002 | if (_argo0) { | |
1003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
1005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p."); | |
1006 | return NULL; | |
1007 | } | |
1008 | } | |
1009 | { | |
1010 | wxPy_BEGIN_ALLOW_THREADS; | |
1011 | wxBitmapButton_SetMargins(_arg0,_arg1,_arg2); | |
1012 | ||
1013 | wxPy_END_ALLOW_THREADS; | |
1014 | } Py_INCREF(Py_None); | |
1015 | _resultobj = Py_None; | |
1016 | return _resultobj; | |
1017 | } | |
1018 | ||
1019 | #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX()) | |
1020 | static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1021 | PyObject * _resultobj; | |
1022 | int _result; | |
1023 | wxBitmapButton * _arg0; | |
1024 | PyObject * _argo0 = 0; | |
1025 | char *_kwnames[] = { "self", NULL }; | |
1026 | ||
1027 | self = self; | |
1028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0)) | |
1029 | return NULL; | |
1030 | if (_argo0) { | |
1031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
1033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p."); | |
1034 | return NULL; | |
1035 | } | |
1036 | } | |
1037 | { | |
1038 | wxPy_BEGIN_ALLOW_THREADS; | |
1039 | _result = (int )wxBitmapButton_GetMarginX(_arg0); | |
1040 | ||
1041 | wxPy_END_ALLOW_THREADS; | |
1042 | } _resultobj = Py_BuildValue("i",_result); | |
1043 | return _resultobj; | |
1044 | } | |
1045 | ||
1046 | #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY()) | |
1047 | static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1048 | PyObject * _resultobj; | |
1049 | int _result; | |
1050 | wxBitmapButton * _arg0; | |
1051 | PyObject * _argo0 = 0; | |
1052 | char *_kwnames[] = { "self", NULL }; | |
1053 | ||
1054 | self = self; | |
1055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0)) | |
1056 | return NULL; | |
1057 | if (_argo0) { | |
1058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) { | |
1060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p."); | |
1061 | return NULL; | |
1062 | } | |
1063 | } | |
1064 | { | |
1065 | wxPy_BEGIN_ALLOW_THREADS; | |
1066 | _result = (int )wxBitmapButton_GetMarginY(_arg0); | |
1067 | ||
1068 | wxPy_END_ALLOW_THREADS; | |
1069 | } _resultobj = Py_BuildValue("i",_result); | |
1070 | return _resultobj; | |
1071 | } | |
1072 | ||
70551f47 RD |
1073 | static void *SwigwxCheckBoxTowxControl(void *ptr) { |
1074 | wxCheckBox *src; | |
1075 | wxControl *dest; | |
1076 | src = (wxCheckBox *) ptr; | |
1077 | dest = (wxControl *) src; | |
1078 | return (void *) dest; | |
1079 | } | |
1080 | ||
1081 | static void *SwigwxCheckBoxTowxWindow(void *ptr) { | |
1082 | wxCheckBox *src; | |
1083 | wxWindow *dest; | |
1084 | src = (wxCheckBox *) ptr; | |
1085 | dest = (wxWindow *) src; | |
1086 | return (void *) dest; | |
1087 | } | |
1088 | ||
1089 | static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) { | |
1090 | wxCheckBox *src; | |
1091 | wxEvtHandler *dest; | |
1092 | src = (wxCheckBox *) ptr; | |
1093 | dest = (wxEvtHandler *) src; | |
1094 | return (void *) dest; | |
1095 | } | |
1096 | ||
9df61a29 RD |
1097 | static void *SwigwxCheckBoxTowxObject(void *ptr) { |
1098 | wxCheckBox *src; | |
1099 | wxObject *dest; | |
1100 | src = (wxCheckBox *) ptr; | |
1101 | dest = (wxObject *) src; | |
1102 | return (void *) dest; | |
1103 | } | |
1104 | ||
70551f47 | 1105 | #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) |
107e4716 | 1106 | static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1107 | PyObject * _resultobj; |
1108 | wxCheckBox * _result; | |
1109 | wxWindow * _arg0; | |
1110 | wxWindowID _arg1; | |
1111 | wxString * _arg2; | |
b68dc582 RD |
1112 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
1113 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 | 1114 | long _arg5 = (long ) 0; |
b68dc582 | 1115 | wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
1116 | char * _arg7 = (char *) "checkBox"; |
1117 | PyObject * _argo0 = 0; | |
70551f47 | 1118 | PyObject * _obj2 = 0; |
37f6a977 RD |
1119 | wxPoint temp; |
1120 | PyObject * _obj3 = 0; | |
1121 | wxSize temp0; | |
1122 | PyObject * _obj4 = 0; | |
2d091820 | 1123 | PyObject * _argo6 = 0; |
107e4716 | 1124 | char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL }; |
70551f47 RD |
1125 | char _ptemp[128]; |
1126 | ||
1127 | self = self; | |
37f6a977 | 1128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
70551f47 | 1129 | return NULL; |
2d091820 RD |
1130 | if (_argo0) { |
1131 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1132 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
1133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p."); |
1134 | return NULL; | |
1135 | } | |
1136 | } | |
1137 | { | |
2cd2fac8 RD |
1138 | #if PYTHON_API_VERSION >= 1009 |
1139 | char* tmpPtr; int tmpSize; | |
1140 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 1141 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
1142 | return NULL; |
1143 | } | |
1144 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
1145 | return NULL; | |
1146 | _arg2 = new wxString(tmpPtr, tmpSize); | |
1147 | #else | |
70551f47 RD |
1148 | if (!PyString_Check(_obj2)) { |
1149 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1150 | return NULL; | |
1151 | } | |
2cd2fac8 RD |
1152 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
1153 | #endif | |
70551f47 | 1154 | } |
37f6a977 RD |
1155 | if (_obj3) |
1156 | { | |
1157 | _arg3 = &temp; | |
1158 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 1159 | return NULL; |
37f6a977 RD |
1160 | } |
1161 | if (_obj4) | |
1162 | { | |
1163 | _arg4 = &temp0; | |
1164 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 1165 | return NULL; |
37f6a977 | 1166 | } |
2d091820 RD |
1167 | if (_argo6) { |
1168 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
1169 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
70551f47 RD |
1170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p."); |
1171 | return NULL; | |
1172 | } | |
1173 | } | |
ab9bc19b RD |
1174 | { |
1175 | wxPy_BEGIN_ALLOW_THREADS; | |
1176 | _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
1177 | ||
1178 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1179 | } if (_result) { |
1180 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p"); | |
1181 | _resultobj = Py_BuildValue("s",_ptemp); | |
1182 | } else { | |
1183 | Py_INCREF(Py_None); | |
1184 | _resultobj = Py_None; | |
1185 | } | |
70551f47 RD |
1186 | { |
1187 | if (_obj2) | |
1188 | delete _arg2; | |
1189 | } | |
1190 | return _resultobj; | |
1191 | } | |
1192 | ||
1193 | #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue()) | |
107e4716 | 1194 | static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1195 | PyObject * _resultobj; |
1196 | bool _result; | |
1197 | wxCheckBox * _arg0; | |
2d091820 | 1198 | PyObject * _argo0 = 0; |
107e4716 | 1199 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1200 | |
1201 | self = self; | |
107e4716 | 1202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0)) |
70551f47 | 1203 | return NULL; |
2d091820 RD |
1204 | if (_argo0) { |
1205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) { | |
70551f47 RD |
1207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p."); |
1208 | return NULL; | |
1209 | } | |
1210 | } | |
ab9bc19b RD |
1211 | { |
1212 | wxPy_BEGIN_ALLOW_THREADS; | |
1213 | _result = (bool )wxCheckBox_GetValue(_arg0); | |
1214 | ||
1215 | wxPy_END_ALLOW_THREADS; | |
1216 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1217 | return _resultobj; |
1218 | } | |
1219 | ||
1220 | #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 1221 | static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1222 | PyObject * _resultobj; |
1223 | wxCheckBox * _arg0; | |
1224 | bool _arg1; | |
2d091820 | 1225 | PyObject * _argo0 = 0; |
70551f47 | 1226 | int tempbool1; |
107e4716 | 1227 | char *_kwnames[] = { "self","state", NULL }; |
70551f47 RD |
1228 | |
1229 | self = self; | |
107e4716 | 1230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 1231 | return NULL; |
2d091820 RD |
1232 | if (_argo0) { |
1233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) { | |
70551f47 RD |
1235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p."); |
1236 | return NULL; | |
1237 | } | |
1238 | } | |
1239 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
1240 | { |
1241 | wxPy_BEGIN_ALLOW_THREADS; | |
1242 | wxCheckBox_SetValue(_arg0,_arg1); | |
1243 | ||
1244 | wxPy_END_ALLOW_THREADS; | |
1245 | } Py_INCREF(Py_None); | |
70551f47 RD |
1246 | _resultobj = Py_None; |
1247 | return _resultobj; | |
1248 | } | |
1249 | ||
1250 | static void *SwigwxChoiceTowxControl(void *ptr) { | |
1251 | wxChoice *src; | |
1252 | wxControl *dest; | |
1253 | src = (wxChoice *) ptr; | |
1254 | dest = (wxControl *) src; | |
1255 | return (void *) dest; | |
1256 | } | |
1257 | ||
1258 | static void *SwigwxChoiceTowxWindow(void *ptr) { | |
1259 | wxChoice *src; | |
1260 | wxWindow *dest; | |
1261 | src = (wxChoice *) ptr; | |
1262 | dest = (wxWindow *) src; | |
1263 | return (void *) dest; | |
1264 | } | |
1265 | ||
1266 | static void *SwigwxChoiceTowxEvtHandler(void *ptr) { | |
1267 | wxChoice *src; | |
1268 | wxEvtHandler *dest; | |
1269 | src = (wxChoice *) ptr; | |
1270 | dest = (wxEvtHandler *) src; | |
1271 | return (void *) dest; | |
1272 | } | |
1273 | ||
9df61a29 RD |
1274 | static void *SwigwxChoiceTowxObject(void *ptr) { |
1275 | wxChoice *src; | |
1276 | wxObject *dest; | |
1277 | src = (wxChoice *) ptr; | |
1278 | dest = (wxObject *) src; | |
1279 | return (void *) dest; | |
1280 | } | |
1281 | ||
70551f47 | 1282 | #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) |
107e4716 | 1283 | static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1284 | PyObject * _resultobj; |
1285 | wxChoice * _result; | |
1286 | wxWindow * _arg0; | |
1287 | wxWindowID _arg1; | |
b68dc582 RD |
1288 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
1289 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
1290 | int _arg4 = (int ) 0; |
1291 | wxString * _arg5 = (wxString *) NULL; | |
1292 | long _arg6 = (long ) 0; | |
b68dc582 | 1293 | wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
1294 | char * _arg8 = (char *) "choice"; |
1295 | PyObject * _argo0 = 0; | |
37f6a977 RD |
1296 | wxPoint temp; |
1297 | PyObject * _obj2 = 0; | |
1298 | wxSize temp0; | |
1299 | PyObject * _obj3 = 0; | |
70551f47 | 1300 | PyObject * _obj5 = 0; |
2d091820 | 1301 | PyObject * _argo7 = 0; |
e02c03a4 | 1302 | char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL }; |
70551f47 RD |
1303 | char _ptemp[128]; |
1304 | ||
1305 | self = self; | |
37f6a977 | 1306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8)) |
70551f47 | 1307 | return NULL; |
2d091820 RD |
1308 | if (_argo0) { |
1309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
1311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p."); |
1312 | return NULL; | |
1313 | } | |
1314 | } | |
37f6a977 RD |
1315 | if (_obj2) |
1316 | { | |
1317 | _arg2 = &temp; | |
1318 | if (! wxPoint_helper(_obj2, &_arg2)) | |
70551f47 | 1319 | return NULL; |
37f6a977 RD |
1320 | } |
1321 | if (_obj3) | |
1322 | { | |
1323 | _arg3 = &temp0; | |
1324 | if (! wxSize_helper(_obj3, &_arg3)) | |
70551f47 | 1325 | return NULL; |
37f6a977 | 1326 | } |
70551f47 RD |
1327 | if (_obj5) |
1328 | { | |
1329 | _arg5 = wxString_LIST_helper(_obj5); | |
1330 | if (_arg5 == NULL) { | |
1331 | return NULL; | |
1332 | } | |
1333 | } | |
2d091820 RD |
1334 | if (_argo7) { |
1335 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
1336 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) { | |
70551f47 RD |
1337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p."); |
1338 | return NULL; | |
1339 | } | |
1340 | } | |
1341 | { | |
ab9bc19b RD |
1342 | if (_obj5) { |
1343 | _arg4 = PyList_Size(_obj5); | |
1344 | } | |
1345 | else { | |
1346 | _arg4 = 0; | |
1347 | } | |
70551f47 | 1348 | } |
ab9bc19b RD |
1349 | { |
1350 | wxPy_BEGIN_ALLOW_THREADS; | |
1351 | _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8); | |
1352 | ||
1353 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1354 | } if (_result) { |
1355 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p"); | |
1356 | _resultobj = Py_BuildValue("s",_ptemp); | |
1357 | } else { | |
1358 | Py_INCREF(Py_None); | |
1359 | _resultobj = Py_None; | |
1360 | } | |
70551f47 RD |
1361 | { |
1362 | delete [] _arg5; | |
1363 | } | |
1364 | return _resultobj; | |
1365 | } | |
1366 | ||
1367 | #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0)) | |
107e4716 | 1368 | static PyObject *_wrap_wxChoice_Append(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1369 | PyObject * _resultobj; |
1370 | wxChoice * _arg0; | |
1371 | wxString * _arg1; | |
2d091820 | 1372 | PyObject * _argo0 = 0; |
70551f47 | 1373 | PyObject * _obj1 = 0; |
107e4716 | 1374 | char *_kwnames[] = { "self","item", NULL }; |
70551f47 RD |
1375 | |
1376 | self = self; | |
107e4716 | 1377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_Append",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1378 | return NULL; |
2d091820 RD |
1379 | if (_argo0) { |
1380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p."); |
1383 | return NULL; | |
1384 | } | |
1385 | } | |
1386 | { | |
2cd2fac8 RD |
1387 | #if PYTHON_API_VERSION >= 1009 |
1388 | char* tmpPtr; int tmpSize; | |
1389 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 1390 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
1391 | return NULL; |
1392 | } | |
1393 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1394 | return NULL; | |
1395 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1396 | #else | |
70551f47 RD |
1397 | if (!PyString_Check(_obj1)) { |
1398 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1399 | return NULL; | |
1400 | } | |
2cd2fac8 RD |
1401 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1402 | #endif | |
70551f47 | 1403 | } |
ab9bc19b RD |
1404 | { |
1405 | wxPy_BEGIN_ALLOW_THREADS; | |
1406 | wxChoice_Append(_arg0,*_arg1); | |
1407 | ||
1408 | wxPy_END_ALLOW_THREADS; | |
1409 | } Py_INCREF(Py_None); | |
70551f47 RD |
1410 | _resultobj = Py_None; |
1411 | { | |
1412 | if (_obj1) | |
1413 | delete _arg1; | |
1414 | } | |
1415 | return _resultobj; | |
1416 | } | |
1417 | ||
1418 | #define wxChoice_Clear(_swigobj) (_swigobj->Clear()) | |
107e4716 | 1419 | static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1420 | PyObject * _resultobj; |
1421 | wxChoice * _arg0; | |
2d091820 | 1422 | PyObject * _argo0 = 0; |
107e4716 | 1423 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1424 | |
1425 | self = self; | |
107e4716 | 1426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0)) |
70551f47 | 1427 | return NULL; |
2d091820 RD |
1428 | if (_argo0) { |
1429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p."); |
1432 | return NULL; | |
1433 | } | |
1434 | } | |
ab9bc19b RD |
1435 | { |
1436 | wxPy_BEGIN_ALLOW_THREADS; | |
1437 | wxChoice_Clear(_arg0); | |
1438 | ||
1439 | wxPy_END_ALLOW_THREADS; | |
1440 | } Py_INCREF(Py_None); | |
70551f47 RD |
1441 | _resultobj = Py_None; |
1442 | return _resultobj; | |
1443 | } | |
1444 | ||
1445 | #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0)) | |
107e4716 | 1446 | static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1447 | PyObject * _resultobj; |
1448 | int _result; | |
1449 | wxChoice * _arg0; | |
1450 | wxString * _arg1; | |
2d091820 | 1451 | PyObject * _argo0 = 0; |
70551f47 | 1452 | PyObject * _obj1 = 0; |
107e4716 | 1453 | char *_kwnames[] = { "self","string", NULL }; |
70551f47 RD |
1454 | |
1455 | self = self; | |
107e4716 | 1456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_FindString",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1457 | return NULL; |
2d091820 RD |
1458 | if (_argo0) { |
1459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p."); |
1462 | return NULL; | |
1463 | } | |
1464 | } | |
1465 | { | |
2cd2fac8 RD |
1466 | #if PYTHON_API_VERSION >= 1009 |
1467 | char* tmpPtr; int tmpSize; | |
1468 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 1469 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
1470 | return NULL; |
1471 | } | |
1472 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1473 | return NULL; | |
1474 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1475 | #else | |
70551f47 RD |
1476 | if (!PyString_Check(_obj1)) { |
1477 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1478 | return NULL; | |
1479 | } | |
2cd2fac8 RD |
1480 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1481 | #endif | |
70551f47 | 1482 | } |
ab9bc19b RD |
1483 | { |
1484 | wxPy_BEGIN_ALLOW_THREADS; | |
1485 | _result = (int )wxChoice_FindString(_arg0,*_arg1); | |
1486 | ||
1487 | wxPy_END_ALLOW_THREADS; | |
1488 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1489 | { |
1490 | if (_obj1) | |
1491 | delete _arg1; | |
1492 | } | |
1493 | return _resultobj; | |
1494 | } | |
1495 | ||
1496 | #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns()) | |
107e4716 | 1497 | static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1498 | PyObject * _resultobj; |
1499 | int _result; | |
1500 | wxChoice * _arg0; | |
2d091820 | 1501 | PyObject * _argo0 = 0; |
107e4716 | 1502 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1503 | |
1504 | self = self; | |
107e4716 | 1505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0)) |
70551f47 | 1506 | return NULL; |
2d091820 RD |
1507 | if (_argo0) { |
1508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p."); |
1511 | return NULL; | |
1512 | } | |
1513 | } | |
ab9bc19b RD |
1514 | { |
1515 | wxPy_BEGIN_ALLOW_THREADS; | |
1516 | _result = (int )wxChoice_GetColumns(_arg0); | |
1517 | ||
1518 | wxPy_END_ALLOW_THREADS; | |
1519 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1520 | return _resultobj; |
1521 | } | |
1522 | ||
1523 | #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 1524 | static PyObject *_wrap_wxChoice_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1525 | PyObject * _resultobj; |
1526 | int _result; | |
1527 | wxChoice * _arg0; | |
2d091820 | 1528 | PyObject * _argo0 = 0; |
107e4716 | 1529 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1530 | |
1531 | self = self; | |
107e4716 | 1532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetSelection",_kwnames,&_argo0)) |
70551f47 | 1533 | return NULL; |
2d091820 RD |
1534 | if (_argo0) { |
1535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p."); |
1538 | return NULL; | |
1539 | } | |
1540 | } | |
ab9bc19b RD |
1541 | { |
1542 | wxPy_BEGIN_ALLOW_THREADS; | |
1543 | _result = (int )wxChoice_GetSelection(_arg0); | |
1544 | ||
1545 | wxPy_END_ALLOW_THREADS; | |
1546 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1547 | return _resultobj; |
1548 | } | |
1549 | ||
1550 | #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0)) | |
107e4716 | 1551 | static PyObject *_wrap_wxChoice_GetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1552 | PyObject * _resultobj; |
1553 | wxString * _result; | |
1554 | wxChoice * _arg0; | |
1555 | int _arg1; | |
2d091820 | 1556 | PyObject * _argo0 = 0; |
107e4716 | 1557 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
1558 | |
1559 | self = self; | |
107e4716 | 1560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_GetString",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1561 | return NULL; |
2d091820 RD |
1562 | if (_argo0) { |
1563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p."); |
1566 | return NULL; | |
1567 | } | |
1568 | } | |
70551f47 | 1569 | { |
ab9bc19b RD |
1570 | wxPy_BEGIN_ALLOW_THREADS; |
1571 | _result = new wxString (wxChoice_GetString(_arg0,_arg1)); | |
1572 | ||
1573 | wxPy_END_ALLOW_THREADS; | |
1574 | }{ | |
e02c03a4 | 1575 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
1576 | } |
1577 | { | |
1578 | delete _result; | |
1579 | } | |
1580 | return _resultobj; | |
1581 | } | |
1582 | ||
1583 | #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection()) | |
107e4716 | 1584 | static PyObject *_wrap_wxChoice_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1585 | PyObject * _resultobj; |
1586 | wxString * _result; | |
1587 | wxChoice * _arg0; | |
2d091820 | 1588 | PyObject * _argo0 = 0; |
107e4716 | 1589 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1590 | |
1591 | self = self; | |
107e4716 | 1592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetStringSelection",_kwnames,&_argo0)) |
70551f47 | 1593 | return NULL; |
2d091820 RD |
1594 | if (_argo0) { |
1595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p."); |
1598 | return NULL; | |
1599 | } | |
1600 | } | |
70551f47 | 1601 | { |
ab9bc19b RD |
1602 | wxPy_BEGIN_ALLOW_THREADS; |
1603 | _result = new wxString (wxChoice_GetStringSelection(_arg0)); | |
1604 | ||
1605 | wxPy_END_ALLOW_THREADS; | |
1606 | }{ | |
e02c03a4 | 1607 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
1608 | } |
1609 | { | |
1610 | delete _result; | |
1611 | } | |
1612 | return _resultobj; | |
1613 | } | |
1614 | ||
1615 | #define wxChoice_Number(_swigobj) (_swigobj->Number()) | |
107e4716 | 1616 | static PyObject *_wrap_wxChoice_Number(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1617 | PyObject * _resultobj; |
1618 | int _result; | |
1619 | wxChoice * _arg0; | |
2d091820 | 1620 | PyObject * _argo0 = 0; |
107e4716 | 1621 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1622 | |
1623 | self = self; | |
107e4716 | 1624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Number",_kwnames,&_argo0)) |
70551f47 | 1625 | return NULL; |
2d091820 RD |
1626 | if (_argo0) { |
1627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p."); |
1630 | return NULL; | |
1631 | } | |
1632 | } | |
ab9bc19b RD |
1633 | { |
1634 | wxPy_BEGIN_ALLOW_THREADS; | |
1635 | _result = (int )wxChoice_Number(_arg0); | |
1636 | ||
1637 | wxPy_END_ALLOW_THREADS; | |
1638 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
1639 | return _resultobj; |
1640 | } | |
1641 | ||
1642 | #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0)) | |
107e4716 | 1643 | static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1644 | PyObject * _resultobj; |
1645 | wxChoice * _arg0; | |
2d091820 RD |
1646 | int _arg1 = (int ) 1; |
1647 | PyObject * _argo0 = 0; | |
107e4716 | 1648 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
1649 | |
1650 | self = self; | |
107e4716 | 1651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1652 | return NULL; |
2d091820 RD |
1653 | if (_argo0) { |
1654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p."); |
1657 | return NULL; | |
1658 | } | |
1659 | } | |
ab9bc19b RD |
1660 | { |
1661 | wxPy_BEGIN_ALLOW_THREADS; | |
1662 | wxChoice_SetColumns(_arg0,_arg1); | |
1663 | ||
1664 | wxPy_END_ALLOW_THREADS; | |
1665 | } Py_INCREF(Py_None); | |
70551f47 RD |
1666 | _resultobj = Py_None; |
1667 | return _resultobj; | |
1668 | } | |
1669 | ||
1670 | #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
107e4716 | 1671 | static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1672 | PyObject * _resultobj; |
1673 | wxChoice * _arg0; | |
1674 | int _arg1; | |
2d091820 | 1675 | PyObject * _argo0 = 0; |
107e4716 | 1676 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
1677 | |
1678 | self = self; | |
107e4716 | 1679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1)) |
70551f47 | 1680 | return NULL; |
2d091820 RD |
1681 | if (_argo0) { |
1682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p."); |
1685 | return NULL; | |
1686 | } | |
1687 | } | |
ab9bc19b RD |
1688 | { |
1689 | wxPy_BEGIN_ALLOW_THREADS; | |
1690 | wxChoice_SetSelection(_arg0,_arg1); | |
1691 | ||
1692 | wxPy_END_ALLOW_THREADS; | |
1693 | } Py_INCREF(Py_None); | |
70551f47 RD |
1694 | _resultobj = Py_None; |
1695 | return _resultobj; | |
1696 | } | |
1697 | ||
1698 | #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0)) | |
107e4716 | 1699 | static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1700 | PyObject * _resultobj; |
1701 | wxChoice * _arg0; | |
1702 | wxString * _arg1; | |
2d091820 | 1703 | PyObject * _argo0 = 0; |
70551f47 | 1704 | PyObject * _obj1 = 0; |
107e4716 | 1705 | char *_kwnames[] = { "self","string", NULL }; |
70551f47 RD |
1706 | |
1707 | self = self; | |
107e4716 | 1708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1709 | return NULL; |
2d091820 RD |
1710 | if (_argo0) { |
1711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) { | |
70551f47 RD |
1713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p."); |
1714 | return NULL; | |
1715 | } | |
1716 | } | |
1717 | { | |
2cd2fac8 RD |
1718 | #if PYTHON_API_VERSION >= 1009 |
1719 | char* tmpPtr; int tmpSize; | |
1720 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 1721 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
1722 | return NULL; |
1723 | } | |
1724 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1725 | return NULL; | |
1726 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1727 | #else | |
70551f47 RD |
1728 | if (!PyString_Check(_obj1)) { |
1729 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1730 | return NULL; | |
1731 | } | |
2cd2fac8 RD |
1732 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1733 | #endif | |
70551f47 | 1734 | } |
ab9bc19b RD |
1735 | { |
1736 | wxPy_BEGIN_ALLOW_THREADS; | |
1737 | wxChoice_SetStringSelection(_arg0,*_arg1); | |
1738 | ||
1739 | wxPy_END_ALLOW_THREADS; | |
1740 | } Py_INCREF(Py_None); | |
70551f47 RD |
1741 | _resultobj = Py_None; |
1742 | { | |
1743 | if (_obj1) | |
1744 | delete _arg1; | |
1745 | } | |
1746 | return _resultobj; | |
1747 | } | |
1748 | ||
d24a34bb RD |
1749 | static void *SwigwxComboBoxTowxChoice(void *ptr) { |
1750 | wxComboBox *src; | |
1751 | wxChoice *dest; | |
1752 | src = (wxComboBox *) ptr; | |
1753 | dest = (wxChoice *) src; | |
1754 | return (void *) dest; | |
1755 | } | |
1756 | ||
70551f47 RD |
1757 | static void *SwigwxComboBoxTowxControl(void *ptr) { |
1758 | wxComboBox *src; | |
1759 | wxControl *dest; | |
1760 | src = (wxComboBox *) ptr; | |
1761 | dest = (wxControl *) src; | |
1762 | return (void *) dest; | |
1763 | } | |
1764 | ||
1765 | static void *SwigwxComboBoxTowxWindow(void *ptr) { | |
1766 | wxComboBox *src; | |
1767 | wxWindow *dest; | |
1768 | src = (wxComboBox *) ptr; | |
1769 | dest = (wxWindow *) src; | |
1770 | return (void *) dest; | |
1771 | } | |
1772 | ||
1773 | static void *SwigwxComboBoxTowxEvtHandler(void *ptr) { | |
1774 | wxComboBox *src; | |
1775 | wxEvtHandler *dest; | |
1776 | src = (wxComboBox *) ptr; | |
1777 | dest = (wxEvtHandler *) src; | |
1778 | return (void *) dest; | |
1779 | } | |
1780 | ||
9df61a29 RD |
1781 | static void *SwigwxComboBoxTowxObject(void *ptr) { |
1782 | wxComboBox *src; | |
1783 | wxObject *dest; | |
1784 | src = (wxComboBox *) ptr; | |
1785 | dest = (wxObject *) src; | |
1786 | return (void *) dest; | |
1787 | } | |
1788 | ||
70551f47 | 1789 | #define new_wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) |
107e4716 | 1790 | static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1791 | PyObject * _resultobj; |
1792 | wxComboBox * _result; | |
1793 | wxWindow * _arg0; | |
1794 | wxWindowID _arg1; | |
2d091820 | 1795 | char * _arg2 = (char *) ""; |
b68dc582 RD |
1796 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
1797 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
1798 | int _arg5 = (int ) 0; |
1799 | wxString * _arg6 = (wxString *) NULL; | |
1800 | long _arg7 = (long ) 0; | |
b68dc582 | 1801 | wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
1802 | char * _arg9 = (char *) "comboBox"; |
1803 | PyObject * _argo0 = 0; | |
37f6a977 RD |
1804 | wxPoint temp; |
1805 | PyObject * _obj3 = 0; | |
1806 | wxSize temp0; | |
1807 | PyObject * _obj4 = 0; | |
70551f47 | 1808 | PyObject * _obj6 = 0; |
2d091820 | 1809 | PyObject * _argo8 = 0; |
e02c03a4 | 1810 | char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL }; |
70551f47 RD |
1811 | char _ptemp[128]; |
1812 | ||
1813 | self = self; | |
37f6a977 | 1814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOOlOs:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9)) |
70551f47 | 1815 | return NULL; |
2d091820 RD |
1816 | if (_argo0) { |
1817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
1819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p."); |
1820 | return NULL; | |
1821 | } | |
1822 | } | |
37f6a977 RD |
1823 | if (_obj3) |
1824 | { | |
1825 | _arg3 = &temp; | |
1826 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 1827 | return NULL; |
37f6a977 RD |
1828 | } |
1829 | if (_obj4) | |
1830 | { | |
1831 | _arg4 = &temp0; | |
1832 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 1833 | return NULL; |
37f6a977 | 1834 | } |
70551f47 RD |
1835 | if (_obj6) |
1836 | { | |
1837 | _arg6 = wxString_LIST_helper(_obj6); | |
1838 | if (_arg6 == NULL) { | |
1839 | return NULL; | |
1840 | } | |
1841 | } | |
2d091820 RD |
1842 | if (_argo8) { |
1843 | if (_argo8 == Py_None) { _arg8 = NULL; } | |
1844 | else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) { | |
70551f47 RD |
1845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p."); |
1846 | return NULL; | |
1847 | } | |
1848 | } | |
1849 | { | |
ab9bc19b RD |
1850 | if (_obj6) { |
1851 | _arg5 = PyList_Size(_obj6); | |
1852 | } | |
1853 | else { | |
1854 | _arg5 = 0; | |
1855 | } | |
70551f47 | 1856 | } |
ab9bc19b RD |
1857 | { |
1858 | wxPy_BEGIN_ALLOW_THREADS; | |
1859 | _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9); | |
1860 | ||
1861 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1862 | } if (_result) { |
1863 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p"); | |
1864 | _resultobj = Py_BuildValue("s",_ptemp); | |
1865 | } else { | |
1866 | Py_INCREF(Py_None); | |
1867 | _resultobj = Py_None; | |
1868 | } | |
70551f47 RD |
1869 | { |
1870 | delete [] _arg6; | |
1871 | } | |
1872 | return _resultobj; | |
1873 | } | |
1874 | ||
1875 | #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0)) | |
107e4716 | 1876 | static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1877 | PyObject * _resultobj; |
1878 | wxComboBox * _arg0; | |
1879 | wxString * _arg1; | |
2d091820 | 1880 | PyObject * _argo0 = 0; |
70551f47 | 1881 | PyObject * _obj1 = 0; |
107e4716 | 1882 | char *_kwnames[] = { "self","item", NULL }; |
70551f47 RD |
1883 | |
1884 | self = self; | |
107e4716 | 1885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_Append",_kwnames,&_argo0,&_obj1)) |
70551f47 | 1886 | return NULL; |
2d091820 RD |
1887 | if (_argo0) { |
1888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
1890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p."); |
1891 | return NULL; | |
1892 | } | |
1893 | } | |
1894 | { | |
2cd2fac8 RD |
1895 | #if PYTHON_API_VERSION >= 1009 |
1896 | char* tmpPtr; int tmpSize; | |
1897 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 1898 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
1899 | return NULL; |
1900 | } | |
1901 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1902 | return NULL; | |
1903 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1904 | #else | |
70551f47 RD |
1905 | if (!PyString_Check(_obj1)) { |
1906 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1907 | return NULL; | |
1908 | } | |
2cd2fac8 RD |
1909 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1910 | #endif | |
70551f47 | 1911 | } |
ab9bc19b RD |
1912 | { |
1913 | wxPy_BEGIN_ALLOW_THREADS; | |
1914 | wxComboBox_Append(_arg0,*_arg1); | |
1915 | ||
1916 | wxPy_END_ALLOW_THREADS; | |
1917 | } Py_INCREF(Py_None); | |
70551f47 RD |
1918 | _resultobj = Py_None; |
1919 | { | |
1920 | if (_obj1) | |
1921 | delete _arg1; | |
1922 | } | |
1923 | return _resultobj; | |
1924 | } | |
1925 | ||
1926 | #define wxComboBox_Clear(_swigobj) (_swigobj->Clear()) | |
107e4716 | 1927 | static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1928 | PyObject * _resultobj; |
1929 | wxComboBox * _arg0; | |
2d091820 | 1930 | PyObject * _argo0 = 0; |
107e4716 | 1931 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1932 | |
1933 | self = self; | |
107e4716 | 1934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Clear",_kwnames,&_argo0)) |
70551f47 | 1935 | return NULL; |
2d091820 RD |
1936 | if (_argo0) { |
1937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
1939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p."); |
1940 | return NULL; | |
1941 | } | |
1942 | } | |
ab9bc19b RD |
1943 | { |
1944 | wxPy_BEGIN_ALLOW_THREADS; | |
1945 | wxComboBox_Clear(_arg0); | |
1946 | ||
1947 | wxPy_END_ALLOW_THREADS; | |
1948 | } Py_INCREF(Py_None); | |
70551f47 RD |
1949 | _resultobj = Py_None; |
1950 | return _resultobj; | |
1951 | } | |
1952 | ||
1953 | #define wxComboBox_Copy(_swigobj) (_swigobj->Copy()) | |
107e4716 | 1954 | static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1955 | PyObject * _resultobj; |
1956 | wxComboBox * _arg0; | |
2d091820 | 1957 | PyObject * _argo0 = 0; |
107e4716 | 1958 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1959 | |
1960 | self = self; | |
107e4716 | 1961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0)) |
70551f47 | 1962 | return NULL; |
2d091820 RD |
1963 | if (_argo0) { |
1964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
1966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p."); |
1967 | return NULL; | |
1968 | } | |
1969 | } | |
ab9bc19b RD |
1970 | { |
1971 | wxPy_BEGIN_ALLOW_THREADS; | |
1972 | wxComboBox_Copy(_arg0); | |
1973 | ||
1974 | wxPy_END_ALLOW_THREADS; | |
1975 | } Py_INCREF(Py_None); | |
70551f47 RD |
1976 | _resultobj = Py_None; |
1977 | return _resultobj; | |
1978 | } | |
1979 | ||
1980 | #define wxComboBox_Cut(_swigobj) (_swigobj->Cut()) | |
107e4716 | 1981 | static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
1982 | PyObject * _resultobj; |
1983 | wxComboBox * _arg0; | |
2d091820 | 1984 | PyObject * _argo0 = 0; |
107e4716 | 1985 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
1986 | |
1987 | self = self; | |
107e4716 | 1988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0)) |
70551f47 | 1989 | return NULL; |
2d091820 RD |
1990 | if (_argo0) { |
1991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
1993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p."); |
1994 | return NULL; | |
1995 | } | |
1996 | } | |
ab9bc19b RD |
1997 | { |
1998 | wxPy_BEGIN_ALLOW_THREADS; | |
1999 | wxComboBox_Cut(_arg0); | |
2000 | ||
2001 | wxPy_END_ALLOW_THREADS; | |
2002 | } Py_INCREF(Py_None); | |
70551f47 RD |
2003 | _resultobj = Py_None; |
2004 | return _resultobj; | |
2005 | } | |
2006 | ||
2007 | #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0)) | |
107e4716 | 2008 | static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2009 | PyObject * _resultobj; |
2010 | wxComboBox * _arg0; | |
2011 | int _arg1; | |
2d091820 | 2012 | PyObject * _argo0 = 0; |
107e4716 | 2013 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
2014 | |
2015 | self = self; | |
107e4716 | 2016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_Delete",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2017 | return NULL; |
2d091820 RD |
2018 | if (_argo0) { |
2019 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2020 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p."); |
2022 | return NULL; | |
2023 | } | |
2024 | } | |
ab9bc19b RD |
2025 | { |
2026 | wxPy_BEGIN_ALLOW_THREADS; | |
2027 | wxComboBox_Delete(_arg0,_arg1); | |
2028 | ||
2029 | wxPy_END_ALLOW_THREADS; | |
2030 | } Py_INCREF(Py_None); | |
70551f47 RD |
2031 | _resultobj = Py_None; |
2032 | return _resultobj; | |
2033 | } | |
2034 | ||
2035 | #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0)) | |
107e4716 | 2036 | static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2037 | PyObject * _resultobj; |
2038 | int _result; | |
2039 | wxComboBox * _arg0; | |
2040 | wxString * _arg1; | |
2d091820 | 2041 | PyObject * _argo0 = 0; |
70551f47 | 2042 | PyObject * _obj1 = 0; |
107e4716 | 2043 | char *_kwnames[] = { "self","string", NULL }; |
70551f47 RD |
2044 | |
2045 | self = self; | |
107e4716 | 2046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_FindString",_kwnames,&_argo0,&_obj1)) |
70551f47 | 2047 | return NULL; |
2d091820 RD |
2048 | if (_argo0) { |
2049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p."); |
2052 | return NULL; | |
2053 | } | |
2054 | } | |
2055 | { | |
2cd2fac8 RD |
2056 | #if PYTHON_API_VERSION >= 1009 |
2057 | char* tmpPtr; int tmpSize; | |
2058 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 2059 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
2060 | return NULL; |
2061 | } | |
2062 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2063 | return NULL; | |
2064 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2065 | #else | |
70551f47 RD |
2066 | if (!PyString_Check(_obj1)) { |
2067 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2068 | return NULL; | |
2069 | } | |
2cd2fac8 RD |
2070 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2071 | #endif | |
70551f47 | 2072 | } |
ab9bc19b RD |
2073 | { |
2074 | wxPy_BEGIN_ALLOW_THREADS; | |
2075 | _result = (int )wxComboBox_FindString(_arg0,*_arg1); | |
2076 | ||
2077 | wxPy_END_ALLOW_THREADS; | |
2078 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2079 | { |
2080 | if (_obj1) | |
2081 | delete _arg1; | |
2082 | } | |
2083 | return _resultobj; | |
2084 | } | |
2085 | ||
2086 | #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint()) | |
107e4716 | 2087 | static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2088 | PyObject * _resultobj; |
2089 | long _result; | |
2090 | wxComboBox * _arg0; | |
2d091820 | 2091 | PyObject * _argo0 = 0; |
107e4716 | 2092 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2093 | |
2094 | self = self; | |
107e4716 | 2095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0)) |
70551f47 | 2096 | return NULL; |
2d091820 RD |
2097 | if (_argo0) { |
2098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p."); |
2101 | return NULL; | |
2102 | } | |
2103 | } | |
ab9bc19b RD |
2104 | { |
2105 | wxPy_BEGIN_ALLOW_THREADS; | |
2106 | _result = (long )wxComboBox_GetInsertionPoint(_arg0); | |
2107 | ||
2108 | wxPy_END_ALLOW_THREADS; | |
2109 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
2110 | return _resultobj; |
2111 | } | |
2112 | ||
2113 | #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition()) | |
107e4716 | 2114 | static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2115 | PyObject * _resultobj; |
2116 | long _result; | |
2117 | wxComboBox * _arg0; | |
2d091820 | 2118 | PyObject * _argo0 = 0; |
107e4716 | 2119 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2120 | |
2121 | self = self; | |
107e4716 | 2122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0)) |
70551f47 | 2123 | return NULL; |
2d091820 RD |
2124 | if (_argo0) { |
2125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p."); |
2128 | return NULL; | |
2129 | } | |
2130 | } | |
ab9bc19b RD |
2131 | { |
2132 | wxPy_BEGIN_ALLOW_THREADS; | |
2133 | _result = (long )wxComboBox_GetLastPosition(_arg0); | |
2134 | ||
2135 | wxPy_END_ALLOW_THREADS; | |
2136 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
2137 | return _resultobj; |
2138 | } | |
2139 | ||
2140 | #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 2141 | static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2142 | PyObject * _resultobj; |
2143 | int _result; | |
2144 | wxComboBox * _arg0; | |
2d091820 | 2145 | PyObject * _argo0 = 0; |
107e4716 | 2146 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2147 | |
2148 | self = self; | |
107e4716 | 2149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetSelection",_kwnames,&_argo0)) |
70551f47 | 2150 | return NULL; |
2d091820 RD |
2151 | if (_argo0) { |
2152 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2153 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p."); |
2155 | return NULL; | |
2156 | } | |
2157 | } | |
ab9bc19b RD |
2158 | { |
2159 | wxPy_BEGIN_ALLOW_THREADS; | |
2160 | _result = (int )wxComboBox_GetSelection(_arg0); | |
2161 | ||
2162 | wxPy_END_ALLOW_THREADS; | |
2163 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2164 | return _resultobj; |
2165 | } | |
2166 | ||
2167 | #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0)) | |
107e4716 | 2168 | static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2169 | PyObject * _resultobj; |
2170 | wxString * _result; | |
2171 | wxComboBox * _arg0; | |
2172 | int _arg1; | |
2d091820 | 2173 | PyObject * _argo0 = 0; |
107e4716 | 2174 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
2175 | |
2176 | self = self; | |
107e4716 | 2177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetString",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2178 | return NULL; |
2d091820 RD |
2179 | if (_argo0) { |
2180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p."); |
2183 | return NULL; | |
2184 | } | |
2185 | } | |
70551f47 | 2186 | { |
ab9bc19b RD |
2187 | wxPy_BEGIN_ALLOW_THREADS; |
2188 | _result = new wxString (wxComboBox_GetString(_arg0,_arg1)); | |
2189 | ||
2190 | wxPy_END_ALLOW_THREADS; | |
2191 | }{ | |
e02c03a4 | 2192 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
2193 | } |
2194 | { | |
2195 | delete _result; | |
2196 | } | |
2197 | return _resultobj; | |
2198 | } | |
2199 | ||
2200 | #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection()) | |
107e4716 | 2201 | static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2202 | PyObject * _resultobj; |
2203 | wxString * _result; | |
2204 | wxComboBox * _arg0; | |
2d091820 | 2205 | PyObject * _argo0 = 0; |
107e4716 | 2206 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2207 | |
2208 | self = self; | |
107e4716 | 2209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetStringSelection",_kwnames,&_argo0)) |
70551f47 | 2210 | return NULL; |
2d091820 RD |
2211 | if (_argo0) { |
2212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p."); |
2215 | return NULL; | |
2216 | } | |
2217 | } | |
70551f47 | 2218 | { |
ab9bc19b RD |
2219 | wxPy_BEGIN_ALLOW_THREADS; |
2220 | _result = new wxString (wxComboBox_GetStringSelection(_arg0)); | |
2221 | ||
2222 | wxPy_END_ALLOW_THREADS; | |
2223 | }{ | |
e02c03a4 | 2224 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
2225 | } |
2226 | { | |
2227 | delete _result; | |
2228 | } | |
2229 | return _resultobj; | |
2230 | } | |
2231 | ||
2232 | #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue()) | |
107e4716 | 2233 | static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2234 | PyObject * _resultobj; |
2235 | wxString * _result; | |
2236 | wxComboBox * _arg0; | |
2d091820 | 2237 | PyObject * _argo0 = 0; |
107e4716 | 2238 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2239 | |
2240 | self = self; | |
107e4716 | 2241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0)) |
70551f47 | 2242 | return NULL; |
2d091820 RD |
2243 | if (_argo0) { |
2244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p."); |
2247 | return NULL; | |
2248 | } | |
2249 | } | |
70551f47 | 2250 | { |
ab9bc19b RD |
2251 | wxPy_BEGIN_ALLOW_THREADS; |
2252 | _result = new wxString (wxComboBox_GetValue(_arg0)); | |
2253 | ||
2254 | wxPy_END_ALLOW_THREADS; | |
2255 | }{ | |
e02c03a4 | 2256 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
2257 | } |
2258 | { | |
2259 | delete _result; | |
2260 | } | |
2261 | return _resultobj; | |
2262 | } | |
2263 | ||
2264 | #define wxComboBox_Number(_swigobj) (_swigobj->Number()) | |
107e4716 | 2265 | static PyObject *_wrap_wxComboBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2266 | PyObject * _resultobj; |
2267 | int _result; | |
2268 | wxComboBox * _arg0; | |
2d091820 | 2269 | PyObject * _argo0 = 0; |
107e4716 | 2270 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2271 | |
2272 | self = self; | |
107e4716 | 2273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Number",_kwnames,&_argo0)) |
70551f47 | 2274 | return NULL; |
2d091820 RD |
2275 | if (_argo0) { |
2276 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2277 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p."); |
2279 | return NULL; | |
2280 | } | |
2281 | } | |
ab9bc19b RD |
2282 | { |
2283 | wxPy_BEGIN_ALLOW_THREADS; | |
2284 | _result = (int )wxComboBox_Number(_arg0); | |
2285 | ||
2286 | wxPy_END_ALLOW_THREADS; | |
2287 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2288 | return _resultobj; |
2289 | } | |
2290 | ||
2291 | #define wxComboBox_Paste(_swigobj) (_swigobj->Paste()) | |
107e4716 | 2292 | static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2293 | PyObject * _resultobj; |
2294 | wxComboBox * _arg0; | |
2d091820 | 2295 | PyObject * _argo0 = 0; |
107e4716 | 2296 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2297 | |
2298 | self = self; | |
107e4716 | 2299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0)) |
70551f47 | 2300 | return NULL; |
2d091820 RD |
2301 | if (_argo0) { |
2302 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2303 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p."); |
2305 | return NULL; | |
2306 | } | |
2307 | } | |
ab9bc19b RD |
2308 | { |
2309 | wxPy_BEGIN_ALLOW_THREADS; | |
2310 | wxComboBox_Paste(_arg0); | |
2311 | ||
2312 | wxPy_END_ALLOW_THREADS; | |
2313 | } Py_INCREF(Py_None); | |
70551f47 RD |
2314 | _resultobj = Py_None; |
2315 | return _resultobj; | |
2316 | } | |
2317 | ||
2318 | #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 2319 | static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2320 | PyObject * _resultobj; |
2321 | wxComboBox * _arg0; | |
2322 | long _arg1; | |
2323 | long _arg2; | |
2324 | wxString * _arg3; | |
2d091820 | 2325 | PyObject * _argo0 = 0; |
70551f47 | 2326 | PyObject * _obj3 = 0; |
107e4716 | 2327 | char *_kwnames[] = { "self","from","to","text", NULL }; |
70551f47 RD |
2328 | |
2329 | self = self; | |
107e4716 | 2330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) |
70551f47 | 2331 | return NULL; |
2d091820 RD |
2332 | if (_argo0) { |
2333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p."); |
2336 | return NULL; | |
2337 | } | |
2338 | } | |
2339 | { | |
2cd2fac8 RD |
2340 | #if PYTHON_API_VERSION >= 1009 |
2341 | char* tmpPtr; int tmpSize; | |
2342 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
7a446686 | 2343 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
2344 | return NULL; |
2345 | } | |
2346 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
2347 | return NULL; | |
2348 | _arg3 = new wxString(tmpPtr, tmpSize); | |
2349 | #else | |
70551f47 RD |
2350 | if (!PyString_Check(_obj3)) { |
2351 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2352 | return NULL; | |
2353 | } | |
2cd2fac8 RD |
2354 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
2355 | #endif | |
70551f47 | 2356 | } |
ab9bc19b RD |
2357 | { |
2358 | wxPy_BEGIN_ALLOW_THREADS; | |
2359 | wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3); | |
2360 | ||
2361 | wxPy_END_ALLOW_THREADS; | |
2362 | } Py_INCREF(Py_None); | |
70551f47 RD |
2363 | _resultobj = Py_None; |
2364 | { | |
2365 | if (_obj3) | |
2366 | delete _arg3; | |
2367 | } | |
2368 | return _resultobj; | |
2369 | } | |
2370 | ||
2371 | #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1)) | |
107e4716 | 2372 | static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2373 | PyObject * _resultobj; |
2374 | wxComboBox * _arg0; | |
2375 | long _arg1; | |
2376 | long _arg2; | |
2d091820 | 2377 | PyObject * _argo0 = 0; |
107e4716 | 2378 | char *_kwnames[] = { "self","from","to", NULL }; |
70551f47 RD |
2379 | |
2380 | self = self; | |
107e4716 | 2381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2382 | return NULL; |
2d091820 RD |
2383 | if (_argo0) { |
2384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p."); |
2387 | return NULL; | |
2388 | } | |
2389 | } | |
ab9bc19b RD |
2390 | { |
2391 | wxPy_BEGIN_ALLOW_THREADS; | |
2392 | wxComboBox_Remove(_arg0,_arg1,_arg2); | |
2393 | ||
2394 | wxPy_END_ALLOW_THREADS; | |
2395 | } Py_INCREF(Py_None); | |
70551f47 RD |
2396 | _resultobj = Py_None; |
2397 | return _resultobj; | |
2398 | } | |
2399 | ||
2400 | #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0)) | |
107e4716 | 2401 | static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2402 | PyObject * _resultobj; |
2403 | wxComboBox * _arg0; | |
2404 | long _arg1; | |
2d091820 | 2405 | PyObject * _argo0 = 0; |
107e4716 | 2406 | char *_kwnames[] = { "self","pos", NULL }; |
70551f47 RD |
2407 | |
2408 | self = self; | |
107e4716 | 2409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2410 | return NULL; |
2d091820 RD |
2411 | if (_argo0) { |
2412 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2413 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p."); |
2415 | return NULL; | |
2416 | } | |
2417 | } | |
ab9bc19b RD |
2418 | { |
2419 | wxPy_BEGIN_ALLOW_THREADS; | |
2420 | wxComboBox_SetInsertionPoint(_arg0,_arg1); | |
2421 | ||
2422 | wxPy_END_ALLOW_THREADS; | |
2423 | } Py_INCREF(Py_None); | |
70551f47 RD |
2424 | _resultobj = Py_None; |
2425 | return _resultobj; | |
2426 | } | |
2427 | ||
2428 | #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd()) | |
107e4716 | 2429 | static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2430 | PyObject * _resultobj; |
2431 | wxComboBox * _arg0; | |
2d091820 | 2432 | PyObject * _argo0 = 0; |
107e4716 | 2433 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2434 | |
2435 | self = self; | |
107e4716 | 2436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0)) |
70551f47 | 2437 | return NULL; |
2d091820 RD |
2438 | if (_argo0) { |
2439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p."); |
2442 | return NULL; | |
2443 | } | |
2444 | } | |
ab9bc19b RD |
2445 | { |
2446 | wxPy_BEGIN_ALLOW_THREADS; | |
2447 | wxComboBox_SetInsertionPointEnd(_arg0); | |
2448 | ||
2449 | wxPy_END_ALLOW_THREADS; | |
2450 | } Py_INCREF(Py_None); | |
70551f47 RD |
2451 | _resultobj = Py_None; |
2452 | return _resultobj; | |
2453 | } | |
2454 | ||
2d091820 | 2455 | #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) |
107e4716 | 2456 | static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
2d091820 RD |
2457 | PyObject * _resultobj; |
2458 | wxComboBox * _arg0; | |
2459 | int _arg1; | |
2460 | PyObject * _argo0 = 0; | |
107e4716 | 2461 | char *_kwnames[] = { "self","n", NULL }; |
2d091820 RD |
2462 | |
2463 | self = self; | |
107e4716 | 2464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1)) |
2d091820 RD |
2465 | return NULL; |
2466 | if (_argo0) { | |
2467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
2469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p."); | |
2470 | return NULL; | |
2471 | } | |
2472 | } | |
2473 | { | |
2474 | wxPy_BEGIN_ALLOW_THREADS; | |
2475 | wxComboBox_SetSelection(_arg0,_arg1); | |
2476 | ||
2477 | wxPy_END_ALLOW_THREADS; | |
2478 | } Py_INCREF(Py_None); | |
2479 | _resultobj = Py_None; | |
2480 | return _resultobj; | |
2481 | } | |
2482 | ||
70551f47 | 2483 | #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) |
107e4716 | 2484 | static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2485 | PyObject * _resultobj; |
2486 | wxComboBox * _arg0; | |
2487 | long _arg1; | |
2488 | long _arg2; | |
2d091820 | 2489 | PyObject * _argo0 = 0; |
107e4716 | 2490 | char *_kwnames[] = { "self","from","to", NULL }; |
70551f47 RD |
2491 | |
2492 | self = self; | |
107e4716 | 2493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 2494 | return NULL; |
2d091820 RD |
2495 | if (_argo0) { |
2496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p."); |
2499 | return NULL; | |
2500 | } | |
2501 | } | |
ab9bc19b RD |
2502 | { |
2503 | wxPy_BEGIN_ALLOW_THREADS; | |
2504 | wxComboBox_SetMark(_arg0,_arg1,_arg2); | |
2505 | ||
2506 | wxPy_END_ALLOW_THREADS; | |
2507 | } Py_INCREF(Py_None); | |
70551f47 RD |
2508 | _resultobj = Py_None; |
2509 | return _resultobj; | |
2510 | } | |
2511 | ||
2512 | #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 2513 | static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2514 | PyObject * _resultobj; |
2515 | wxComboBox * _arg0; | |
2516 | wxString * _arg1; | |
2d091820 | 2517 | PyObject * _argo0 = 0; |
70551f47 | 2518 | PyObject * _obj1 = 0; |
107e4716 | 2519 | char *_kwnames[] = { "self","text", NULL }; |
70551f47 RD |
2520 | |
2521 | self = self; | |
107e4716 | 2522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1)) |
70551f47 | 2523 | return NULL; |
2d091820 RD |
2524 | if (_argo0) { |
2525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) { | |
70551f47 RD |
2527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p."); |
2528 | return NULL; | |
2529 | } | |
2530 | } | |
2531 | { | |
2cd2fac8 RD |
2532 | #if PYTHON_API_VERSION >= 1009 |
2533 | char* tmpPtr; int tmpSize; | |
2534 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 2535 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
2536 | return NULL; |
2537 | } | |
2538 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2539 | return NULL; | |
2540 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2541 | #else | |
70551f47 RD |
2542 | if (!PyString_Check(_obj1)) { |
2543 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2544 | return NULL; | |
2545 | } | |
2cd2fac8 RD |
2546 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2547 | #endif | |
70551f47 | 2548 | } |
ab9bc19b RD |
2549 | { |
2550 | wxPy_BEGIN_ALLOW_THREADS; | |
2551 | wxComboBox_SetValue(_arg0,*_arg1); | |
2552 | ||
2553 | wxPy_END_ALLOW_THREADS; | |
2554 | } Py_INCREF(Py_None); | |
70551f47 RD |
2555 | _resultobj = Py_None; |
2556 | { | |
2557 | if (_obj1) | |
2558 | delete _arg1; | |
2559 | } | |
2560 | return _resultobj; | |
2561 | } | |
2562 | ||
2563 | static void *SwigwxGaugeTowxControl(void *ptr) { | |
2564 | wxGauge *src; | |
2565 | wxControl *dest; | |
2566 | src = (wxGauge *) ptr; | |
2567 | dest = (wxControl *) src; | |
2568 | return (void *) dest; | |
2569 | } | |
2570 | ||
2571 | static void *SwigwxGaugeTowxWindow(void *ptr) { | |
2572 | wxGauge *src; | |
2573 | wxWindow *dest; | |
2574 | src = (wxGauge *) ptr; | |
2575 | dest = (wxWindow *) src; | |
2576 | return (void *) dest; | |
2577 | } | |
2578 | ||
2579 | static void *SwigwxGaugeTowxEvtHandler(void *ptr) { | |
2580 | wxGauge *src; | |
2581 | wxEvtHandler *dest; | |
2582 | src = (wxGauge *) ptr; | |
2583 | dest = (wxEvtHandler *) src; | |
2584 | return (void *) dest; | |
2585 | } | |
2586 | ||
9df61a29 RD |
2587 | static void *SwigwxGaugeTowxObject(void *ptr) { |
2588 | wxGauge *src; | |
2589 | wxObject *dest; | |
2590 | src = (wxGauge *) ptr; | |
2591 | dest = (wxObject *) src; | |
2592 | return (void *) dest; | |
2593 | } | |
2594 | ||
70551f47 | 2595 | #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) |
107e4716 | 2596 | static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2597 | PyObject * _resultobj; |
2598 | wxGauge * _result; | |
2599 | wxWindow * _arg0; | |
2600 | wxWindowID _arg1; | |
2601 | int _arg2; | |
b68dc582 RD |
2602 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
2603 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 | 2604 | long _arg5 = (long ) wxGA_HORIZONTAL; |
b68dc582 | 2605 | wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
2606 | char * _arg7 = (char *) "gauge"; |
2607 | PyObject * _argo0 = 0; | |
37f6a977 RD |
2608 | wxPoint temp; |
2609 | PyObject * _obj3 = 0; | |
2610 | wxSize temp0; | |
2611 | PyObject * _obj4 = 0; | |
2d091820 | 2612 | PyObject * _argo6 = 0; |
107e4716 | 2613 | char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL }; |
70551f47 RD |
2614 | char _ptemp[128]; |
2615 | ||
2616 | self = self; | |
37f6a977 | 2617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOs:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
70551f47 | 2618 | return NULL; |
2d091820 RD |
2619 | if (_argo0) { |
2620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
2622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p."); |
2623 | return NULL; | |
2624 | } | |
2625 | } | |
37f6a977 RD |
2626 | if (_obj3) |
2627 | { | |
2628 | _arg3 = &temp; | |
2629 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 2630 | return NULL; |
37f6a977 RD |
2631 | } |
2632 | if (_obj4) | |
2633 | { | |
2634 | _arg4 = &temp0; | |
2635 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 2636 | return NULL; |
37f6a977 | 2637 | } |
2d091820 RD |
2638 | if (_argo6) { |
2639 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
2640 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
70551f47 RD |
2641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p."); |
2642 | return NULL; | |
2643 | } | |
2644 | } | |
ab9bc19b RD |
2645 | { |
2646 | wxPy_BEGIN_ALLOW_THREADS; | |
2647 | _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
2648 | ||
2649 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2650 | } if (_result) { |
2651 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p"); | |
2652 | _resultobj = Py_BuildValue("s",_ptemp); | |
2653 | } else { | |
2654 | Py_INCREF(Py_None); | |
2655 | _resultobj = Py_None; | |
2656 | } | |
70551f47 RD |
2657 | return _resultobj; |
2658 | } | |
2659 | ||
2660 | #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace()) | |
107e4716 | 2661 | static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2662 | PyObject * _resultobj; |
2663 | int _result; | |
2664 | wxGauge * _arg0; | |
2d091820 | 2665 | PyObject * _argo0 = 0; |
107e4716 | 2666 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2667 | |
2668 | self = self; | |
107e4716 | 2669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0)) |
70551f47 | 2670 | return NULL; |
2d091820 RD |
2671 | if (_argo0) { |
2672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p."); |
2675 | return NULL; | |
2676 | } | |
2677 | } | |
ab9bc19b RD |
2678 | { |
2679 | wxPy_BEGIN_ALLOW_THREADS; | |
2680 | _result = (int )wxGauge_GetBezelFace(_arg0); | |
2681 | ||
2682 | wxPy_END_ALLOW_THREADS; | |
2683 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2684 | return _resultobj; |
2685 | } | |
2686 | ||
2687 | #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange()) | |
107e4716 | 2688 | static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2689 | PyObject * _resultobj; |
2690 | int _result; | |
2691 | wxGauge * _arg0; | |
2d091820 | 2692 | PyObject * _argo0 = 0; |
107e4716 | 2693 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2694 | |
2695 | self = self; | |
107e4716 | 2696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0)) |
70551f47 | 2697 | return NULL; |
2d091820 RD |
2698 | if (_argo0) { |
2699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p."); |
2702 | return NULL; | |
2703 | } | |
2704 | } | |
ab9bc19b RD |
2705 | { |
2706 | wxPy_BEGIN_ALLOW_THREADS; | |
2707 | _result = (int )wxGauge_GetRange(_arg0); | |
2708 | ||
2709 | wxPy_END_ALLOW_THREADS; | |
2710 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2711 | return _resultobj; |
2712 | } | |
2713 | ||
2714 | #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth()) | |
107e4716 | 2715 | static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2716 | PyObject * _resultobj; |
2717 | int _result; | |
2718 | wxGauge * _arg0; | |
2d091820 | 2719 | PyObject * _argo0 = 0; |
107e4716 | 2720 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2721 | |
2722 | self = self; | |
107e4716 | 2723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0)) |
70551f47 | 2724 | return NULL; |
2d091820 RD |
2725 | if (_argo0) { |
2726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p."); |
2729 | return NULL; | |
2730 | } | |
2731 | } | |
ab9bc19b RD |
2732 | { |
2733 | wxPy_BEGIN_ALLOW_THREADS; | |
2734 | _result = (int )wxGauge_GetShadowWidth(_arg0); | |
2735 | ||
2736 | wxPy_END_ALLOW_THREADS; | |
2737 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2738 | return _resultobj; |
2739 | } | |
2740 | ||
2741 | #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue()) | |
107e4716 | 2742 | static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2743 | PyObject * _resultobj; |
2744 | int _result; | |
2745 | wxGauge * _arg0; | |
2d091820 | 2746 | PyObject * _argo0 = 0; |
107e4716 | 2747 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
2748 | |
2749 | self = self; | |
107e4716 | 2750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0)) |
70551f47 | 2751 | return NULL; |
2d091820 RD |
2752 | if (_argo0) { |
2753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p."); |
2756 | return NULL; | |
2757 | } | |
2758 | } | |
ab9bc19b RD |
2759 | { |
2760 | wxPy_BEGIN_ALLOW_THREADS; | |
2761 | _result = (int )wxGauge_GetValue(_arg0); | |
2762 | ||
2763 | wxPy_END_ALLOW_THREADS; | |
2764 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
2765 | return _resultobj; |
2766 | } | |
2767 | ||
2768 | #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0)) | |
107e4716 | 2769 | static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2770 | PyObject * _resultobj; |
2771 | wxGauge * _arg0; | |
2772 | int _arg1; | |
2d091820 | 2773 | PyObject * _argo0 = 0; |
107e4716 | 2774 | char *_kwnames[] = { "self","width", NULL }; |
70551f47 RD |
2775 | |
2776 | self = self; | |
107e4716 | 2777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2778 | return NULL; |
2d091820 RD |
2779 | if (_argo0) { |
2780 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2781 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p."); |
2783 | return NULL; | |
2784 | } | |
2785 | } | |
ab9bc19b RD |
2786 | { |
2787 | wxPy_BEGIN_ALLOW_THREADS; | |
2788 | wxGauge_SetBezelFace(_arg0,_arg1); | |
2789 | ||
2790 | wxPy_END_ALLOW_THREADS; | |
2791 | } Py_INCREF(Py_None); | |
70551f47 RD |
2792 | _resultobj = Py_None; |
2793 | return _resultobj; | |
2794 | } | |
2795 | ||
2796 | #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0)) | |
107e4716 | 2797 | static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2798 | PyObject * _resultobj; |
2799 | wxGauge * _arg0; | |
2800 | int _arg1; | |
2d091820 | 2801 | PyObject * _argo0 = 0; |
107e4716 | 2802 | char *_kwnames[] = { "self","range", NULL }; |
70551f47 RD |
2803 | |
2804 | self = self; | |
107e4716 | 2805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2806 | return NULL; |
2d091820 RD |
2807 | if (_argo0) { |
2808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p."); |
2811 | return NULL; | |
2812 | } | |
2813 | } | |
ab9bc19b RD |
2814 | { |
2815 | wxPy_BEGIN_ALLOW_THREADS; | |
2816 | wxGauge_SetRange(_arg0,_arg1); | |
2817 | ||
2818 | wxPy_END_ALLOW_THREADS; | |
2819 | } Py_INCREF(Py_None); | |
70551f47 RD |
2820 | _resultobj = Py_None; |
2821 | return _resultobj; | |
2822 | } | |
2823 | ||
2824 | #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0)) | |
107e4716 | 2825 | static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2826 | PyObject * _resultobj; |
2827 | wxGauge * _arg0; | |
2828 | int _arg1; | |
2d091820 | 2829 | PyObject * _argo0 = 0; |
107e4716 | 2830 | char *_kwnames[] = { "self","width", NULL }; |
70551f47 RD |
2831 | |
2832 | self = self; | |
107e4716 | 2833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2834 | return NULL; |
2d091820 RD |
2835 | if (_argo0) { |
2836 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2837 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p."); |
2839 | return NULL; | |
2840 | } | |
2841 | } | |
ab9bc19b RD |
2842 | { |
2843 | wxPy_BEGIN_ALLOW_THREADS; | |
2844 | wxGauge_SetShadowWidth(_arg0,_arg1); | |
2845 | ||
2846 | wxPy_END_ALLOW_THREADS; | |
2847 | } Py_INCREF(Py_None); | |
70551f47 RD |
2848 | _resultobj = Py_None; |
2849 | return _resultobj; | |
2850 | } | |
2851 | ||
2852 | #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 2853 | static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2854 | PyObject * _resultobj; |
2855 | wxGauge * _arg0; | |
2856 | int _arg1; | |
2d091820 | 2857 | PyObject * _argo0 = 0; |
107e4716 | 2858 | char *_kwnames[] = { "self","pos", NULL }; |
70551f47 RD |
2859 | |
2860 | self = self; | |
107e4716 | 2861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1)) |
70551f47 | 2862 | return NULL; |
2d091820 RD |
2863 | if (_argo0) { |
2864 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2865 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) { | |
70551f47 RD |
2866 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p."); |
2867 | return NULL; | |
2868 | } | |
2869 | } | |
ab9bc19b RD |
2870 | { |
2871 | wxPy_BEGIN_ALLOW_THREADS; | |
2872 | wxGauge_SetValue(_arg0,_arg1); | |
2873 | ||
2874 | wxPy_END_ALLOW_THREADS; | |
2875 | } Py_INCREF(Py_None); | |
70551f47 RD |
2876 | _resultobj = Py_None; |
2877 | return _resultobj; | |
2878 | } | |
2879 | ||
2880 | static void *SwigwxStaticBoxTowxControl(void *ptr) { | |
2881 | wxStaticBox *src; | |
2882 | wxControl *dest; | |
2883 | src = (wxStaticBox *) ptr; | |
2884 | dest = (wxControl *) src; | |
2885 | return (void *) dest; | |
2886 | } | |
2887 | ||
2888 | static void *SwigwxStaticBoxTowxWindow(void *ptr) { | |
2889 | wxStaticBox *src; | |
2890 | wxWindow *dest; | |
2891 | src = (wxStaticBox *) ptr; | |
2892 | dest = (wxWindow *) src; | |
2893 | return (void *) dest; | |
2894 | } | |
2895 | ||
2896 | static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) { | |
2897 | wxStaticBox *src; | |
2898 | wxEvtHandler *dest; | |
2899 | src = (wxStaticBox *) ptr; | |
2900 | dest = (wxEvtHandler *) src; | |
2901 | return (void *) dest; | |
2902 | } | |
2903 | ||
9df61a29 RD |
2904 | static void *SwigwxStaticBoxTowxObject(void *ptr) { |
2905 | wxStaticBox *src; | |
2906 | wxObject *dest; | |
2907 | src = (wxStaticBox *) ptr; | |
2908 | dest = (wxObject *) src; | |
2909 | return (void *) dest; | |
2910 | } | |
2911 | ||
70551f47 | 2912 | #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
107e4716 | 2913 | static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
2914 | PyObject * _resultobj; |
2915 | wxStaticBox * _result; | |
2916 | wxWindow * _arg0; | |
2917 | wxWindowID _arg1; | |
2918 | wxString * _arg2; | |
b68dc582 RD |
2919 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
2920 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
2921 | long _arg5 = (long ) 0; |
2922 | char * _arg6 = (char *) "staticBox"; | |
2923 | PyObject * _argo0 = 0; | |
70551f47 | 2924 | PyObject * _obj2 = 0; |
37f6a977 RD |
2925 | wxPoint temp; |
2926 | PyObject * _obj3 = 0; | |
2927 | wxSize temp0; | |
2928 | PyObject * _obj4 = 0; | |
107e4716 | 2929 | char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL }; |
70551f47 RD |
2930 | char _ptemp[128]; |
2931 | ||
2932 | self = self; | |
37f6a977 | 2933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
70551f47 | 2934 | return NULL; |
2d091820 RD |
2935 | if (_argo0) { |
2936 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2937 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
2938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p."); |
2939 | return NULL; | |
2940 | } | |
2941 | } | |
2942 | { | |
2cd2fac8 RD |
2943 | #if PYTHON_API_VERSION >= 1009 |
2944 | char* tmpPtr; int tmpSize; | |
2945 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 2946 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
2947 | return NULL; |
2948 | } | |
2949 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
2950 | return NULL; | |
2951 | _arg2 = new wxString(tmpPtr, tmpSize); | |
2952 | #else | |
70551f47 RD |
2953 | if (!PyString_Check(_obj2)) { |
2954 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2955 | return NULL; | |
2956 | } | |
2cd2fac8 RD |
2957 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
2958 | #endif | |
70551f47 | 2959 | } |
37f6a977 RD |
2960 | if (_obj3) |
2961 | { | |
2962 | _arg3 = &temp; | |
2963 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 2964 | return NULL; |
37f6a977 RD |
2965 | } |
2966 | if (_obj4) | |
2967 | { | |
2968 | _arg4 = &temp0; | |
2969 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 2970 | return NULL; |
37f6a977 | 2971 | } |
ab9bc19b RD |
2972 | { |
2973 | wxPy_BEGIN_ALLOW_THREADS; | |
2974 | _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
2975 | ||
2976 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
2977 | } if (_result) { |
2978 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p"); | |
2979 | _resultobj = Py_BuildValue("s",_ptemp); | |
2980 | } else { | |
2981 | Py_INCREF(Py_None); | |
2982 | _resultobj = Py_None; | |
2983 | } | |
70551f47 RD |
2984 | { |
2985 | if (_obj2) | |
2986 | delete _arg2; | |
2987 | } | |
2988 | return _resultobj; | |
2989 | } | |
2990 | ||
d24a34bb RD |
2991 | static void *SwigwxStaticLineTowxControl(void *ptr) { |
2992 | wxStaticLine *src; | |
2993 | wxControl *dest; | |
2994 | src = (wxStaticLine *) ptr; | |
2995 | dest = (wxControl *) src; | |
2996 | return (void *) dest; | |
2997 | } | |
2998 | ||
2999 | static void *SwigwxStaticLineTowxWindow(void *ptr) { | |
3000 | wxStaticLine *src; | |
3001 | wxWindow *dest; | |
3002 | src = (wxStaticLine *) ptr; | |
3003 | dest = (wxWindow *) src; | |
3004 | return (void *) dest; | |
3005 | } | |
3006 | ||
3007 | static void *SwigwxStaticLineTowxEvtHandler(void *ptr) { | |
3008 | wxStaticLine *src; | |
3009 | wxEvtHandler *dest; | |
3010 | src = (wxStaticLine *) ptr; | |
3011 | dest = (wxEvtHandler *) src; | |
3012 | return (void *) dest; | |
3013 | } | |
3014 | ||
9df61a29 RD |
3015 | static void *SwigwxStaticLineTowxObject(void *ptr) { |
3016 | wxStaticLine *src; | |
3017 | wxObject *dest; | |
3018 | src = (wxStaticLine *) ptr; | |
3019 | dest = (wxObject *) src; | |
3020 | return (void *) dest; | |
3021 | } | |
3022 | ||
d24a34bb | 3023 | #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
107e4716 | 3024 | static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
3025 | PyObject * _resultobj; |
3026 | wxStaticLine * _result; | |
3027 | wxWindow * _arg0; | |
3028 | wxWindowID _arg1; | |
b68dc582 RD |
3029 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
3030 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
3031 | long _arg4 = (long ) wxLI_HORIZONTAL; |
3032 | char * _arg5 = (char *) "staticLine"; | |
3033 | PyObject * _argo0 = 0; | |
37f6a977 RD |
3034 | wxPoint temp; |
3035 | PyObject * _obj2 = 0; | |
3036 | wxSize temp0; | |
3037 | PyObject * _obj3 = 0; | |
107e4716 | 3038 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
d24a34bb RD |
3039 | char _ptemp[128]; |
3040 | ||
3041 | self = self; | |
37f6a977 | 3042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
d24a34bb | 3043 | return NULL; |
2d091820 RD |
3044 | if (_argo0) { |
3045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
d24a34bb RD |
3047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p."); |
3048 | return NULL; | |
3049 | } | |
3050 | } | |
37f6a977 RD |
3051 | if (_obj2) |
3052 | { | |
3053 | _arg2 = &temp; | |
3054 | if (! wxPoint_helper(_obj2, &_arg2)) | |
d24a34bb | 3055 | return NULL; |
37f6a977 RD |
3056 | } |
3057 | if (_obj3) | |
3058 | { | |
3059 | _arg3 = &temp0; | |
3060 | if (! wxSize_helper(_obj3, &_arg3)) | |
d24a34bb | 3061 | return NULL; |
37f6a977 | 3062 | } |
d24a34bb RD |
3063 | { |
3064 | wxPy_BEGIN_ALLOW_THREADS; | |
3065 | _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
3066 | ||
3067 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3068 | } if (_result) { |
3069 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p"); | |
3070 | _resultobj = Py_BuildValue("s",_ptemp); | |
3071 | } else { | |
3072 | Py_INCREF(Py_None); | |
3073 | _resultobj = Py_None; | |
3074 | } | |
d24a34bb RD |
3075 | return _resultobj; |
3076 | } | |
3077 | ||
70551f47 RD |
3078 | static void *SwigwxStaticTextTowxControl(void *ptr) { |
3079 | wxStaticText *src; | |
3080 | wxControl *dest; | |
3081 | src = (wxStaticText *) ptr; | |
3082 | dest = (wxControl *) src; | |
3083 | return (void *) dest; | |
3084 | } | |
3085 | ||
3086 | static void *SwigwxStaticTextTowxWindow(void *ptr) { | |
3087 | wxStaticText *src; | |
3088 | wxWindow *dest; | |
3089 | src = (wxStaticText *) ptr; | |
3090 | dest = (wxWindow *) src; | |
3091 | return (void *) dest; | |
3092 | } | |
3093 | ||
3094 | static void *SwigwxStaticTextTowxEvtHandler(void *ptr) { | |
3095 | wxStaticText *src; | |
3096 | wxEvtHandler *dest; | |
3097 | src = (wxStaticText *) ptr; | |
3098 | dest = (wxEvtHandler *) src; | |
3099 | return (void *) dest; | |
3100 | } | |
3101 | ||
9df61a29 RD |
3102 | static void *SwigwxStaticTextTowxObject(void *ptr) { |
3103 | wxStaticText *src; | |
3104 | wxObject *dest; | |
3105 | src = (wxStaticText *) ptr; | |
3106 | dest = (wxObject *) src; | |
3107 | return (void *) dest; | |
3108 | } | |
3109 | ||
70551f47 | 3110 | #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
107e4716 | 3111 | static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3112 | PyObject * _resultobj; |
3113 | wxStaticText * _result; | |
3114 | wxWindow * _arg0; | |
3115 | wxWindowID _arg1; | |
3116 | wxString * _arg2; | |
b68dc582 RD |
3117 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
3118 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
3119 | long _arg5 = (long ) 0; |
3120 | char * _arg6 = (char *) "staticText"; | |
3121 | PyObject * _argo0 = 0; | |
70551f47 | 3122 | PyObject * _obj2 = 0; |
37f6a977 RD |
3123 | wxPoint temp; |
3124 | PyObject * _obj3 = 0; | |
3125 | wxSize temp0; | |
3126 | PyObject * _obj4 = 0; | |
107e4716 | 3127 | char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL }; |
70551f47 RD |
3128 | char _ptemp[128]; |
3129 | ||
3130 | self = self; | |
37f6a977 | 3131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6)) |
70551f47 | 3132 | return NULL; |
2d091820 RD |
3133 | if (_argo0) { |
3134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
3136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p."); |
3137 | return NULL; | |
3138 | } | |
3139 | } | |
3140 | { | |
2cd2fac8 RD |
3141 | #if PYTHON_API_VERSION >= 1009 |
3142 | char* tmpPtr; int tmpSize; | |
3143 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 3144 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
3145 | return NULL; |
3146 | } | |
3147 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3148 | return NULL; | |
3149 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3150 | #else | |
70551f47 RD |
3151 | if (!PyString_Check(_obj2)) { |
3152 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3153 | return NULL; | |
3154 | } | |
2cd2fac8 RD |
3155 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3156 | #endif | |
70551f47 | 3157 | } |
37f6a977 RD |
3158 | if (_obj3) |
3159 | { | |
3160 | _arg3 = &temp; | |
3161 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 3162 | return NULL; |
37f6a977 RD |
3163 | } |
3164 | if (_obj4) | |
3165 | { | |
3166 | _arg4 = &temp0; | |
3167 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 3168 | return NULL; |
37f6a977 | 3169 | } |
ab9bc19b RD |
3170 | { |
3171 | wxPy_BEGIN_ALLOW_THREADS; | |
3172 | _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
3173 | ||
3174 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3175 | } if (_result) { |
3176 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p"); | |
3177 | _resultobj = Py_BuildValue("s",_ptemp); | |
3178 | } else { | |
3179 | Py_INCREF(Py_None); | |
3180 | _resultobj = Py_None; | |
3181 | } | |
70551f47 RD |
3182 | { |
3183 | if (_obj2) | |
3184 | delete _arg2; | |
3185 | } | |
3186 | return _resultobj; | |
3187 | } | |
3188 | ||
3189 | #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel()) | |
107e4716 | 3190 | static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3191 | PyObject * _resultobj; |
3192 | wxString * _result; | |
3193 | wxStaticText * _arg0; | |
2d091820 | 3194 | PyObject * _argo0 = 0; |
107e4716 | 3195 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3196 | |
3197 | self = self; | |
107e4716 | 3198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0)) |
70551f47 | 3199 | return NULL; |
2d091820 RD |
3200 | if (_argo0) { |
3201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) { | |
70551f47 RD |
3203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p."); |
3204 | return NULL; | |
3205 | } | |
3206 | } | |
70551f47 | 3207 | { |
ab9bc19b RD |
3208 | wxPy_BEGIN_ALLOW_THREADS; |
3209 | _result = new wxString (wxStaticText_GetLabel(_arg0)); | |
3210 | ||
3211 | wxPy_END_ALLOW_THREADS; | |
3212 | }{ | |
e02c03a4 | 3213 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
3214 | } |
3215 | { | |
3216 | delete _result; | |
3217 | } | |
3218 | return _resultobj; | |
3219 | } | |
3220 | ||
3221 | #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0)) | |
107e4716 | 3222 | static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3223 | PyObject * _resultobj; |
3224 | wxStaticText * _arg0; | |
3225 | wxString * _arg1; | |
2d091820 | 3226 | PyObject * _argo0 = 0; |
70551f47 | 3227 | PyObject * _obj1 = 0; |
107e4716 | 3228 | char *_kwnames[] = { "self","label", NULL }; |
70551f47 RD |
3229 | |
3230 | self = self; | |
107e4716 | 3231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1)) |
70551f47 | 3232 | return NULL; |
2d091820 RD |
3233 | if (_argo0) { |
3234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) { | |
70551f47 RD |
3236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p."); |
3237 | return NULL; | |
3238 | } | |
3239 | } | |
3240 | { | |
2cd2fac8 RD |
3241 | #if PYTHON_API_VERSION >= 1009 |
3242 | char* tmpPtr; int tmpSize; | |
3243 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 3244 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
3245 | return NULL; |
3246 | } | |
3247 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3248 | return NULL; | |
3249 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3250 | #else | |
70551f47 RD |
3251 | if (!PyString_Check(_obj1)) { |
3252 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3253 | return NULL; | |
3254 | } | |
2cd2fac8 RD |
3255 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3256 | #endif | |
70551f47 | 3257 | } |
ab9bc19b RD |
3258 | { |
3259 | wxPy_BEGIN_ALLOW_THREADS; | |
3260 | wxStaticText_SetLabel(_arg0,*_arg1); | |
3261 | ||
3262 | wxPy_END_ALLOW_THREADS; | |
3263 | } Py_INCREF(Py_None); | |
70551f47 RD |
3264 | _resultobj = Py_None; |
3265 | { | |
3266 | if (_obj1) | |
3267 | delete _arg1; | |
3268 | } | |
3269 | return _resultobj; | |
3270 | } | |
3271 | ||
3272 | static void *SwigwxListBoxTowxControl(void *ptr) { | |
3273 | wxListBox *src; | |
3274 | wxControl *dest; | |
3275 | src = (wxListBox *) ptr; | |
3276 | dest = (wxControl *) src; | |
3277 | return (void *) dest; | |
3278 | } | |
3279 | ||
3280 | static void *SwigwxListBoxTowxWindow(void *ptr) { | |
3281 | wxListBox *src; | |
3282 | wxWindow *dest; | |
3283 | src = (wxListBox *) ptr; | |
3284 | dest = (wxWindow *) src; | |
3285 | return (void *) dest; | |
3286 | } | |
3287 | ||
3288 | static void *SwigwxListBoxTowxEvtHandler(void *ptr) { | |
3289 | wxListBox *src; | |
3290 | wxEvtHandler *dest; | |
3291 | src = (wxListBox *) ptr; | |
3292 | dest = (wxEvtHandler *) src; | |
3293 | return (void *) dest; | |
3294 | } | |
3295 | ||
9df61a29 RD |
3296 | static void *SwigwxListBoxTowxObject(void *ptr) { |
3297 | wxListBox *src; | |
3298 | wxObject *dest; | |
3299 | src = (wxListBox *) ptr; | |
3300 | dest = (wxObject *) src; | |
3301 | return (void *) dest; | |
3302 | } | |
3303 | ||
70551f47 | 3304 | #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) |
107e4716 | 3305 | static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3306 | PyObject * _resultobj; |
3307 | wxListBox * _result; | |
3308 | wxWindow * _arg0; | |
3309 | wxWindowID _arg1; | |
b68dc582 RD |
3310 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
3311 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
70551f47 | 3312 | int _arg4; |
2d091820 RD |
3313 | wxString * _arg5 = (wxString *) NULL; |
3314 | long _arg6 = (long ) 0; | |
b68dc582 | 3315 | wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
3316 | char * _arg8 = (char *) "listBox"; |
3317 | PyObject * _argo0 = 0; | |
37f6a977 RD |
3318 | wxPoint temp; |
3319 | PyObject * _obj2 = 0; | |
3320 | wxSize temp0; | |
3321 | PyObject * _obj3 = 0; | |
70551f47 | 3322 | PyObject * _obj5 = 0; |
2d091820 | 3323 | PyObject * _argo7 = 0; |
e02c03a4 | 3324 | char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL }; |
70551f47 RD |
3325 | char _ptemp[128]; |
3326 | ||
3327 | self = self; | |
37f6a977 | 3328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8)) |
70551f47 | 3329 | return NULL; |
2d091820 RD |
3330 | if (_argo0) { |
3331 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3332 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
3333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p."); |
3334 | return NULL; | |
3335 | } | |
3336 | } | |
37f6a977 RD |
3337 | if (_obj2) |
3338 | { | |
3339 | _arg2 = &temp; | |
3340 | if (! wxPoint_helper(_obj2, &_arg2)) | |
70551f47 | 3341 | return NULL; |
37f6a977 RD |
3342 | } |
3343 | if (_obj3) | |
3344 | { | |
3345 | _arg3 = &temp0; | |
3346 | if (! wxSize_helper(_obj3, &_arg3)) | |
70551f47 | 3347 | return NULL; |
37f6a977 | 3348 | } |
70551f47 RD |
3349 | if (_obj5) |
3350 | { | |
3351 | _arg5 = wxString_LIST_helper(_obj5); | |
3352 | if (_arg5 == NULL) { | |
3353 | return NULL; | |
3354 | } | |
3355 | } | |
2d091820 RD |
3356 | if (_argo7) { |
3357 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
3358 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) { | |
70551f47 RD |
3359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p."); |
3360 | return NULL; | |
3361 | } | |
3362 | } | |
3363 | { | |
ab9bc19b RD |
3364 | if (_obj5) { |
3365 | _arg4 = PyList_Size(_obj5); | |
3366 | } | |
3367 | else { | |
3368 | _arg4 = 0; | |
3369 | } | |
70551f47 | 3370 | } |
ab9bc19b RD |
3371 | { |
3372 | wxPy_BEGIN_ALLOW_THREADS; | |
3373 | _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8); | |
3374 | ||
3375 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
3376 | } if (_result) { |
3377 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p"); | |
3378 | _resultobj = Py_BuildValue("s",_ptemp); | |
3379 | } else { | |
3380 | Py_INCREF(Py_None); | |
3381 | _resultobj = Py_None; | |
3382 | } | |
70551f47 RD |
3383 | { |
3384 | delete [] _arg5; | |
3385 | } | |
3386 | return _resultobj; | |
3387 | } | |
3388 | ||
3389 | #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0)) | |
107e4716 | 3390 | static PyObject *_wrap_wxListBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3391 | PyObject * _resultobj; |
3392 | wxListBox * _arg0; | |
3393 | wxString * _arg1; | |
2d091820 | 3394 | PyObject * _argo0 = 0; |
70551f47 | 3395 | PyObject * _obj1 = 0; |
107e4716 | 3396 | char *_kwnames[] = { "self","item", NULL }; |
70551f47 RD |
3397 | |
3398 | self = self; | |
107e4716 | 3399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Append",_kwnames,&_argo0,&_obj1)) |
70551f47 | 3400 | return NULL; |
2d091820 RD |
3401 | if (_argo0) { |
3402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p."); |
3405 | return NULL; | |
3406 | } | |
3407 | } | |
3408 | { | |
2cd2fac8 RD |
3409 | #if PYTHON_API_VERSION >= 1009 |
3410 | char* tmpPtr; int tmpSize; | |
3411 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 3412 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
3413 | return NULL; |
3414 | } | |
3415 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3416 | return NULL; | |
3417 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3418 | #else | |
70551f47 RD |
3419 | if (!PyString_Check(_obj1)) { |
3420 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3421 | return NULL; | |
3422 | } | |
2cd2fac8 RD |
3423 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3424 | #endif | |
70551f47 | 3425 | } |
ab9bc19b RD |
3426 | { |
3427 | wxPy_BEGIN_ALLOW_THREADS; | |
3428 | wxListBox_Append(_arg0,*_arg1); | |
3429 | ||
3430 | wxPy_END_ALLOW_THREADS; | |
3431 | } Py_INCREF(Py_None); | |
70551f47 RD |
3432 | _resultobj = Py_None; |
3433 | { | |
3434 | if (_obj1) | |
3435 | delete _arg1; | |
3436 | } | |
3437 | return _resultobj; | |
3438 | } | |
3439 | ||
3440 | #define wxListBox_Clear(_swigobj) (_swigobj->Clear()) | |
107e4716 | 3441 | static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3442 | PyObject * _resultobj; |
3443 | wxListBox * _arg0; | |
2d091820 | 3444 | PyObject * _argo0 = 0; |
107e4716 | 3445 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3446 | |
3447 | self = self; | |
107e4716 | 3448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0)) |
70551f47 | 3449 | return NULL; |
2d091820 RD |
3450 | if (_argo0) { |
3451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p."); |
3454 | return NULL; | |
3455 | } | |
3456 | } | |
ab9bc19b RD |
3457 | { |
3458 | wxPy_BEGIN_ALLOW_THREADS; | |
3459 | wxListBox_Clear(_arg0); | |
3460 | ||
3461 | wxPy_END_ALLOW_THREADS; | |
3462 | } Py_INCREF(Py_None); | |
70551f47 RD |
3463 | _resultobj = Py_None; |
3464 | return _resultobj; | |
3465 | } | |
3466 | ||
3467 | #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0)) | |
107e4716 | 3468 | static PyObject *_wrap_wxListBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3469 | PyObject * _resultobj; |
3470 | wxListBox * _arg0; | |
3471 | int _arg1; | |
2d091820 | 3472 | PyObject * _argo0 = 0; |
107e4716 | 3473 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
3474 | |
3475 | self = self; | |
107e4716 | 3476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Delete",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3477 | return NULL; |
2d091820 RD |
3478 | if (_argo0) { |
3479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p."); |
3482 | return NULL; | |
3483 | } | |
3484 | } | |
ab9bc19b RD |
3485 | { |
3486 | wxPy_BEGIN_ALLOW_THREADS; | |
3487 | wxListBox_Delete(_arg0,_arg1); | |
3488 | ||
3489 | wxPy_END_ALLOW_THREADS; | |
3490 | } Py_INCREF(Py_None); | |
70551f47 RD |
3491 | _resultobj = Py_None; |
3492 | return _resultobj; | |
3493 | } | |
3494 | ||
3495 | #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0)) | |
107e4716 | 3496 | static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3497 | PyObject * _resultobj; |
3498 | wxListBox * _arg0; | |
3499 | int _arg1; | |
2d091820 | 3500 | PyObject * _argo0 = 0; |
107e4716 | 3501 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
3502 | |
3503 | self = self; | |
107e4716 | 3504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3505 | return NULL; |
2d091820 RD |
3506 | if (_argo0) { |
3507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p."); |
3510 | return NULL; | |
3511 | } | |
3512 | } | |
ab9bc19b RD |
3513 | { |
3514 | wxPy_BEGIN_ALLOW_THREADS; | |
3515 | wxListBox_Deselect(_arg0,_arg1); | |
3516 | ||
3517 | wxPy_END_ALLOW_THREADS; | |
3518 | } Py_INCREF(Py_None); | |
70551f47 RD |
3519 | _resultobj = Py_None; |
3520 | return _resultobj; | |
3521 | } | |
3522 | ||
3523 | #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0)) | |
107e4716 | 3524 | static PyObject *_wrap_wxListBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3525 | PyObject * _resultobj; |
3526 | int _result; | |
3527 | wxListBox * _arg0; | |
3528 | wxString * _arg1; | |
2d091820 | 3529 | PyObject * _argo0 = 0; |
70551f47 | 3530 | PyObject * _obj1 = 0; |
107e4716 | 3531 | char *_kwnames[] = { "self","string", NULL }; |
70551f47 RD |
3532 | |
3533 | self = self; | |
107e4716 | 3534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_FindString",_kwnames,&_argo0,&_obj1)) |
70551f47 | 3535 | return NULL; |
2d091820 RD |
3536 | if (_argo0) { |
3537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p."); |
3540 | return NULL; | |
3541 | } | |
3542 | } | |
3543 | { | |
2cd2fac8 RD |
3544 | #if PYTHON_API_VERSION >= 1009 |
3545 | char* tmpPtr; int tmpSize; | |
3546 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 3547 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
3548 | return NULL; |
3549 | } | |
3550 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3551 | return NULL; | |
3552 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3553 | #else | |
70551f47 RD |
3554 | if (!PyString_Check(_obj1)) { |
3555 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3556 | return NULL; | |
3557 | } | |
2cd2fac8 RD |
3558 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3559 | #endif | |
70551f47 | 3560 | } |
ab9bc19b RD |
3561 | { |
3562 | wxPy_BEGIN_ALLOW_THREADS; | |
3563 | _result = (int )wxListBox_FindString(_arg0,*_arg1); | |
3564 | ||
3565 | wxPy_END_ALLOW_THREADS; | |
3566 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3567 | { |
3568 | if (_obj1) | |
3569 | delete _arg1; | |
3570 | } | |
3571 | return _resultobj; | |
3572 | } | |
3573 | ||
3574 | #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 3575 | static PyObject *_wrap_wxListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3576 | PyObject * _resultobj; |
3577 | int _result; | |
3578 | wxListBox * _arg0; | |
2d091820 | 3579 | PyObject * _argo0 = 0; |
107e4716 | 3580 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3581 | |
3582 | self = self; | |
107e4716 | 3583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelection",_kwnames,&_argo0)) |
70551f47 | 3584 | return NULL; |
2d091820 RD |
3585 | if (_argo0) { |
3586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p."); |
3589 | return NULL; | |
3590 | } | |
3591 | } | |
ab9bc19b RD |
3592 | { |
3593 | wxPy_BEGIN_ALLOW_THREADS; | |
3594 | _result = (int )wxListBox_GetSelection(_arg0); | |
3595 | ||
3596 | wxPy_END_ALLOW_THREADS; | |
3597 | } _resultobj = Py_BuildValue("i",_result); | |
3598 | return _resultobj; | |
3599 | } | |
3600 | ||
3601 | static PyObject * wxListBox_GetSelections(wxListBox *self) { | |
3602 | wxArrayInt lst; | |
3603 | self->GetSelections(lst); | |
3604 | PyObject *tup = PyTuple_New(lst.GetCount()); | |
f6bcfd97 | 3605 | for(size_t i=0; i<lst.GetCount(); i++) { |
ab9bc19b RD |
3606 | PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i])); |
3607 | } | |
3608 | return tup; | |
3609 | } | |
107e4716 | 3610 | static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
3611 | PyObject * _resultobj; |
3612 | PyObject * _result; | |
3613 | wxListBox * _arg0; | |
2d091820 | 3614 | PyObject * _argo0 = 0; |
107e4716 | 3615 | char *_kwnames[] = { "self", NULL }; |
ab9bc19b RD |
3616 | |
3617 | self = self; | |
107e4716 | 3618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0)) |
ab9bc19b | 3619 | return NULL; |
2d091820 RD |
3620 | if (_argo0) { |
3621 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3622 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
ab9bc19b RD |
3623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p."); |
3624 | return NULL; | |
3625 | } | |
3626 | } | |
3627 | { | |
3628 | wxPy_BEGIN_ALLOW_THREADS; | |
3629 | _result = (PyObject *)wxListBox_GetSelections(_arg0); | |
3630 | ||
3631 | wxPy_END_ALLOW_THREADS; | |
3632 | }{ | |
3633 | _resultobj = _result; | |
3634 | } | |
70551f47 RD |
3635 | return _resultobj; |
3636 | } | |
3637 | ||
37f6a977 RD |
3638 | #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2)) |
3639 | static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3640 | PyObject * _resultobj; | |
3641 | wxListBox * _arg0; | |
3642 | int _arg1; | |
3643 | wxString * _arg2; | |
3644 | int _arg3; | |
3645 | PyObject * _argo0 = 0; | |
3646 | PyObject * _obj2 = 0; | |
e02c03a4 | 3647 | char *_kwnames[] = { "self","choices","pos", NULL }; |
37f6a977 RD |
3648 | |
3649 | self = self; | |
3650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3)) | |
3651 | return NULL; | |
3652 | if (_argo0) { | |
3653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
3655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p."); | |
3656 | return NULL; | |
3657 | } | |
3658 | } | |
3659 | { | |
3660 | _arg2 = wxString_LIST_helper(_obj2); | |
3661 | if (_arg2 == NULL) { | |
3662 | return NULL; | |
3663 | } | |
3664 | } | |
3665 | { | |
3666 | if (_obj2) { | |
3667 | _arg1 = PyList_Size(_obj2); | |
3668 | } | |
3669 | else { | |
3670 | _arg1 = 0; | |
3671 | } | |
3672 | } | |
3673 | { | |
3674 | wxPy_BEGIN_ALLOW_THREADS; | |
3675 | wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3); | |
3676 | ||
3677 | wxPy_END_ALLOW_THREADS; | |
3678 | } Py_INCREF(Py_None); | |
3679 | _resultobj = Py_None; | |
3680 | { | |
3681 | delete [] _arg2; | |
3682 | } | |
3683 | return _resultobj; | |
3684 | } | |
3685 | ||
70551f47 | 3686 | #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0)) |
107e4716 | 3687 | static PyObject *_wrap_wxListBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3688 | PyObject * _resultobj; |
3689 | wxString * _result; | |
3690 | wxListBox * _arg0; | |
3691 | int _arg1; | |
2d091820 | 3692 | PyObject * _argo0 = 0; |
107e4716 | 3693 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
3694 | |
3695 | self = self; | |
107e4716 | 3696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_GetString",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3697 | return NULL; |
2d091820 RD |
3698 | if (_argo0) { |
3699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p."); |
3702 | return NULL; | |
3703 | } | |
3704 | } | |
70551f47 | 3705 | { |
ab9bc19b RD |
3706 | wxPy_BEGIN_ALLOW_THREADS; |
3707 | _result = new wxString (wxListBox_GetString(_arg0,_arg1)); | |
3708 | ||
3709 | wxPy_END_ALLOW_THREADS; | |
3710 | }{ | |
e02c03a4 | 3711 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
3712 | } |
3713 | { | |
3714 | delete _result; | |
3715 | } | |
3716 | return _resultobj; | |
3717 | } | |
3718 | ||
3719 | #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection()) | |
107e4716 | 3720 | static PyObject *_wrap_wxListBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3721 | PyObject * _resultobj; |
3722 | wxString * _result; | |
3723 | wxListBox * _arg0; | |
2d091820 | 3724 | PyObject * _argo0 = 0; |
107e4716 | 3725 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3726 | |
3727 | self = self; | |
107e4716 | 3728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetStringSelection",_kwnames,&_argo0)) |
70551f47 | 3729 | return NULL; |
2d091820 RD |
3730 | if (_argo0) { |
3731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p."); |
3734 | return NULL; | |
3735 | } | |
3736 | } | |
70551f47 | 3737 | { |
ab9bc19b RD |
3738 | wxPy_BEGIN_ALLOW_THREADS; |
3739 | _result = new wxString (wxListBox_GetStringSelection(_arg0)); | |
3740 | ||
3741 | wxPy_END_ALLOW_THREADS; | |
3742 | }{ | |
e02c03a4 | 3743 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
3744 | } |
3745 | { | |
3746 | delete _result; | |
3747 | } | |
3748 | return _resultobj; | |
3749 | } | |
3750 | ||
3751 | #define wxListBox_Number(_swigobj) (_swigobj->Number()) | |
107e4716 | 3752 | static PyObject *_wrap_wxListBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3753 | PyObject * _resultobj; |
3754 | int _result; | |
3755 | wxListBox * _arg0; | |
2d091820 | 3756 | PyObject * _argo0 = 0; |
107e4716 | 3757 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
3758 | |
3759 | self = self; | |
107e4716 | 3760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Number",_kwnames,&_argo0)) |
70551f47 | 3761 | return NULL; |
2d091820 RD |
3762 | if (_argo0) { |
3763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p."); |
3766 | return NULL; | |
3767 | } | |
3768 | } | |
ab9bc19b RD |
3769 | { |
3770 | wxPy_BEGIN_ALLOW_THREADS; | |
3771 | _result = (int )wxListBox_Number(_arg0); | |
3772 | ||
3773 | wxPy_END_ALLOW_THREADS; | |
3774 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3775 | return _resultobj; |
3776 | } | |
3777 | ||
3778 | #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0)) | |
107e4716 | 3779 | static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3780 | PyObject * _resultobj; |
3781 | bool _result; | |
3782 | wxListBox * _arg0; | |
3783 | int _arg1; | |
2d091820 | 3784 | PyObject * _argo0 = 0; |
107e4716 | 3785 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
3786 | |
3787 | self = self; | |
107e4716 | 3788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3789 | return NULL; |
2d091820 RD |
3790 | if (_argo0) { |
3791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p."); |
3794 | return NULL; | |
3795 | } | |
3796 | } | |
ab9bc19b RD |
3797 | { |
3798 | wxPy_BEGIN_ALLOW_THREADS; | |
3799 | _result = (bool )wxListBox_Selected(_arg0,_arg1); | |
3800 | ||
3801 | wxPy_END_ALLOW_THREADS; | |
3802 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
3803 | return _resultobj; |
3804 | } | |
3805 | ||
3806 | #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
107e4716 | 3807 | static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3808 | PyObject * _resultobj; |
3809 | wxListBox * _arg0; | |
3810 | int _arg1; | |
3811 | wxString * _arg2; | |
2d091820 | 3812 | PyObject * _argo0 = 0; |
70551f47 | 3813 | PyObject * _obj2 = 0; |
e02c03a4 | 3814 | char *_kwnames[] = { "self","choices", NULL }; |
70551f47 RD |
3815 | |
3816 | self = self; | |
107e4716 | 3817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2)) |
70551f47 | 3818 | return NULL; |
2d091820 RD |
3819 | if (_argo0) { |
3820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p."); |
3823 | return NULL; | |
3824 | } | |
3825 | } | |
3826 | if (_obj2) | |
3827 | { | |
3828 | _arg2 = wxString_LIST_helper(_obj2); | |
3829 | if (_arg2 == NULL) { | |
3830 | return NULL; | |
3831 | } | |
3832 | } | |
3833 | { | |
ab9bc19b RD |
3834 | if (_obj2) { |
3835 | _arg1 = PyList_Size(_obj2); | |
3836 | } | |
3837 | else { | |
3838 | _arg1 = 0; | |
3839 | } | |
70551f47 | 3840 | } |
ab9bc19b RD |
3841 | { |
3842 | wxPy_BEGIN_ALLOW_THREADS; | |
3843 | wxListBox_Set(_arg0,_arg1,_arg2); | |
3844 | ||
3845 | wxPy_END_ALLOW_THREADS; | |
3846 | } Py_INCREF(Py_None); | |
70551f47 RD |
3847 | _resultobj = Py_None; |
3848 | { | |
3849 | delete [] _arg2; | |
3850 | } | |
3851 | return _resultobj; | |
3852 | } | |
3853 | ||
3854 | #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0)) | |
107e4716 | 3855 | static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3856 | PyObject * _resultobj; |
3857 | wxListBox * _arg0; | |
3858 | int _arg1; | |
2d091820 | 3859 | PyObject * _argo0 = 0; |
107e4716 | 3860 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
3861 | |
3862 | self = self; | |
107e4716 | 3863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1)) |
70551f47 | 3864 | return NULL; |
2d091820 RD |
3865 | if (_argo0) { |
3866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p."); |
3869 | return NULL; | |
3870 | } | |
3871 | } | |
ab9bc19b RD |
3872 | { |
3873 | wxPy_BEGIN_ALLOW_THREADS; | |
3874 | wxListBox_SetFirstItem(_arg0,_arg1); | |
3875 | ||
3876 | wxPy_END_ALLOW_THREADS; | |
3877 | } Py_INCREF(Py_None); | |
70551f47 RD |
3878 | _resultobj = Py_None; |
3879 | return _resultobj; | |
3880 | } | |
3881 | ||
3882 | #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0)) | |
107e4716 | 3883 | static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3884 | PyObject * _resultobj; |
3885 | wxListBox * _arg0; | |
3886 | wxString * _arg1; | |
2d091820 | 3887 | PyObject * _argo0 = 0; |
70551f47 | 3888 | PyObject * _obj1 = 0; |
107e4716 | 3889 | char *_kwnames[] = { "self","string", NULL }; |
70551f47 RD |
3890 | |
3891 | self = self; | |
107e4716 | 3892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1)) |
70551f47 | 3893 | return NULL; |
2d091820 RD |
3894 | if (_argo0) { |
3895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p."); |
3898 | return NULL; | |
3899 | } | |
3900 | } | |
3901 | { | |
2cd2fac8 RD |
3902 | #if PYTHON_API_VERSION >= 1009 |
3903 | char* tmpPtr; int tmpSize; | |
3904 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 3905 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
3906 | return NULL; |
3907 | } | |
3908 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3909 | return NULL; | |
3910 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3911 | #else | |
70551f47 RD |
3912 | if (!PyString_Check(_obj1)) { |
3913 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3914 | return NULL; | |
3915 | } | |
2cd2fac8 RD |
3916 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3917 | #endif | |
70551f47 | 3918 | } |
ab9bc19b RD |
3919 | { |
3920 | wxPy_BEGIN_ALLOW_THREADS; | |
3921 | wxListBox_SetFirstItemStr(_arg0,*_arg1); | |
3922 | ||
3923 | wxPy_END_ALLOW_THREADS; | |
3924 | } Py_INCREF(Py_None); | |
70551f47 RD |
3925 | _resultobj = Py_None; |
3926 | { | |
3927 | if (_obj1) | |
3928 | delete _arg1; | |
3929 | } | |
3930 | return _resultobj; | |
3931 | } | |
3932 | ||
3933 | #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
107e4716 | 3934 | static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3935 | PyObject * _resultobj; |
3936 | wxListBox * _arg0; | |
3937 | int _arg1; | |
2d091820 RD |
3938 | bool _arg2 = (bool ) TRUE; |
3939 | PyObject * _argo0 = 0; | |
3940 | int tempbool2 = (int) TRUE; | |
107e4716 | 3941 | char *_kwnames[] = { "self","n","select", NULL }; |
70551f47 RD |
3942 | |
3943 | self = self; | |
107e4716 | 3944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2)) |
70551f47 | 3945 | return NULL; |
2d091820 RD |
3946 | if (_argo0) { |
3947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p."); |
3950 | return NULL; | |
3951 | } | |
3952 | } | |
3953 | _arg2 = (bool ) tempbool2; | |
ab9bc19b RD |
3954 | { |
3955 | wxPy_BEGIN_ALLOW_THREADS; | |
3956 | wxListBox_SetSelection(_arg0,_arg1,_arg2); | |
3957 | ||
3958 | wxPy_END_ALLOW_THREADS; | |
3959 | } Py_INCREF(Py_None); | |
70551f47 RD |
3960 | _resultobj = Py_None; |
3961 | return _resultobj; | |
3962 | } | |
3963 | ||
3964 | #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1)) | |
107e4716 | 3965 | static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
3966 | PyObject * _resultobj; |
3967 | wxListBox * _arg0; | |
3968 | int _arg1; | |
3969 | wxString * _arg2; | |
2d091820 | 3970 | PyObject * _argo0 = 0; |
70551f47 | 3971 | PyObject * _obj2 = 0; |
107e4716 | 3972 | char *_kwnames[] = { "self","n","string", NULL }; |
70551f47 RD |
3973 | |
3974 | self = self; | |
107e4716 | 3975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2)) |
70551f47 | 3976 | return NULL; |
2d091820 RD |
3977 | if (_argo0) { |
3978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
3980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p."); |
3981 | return NULL; | |
3982 | } | |
3983 | } | |
3984 | { | |
2cd2fac8 RD |
3985 | #if PYTHON_API_VERSION >= 1009 |
3986 | char* tmpPtr; int tmpSize; | |
3987 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 3988 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
3989 | return NULL; |
3990 | } | |
3991 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3992 | return NULL; | |
3993 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3994 | #else | |
70551f47 RD |
3995 | if (!PyString_Check(_obj2)) { |
3996 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3997 | return NULL; | |
3998 | } | |
2cd2fac8 RD |
3999 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
4000 | #endif | |
70551f47 | 4001 | } |
ab9bc19b RD |
4002 | { |
4003 | wxPy_BEGIN_ALLOW_THREADS; | |
4004 | wxListBox_SetString(_arg0,_arg1,*_arg2); | |
4005 | ||
4006 | wxPy_END_ALLOW_THREADS; | |
4007 | } Py_INCREF(Py_None); | |
70551f47 RD |
4008 | _resultobj = Py_None; |
4009 | { | |
4010 | if (_obj2) | |
4011 | delete _arg2; | |
4012 | } | |
4013 | return _resultobj; | |
4014 | } | |
4015 | ||
4016 | #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1)) | |
107e4716 | 4017 | static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4018 | PyObject * _resultobj; |
4019 | wxListBox * _arg0; | |
4020 | wxString * _arg1; | |
2d091820 RD |
4021 | bool _arg2 = (bool ) TRUE; |
4022 | PyObject * _argo0 = 0; | |
70551f47 | 4023 | PyObject * _obj1 = 0; |
2d091820 | 4024 | int tempbool2 = (int) TRUE; |
107e4716 | 4025 | char *_kwnames[] = { "self","string","select", NULL }; |
70551f47 RD |
4026 | |
4027 | self = self; | |
107e4716 | 4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2)) |
70551f47 | 4029 | return NULL; |
2d091820 RD |
4030 | if (_argo0) { |
4031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) { | |
70551f47 RD |
4033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p."); |
4034 | return NULL; | |
4035 | } | |
4036 | } | |
4037 | { | |
2cd2fac8 RD |
4038 | #if PYTHON_API_VERSION >= 1009 |
4039 | char* tmpPtr; int tmpSize; | |
4040 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 4041 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
4042 | return NULL; |
4043 | } | |
4044 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
4045 | return NULL; | |
4046 | _arg1 = new wxString(tmpPtr, tmpSize); | |
4047 | #else | |
70551f47 RD |
4048 | if (!PyString_Check(_obj1)) { |
4049 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4050 | return NULL; | |
4051 | } | |
2cd2fac8 RD |
4052 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
4053 | #endif | |
70551f47 RD |
4054 | } |
4055 | _arg2 = (bool ) tempbool2; | |
ab9bc19b RD |
4056 | { |
4057 | wxPy_BEGIN_ALLOW_THREADS; | |
4058 | wxListBox_SetStringSelection(_arg0,*_arg1,_arg2); | |
4059 | ||
4060 | wxPy_END_ALLOW_THREADS; | |
4061 | } Py_INCREF(Py_None); | |
70551f47 RD |
4062 | _resultobj = Py_None; |
4063 | { | |
4064 | if (_obj1) | |
4065 | delete _arg1; | |
4066 | } | |
4067 | return _resultobj; | |
4068 | } | |
4069 | ||
c95e68d8 RD |
4070 | static void *SwigwxCheckListBoxTowxListBox(void *ptr) { |
4071 | wxCheckListBox *src; | |
4072 | wxListBox *dest; | |
4073 | src = (wxCheckListBox *) ptr; | |
4074 | dest = (wxListBox *) src; | |
4075 | return (void *) dest; | |
4076 | } | |
4077 | ||
4078 | static void *SwigwxCheckListBoxTowxControl(void *ptr) { | |
4079 | wxCheckListBox *src; | |
4080 | wxControl *dest; | |
4081 | src = (wxCheckListBox *) ptr; | |
4082 | dest = (wxControl *) src; | |
4083 | return (void *) dest; | |
4084 | } | |
4085 | ||
4086 | static void *SwigwxCheckListBoxTowxWindow(void *ptr) { | |
4087 | wxCheckListBox *src; | |
4088 | wxWindow *dest; | |
4089 | src = (wxCheckListBox *) ptr; | |
4090 | dest = (wxWindow *) src; | |
4091 | return (void *) dest; | |
4092 | } | |
4093 | ||
4094 | static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) { | |
4095 | wxCheckListBox *src; | |
4096 | wxEvtHandler *dest; | |
4097 | src = (wxCheckListBox *) ptr; | |
4098 | dest = (wxEvtHandler *) src; | |
4099 | return (void *) dest; | |
4100 | } | |
4101 | ||
9df61a29 RD |
4102 | static void *SwigwxCheckListBoxTowxObject(void *ptr) { |
4103 | wxCheckListBox *src; | |
4104 | wxObject *dest; | |
4105 | src = (wxCheckListBox *) ptr; | |
4106 | dest = (wxObject *) src; | |
4107 | return (void *) dest; | |
4108 | } | |
4109 | ||
c95e68d8 | 4110 | #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8)) |
107e4716 | 4111 | static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
4112 | PyObject * _resultobj; |
4113 | wxCheckListBox * _result; | |
4114 | wxWindow * _arg0; | |
4115 | wxWindowID _arg1; | |
b68dc582 RD |
4116 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
4117 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
4118 | int _arg4 = (int ) 0; |
4119 | wxString * _arg5 = (wxString *) NULL; | |
4120 | long _arg6 = (long ) 0; | |
b68dc582 | 4121 | wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
4122 | char * _arg8 = (char *) "listBox"; |
4123 | PyObject * _argo0 = 0; | |
37f6a977 RD |
4124 | wxPoint temp; |
4125 | PyObject * _obj2 = 0; | |
4126 | wxSize temp0; | |
4127 | PyObject * _obj3 = 0; | |
c95e68d8 | 4128 | PyObject * _obj5 = 0; |
2d091820 | 4129 | PyObject * _argo7 = 0; |
e02c03a4 | 4130 | char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL }; |
c95e68d8 RD |
4131 | char _ptemp[128]; |
4132 | ||
4133 | self = self; | |
37f6a977 | 4134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8)) |
c95e68d8 | 4135 | return NULL; |
2d091820 RD |
4136 | if (_argo0) { |
4137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
c95e68d8 RD |
4139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p."); |
4140 | return NULL; | |
4141 | } | |
4142 | } | |
37f6a977 RD |
4143 | if (_obj2) |
4144 | { | |
4145 | _arg2 = &temp; | |
4146 | if (! wxPoint_helper(_obj2, &_arg2)) | |
c95e68d8 | 4147 | return NULL; |
37f6a977 RD |
4148 | } |
4149 | if (_obj3) | |
4150 | { | |
4151 | _arg3 = &temp0; | |
4152 | if (! wxSize_helper(_obj3, &_arg3)) | |
c95e68d8 | 4153 | return NULL; |
37f6a977 | 4154 | } |
c95e68d8 RD |
4155 | if (_obj5) |
4156 | { | |
4157 | _arg5 = wxString_LIST_helper(_obj5); | |
4158 | if (_arg5 == NULL) { | |
4159 | return NULL; | |
4160 | } | |
4161 | } | |
2d091820 RD |
4162 | if (_argo7) { |
4163 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
4164 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) { | |
c95e68d8 RD |
4165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p."); |
4166 | return NULL; | |
4167 | } | |
4168 | } | |
4169 | { | |
ab9bc19b RD |
4170 | if (_obj5) { |
4171 | _arg4 = PyList_Size(_obj5); | |
4172 | } | |
4173 | else { | |
4174 | _arg4 = 0; | |
4175 | } | |
c95e68d8 | 4176 | } |
ab9bc19b RD |
4177 | { |
4178 | wxPy_BEGIN_ALLOW_THREADS; | |
4179 | _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8); | |
4180 | ||
4181 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4182 | } if (_result) { |
4183 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p"); | |
4184 | _resultobj = Py_BuildValue("s",_ptemp); | |
4185 | } else { | |
4186 | Py_INCREF(Py_None); | |
4187 | _resultobj = Py_None; | |
4188 | } | |
c95e68d8 RD |
4189 | { |
4190 | delete [] _arg5; | |
4191 | } | |
4192 | return _resultobj; | |
4193 | } | |
4194 | ||
4195 | #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0)) | |
107e4716 | 4196 | static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
4197 | PyObject * _resultobj; |
4198 | bool _result; | |
4199 | wxCheckListBox * _arg0; | |
4200 | int _arg1; | |
2d091820 | 4201 | PyObject * _argo0 = 0; |
107e4716 | 4202 | char *_kwnames[] = { "self","uiIndex", NULL }; |
c95e68d8 RD |
4203 | |
4204 | self = self; | |
107e4716 | 4205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1)) |
c95e68d8 | 4206 | return NULL; |
2d091820 RD |
4207 | if (_argo0) { |
4208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) { | |
c95e68d8 RD |
4210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p."); |
4211 | return NULL; | |
4212 | } | |
4213 | } | |
ab9bc19b RD |
4214 | { |
4215 | wxPy_BEGIN_ALLOW_THREADS; | |
4216 | _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1); | |
4217 | ||
4218 | wxPy_END_ALLOW_THREADS; | |
4219 | } _resultobj = Py_BuildValue("i",_result); | |
c95e68d8 RD |
4220 | return _resultobj; |
4221 | } | |
4222 | ||
4223 | #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1)) | |
107e4716 | 4224 | static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
4225 | PyObject * _resultobj; |
4226 | wxCheckListBox * _arg0; | |
4227 | int _arg1; | |
d29aba2f | 4228 | int _arg2 = (int ) TRUE; |
2d091820 | 4229 | PyObject * _argo0 = 0; |
107e4716 | 4230 | char *_kwnames[] = { "self","uiIndex","bCheck", NULL }; |
c95e68d8 RD |
4231 | |
4232 | self = self; | |
d29aba2f | 4233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2)) |
c95e68d8 | 4234 | return NULL; |
2d091820 RD |
4235 | if (_argo0) { |
4236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) { | |
c95e68d8 RD |
4238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p."); |
4239 | return NULL; | |
4240 | } | |
4241 | } | |
ab9bc19b RD |
4242 | { |
4243 | wxPy_BEGIN_ALLOW_THREADS; | |
4244 | wxCheckListBox_Check(_arg0,_arg1,_arg2); | |
4245 | ||
4246 | wxPy_END_ALLOW_THREADS; | |
4247 | } Py_INCREF(Py_None); | |
c95e68d8 RD |
4248 | _resultobj = Py_None; |
4249 | return _resultobj; | |
4250 | } | |
4251 | ||
d29aba2f RD |
4252 | #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2)) |
4253 | static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4254 | PyObject * _resultobj; | |
4255 | wxCheckListBox * _arg0; | |
4256 | int _arg1; | |
4257 | wxString * _arg2; | |
4258 | int _arg3; | |
4259 | PyObject * _argo0 = 0; | |
4260 | PyObject * _obj2 = 0; | |
e02c03a4 | 4261 | char *_kwnames[] = { "self","choices","pos", NULL }; |
d29aba2f RD |
4262 | |
4263 | self = self; | |
4264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3)) | |
4265 | return NULL; | |
4266 | if (_argo0) { | |
4267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) { | |
4269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p."); | |
4270 | return NULL; | |
4271 | } | |
4272 | } | |
4273 | { | |
4274 | _arg2 = wxString_LIST_helper(_obj2); | |
4275 | if (_arg2 == NULL) { | |
4276 | return NULL; | |
4277 | } | |
4278 | } | |
4279 | { | |
4280 | if (_obj2) { | |
4281 | _arg1 = PyList_Size(_obj2); | |
4282 | } | |
4283 | else { | |
4284 | _arg1 = 0; | |
4285 | } | |
4286 | } | |
4287 | { | |
4288 | wxPy_BEGIN_ALLOW_THREADS; | |
4289 | wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3); | |
4290 | ||
4291 | wxPy_END_ALLOW_THREADS; | |
4292 | } Py_INCREF(Py_None); | |
4293 | _resultobj = Py_None; | |
4294 | { | |
4295 | delete [] _arg2; | |
4296 | } | |
4297 | return _resultobj; | |
4298 | } | |
4299 | ||
c95e68d8 | 4300 | #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight()) |
107e4716 | 4301 | static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
c95e68d8 RD |
4302 | PyObject * _resultobj; |
4303 | int _result; | |
4304 | wxCheckListBox * _arg0; | |
2d091820 | 4305 | PyObject * _argo0 = 0; |
107e4716 | 4306 | char *_kwnames[] = { "self", NULL }; |
c95e68d8 RD |
4307 | |
4308 | self = self; | |
107e4716 | 4309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0)) |
c95e68d8 | 4310 | return NULL; |
2d091820 RD |
4311 | if (_argo0) { |
4312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) { | |
c95e68d8 RD |
4314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p."); |
4315 | return NULL; | |
4316 | } | |
4317 | } | |
ab9bc19b RD |
4318 | { |
4319 | wxPy_BEGIN_ALLOW_THREADS; | |
4320 | _result = (int )wxCheckListBox_GetItemHeight(_arg0); | |
4321 | ||
4322 | wxPy_END_ALLOW_THREADS; | |
4323 | } _resultobj = Py_BuildValue("i",_result); | |
c95e68d8 RD |
4324 | return _resultobj; |
4325 | } | |
4326 | ||
70551f47 RD |
4327 | static void *SwigwxTextCtrlTowxControl(void *ptr) { |
4328 | wxTextCtrl *src; | |
4329 | wxControl *dest; | |
4330 | src = (wxTextCtrl *) ptr; | |
4331 | dest = (wxControl *) src; | |
4332 | return (void *) dest; | |
4333 | } | |
4334 | ||
4335 | static void *SwigwxTextCtrlTowxWindow(void *ptr) { | |
4336 | wxTextCtrl *src; | |
4337 | wxWindow *dest; | |
4338 | src = (wxTextCtrl *) ptr; | |
4339 | dest = (wxWindow *) src; | |
4340 | return (void *) dest; | |
4341 | } | |
4342 | ||
4343 | static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) { | |
4344 | wxTextCtrl *src; | |
4345 | wxEvtHandler *dest; | |
4346 | src = (wxTextCtrl *) ptr; | |
4347 | dest = (wxEvtHandler *) src; | |
4348 | return (void *) dest; | |
4349 | } | |
4350 | ||
9df61a29 RD |
4351 | static void *SwigwxTextCtrlTowxObject(void *ptr) { |
4352 | wxTextCtrl *src; | |
4353 | wxObject *dest; | |
4354 | src = (wxTextCtrl *) ptr; | |
4355 | dest = (wxObject *) src; | |
4356 | return (void *) dest; | |
4357 | } | |
4358 | ||
70551f47 | 4359 | #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) |
107e4716 | 4360 | static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4361 | PyObject * _resultobj; |
4362 | wxTextCtrl * _result; | |
4363 | wxWindow * _arg0; | |
4364 | wxWindowID _arg1; | |
2d091820 | 4365 | char * _arg2 = (char *) ""; |
b68dc582 RD |
4366 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
4367 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 | 4368 | long _arg5 = (long ) 0; |
b68dc582 | 4369 | wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
4370 | char * _arg7 = (char *) "text"; |
4371 | PyObject * _argo0 = 0; | |
37f6a977 RD |
4372 | wxPoint temp; |
4373 | PyObject * _obj3 = 0; | |
4374 | wxSize temp0; | |
4375 | PyObject * _obj4 = 0; | |
2d091820 | 4376 | PyObject * _argo6 = 0; |
107e4716 | 4377 | char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL }; |
70551f47 RD |
4378 | char _ptemp[128]; |
4379 | ||
4380 | self = self; | |
37f6a977 | 4381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
70551f47 | 4382 | return NULL; |
2d091820 RD |
4383 | if (_argo0) { |
4384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
4386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p."); |
4387 | return NULL; | |
4388 | } | |
4389 | } | |
37f6a977 RD |
4390 | if (_obj3) |
4391 | { | |
4392 | _arg3 = &temp; | |
4393 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 4394 | return NULL; |
37f6a977 RD |
4395 | } |
4396 | if (_obj4) | |
4397 | { | |
4398 | _arg4 = &temp0; | |
4399 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 4400 | return NULL; |
37f6a977 | 4401 | } |
2d091820 RD |
4402 | if (_argo6) { |
4403 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
4404 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
70551f47 RD |
4405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p."); |
4406 | return NULL; | |
4407 | } | |
4408 | } | |
ab9bc19b RD |
4409 | { |
4410 | wxPy_BEGIN_ALLOW_THREADS; | |
4411 | _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
4412 | ||
4413 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
4414 | } if (_result) { |
4415 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
4416 | _resultobj = Py_BuildValue("s",_ptemp); | |
4417 | } else { | |
4418 | Py_INCREF(Py_None); | |
4419 | _resultobj = Py_None; | |
4420 | } | |
70551f47 RD |
4421 | return _resultobj; |
4422 | } | |
4423 | ||
4424 | #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear()) | |
107e4716 | 4425 | static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4426 | PyObject * _resultobj; |
4427 | wxTextCtrl * _arg0; | |
2d091820 | 4428 | PyObject * _argo0 = 0; |
107e4716 | 4429 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4430 | |
4431 | self = self; | |
107e4716 | 4432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0)) |
70551f47 | 4433 | return NULL; |
2d091820 RD |
4434 | if (_argo0) { |
4435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p."); |
4438 | return NULL; | |
4439 | } | |
4440 | } | |
ab9bc19b RD |
4441 | { |
4442 | wxPy_BEGIN_ALLOW_THREADS; | |
4443 | wxTextCtrl_Clear(_arg0); | |
4444 | ||
4445 | wxPy_END_ALLOW_THREADS; | |
4446 | } Py_INCREF(Py_None); | |
70551f47 RD |
4447 | _resultobj = Py_None; |
4448 | return _resultobj; | |
4449 | } | |
4450 | ||
4451 | #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy()) | |
107e4716 | 4452 | static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4453 | PyObject * _resultobj; |
4454 | wxTextCtrl * _arg0; | |
2d091820 | 4455 | PyObject * _argo0 = 0; |
107e4716 | 4456 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4457 | |
4458 | self = self; | |
107e4716 | 4459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0)) |
70551f47 | 4460 | return NULL; |
2d091820 RD |
4461 | if (_argo0) { |
4462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p."); |
4465 | return NULL; | |
4466 | } | |
4467 | } | |
ab9bc19b RD |
4468 | { |
4469 | wxPy_BEGIN_ALLOW_THREADS; | |
4470 | wxTextCtrl_Copy(_arg0); | |
4471 | ||
4472 | wxPy_END_ALLOW_THREADS; | |
4473 | } Py_INCREF(Py_None); | |
70551f47 RD |
4474 | _resultobj = Py_None; |
4475 | return _resultobj; | |
4476 | } | |
4477 | ||
4478 | #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut()) | |
107e4716 | 4479 | static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4480 | PyObject * _resultobj; |
4481 | wxTextCtrl * _arg0; | |
2d091820 | 4482 | PyObject * _argo0 = 0; |
107e4716 | 4483 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4484 | |
4485 | self = self; | |
107e4716 | 4486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0)) |
70551f47 | 4487 | return NULL; |
2d091820 RD |
4488 | if (_argo0) { |
4489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p."); |
4492 | return NULL; | |
4493 | } | |
4494 | } | |
ab9bc19b RD |
4495 | { |
4496 | wxPy_BEGIN_ALLOW_THREADS; | |
4497 | wxTextCtrl_Cut(_arg0); | |
4498 | ||
4499 | wxPy_END_ALLOW_THREADS; | |
4500 | } Py_INCREF(Py_None); | |
70551f47 RD |
4501 | _resultobj = Py_None; |
4502 | return _resultobj; | |
4503 | } | |
4504 | ||
4505 | #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits()) | |
107e4716 | 4506 | static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4507 | PyObject * _resultobj; |
4508 | wxTextCtrl * _arg0; | |
2d091820 | 4509 | PyObject * _argo0 = 0; |
107e4716 | 4510 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4511 | |
4512 | self = self; | |
107e4716 | 4513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0)) |
70551f47 | 4514 | return NULL; |
2d091820 RD |
4515 | if (_argo0) { |
4516 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4517 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p."); |
4519 | return NULL; | |
4520 | } | |
4521 | } | |
ab9bc19b RD |
4522 | { |
4523 | wxPy_BEGIN_ALLOW_THREADS; | |
4524 | wxTextCtrl_DiscardEdits(_arg0); | |
4525 | ||
4526 | wxPy_END_ALLOW_THREADS; | |
4527 | } Py_INCREF(Py_None); | |
70551f47 RD |
4528 | _resultobj = Py_None; |
4529 | return _resultobj; | |
4530 | } | |
4531 | ||
4532 | #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint()) | |
107e4716 | 4533 | static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4534 | PyObject * _resultobj; |
4535 | long _result; | |
4536 | wxTextCtrl * _arg0; | |
2d091820 | 4537 | PyObject * _argo0 = 0; |
107e4716 | 4538 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4539 | |
4540 | self = self; | |
107e4716 | 4541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0)) |
70551f47 | 4542 | return NULL; |
2d091820 RD |
4543 | if (_argo0) { |
4544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p."); |
4547 | return NULL; | |
4548 | } | |
4549 | } | |
ab9bc19b RD |
4550 | { |
4551 | wxPy_BEGIN_ALLOW_THREADS; | |
4552 | _result = (long )wxTextCtrl_GetInsertionPoint(_arg0); | |
4553 | ||
4554 | wxPy_END_ALLOW_THREADS; | |
4555 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
4556 | return _resultobj; |
4557 | } | |
4558 | ||
4559 | #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition()) | |
107e4716 | 4560 | static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4561 | PyObject * _resultobj; |
4562 | long _result; | |
4563 | wxTextCtrl * _arg0; | |
2d091820 | 4564 | PyObject * _argo0 = 0; |
107e4716 | 4565 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4566 | |
4567 | self = self; | |
107e4716 | 4568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0)) |
70551f47 | 4569 | return NULL; |
2d091820 RD |
4570 | if (_argo0) { |
4571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p."); |
4574 | return NULL; | |
4575 | } | |
4576 | } | |
ab9bc19b RD |
4577 | { |
4578 | wxPy_BEGIN_ALLOW_THREADS; | |
4579 | _result = (long )wxTextCtrl_GetLastPosition(_arg0); | |
4580 | ||
4581 | wxPy_END_ALLOW_THREADS; | |
4582 | } _resultobj = Py_BuildValue("l",_result); | |
70551f47 RD |
4583 | return _resultobj; |
4584 | } | |
4585 | ||
faf3cb35 | 4586 | #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0)) |
107e4716 | 4587 | static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 RD |
4588 | PyObject * _resultobj; |
4589 | int _result; | |
4590 | wxTextCtrl * _arg0; | |
4591 | long _arg1; | |
2d091820 | 4592 | PyObject * _argo0 = 0; |
107e4716 | 4593 | char *_kwnames[] = { "self","lineNo", NULL }; |
faf3cb35 RD |
4594 | |
4595 | self = self; | |
107e4716 | 4596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1)) |
faf3cb35 | 4597 | return NULL; |
2d091820 RD |
4598 | if (_argo0) { |
4599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
faf3cb35 RD |
4601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p."); |
4602 | return NULL; | |
4603 | } | |
4604 | } | |
ab9bc19b RD |
4605 | { |
4606 | wxPy_BEGIN_ALLOW_THREADS; | |
4607 | _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1); | |
4608 | ||
4609 | wxPy_END_ALLOW_THREADS; | |
4610 | } _resultobj = Py_BuildValue("i",_result); | |
faf3cb35 RD |
4611 | return _resultobj; |
4612 | } | |
4613 | ||
4614 | #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0)) | |
107e4716 | 4615 | static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 RD |
4616 | PyObject * _resultobj; |
4617 | wxString * _result; | |
4618 | wxTextCtrl * _arg0; | |
4619 | long _arg1; | |
2d091820 | 4620 | PyObject * _argo0 = 0; |
107e4716 | 4621 | char *_kwnames[] = { "self","lineNo", NULL }; |
faf3cb35 RD |
4622 | |
4623 | self = self; | |
107e4716 | 4624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1)) |
faf3cb35 | 4625 | return NULL; |
2d091820 RD |
4626 | if (_argo0) { |
4627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
faf3cb35 RD |
4629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p."); |
4630 | return NULL; | |
4631 | } | |
4632 | } | |
faf3cb35 | 4633 | { |
ab9bc19b RD |
4634 | wxPy_BEGIN_ALLOW_THREADS; |
4635 | _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1)); | |
4636 | ||
4637 | wxPy_END_ALLOW_THREADS; | |
4638 | }{ | |
e02c03a4 | 4639 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
faf3cb35 RD |
4640 | } |
4641 | { | |
4642 | delete _result; | |
4643 | } | |
4644 | return _resultobj; | |
4645 | } | |
4646 | ||
4647 | #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines()) | |
107e4716 | 4648 | static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 RD |
4649 | PyObject * _resultobj; |
4650 | int _result; | |
4651 | wxTextCtrl * _arg0; | |
2d091820 | 4652 | PyObject * _argo0 = 0; |
107e4716 | 4653 | char *_kwnames[] = { "self", NULL }; |
faf3cb35 RD |
4654 | |
4655 | self = self; | |
107e4716 | 4656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0)) |
faf3cb35 | 4657 | return NULL; |
2d091820 RD |
4658 | if (_argo0) { |
4659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
faf3cb35 RD |
4661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p."); |
4662 | return NULL; | |
4663 | } | |
4664 | } | |
ab9bc19b RD |
4665 | { |
4666 | wxPy_BEGIN_ALLOW_THREADS; | |
4667 | _result = (int )wxTextCtrl_GetNumberOfLines(_arg0); | |
4668 | ||
4669 | wxPy_END_ALLOW_THREADS; | |
4670 | } _resultobj = Py_BuildValue("i",_result); | |
faf3cb35 RD |
4671 | return _resultobj; |
4672 | } | |
4673 | ||
70551f47 | 4674 | #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue()) |
107e4716 | 4675 | static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4676 | PyObject * _resultobj; |
4677 | wxString * _result; | |
4678 | wxTextCtrl * _arg0; | |
2d091820 | 4679 | PyObject * _argo0 = 0; |
107e4716 | 4680 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4681 | |
4682 | self = self; | |
107e4716 | 4683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0)) |
70551f47 | 4684 | return NULL; |
2d091820 RD |
4685 | if (_argo0) { |
4686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p."); |
4689 | return NULL; | |
4690 | } | |
4691 | } | |
70551f47 | 4692 | { |
ab9bc19b RD |
4693 | wxPy_BEGIN_ALLOW_THREADS; |
4694 | _result = new wxString (wxTextCtrl_GetValue(_arg0)); | |
4695 | ||
4696 | wxPy_END_ALLOW_THREADS; | |
4697 | }{ | |
e02c03a4 | 4698 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
4699 | } |
4700 | { | |
4701 | delete _result; | |
4702 | } | |
4703 | return _resultobj; | |
4704 | } | |
4705 | ||
4706 | #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified()) | |
107e4716 | 4707 | static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4708 | PyObject * _resultobj; |
4709 | bool _result; | |
4710 | wxTextCtrl * _arg0; | |
2d091820 | 4711 | PyObject * _argo0 = 0; |
107e4716 | 4712 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4713 | |
4714 | self = self; | |
107e4716 | 4715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0)) |
70551f47 | 4716 | return NULL; |
2d091820 RD |
4717 | if (_argo0) { |
4718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p."); |
4721 | return NULL; | |
4722 | } | |
4723 | } | |
ab9bc19b RD |
4724 | { |
4725 | wxPy_BEGIN_ALLOW_THREADS; | |
4726 | _result = (bool )wxTextCtrl_IsModified(_arg0); | |
4727 | ||
4728 | wxPy_END_ALLOW_THREADS; | |
4729 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
4730 | return _resultobj; |
4731 | } | |
4732 | ||
4733 | #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0)) | |
107e4716 | 4734 | static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4735 | PyObject * _resultobj; |
4736 | bool _result; | |
4737 | wxTextCtrl * _arg0; | |
4738 | wxString * _arg1; | |
2d091820 | 4739 | PyObject * _argo0 = 0; |
70551f47 | 4740 | PyObject * _obj1 = 0; |
107e4716 | 4741 | char *_kwnames[] = { "self","filename", NULL }; |
70551f47 RD |
4742 | |
4743 | self = self; | |
107e4716 | 4744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1)) |
70551f47 | 4745 | return NULL; |
2d091820 RD |
4746 | if (_argo0) { |
4747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p."); |
4750 | return NULL; | |
4751 | } | |
4752 | } | |
4753 | { | |
2cd2fac8 RD |
4754 | #if PYTHON_API_VERSION >= 1009 |
4755 | char* tmpPtr; int tmpSize; | |
4756 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 4757 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
4758 | return NULL; |
4759 | } | |
4760 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
4761 | return NULL; | |
4762 | _arg1 = new wxString(tmpPtr, tmpSize); | |
4763 | #else | |
70551f47 RD |
4764 | if (!PyString_Check(_obj1)) { |
4765 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4766 | return NULL; | |
4767 | } | |
2cd2fac8 RD |
4768 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
4769 | #endif | |
70551f47 | 4770 | } |
ab9bc19b RD |
4771 | { |
4772 | wxPy_BEGIN_ALLOW_THREADS; | |
4773 | _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1); | |
4774 | ||
4775 | wxPy_END_ALLOW_THREADS; | |
4776 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
4777 | { |
4778 | if (_obj1) | |
4779 | delete _arg1; | |
4780 | } | |
4781 | return _resultobj; | |
4782 | } | |
4783 | ||
4784 | #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste()) | |
107e4716 | 4785 | static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4786 | PyObject * _resultobj; |
4787 | wxTextCtrl * _arg0; | |
2d091820 | 4788 | PyObject * _argo0 = 0; |
107e4716 | 4789 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
4790 | |
4791 | self = self; | |
107e4716 | 4792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0)) |
70551f47 | 4793 | return NULL; |
2d091820 RD |
4794 | if (_argo0) { |
4795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p."); |
4798 | return NULL; | |
4799 | } | |
4800 | } | |
ab9bc19b RD |
4801 | { |
4802 | wxPy_BEGIN_ALLOW_THREADS; | |
4803 | wxTextCtrl_Paste(_arg0); | |
4804 | ||
4805 | wxPy_END_ALLOW_THREADS; | |
4806 | } Py_INCREF(Py_None); | |
70551f47 RD |
4807 | _resultobj = Py_None; |
4808 | return _resultobj; | |
4809 | } | |
4810 | ||
faf3cb35 | 4811 | #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2)) |
107e4716 | 4812 | static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 RD |
4813 | PyObject * _resultobj; |
4814 | wxTextCtrl * _arg0; | |
4815 | long _arg1; | |
4816 | long * _arg2; | |
4817 | long temp; | |
4818 | long * _arg3; | |
4819 | long temp0; | |
2d091820 | 4820 | PyObject * _argo0 = 0; |
107e4716 | 4821 | char *_kwnames[] = { "self","pos", NULL }; |
faf3cb35 RD |
4822 | |
4823 | self = self; | |
4824 | { | |
4825 | _arg2 = &temp; | |
4826 | } | |
4827 | { | |
4828 | _arg3 = &temp0; | |
4829 | } | |
107e4716 | 4830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1)) |
faf3cb35 | 4831 | return NULL; |
2d091820 RD |
4832 | if (_argo0) { |
4833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
faf3cb35 RD |
4835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p."); |
4836 | return NULL; | |
4837 | } | |
4838 | } | |
ab9bc19b RD |
4839 | { |
4840 | wxPy_BEGIN_ALLOW_THREADS; | |
4841 | wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3); | |
4842 | ||
4843 | wxPy_END_ALLOW_THREADS; | |
4844 | } Py_INCREF(Py_None); | |
faf3cb35 RD |
4845 | _resultobj = Py_None; |
4846 | { | |
4847 | PyObject *o; | |
4848 | o = PyInt_FromLong((long) (*_arg2)); | |
4849 | _resultobj = t_output_helper(_resultobj, o); | |
4850 | } | |
4851 | { | |
4852 | PyObject *o; | |
4853 | o = PyInt_FromLong((long) (*_arg3)); | |
4854 | _resultobj = t_output_helper(_resultobj, o); | |
4855 | } | |
4856 | return _resultobj; | |
4857 | } | |
4858 | ||
70551f47 | 4859 | #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1)) |
107e4716 | 4860 | static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4861 | PyObject * _resultobj; |
4862 | wxTextCtrl * _arg0; | |
4863 | long _arg1; | |
4864 | long _arg2; | |
2d091820 | 4865 | PyObject * _argo0 = 0; |
107e4716 | 4866 | char *_kwnames[] = { "self","from","to", NULL }; |
70551f47 RD |
4867 | |
4868 | self = self; | |
107e4716 | 4869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 4870 | return NULL; |
2d091820 RD |
4871 | if (_argo0) { |
4872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p."); |
4875 | return NULL; | |
4876 | } | |
4877 | } | |
ab9bc19b RD |
4878 | { |
4879 | wxPy_BEGIN_ALLOW_THREADS; | |
4880 | wxTextCtrl_Remove(_arg0,_arg1,_arg2); | |
4881 | ||
4882 | wxPy_END_ALLOW_THREADS; | |
4883 | } Py_INCREF(Py_None); | |
70551f47 RD |
4884 | _resultobj = Py_None; |
4885 | return _resultobj; | |
4886 | } | |
4887 | ||
4888 | #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2)) | |
107e4716 | 4889 | static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4890 | PyObject * _resultobj; |
4891 | wxTextCtrl * _arg0; | |
4892 | long _arg1; | |
4893 | long _arg2; | |
4894 | wxString * _arg3; | |
2d091820 | 4895 | PyObject * _argo0 = 0; |
70551f47 | 4896 | PyObject * _obj3 = 0; |
107e4716 | 4897 | char *_kwnames[] = { "self","from","to","value", NULL }; |
70551f47 RD |
4898 | |
4899 | self = self; | |
107e4716 | 4900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) |
70551f47 | 4901 | return NULL; |
2d091820 RD |
4902 | if (_argo0) { |
4903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p."); |
4906 | return NULL; | |
4907 | } | |
4908 | } | |
4909 | { | |
2cd2fac8 RD |
4910 | #if PYTHON_API_VERSION >= 1009 |
4911 | char* tmpPtr; int tmpSize; | |
4912 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
7a446686 | 4913 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
4914 | return NULL; |
4915 | } | |
4916 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
4917 | return NULL; | |
4918 | _arg3 = new wxString(tmpPtr, tmpSize); | |
4919 | #else | |
70551f47 RD |
4920 | if (!PyString_Check(_obj3)) { |
4921 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4922 | return NULL; | |
4923 | } | |
2cd2fac8 RD |
4924 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
4925 | #endif | |
70551f47 | 4926 | } |
ab9bc19b RD |
4927 | { |
4928 | wxPy_BEGIN_ALLOW_THREADS; | |
4929 | wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3); | |
4930 | ||
4931 | wxPy_END_ALLOW_THREADS; | |
4932 | } Py_INCREF(Py_None); | |
70551f47 RD |
4933 | _resultobj = Py_None; |
4934 | { | |
4935 | if (_obj3) | |
4936 | delete _arg3; | |
4937 | } | |
4938 | return _resultobj; | |
4939 | } | |
4940 | ||
4941 | #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0)) | |
107e4716 | 4942 | static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4943 | PyObject * _resultobj; |
4944 | bool _result; | |
4945 | wxTextCtrl * _arg0; | |
4946 | wxString * _arg1; | |
2d091820 | 4947 | PyObject * _argo0 = 0; |
70551f47 | 4948 | PyObject * _obj1 = 0; |
107e4716 | 4949 | char *_kwnames[] = { "self","filename", NULL }; |
70551f47 RD |
4950 | |
4951 | self = self; | |
107e4716 | 4952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1)) |
70551f47 | 4953 | return NULL; |
2d091820 RD |
4954 | if (_argo0) { |
4955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
4957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p."); |
4958 | return NULL; | |
4959 | } | |
4960 | } | |
4961 | { | |
2cd2fac8 RD |
4962 | #if PYTHON_API_VERSION >= 1009 |
4963 | char* tmpPtr; int tmpSize; | |
4964 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 4965 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
4966 | return NULL; |
4967 | } | |
4968 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
4969 | return NULL; | |
4970 | _arg1 = new wxString(tmpPtr, tmpSize); | |
4971 | #else | |
70551f47 RD |
4972 | if (!PyString_Check(_obj1)) { |
4973 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4974 | return NULL; | |
4975 | } | |
2cd2fac8 RD |
4976 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
4977 | #endif | |
70551f47 | 4978 | } |
ab9bc19b RD |
4979 | { |
4980 | wxPy_BEGIN_ALLOW_THREADS; | |
4981 | _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1); | |
4982 | ||
4983 | wxPy_END_ALLOW_THREADS; | |
4984 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
4985 | { |
4986 | if (_obj1) | |
4987 | delete _arg1; | |
4988 | } | |
4989 | return _resultobj; | |
4990 | } | |
4991 | ||
4992 | #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0)) | |
107e4716 | 4993 | static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
4994 | PyObject * _resultobj; |
4995 | wxTextCtrl * _arg0; | |
4996 | bool _arg1; | |
2d091820 | 4997 | PyObject * _argo0 = 0; |
70551f47 | 4998 | int tempbool1; |
107e4716 | 4999 | char *_kwnames[] = { "self","editable", NULL }; |
70551f47 RD |
5000 | |
5001 | self = self; | |
107e4716 | 5002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 5003 | return NULL; |
2d091820 RD |
5004 | if (_argo0) { |
5005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
5007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p."); |
5008 | return NULL; | |
5009 | } | |
5010 | } | |
5011 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
5012 | { |
5013 | wxPy_BEGIN_ALLOW_THREADS; | |
5014 | wxTextCtrl_SetEditable(_arg0,_arg1); | |
5015 | ||
5016 | wxPy_END_ALLOW_THREADS; | |
5017 | } Py_INCREF(Py_None); | |
70551f47 RD |
5018 | _resultobj = Py_None; |
5019 | return _resultobj; | |
5020 | } | |
5021 | ||
5022 | #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0)) | |
107e4716 | 5023 | static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5024 | PyObject * _resultobj; |
5025 | wxTextCtrl * _arg0; | |
5026 | long _arg1; | |
2d091820 | 5027 | PyObject * _argo0 = 0; |
107e4716 | 5028 | char *_kwnames[] = { "self","pos", NULL }; |
70551f47 RD |
5029 | |
5030 | self = self; | |
107e4716 | 5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1)) |
70551f47 | 5032 | return NULL; |
2d091820 RD |
5033 | if (_argo0) { |
5034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
5036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p."); |
5037 | return NULL; | |
5038 | } | |
5039 | } | |
ab9bc19b RD |
5040 | { |
5041 | wxPy_BEGIN_ALLOW_THREADS; | |
5042 | wxTextCtrl_SetInsertionPoint(_arg0,_arg1); | |
5043 | ||
5044 | wxPy_END_ALLOW_THREADS; | |
5045 | } Py_INCREF(Py_None); | |
70551f47 RD |
5046 | _resultobj = Py_None; |
5047 | return _resultobj; | |
5048 | } | |
5049 | ||
5050 | #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd()) | |
107e4716 | 5051 | static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5052 | PyObject * _resultobj; |
5053 | wxTextCtrl * _arg0; | |
2d091820 | 5054 | PyObject * _argo0 = 0; |
107e4716 | 5055 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
5056 | |
5057 | self = self; | |
107e4716 | 5058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0)) |
70551f47 | 5059 | return NULL; |
2d091820 RD |
5060 | if (_argo0) { |
5061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
5063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p."); |
5064 | return NULL; | |
5065 | } | |
5066 | } | |
ab9bc19b RD |
5067 | { |
5068 | wxPy_BEGIN_ALLOW_THREADS; | |
5069 | wxTextCtrl_SetInsertionPointEnd(_arg0); | |
5070 | ||
5071 | wxPy_END_ALLOW_THREADS; | |
5072 | } Py_INCREF(Py_None); | |
70551f47 RD |
5073 | _resultobj = Py_None; |
5074 | return _resultobj; | |
5075 | } | |
5076 | ||
5077 | #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
107e4716 | 5078 | static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5079 | PyObject * _resultobj; |
5080 | wxTextCtrl * _arg0; | |
5081 | long _arg1; | |
5082 | long _arg2; | |
2d091820 | 5083 | PyObject * _argo0 = 0; |
107e4716 | 5084 | char *_kwnames[] = { "self","from","to", NULL }; |
70551f47 RD |
5085 | |
5086 | self = self; | |
107e4716 | 5087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 5088 | return NULL; |
2d091820 RD |
5089 | if (_argo0) { |
5090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
5092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p."); |
5093 | return NULL; | |
5094 | } | |
5095 | } | |
ab9bc19b RD |
5096 | { |
5097 | wxPy_BEGIN_ALLOW_THREADS; | |
5098 | wxTextCtrl_SetSelection(_arg0,_arg1,_arg2); | |
5099 | ||
5100 | wxPy_END_ALLOW_THREADS; | |
5101 | } Py_INCREF(Py_None); | |
70551f47 RD |
5102 | _resultobj = Py_None; |
5103 | return _resultobj; | |
5104 | } | |
5105 | ||
5106 | #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 5107 | static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5108 | PyObject * _resultobj; |
5109 | wxTextCtrl * _arg0; | |
5110 | wxString * _arg1; | |
2d091820 | 5111 | PyObject * _argo0 = 0; |
70551f47 | 5112 | PyObject * _obj1 = 0; |
107e4716 | 5113 | char *_kwnames[] = { "self","value", NULL }; |
70551f47 RD |
5114 | |
5115 | self = self; | |
107e4716 | 5116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1)) |
70551f47 | 5117 | return NULL; |
2d091820 RD |
5118 | if (_argo0) { |
5119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
5121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p."); |
5122 | return NULL; | |
5123 | } | |
5124 | } | |
5125 | { | |
2cd2fac8 RD |
5126 | #if PYTHON_API_VERSION >= 1009 |
5127 | char* tmpPtr; int tmpSize; | |
5128 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 5129 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
5130 | return NULL; |
5131 | } | |
5132 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5133 | return NULL; | |
5134 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5135 | #else | |
70551f47 RD |
5136 | if (!PyString_Check(_obj1)) { |
5137 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5138 | return NULL; | |
5139 | } | |
2cd2fac8 RD |
5140 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5141 | #endif | |
70551f47 | 5142 | } |
ab9bc19b RD |
5143 | { |
5144 | wxPy_BEGIN_ALLOW_THREADS; | |
5145 | wxTextCtrl_SetValue(_arg0,*_arg1); | |
5146 | ||
5147 | wxPy_END_ALLOW_THREADS; | |
5148 | } Py_INCREF(Py_None); | |
70551f47 RD |
5149 | _resultobj = Py_None; |
5150 | { | |
5151 | if (_obj1) | |
5152 | delete _arg1; | |
5153 | } | |
5154 | return _resultobj; | |
5155 | } | |
5156 | ||
5157 | #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0)) | |
107e4716 | 5158 | static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5159 | PyObject * _resultobj; |
5160 | wxTextCtrl * _arg0; | |
5161 | long _arg1; | |
2d091820 | 5162 | PyObject * _argo0 = 0; |
107e4716 | 5163 | char *_kwnames[] = { "self","pos", NULL }; |
70551f47 RD |
5164 | |
5165 | self = self; | |
107e4716 | 5166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1)) |
70551f47 | 5167 | return NULL; |
2d091820 RD |
5168 | if (_argo0) { |
5169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
5171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p."); |
5172 | return NULL; | |
5173 | } | |
5174 | } | |
ab9bc19b RD |
5175 | { |
5176 | wxPy_BEGIN_ALLOW_THREADS; | |
5177 | wxTextCtrl_ShowPosition(_arg0,_arg1); | |
5178 | ||
5179 | wxPy_END_ALLOW_THREADS; | |
5180 | } Py_INCREF(Py_None); | |
70551f47 RD |
5181 | _resultobj = Py_None; |
5182 | return _resultobj; | |
5183 | } | |
5184 | ||
5185 | #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0)) | |
107e4716 | 5186 | static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5187 | PyObject * _resultobj; |
5188 | wxTextCtrl * _arg0; | |
5189 | wxString * _arg1; | |
2d091820 | 5190 | PyObject * _argo0 = 0; |
70551f47 | 5191 | PyObject * _obj1 = 0; |
107e4716 | 5192 | char *_kwnames[] = { "self","text", NULL }; |
70551f47 RD |
5193 | |
5194 | self = self; | |
107e4716 | 5195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1)) |
70551f47 | 5196 | return NULL; |
2d091820 RD |
5197 | if (_argo0) { |
5198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
70551f47 RD |
5200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p."); |
5201 | return NULL; | |
5202 | } | |
5203 | } | |
5204 | { | |
2cd2fac8 RD |
5205 | #if PYTHON_API_VERSION >= 1009 |
5206 | char* tmpPtr; int tmpSize; | |
5207 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 5208 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
5209 | return NULL; |
5210 | } | |
5211 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5212 | return NULL; | |
5213 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5214 | #else | |
70551f47 RD |
5215 | if (!PyString_Check(_obj1)) { |
5216 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5217 | return NULL; | |
5218 | } | |
2cd2fac8 RD |
5219 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5220 | #endif | |
70551f47 | 5221 | } |
ab9bc19b RD |
5222 | { |
5223 | wxPy_BEGIN_ALLOW_THREADS; | |
5224 | wxTextCtrl_WriteText(_arg0,*_arg1); | |
5225 | ||
5226 | wxPy_END_ALLOW_THREADS; | |
5227 | } Py_INCREF(Py_None); | |
5228 | _resultobj = Py_None; | |
5229 | { | |
5230 | if (_obj1) | |
5231 | delete _arg1; | |
5232 | } | |
5233 | return _resultobj; | |
5234 | } | |
5235 | ||
5236 | #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0)) | |
107e4716 | 5237 | static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) { |
ab9bc19b RD |
5238 | PyObject * _resultobj; |
5239 | wxTextCtrl * _arg0; | |
5240 | wxString * _arg1; | |
2d091820 | 5241 | PyObject * _argo0 = 0; |
ab9bc19b | 5242 | PyObject * _obj1 = 0; |
107e4716 | 5243 | char *_kwnames[] = { "self","text", NULL }; |
ab9bc19b RD |
5244 | |
5245 | self = self; | |
107e4716 | 5246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1)) |
ab9bc19b | 5247 | return NULL; |
2d091820 RD |
5248 | if (_argo0) { |
5249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
ab9bc19b RD |
5251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p."); |
5252 | return NULL; | |
5253 | } | |
5254 | } | |
5255 | { | |
2cd2fac8 RD |
5256 | #if PYTHON_API_VERSION >= 1009 |
5257 | char* tmpPtr; int tmpSize; | |
5258 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 5259 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
5260 | return NULL; |
5261 | } | |
5262 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5263 | return NULL; | |
5264 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5265 | #else | |
ab9bc19b RD |
5266 | if (!PyString_Check(_obj1)) { |
5267 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5268 | return NULL; | |
5269 | } | |
2cd2fac8 RD |
5270 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5271 | #endif | |
ab9bc19b RD |
5272 | } |
5273 | { | |
5274 | wxPy_BEGIN_ALLOW_THREADS; | |
5275 | wxTextCtrl_AppendText(_arg0,*_arg1); | |
5276 | ||
5277 | wxPy_END_ALLOW_THREADS; | |
5278 | } Py_INCREF(Py_None); | |
70551f47 RD |
5279 | _resultobj = Py_None; |
5280 | { | |
5281 | if (_obj1) | |
5282 | delete _arg1; | |
5283 | } | |
5284 | return _resultobj; | |
5285 | } | |
5286 | ||
faf3cb35 | 5287 | #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1)) |
107e4716 | 5288 | static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
faf3cb35 RD |
5289 | PyObject * _resultobj; |
5290 | long _result; | |
5291 | wxTextCtrl * _arg0; | |
5292 | long _arg1; | |
5293 | long _arg2; | |
2d091820 | 5294 | PyObject * _argo0 = 0; |
107e4716 | 5295 | char *_kwnames[] = { "self","x","y", NULL }; |
faf3cb35 RD |
5296 | |
5297 | self = self; | |
107e4716 | 5298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2)) |
faf3cb35 | 5299 | return NULL; |
2d091820 RD |
5300 | if (_argo0) { |
5301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
faf3cb35 RD |
5303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p."); |
5304 | return NULL; | |
5305 | } | |
5306 | } | |
ab9bc19b RD |
5307 | { |
5308 | wxPy_BEGIN_ALLOW_THREADS; | |
5309 | _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2); | |
5310 | ||
5311 | wxPy_END_ALLOW_THREADS; | |
5312 | } _resultobj = Py_BuildValue("l",_result); | |
faf3cb35 RD |
5313 | return _resultobj; |
5314 | } | |
5315 | ||
53920141 | 5316 | #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy()) |
107e4716 | 5317 | static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) { |
53920141 RD |
5318 | PyObject * _resultobj; |
5319 | bool _result; | |
5320 | wxTextCtrl * _arg0; | |
2d091820 | 5321 | PyObject * _argo0 = 0; |
107e4716 | 5322 | char *_kwnames[] = { "self", NULL }; |
53920141 RD |
5323 | |
5324 | self = self; | |
107e4716 | 5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0)) |
53920141 | 5326 | return NULL; |
2d091820 RD |
5327 | if (_argo0) { |
5328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
53920141 RD |
5330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p."); |
5331 | return NULL; | |
5332 | } | |
5333 | } | |
5334 | { | |
5335 | wxPy_BEGIN_ALLOW_THREADS; | |
5336 | _result = (bool )wxTextCtrl_CanCopy(_arg0); | |
5337 | ||
5338 | wxPy_END_ALLOW_THREADS; | |
5339 | } _resultobj = Py_BuildValue("i",_result); | |
5340 | return _resultobj; | |
5341 | } | |
5342 | ||
5343 | #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut()) | |
107e4716 | 5344 | static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) { |
53920141 RD |
5345 | PyObject * _resultobj; |
5346 | bool _result; | |
5347 | wxTextCtrl * _arg0; | |
2d091820 | 5348 | PyObject * _argo0 = 0; |
107e4716 | 5349 | char *_kwnames[] = { "self", NULL }; |
53920141 RD |
5350 | |
5351 | self = self; | |
107e4716 | 5352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0)) |
53920141 | 5353 | return NULL; |
2d091820 RD |
5354 | if (_argo0) { |
5355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
53920141 RD |
5357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p."); |
5358 | return NULL; | |
5359 | } | |
5360 | } | |
5361 | { | |
5362 | wxPy_BEGIN_ALLOW_THREADS; | |
5363 | _result = (bool )wxTextCtrl_CanCut(_arg0); | |
5364 | ||
5365 | wxPy_END_ALLOW_THREADS; | |
5366 | } _resultobj = Py_BuildValue("i",_result); | |
5367 | return _resultobj; | |
5368 | } | |
5369 | ||
5370 | #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) | |
107e4716 | 5371 | static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { |
53920141 RD |
5372 | PyObject * _resultobj; |
5373 | bool _result; | |
5374 | wxTextCtrl * _arg0; | |
2d091820 | 5375 | PyObject * _argo0 = 0; |
107e4716 | 5376 | char *_kwnames[] = { "self", NULL }; |
53920141 RD |
5377 | |
5378 | self = self; | |
107e4716 | 5379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0)) |
53920141 | 5380 | return NULL; |
2d091820 RD |
5381 | if (_argo0) { |
5382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
53920141 RD |
5384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p."); |
5385 | return NULL; | |
5386 | } | |
5387 | } | |
5388 | { | |
5389 | wxPy_BEGIN_ALLOW_THREADS; | |
5390 | _result = (bool )wxTextCtrl_CanPaste(_arg0); | |
5391 | ||
5392 | wxPy_END_ALLOW_THREADS; | |
5393 | } _resultobj = Py_BuildValue("i",_result); | |
5394 | return _resultobj; | |
5395 | } | |
5396 | ||
5397 | #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) | |
107e4716 | 5398 | static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { |
53920141 RD |
5399 | PyObject * _resultobj; |
5400 | bool _result; | |
5401 | wxTextCtrl * _arg0; | |
2d091820 | 5402 | PyObject * _argo0 = 0; |
107e4716 | 5403 | char *_kwnames[] = { "self", NULL }; |
53920141 RD |
5404 | |
5405 | self = self; | |
107e4716 | 5406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0)) |
53920141 | 5407 | return NULL; |
2d091820 RD |
5408 | if (_argo0) { |
5409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
53920141 RD |
5411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p."); |
5412 | return NULL; | |
5413 | } | |
5414 | } | |
5415 | { | |
5416 | wxPy_BEGIN_ALLOW_THREADS; | |
5417 | _result = (bool )wxTextCtrl_CanRedo(_arg0); | |
5418 | ||
5419 | wxPy_END_ALLOW_THREADS; | |
5420 | } _resultobj = Py_BuildValue("i",_result); | |
5421 | return _resultobj; | |
5422 | } | |
5423 | ||
5424 | #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) | |
107e4716 | 5425 | static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { |
53920141 RD |
5426 | PyObject * _resultobj; |
5427 | bool _result; | |
5428 | wxTextCtrl * _arg0; | |
2d091820 | 5429 | PyObject * _argo0 = 0; |
107e4716 | 5430 | char *_kwnames[] = { "self", NULL }; |
53920141 RD |
5431 | |
5432 | self = self; | |
107e4716 | 5433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0)) |
53920141 | 5434 | return NULL; |
2d091820 RD |
5435 | if (_argo0) { |
5436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
53920141 RD |
5438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p."); |
5439 | return NULL; | |
5440 | } | |
5441 | } | |
5442 | { | |
5443 | wxPy_BEGIN_ALLOW_THREADS; | |
5444 | _result = (bool )wxTextCtrl_CanUndo(_arg0); | |
5445 | ||
5446 | wxPy_END_ALLOW_THREADS; | |
5447 | } _resultobj = Py_BuildValue("i",_result); | |
5448 | return _resultobj; | |
5449 | } | |
5450 | ||
5451 | #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
107e4716 | 5452 | static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
53920141 RD |
5453 | PyObject * _resultobj; |
5454 | wxTextCtrl * _arg0; | |
5455 | long * _arg1; | |
5456 | long temp; | |
5457 | long * _arg2; | |
5458 | long temp0; | |
2d091820 | 5459 | PyObject * _argo0 = 0; |
107e4716 | 5460 | char *_kwnames[] = { "self", NULL }; |
53920141 RD |
5461 | |
5462 | self = self; | |
5463 | { | |
5464 | _arg1 = &temp; | |
5465 | } | |
5466 | { | |
5467 | _arg2 = &temp0; | |
5468 | } | |
107e4716 | 5469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0)) |
53920141 | 5470 | return NULL; |
2d091820 RD |
5471 | if (_argo0) { |
5472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
53920141 RD |
5474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p."); |
5475 | return NULL; | |
5476 | } | |
5477 | } | |
5478 | { | |
5479 | wxPy_BEGIN_ALLOW_THREADS; | |
5480 | wxTextCtrl_GetSelection(_arg0,_arg1,_arg2); | |
5481 | ||
5482 | wxPy_END_ALLOW_THREADS; | |
5483 | } Py_INCREF(Py_None); | |
5484 | _resultobj = Py_None; | |
5485 | { | |
5486 | PyObject *o; | |
5487 | o = PyInt_FromLong((long) (*_arg1)); | |
5488 | _resultobj = t_output_helper(_resultobj, o); | |
5489 | } | |
5490 | { | |
5491 | PyObject *o; | |
5492 | o = PyInt_FromLong((long) (*_arg2)); | |
5493 | _resultobj = t_output_helper(_resultobj, o); | |
5494 | } | |
5495 | return _resultobj; | |
5496 | } | |
5497 | ||
5498 | #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable()) | |
107e4716 | 5499 | static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) { |
53920141 RD |
5500 | PyObject * _resultobj; |
5501 | bool _result; | |
5502 | wxTextCtrl * _arg0; | |
2d091820 | 5503 | PyObject * _argo0 = 0; |
107e4716 | 5504 | char *_kwnames[] = { "self", NULL }; |
53920141 RD |
5505 | |
5506 | self = self; | |
107e4716 | 5507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0)) |
53920141 | 5508 | return NULL; |
2d091820 RD |
5509 | if (_argo0) { |
5510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
53920141 RD |
5512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p."); |
5513 | return NULL; | |
5514 | } | |
5515 | } | |
5516 | { | |
5517 | wxPy_BEGIN_ALLOW_THREADS; | |
5518 | _result = (bool )wxTextCtrl_IsEditable(_arg0); | |
5519 | ||
5520 | wxPy_END_ALLOW_THREADS; | |
5521 | } _resultobj = Py_BuildValue("i",_result); | |
5522 | return _resultobj; | |
5523 | } | |
5524 | ||
4120ef2b RD |
5525 | #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
5526 | static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5527 | PyObject * _resultobj; | |
5528 | wxTextCtrl * _arg0; | |
5529 | PyObject * _argo0 = 0; | |
5530 | char *_kwnames[] = { "self", NULL }; | |
5531 | ||
5532 | self = self; | |
5533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0)) | |
5534 | return NULL; | |
5535 | if (_argo0) { | |
5536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
5538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p."); | |
5539 | return NULL; | |
5540 | } | |
5541 | } | |
5542 | { | |
5543 | wxPy_BEGIN_ALLOW_THREADS; | |
5544 | wxTextCtrl_Undo(_arg0); | |
5545 | ||
5546 | wxPy_END_ALLOW_THREADS; | |
5547 | } Py_INCREF(Py_None); | |
5548 | _resultobj = Py_None; | |
5549 | return _resultobj; | |
5550 | } | |
5551 | ||
5552 | #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo()) | |
5553 | static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5554 | PyObject * _resultobj; | |
5555 | wxTextCtrl * _arg0; | |
5556 | PyObject * _argo0 = 0; | |
5557 | char *_kwnames[] = { "self", NULL }; | |
5558 | ||
5559 | self = self; | |
5560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0)) | |
5561 | return NULL; | |
5562 | if (_argo0) { | |
5563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
5565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p."); | |
5566 | return NULL; | |
5567 | } | |
5568 | } | |
5569 | { | |
5570 | wxPy_BEGIN_ALLOW_THREADS; | |
5571 | wxTextCtrl_Redo(_arg0); | |
5572 | ||
5573 | wxPy_END_ALLOW_THREADS; | |
5574 | } Py_INCREF(Py_None); | |
5575 | _resultobj = Py_None; | |
5576 | return _resultobj; | |
5577 | } | |
5578 | ||
5579 | static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) { | |
5580 | self->AppendText(text + '\n'); | |
5581 | } | |
5582 | static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5583 | PyObject * _resultobj; | |
5584 | wxTextCtrl * _arg0; | |
5585 | wxString * _arg1; | |
5586 | PyObject * _argo0 = 0; | |
5587 | PyObject * _obj1 = 0; | |
5588 | char *_kwnames[] = { "self","text", NULL }; | |
5589 | ||
5590 | self = self; | |
5591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1)) | |
5592 | return NULL; | |
5593 | if (_argo0) { | |
5594 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5595 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { | |
5596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p."); | |
5597 | return NULL; | |
5598 | } | |
5599 | } | |
5600 | { | |
2cd2fac8 RD |
5601 | #if PYTHON_API_VERSION >= 1009 |
5602 | char* tmpPtr; int tmpSize; | |
5603 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 5604 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
5605 | return NULL; |
5606 | } | |
5607 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5608 | return NULL; | |
5609 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5610 | #else | |
4120ef2b RD |
5611 | if (!PyString_Check(_obj1)) { |
5612 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5613 | return NULL; | |
5614 | } | |
2cd2fac8 RD |
5615 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5616 | #endif | |
4120ef2b RD |
5617 | } |
5618 | { | |
5619 | wxPy_BEGIN_ALLOW_THREADS; | |
5620 | wxTextCtrl_write(_arg0,*_arg1); | |
5621 | ||
5622 | wxPy_END_ALLOW_THREADS; | |
5623 | } Py_INCREF(Py_None); | |
5624 | _resultobj = Py_None; | |
5625 | { | |
5626 | if (_obj1) | |
5627 | delete _arg1; | |
5628 | } | |
5629 | return _resultobj; | |
5630 | } | |
5631 | ||
70551f47 RD |
5632 | static void *SwigwxScrollBarTowxControl(void *ptr) { |
5633 | wxScrollBar *src; | |
5634 | wxControl *dest; | |
5635 | src = (wxScrollBar *) ptr; | |
5636 | dest = (wxControl *) src; | |
5637 | return (void *) dest; | |
5638 | } | |
5639 | ||
5640 | static void *SwigwxScrollBarTowxWindow(void *ptr) { | |
5641 | wxScrollBar *src; | |
5642 | wxWindow *dest; | |
5643 | src = (wxScrollBar *) ptr; | |
5644 | dest = (wxWindow *) src; | |
5645 | return (void *) dest; | |
5646 | } | |
5647 | ||
5648 | static void *SwigwxScrollBarTowxEvtHandler(void *ptr) { | |
5649 | wxScrollBar *src; | |
5650 | wxEvtHandler *dest; | |
5651 | src = (wxScrollBar *) ptr; | |
5652 | dest = (wxEvtHandler *) src; | |
5653 | return (void *) dest; | |
5654 | } | |
5655 | ||
9df61a29 RD |
5656 | static void *SwigwxScrollBarTowxObject(void *ptr) { |
5657 | wxScrollBar *src; | |
5658 | wxObject *dest; | |
5659 | src = (wxScrollBar *) ptr; | |
5660 | dest = (wxObject *) src; | |
5661 | return (void *) dest; | |
5662 | } | |
5663 | ||
70551f47 | 5664 | #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
107e4716 | 5665 | static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5666 | PyObject * _resultobj; |
5667 | wxScrollBar * _result; | |
5668 | wxWindow * _arg0; | |
2d091820 | 5669 | wxWindowID _arg1 = (wxWindowID ) -1; |
b68dc582 RD |
5670 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
5671 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
2d091820 | 5672 | long _arg4 = (long ) wxSB_HORIZONTAL; |
b68dc582 | 5673 | wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
5674 | char * _arg6 = (char *) "scrollBar"; |
5675 | PyObject * _argo0 = 0; | |
37f6a977 RD |
5676 | wxPoint temp; |
5677 | PyObject * _obj2 = 0; | |
5678 | wxSize temp0; | |
5679 | PyObject * _obj3 = 0; | |
2d091820 | 5680 | PyObject * _argo5 = 0; |
107e4716 | 5681 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
70551f47 RD |
5682 | char _ptemp[128]; |
5683 | ||
5684 | self = self; | |
37f6a977 | 5685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
70551f47 | 5686 | return NULL; |
2d091820 RD |
5687 | if (_argo0) { |
5688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
5690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p."); |
5691 | return NULL; | |
5692 | } | |
5693 | } | |
37f6a977 RD |
5694 | if (_obj2) |
5695 | { | |
5696 | _arg2 = &temp; | |
5697 | if (! wxPoint_helper(_obj2, &_arg2)) | |
70551f47 | 5698 | return NULL; |
37f6a977 RD |
5699 | } |
5700 | if (_obj3) | |
5701 | { | |
5702 | _arg3 = &temp0; | |
5703 | if (! wxSize_helper(_obj3, &_arg3)) | |
70551f47 | 5704 | return NULL; |
37f6a977 | 5705 | } |
2d091820 RD |
5706 | if (_argo5) { |
5707 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
5708 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
70551f47 RD |
5709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p."); |
5710 | return NULL; | |
5711 | } | |
5712 | } | |
ab9bc19b RD |
5713 | { |
5714 | wxPy_BEGIN_ALLOW_THREADS; | |
5715 | _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
5716 | ||
5717 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
5718 | } if (_result) { |
5719 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p"); | |
5720 | _resultobj = Py_BuildValue("s",_ptemp); | |
5721 | } else { | |
5722 | Py_INCREF(Py_None); | |
5723 | _resultobj = Py_None; | |
5724 | } | |
70551f47 RD |
5725 | return _resultobj; |
5726 | } | |
5727 | ||
5728 | #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange()) | |
107e4716 | 5729 | static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5730 | PyObject * _resultobj; |
5731 | int _result; | |
5732 | wxScrollBar * _arg0; | |
2d091820 | 5733 | PyObject * _argo0 = 0; |
107e4716 | 5734 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
5735 | |
5736 | self = self; | |
107e4716 | 5737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0)) |
70551f47 | 5738 | return NULL; |
2d091820 RD |
5739 | if (_argo0) { |
5740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
70551f47 RD |
5742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p."); |
5743 | return NULL; | |
5744 | } | |
5745 | } | |
ab9bc19b RD |
5746 | { |
5747 | wxPy_BEGIN_ALLOW_THREADS; | |
5748 | _result = (int )wxScrollBar_GetRange(_arg0); | |
5749 | ||
5750 | wxPy_END_ALLOW_THREADS; | |
5751 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
5752 | return _resultobj; |
5753 | } | |
5754 | ||
5755 | #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize()) | |
107e4716 | 5756 | static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5757 | PyObject * _resultobj; |
5758 | int _result; | |
5759 | wxScrollBar * _arg0; | |
2d091820 | 5760 | PyObject * _argo0 = 0; |
107e4716 | 5761 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
5762 | |
5763 | self = self; | |
107e4716 | 5764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0)) |
70551f47 | 5765 | return NULL; |
2d091820 RD |
5766 | if (_argo0) { |
5767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
70551f47 RD |
5769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p."); |
5770 | return NULL; | |
5771 | } | |
5772 | } | |
ab9bc19b RD |
5773 | { |
5774 | wxPy_BEGIN_ALLOW_THREADS; | |
5775 | _result = (int )wxScrollBar_GetPageSize(_arg0); | |
5776 | ||
5777 | wxPy_END_ALLOW_THREADS; | |
5778 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
5779 | return _resultobj; |
5780 | } | |
5781 | ||
105e45b9 | 5782 | #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition()) |
107e4716 | 5783 | static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5784 | PyObject * _resultobj; |
5785 | int _result; | |
5786 | wxScrollBar * _arg0; | |
2d091820 | 5787 | PyObject * _argo0 = 0; |
107e4716 | 5788 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
5789 | |
5790 | self = self; | |
107e4716 | 5791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0)) |
70551f47 | 5792 | return NULL; |
2d091820 RD |
5793 | if (_argo0) { |
5794 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5795 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
105e45b9 | 5796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p."); |
70551f47 RD |
5797 | return NULL; |
5798 | } | |
5799 | } | |
ab9bc19b RD |
5800 | { |
5801 | wxPy_BEGIN_ALLOW_THREADS; | |
5802 | _result = (int )wxScrollBar_GetThumbPosition(_arg0); | |
5803 | ||
5804 | wxPy_END_ALLOW_THREADS; | |
5805 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
5806 | return _resultobj; |
5807 | } | |
5808 | ||
5809 | #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize()) | |
107e4716 | 5810 | static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5811 | PyObject * _resultobj; |
5812 | int _result; | |
5813 | wxScrollBar * _arg0; | |
2d091820 | 5814 | PyObject * _argo0 = 0; |
107e4716 | 5815 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
5816 | |
5817 | self = self; | |
107e4716 | 5818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0)) |
70551f47 | 5819 | return NULL; |
2d091820 RD |
5820 | if (_argo0) { |
5821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
70551f47 RD |
5823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p."); |
5824 | return NULL; | |
5825 | } | |
5826 | } | |
ab9bc19b RD |
5827 | { |
5828 | wxPy_BEGIN_ALLOW_THREADS; | |
5829 | _result = (int )wxScrollBar_GetThumbSize(_arg0); | |
5830 | ||
5831 | wxPy_END_ALLOW_THREADS; | |
5832 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
5833 | return _resultobj; |
5834 | } | |
5835 | ||
105e45b9 | 5836 | #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0)) |
107e4716 | 5837 | static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5838 | PyObject * _resultobj; |
5839 | wxScrollBar * _arg0; | |
5840 | int _arg1; | |
2d091820 | 5841 | PyObject * _argo0 = 0; |
107e4716 | 5842 | char *_kwnames[] = { "self","viewStart", NULL }; |
70551f47 RD |
5843 | |
5844 | self = self; | |
107e4716 | 5845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1)) |
70551f47 | 5846 | return NULL; |
2d091820 RD |
5847 | if (_argo0) { |
5848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
105e45b9 | 5850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p."); |
70551f47 RD |
5851 | return NULL; |
5852 | } | |
5853 | } | |
ab9bc19b RD |
5854 | { |
5855 | wxPy_BEGIN_ALLOW_THREADS; | |
5856 | wxScrollBar_SetThumbPosition(_arg0,_arg1); | |
5857 | ||
5858 | wxPy_END_ALLOW_THREADS; | |
5859 | } Py_INCREF(Py_None); | |
70551f47 RD |
5860 | _resultobj = Py_None; |
5861 | return _resultobj; | |
5862 | } | |
5863 | ||
5864 | #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
107e4716 | 5865 | static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
5866 | PyObject * _resultobj; |
5867 | wxScrollBar * _arg0; | |
5868 | int _arg1; | |
5869 | int _arg2; | |
5870 | int _arg3; | |
5871 | int _arg4; | |
2d091820 RD |
5872 | bool _arg5 = (bool ) TRUE; |
5873 | PyObject * _argo0 = 0; | |
5874 | int tempbool5 = (int) TRUE; | |
107e4716 | 5875 | char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL }; |
70551f47 RD |
5876 | |
5877 | self = self; | |
107e4716 | 5878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5)) |
70551f47 | 5879 | return NULL; |
2d091820 RD |
5880 | if (_argo0) { |
5881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) { | |
70551f47 RD |
5883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p."); |
5884 | return NULL; | |
5885 | } | |
5886 | } | |
5887 | _arg5 = (bool ) tempbool5; | |
ab9bc19b RD |
5888 | { |
5889 | wxPy_BEGIN_ALLOW_THREADS; | |
5890 | wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5891 | ||
5892 | wxPy_END_ALLOW_THREADS; | |
5893 | } Py_INCREF(Py_None); | |
70551f47 RD |
5894 | _resultobj = Py_None; |
5895 | return _resultobj; | |
5896 | } | |
5897 | ||
62bd0874 RD |
5898 | static void *SwigwxSpinButtonTowxControl(void *ptr) { |
5899 | wxSpinButton *src; | |
5900 | wxControl *dest; | |
5901 | src = (wxSpinButton *) ptr; | |
5902 | dest = (wxControl *) src; | |
5903 | return (void *) dest; | |
5904 | } | |
5905 | ||
5906 | static void *SwigwxSpinButtonTowxWindow(void *ptr) { | |
5907 | wxSpinButton *src; | |
5908 | wxWindow *dest; | |
5909 | src = (wxSpinButton *) ptr; | |
5910 | dest = (wxWindow *) src; | |
5911 | return (void *) dest; | |
5912 | } | |
5913 | ||
5914 | static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) { | |
5915 | wxSpinButton *src; | |
5916 | wxEvtHandler *dest; | |
5917 | src = (wxSpinButton *) ptr; | |
5918 | dest = (wxEvtHandler *) src; | |
5919 | return (void *) dest; | |
5920 | } | |
5921 | ||
9df61a29 RD |
5922 | static void *SwigwxSpinButtonTowxObject(void *ptr) { |
5923 | wxSpinButton *src; | |
5924 | wxObject *dest; | |
5925 | src = (wxSpinButton *) ptr; | |
5926 | dest = (wxObject *) src; | |
5927 | return (void *) dest; | |
5928 | } | |
5929 | ||
62bd0874 | 5930 | #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
107e4716 | 5931 | static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
62bd0874 RD |
5932 | PyObject * _resultobj; |
5933 | wxSpinButton * _result; | |
5934 | wxWindow * _arg0; | |
2d091820 | 5935 | wxWindowID _arg1 = (wxWindowID ) -1; |
b68dc582 RD |
5936 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
5937 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
5938 | long _arg4 = (long ) wxSP_HORIZONTAL; |
5939 | char * _arg5 = (char *) "spinButton"; | |
5940 | PyObject * _argo0 = 0; | |
37f6a977 RD |
5941 | wxPoint temp; |
5942 | PyObject * _obj2 = 0; | |
5943 | wxSize temp0; | |
5944 | PyObject * _obj3 = 0; | |
107e4716 | 5945 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
62bd0874 RD |
5946 | char _ptemp[128]; |
5947 | ||
5948 | self = self; | |
37f6a977 | 5949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
62bd0874 | 5950 | return NULL; |
2d091820 RD |
5951 | if (_argo0) { |
5952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
62bd0874 RD |
5954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p."); |
5955 | return NULL; | |
5956 | } | |
5957 | } | |
37f6a977 RD |
5958 | if (_obj2) |
5959 | { | |
5960 | _arg2 = &temp; | |
5961 | if (! wxPoint_helper(_obj2, &_arg2)) | |
62bd0874 | 5962 | return NULL; |
37f6a977 RD |
5963 | } |
5964 | if (_obj3) | |
5965 | { | |
5966 | _arg3 = &temp0; | |
5967 | if (! wxSize_helper(_obj3, &_arg3)) | |
62bd0874 | 5968 | return NULL; |
37f6a977 | 5969 | } |
ab9bc19b RD |
5970 | { |
5971 | wxPy_BEGIN_ALLOW_THREADS; | |
5972 | _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
5973 | ||
5974 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
5975 | } if (_result) { |
5976 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p"); | |
5977 | _resultobj = Py_BuildValue("s",_ptemp); | |
5978 | } else { | |
5979 | Py_INCREF(Py_None); | |
5980 | _resultobj = Py_None; | |
5981 | } | |
62bd0874 RD |
5982 | return _resultobj; |
5983 | } | |
5984 | ||
5985 | #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax()) | |
107e4716 | 5986 | static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) { |
62bd0874 RD |
5987 | PyObject * _resultobj; |
5988 | int _result; | |
5989 | wxSpinButton * _arg0; | |
2d091820 | 5990 | PyObject * _argo0 = 0; |
107e4716 | 5991 | char *_kwnames[] = { "self", NULL }; |
62bd0874 RD |
5992 | |
5993 | self = self; | |
107e4716 | 5994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0)) |
62bd0874 | 5995 | return NULL; |
2d091820 RD |
5996 | if (_argo0) { |
5997 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5998 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
62bd0874 RD |
5999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p."); |
6000 | return NULL; | |
6001 | } | |
6002 | } | |
ab9bc19b RD |
6003 | { |
6004 | wxPy_BEGIN_ALLOW_THREADS; | |
6005 | _result = (int )wxSpinButton_GetMax(_arg0); | |
6006 | ||
6007 | wxPy_END_ALLOW_THREADS; | |
6008 | } _resultobj = Py_BuildValue("i",_result); | |
62bd0874 RD |
6009 | return _resultobj; |
6010 | } | |
6011 | ||
6012 | #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin()) | |
107e4716 | 6013 | static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) { |
62bd0874 RD |
6014 | PyObject * _resultobj; |
6015 | int _result; | |
6016 | wxSpinButton * _arg0; | |
2d091820 | 6017 | PyObject * _argo0 = 0; |
107e4716 | 6018 | char *_kwnames[] = { "self", NULL }; |
62bd0874 RD |
6019 | |
6020 | self = self; | |
107e4716 | 6021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0)) |
62bd0874 | 6022 | return NULL; |
2d091820 RD |
6023 | if (_argo0) { |
6024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
62bd0874 RD |
6026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p."); |
6027 | return NULL; | |
6028 | } | |
6029 | } | |
ab9bc19b RD |
6030 | { |
6031 | wxPy_BEGIN_ALLOW_THREADS; | |
6032 | _result = (int )wxSpinButton_GetMin(_arg0); | |
6033 | ||
6034 | wxPy_END_ALLOW_THREADS; | |
6035 | } _resultobj = Py_BuildValue("i",_result); | |
62bd0874 RD |
6036 | return _resultobj; |
6037 | } | |
6038 | ||
6039 | #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue()) | |
107e4716 | 6040 | static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
62bd0874 RD |
6041 | PyObject * _resultobj; |
6042 | int _result; | |
6043 | wxSpinButton * _arg0; | |
2d091820 | 6044 | PyObject * _argo0 = 0; |
107e4716 | 6045 | char *_kwnames[] = { "self", NULL }; |
62bd0874 RD |
6046 | |
6047 | self = self; | |
107e4716 | 6048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0)) |
62bd0874 | 6049 | return NULL; |
2d091820 RD |
6050 | if (_argo0) { |
6051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
62bd0874 RD |
6053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p."); |
6054 | return NULL; | |
6055 | } | |
6056 | } | |
ab9bc19b RD |
6057 | { |
6058 | wxPy_BEGIN_ALLOW_THREADS; | |
6059 | _result = (int )wxSpinButton_GetValue(_arg0); | |
6060 | ||
6061 | wxPy_END_ALLOW_THREADS; | |
6062 | } _resultobj = Py_BuildValue("i",_result); | |
62bd0874 RD |
6063 | return _resultobj; |
6064 | } | |
6065 | ||
6066 | #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1)) | |
107e4716 | 6067 | static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
62bd0874 RD |
6068 | PyObject * _resultobj; |
6069 | wxSpinButton * _arg0; | |
6070 | int _arg1; | |
6071 | int _arg2; | |
2d091820 | 6072 | PyObject * _argo0 = 0; |
107e4716 | 6073 | char *_kwnames[] = { "self","min","max", NULL }; |
62bd0874 RD |
6074 | |
6075 | self = self; | |
107e4716 | 6076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
62bd0874 | 6077 | return NULL; |
2d091820 RD |
6078 | if (_argo0) { |
6079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
62bd0874 RD |
6081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p."); |
6082 | return NULL; | |
6083 | } | |
6084 | } | |
ab9bc19b RD |
6085 | { |
6086 | wxPy_BEGIN_ALLOW_THREADS; | |
6087 | wxSpinButton_SetRange(_arg0,_arg1,_arg2); | |
6088 | ||
6089 | wxPy_END_ALLOW_THREADS; | |
6090 | } Py_INCREF(Py_None); | |
62bd0874 RD |
6091 | _resultobj = Py_None; |
6092 | return _resultobj; | |
6093 | } | |
6094 | ||
6095 | #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 6096 | static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
62bd0874 RD |
6097 | PyObject * _resultobj; |
6098 | wxSpinButton * _arg0; | |
6099 | int _arg1; | |
2d091820 | 6100 | PyObject * _argo0 = 0; |
107e4716 | 6101 | char *_kwnames[] = { "self","value", NULL }; |
62bd0874 RD |
6102 | |
6103 | self = self; | |
107e4716 | 6104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1)) |
62bd0874 | 6105 | return NULL; |
2d091820 RD |
6106 | if (_argo0) { |
6107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) { | |
62bd0874 RD |
6109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p."); |
6110 | return NULL; | |
6111 | } | |
6112 | } | |
ab9bc19b RD |
6113 | { |
6114 | wxPy_BEGIN_ALLOW_THREADS; | |
6115 | wxSpinButton_SetValue(_arg0,_arg1); | |
6116 | ||
6117 | wxPy_END_ALLOW_THREADS; | |
6118 | } Py_INCREF(Py_None); | |
62bd0874 RD |
6119 | _resultobj = Py_None; |
6120 | return _resultobj; | |
6121 | } | |
6122 | ||
70551f47 RD |
6123 | static void *SwigwxStaticBitmapTowxControl(void *ptr) { |
6124 | wxStaticBitmap *src; | |
6125 | wxControl *dest; | |
6126 | src = (wxStaticBitmap *) ptr; | |
6127 | dest = (wxControl *) src; | |
6128 | return (void *) dest; | |
6129 | } | |
6130 | ||
6131 | static void *SwigwxStaticBitmapTowxWindow(void *ptr) { | |
6132 | wxStaticBitmap *src; | |
6133 | wxWindow *dest; | |
6134 | src = (wxStaticBitmap *) ptr; | |
6135 | dest = (wxWindow *) src; | |
6136 | return (void *) dest; | |
6137 | } | |
6138 | ||
6139 | static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) { | |
6140 | wxStaticBitmap *src; | |
6141 | wxEvtHandler *dest; | |
6142 | src = (wxStaticBitmap *) ptr; | |
6143 | dest = (wxEvtHandler *) src; | |
6144 | return (void *) dest; | |
6145 | } | |
6146 | ||
9df61a29 RD |
6147 | static void *SwigwxStaticBitmapTowxObject(void *ptr) { |
6148 | wxStaticBitmap *src; | |
6149 | wxObject *dest; | |
6150 | src = (wxStaticBitmap *) ptr; | |
6151 | dest = (wxObject *) src; | |
6152 | return (void *) dest; | |
6153 | } | |
6154 | ||
70551f47 | 6155 | #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
107e4716 | 6156 | static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6157 | PyObject * _resultobj; |
6158 | wxStaticBitmap * _result; | |
6159 | wxWindow * _arg0; | |
6160 | wxWindowID _arg1; | |
6161 | wxBitmap * _arg2; | |
b68dc582 RD |
6162 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
6163 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
6164 | long _arg5 = (long ) 0; |
6165 | char * _arg6 = (char *) "staticBitmap"; | |
6166 | PyObject * _argo0 = 0; | |
6167 | PyObject * _argo2 = 0; | |
37f6a977 RD |
6168 | wxPoint temp; |
6169 | PyObject * _obj3 = 0; | |
6170 | wxSize temp0; | |
6171 | PyObject * _obj4 = 0; | |
107e4716 | 6172 | char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL }; |
70551f47 RD |
6173 | char _ptemp[128]; |
6174 | ||
6175 | self = self; | |
37f6a977 | 6176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6)) |
70551f47 | 6177 | return NULL; |
2d091820 RD |
6178 | if (_argo0) { |
6179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
6181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p."); |
6182 | return NULL; | |
6183 | } | |
6184 | } | |
2d091820 RD |
6185 | if (_argo2) { |
6186 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6187 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
70551f47 RD |
6188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p."); |
6189 | return NULL; | |
6190 | } | |
6191 | } | |
37f6a977 RD |
6192 | if (_obj3) |
6193 | { | |
6194 | _arg3 = &temp; | |
6195 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 6196 | return NULL; |
37f6a977 RD |
6197 | } |
6198 | if (_obj4) | |
6199 | { | |
6200 | _arg4 = &temp0; | |
6201 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 6202 | return NULL; |
37f6a977 | 6203 | } |
ab9bc19b RD |
6204 | { |
6205 | wxPy_BEGIN_ALLOW_THREADS; | |
6206 | _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6); | |
6207 | ||
6208 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
6209 | } if (_result) { |
6210 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p"); | |
6211 | _resultobj = Py_BuildValue("s",_ptemp); | |
6212 | } else { | |
6213 | Py_INCREF(Py_None); | |
6214 | _resultobj = Py_None; | |
6215 | } | |
70551f47 RD |
6216 | return _resultobj; |
6217 | } | |
6218 | ||
6219 | #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
107e4716 | 6220 | static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6221 | PyObject * _resultobj; |
6222 | wxBitmap * _result; | |
6223 | wxStaticBitmap * _arg0; | |
2d091820 | 6224 | PyObject * _argo0 = 0; |
107e4716 | 6225 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
6226 | char _ptemp[128]; |
6227 | ||
6228 | self = self; | |
107e4716 | 6229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0)) |
70551f47 | 6230 | return NULL; |
2d091820 RD |
6231 | if (_argo0) { |
6232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) { | |
70551f47 RD |
6234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p."); |
6235 | return NULL; | |
6236 | } | |
6237 | } | |
ab9bc19b RD |
6238 | { |
6239 | wxPy_BEGIN_ALLOW_THREADS; | |
6240 | const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0); | |
70551f47 | 6241 | _result = (wxBitmap *) &_result_ref; |
ab9bc19b RD |
6242 | |
6243 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
6244 | } if (_result) { |
6245 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
6246 | _resultobj = Py_BuildValue("s",_ptemp); | |
6247 | } else { | |
6248 | Py_INCREF(Py_None); | |
6249 | _resultobj = Py_None; | |
6250 | } | |
70551f47 RD |
6251 | return _resultobj; |
6252 | } | |
6253 | ||
6254 | #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
107e4716 | 6255 | static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6256 | PyObject * _resultobj; |
6257 | wxStaticBitmap * _arg0; | |
6258 | wxBitmap * _arg1; | |
2d091820 RD |
6259 | PyObject * _argo0 = 0; |
6260 | PyObject * _argo1 = 0; | |
107e4716 | 6261 | char *_kwnames[] = { "self","bitmap", NULL }; |
70551f47 RD |
6262 | |
6263 | self = self; | |
107e4716 | 6264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1)) |
70551f47 | 6265 | return NULL; |
2d091820 RD |
6266 | if (_argo0) { |
6267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) { | |
70551f47 RD |
6269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p."); |
6270 | return NULL; | |
6271 | } | |
6272 | } | |
2d091820 RD |
6273 | if (_argo1) { |
6274 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6275 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
70551f47 RD |
6276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p."); |
6277 | return NULL; | |
6278 | } | |
6279 | } | |
ab9bc19b RD |
6280 | { |
6281 | wxPy_BEGIN_ALLOW_THREADS; | |
6282 | wxStaticBitmap_SetBitmap(_arg0,*_arg1); | |
6283 | ||
6284 | wxPy_END_ALLOW_THREADS; | |
6285 | } Py_INCREF(Py_None); | |
70551f47 RD |
6286 | _resultobj = Py_None; |
6287 | return _resultobj; | |
6288 | } | |
6289 | ||
8bf5d46e | 6290 | #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0)) |
107e4716 | 6291 | static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e RD |
6292 | PyObject * _resultobj; |
6293 | wxStaticBitmap * _arg0; | |
6294 | wxIcon * _arg1; | |
2d091820 RD |
6295 | PyObject * _argo0 = 0; |
6296 | PyObject * _argo1 = 0; | |
107e4716 | 6297 | char *_kwnames[] = { "self","icon", NULL }; |
8bf5d46e RD |
6298 | |
6299 | self = self; | |
107e4716 | 6300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1)) |
8bf5d46e | 6301 | return NULL; |
2d091820 RD |
6302 | if (_argo0) { |
6303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) { | |
8bf5d46e RD |
6305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p."); |
6306 | return NULL; | |
6307 | } | |
6308 | } | |
2d091820 RD |
6309 | if (_argo1) { |
6310 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6311 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) { | |
8bf5d46e RD |
6312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p."); |
6313 | return NULL; | |
6314 | } | |
6315 | } | |
6316 | { | |
6317 | wxPy_BEGIN_ALLOW_THREADS; | |
6318 | wxStaticBitmap_SetIcon(_arg0,*_arg1); | |
6319 | ||
6320 | wxPy_END_ALLOW_THREADS; | |
6321 | } Py_INCREF(Py_None); | |
6322 | _resultobj = Py_None; | |
6323 | return _resultobj; | |
6324 | } | |
6325 | ||
70551f47 RD |
6326 | static void *SwigwxRadioBoxTowxControl(void *ptr) { |
6327 | wxRadioBox *src; | |
6328 | wxControl *dest; | |
6329 | src = (wxRadioBox *) ptr; | |
6330 | dest = (wxControl *) src; | |
6331 | return (void *) dest; | |
6332 | } | |
6333 | ||
6334 | static void *SwigwxRadioBoxTowxWindow(void *ptr) { | |
6335 | wxRadioBox *src; | |
6336 | wxWindow *dest; | |
6337 | src = (wxRadioBox *) ptr; | |
6338 | dest = (wxWindow *) src; | |
6339 | return (void *) dest; | |
6340 | } | |
6341 | ||
6342 | static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) { | |
6343 | wxRadioBox *src; | |
6344 | wxEvtHandler *dest; | |
6345 | src = (wxRadioBox *) ptr; | |
6346 | dest = (wxEvtHandler *) src; | |
6347 | return (void *) dest; | |
6348 | } | |
6349 | ||
9df61a29 RD |
6350 | static void *SwigwxRadioBoxTowxObject(void *ptr) { |
6351 | wxRadioBox *src; | |
6352 | wxObject *dest; | |
6353 | src = (wxRadioBox *) ptr; | |
6354 | dest = (wxObject *) src; | |
6355 | return (void *) dest; | |
6356 | } | |
6357 | ||
70551f47 | 6358 | #define new_wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (new wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10)) |
107e4716 | 6359 | static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6360 | PyObject * _resultobj; |
6361 | wxRadioBox * _result; | |
6362 | wxWindow * _arg0; | |
6363 | wxWindowID _arg1; | |
6364 | wxString * _arg2; | |
b68dc582 RD |
6365 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
6366 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 RD |
6367 | int _arg5 = (int ) 0; |
6368 | wxString * _arg6 = (wxString *) NULL; | |
6369 | int _arg7 = (int ) 0; | |
6370 | long _arg8 = (long ) wxRA_HORIZONTAL; | |
b68dc582 | 6371 | wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
6372 | char * _arg10 = (char *) "radioBox"; |
6373 | PyObject * _argo0 = 0; | |
70551f47 | 6374 | PyObject * _obj2 = 0; |
37f6a977 RD |
6375 | wxPoint temp; |
6376 | PyObject * _obj3 = 0; | |
6377 | wxSize temp0; | |
6378 | PyObject * _obj4 = 0; | |
70551f47 | 6379 | PyObject * _obj6 = 0; |
2d091820 | 6380 | PyObject * _argo9 = 0; |
e02c03a4 | 6381 | char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL }; |
70551f47 RD |
6382 | char _ptemp[128]; |
6383 | ||
6384 | self = self; | |
37f6a977 | 6385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10)) |
70551f47 | 6386 | return NULL; |
2d091820 RD |
6387 | if (_argo0) { |
6388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
6390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p."); |
6391 | return NULL; | |
6392 | } | |
6393 | } | |
6394 | { | |
2cd2fac8 RD |
6395 | #if PYTHON_API_VERSION >= 1009 |
6396 | char* tmpPtr; int tmpSize; | |
6397 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6398 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
6399 | return NULL; |
6400 | } | |
6401 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6402 | return NULL; | |
6403 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6404 | #else | |
70551f47 RD |
6405 | if (!PyString_Check(_obj2)) { |
6406 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6407 | return NULL; | |
6408 | } | |
2cd2fac8 RD |
6409 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6410 | #endif | |
70551f47 | 6411 | } |
37f6a977 RD |
6412 | if (_obj3) |
6413 | { | |
6414 | _arg3 = &temp; | |
6415 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 6416 | return NULL; |
37f6a977 RD |
6417 | } |
6418 | if (_obj4) | |
6419 | { | |
6420 | _arg4 = &temp0; | |
6421 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 6422 | return NULL; |
37f6a977 | 6423 | } |
70551f47 RD |
6424 | if (_obj6) |
6425 | { | |
6426 | _arg6 = wxString_LIST_helper(_obj6); | |
6427 | if (_arg6 == NULL) { | |
6428 | return NULL; | |
6429 | } | |
6430 | } | |
2d091820 RD |
6431 | if (_argo9) { |
6432 | if (_argo9 == Py_None) { _arg9 = NULL; } | |
6433 | else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) { | |
70551f47 RD |
6434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p."); |
6435 | return NULL; | |
6436 | } | |
6437 | } | |
6438 | { | |
ab9bc19b RD |
6439 | if (_obj6) { |
6440 | _arg5 = PyList_Size(_obj6); | |
6441 | } | |
6442 | else { | |
6443 | _arg5 = 0; | |
6444 | } | |
70551f47 | 6445 | } |
ab9bc19b RD |
6446 | { |
6447 | wxPy_BEGIN_ALLOW_THREADS; | |
6448 | _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10); | |
6449 | ||
6450 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
6451 | } if (_result) { |
6452 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p"); | |
6453 | _resultobj = Py_BuildValue("s",_ptemp); | |
6454 | } else { | |
6455 | Py_INCREF(Py_None); | |
6456 | _resultobj = Py_None; | |
6457 | } | |
70551f47 RD |
6458 | { |
6459 | if (_obj2) | |
6460 | delete _arg2; | |
6461 | } | |
6462 | { | |
6463 | delete [] _arg6; | |
6464 | } | |
6465 | return _resultobj; | |
6466 | } | |
6467 | ||
c3c1cebe | 6468 | #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) |
107e4716 | 6469 | static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6470 | PyObject * _resultobj; |
6471 | wxRadioBox * _arg0; | |
6472 | bool _arg1; | |
2d091820 | 6473 | PyObject * _argo0 = 0; |
70551f47 | 6474 | int tempbool1; |
107e4716 | 6475 | char *_kwnames[] = { "self","enable", NULL }; |
70551f47 RD |
6476 | |
6477 | self = self; | |
107e4716 | 6478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 6479 | return NULL; |
2d091820 RD |
6480 | if (_argo0) { |
6481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
c3c1cebe | 6483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p."); |
70551f47 RD |
6484 | return NULL; |
6485 | } | |
6486 | } | |
6487 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
6488 | { |
6489 | wxPy_BEGIN_ALLOW_THREADS; | |
6490 | wxRadioBox_Enable(_arg0,_arg1); | |
6491 | ||
6492 | wxPy_END_ALLOW_THREADS; | |
6493 | } Py_INCREF(Py_None); | |
70551f47 RD |
6494 | _resultobj = Py_None; |
6495 | return _resultobj; | |
6496 | } | |
6497 | ||
c3c1cebe | 6498 | #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1)) |
107e4716 | 6499 | static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6500 | PyObject * _resultobj; |
6501 | wxRadioBox * _arg0; | |
6502 | int _arg1; | |
6503 | bool _arg2; | |
2d091820 | 6504 | PyObject * _argo0 = 0; |
70551f47 | 6505 | int tempbool2; |
107e4716 | 6506 | char *_kwnames[] = { "self","n","enable", NULL }; |
70551f47 RD |
6507 | |
6508 | self = self; | |
107e4716 | 6509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2)) |
70551f47 | 6510 | return NULL; |
2d091820 RD |
6511 | if (_argo0) { |
6512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
c3c1cebe | 6514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p."); |
70551f47 RD |
6515 | return NULL; |
6516 | } | |
6517 | } | |
6518 | _arg2 = (bool ) tempbool2; | |
ab9bc19b RD |
6519 | { |
6520 | wxPy_BEGIN_ALLOW_THREADS; | |
6521 | wxRadioBox_EnableItem(_arg0,_arg1,_arg2); | |
6522 | ||
6523 | wxPy_END_ALLOW_THREADS; | |
6524 | } Py_INCREF(Py_None); | |
70551f47 RD |
6525 | _resultobj = Py_None; |
6526 | return _resultobj; | |
6527 | } | |
6528 | ||
6529 | #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0)) | |
107e4716 | 6530 | static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6531 | PyObject * _resultobj; |
6532 | int _result; | |
6533 | wxRadioBox * _arg0; | |
6534 | wxString * _arg1; | |
2d091820 | 6535 | PyObject * _argo0 = 0; |
70551f47 | 6536 | PyObject * _obj1 = 0; |
107e4716 | 6537 | char *_kwnames[] = { "self","string", NULL }; |
70551f47 RD |
6538 | |
6539 | self = self; | |
107e4716 | 6540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1)) |
70551f47 | 6541 | return NULL; |
2d091820 RD |
6542 | if (_argo0) { |
6543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p."); |
6546 | return NULL; | |
6547 | } | |
6548 | } | |
6549 | { | |
2cd2fac8 RD |
6550 | #if PYTHON_API_VERSION >= 1009 |
6551 | char* tmpPtr; int tmpSize; | |
6552 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 6553 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
6554 | return NULL; |
6555 | } | |
6556 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
6557 | return NULL; | |
6558 | _arg1 = new wxString(tmpPtr, tmpSize); | |
6559 | #else | |
70551f47 RD |
6560 | if (!PyString_Check(_obj1)) { |
6561 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6562 | return NULL; | |
6563 | } | |
2cd2fac8 RD |
6564 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
6565 | #endif | |
70551f47 | 6566 | } |
ab9bc19b RD |
6567 | { |
6568 | wxPy_BEGIN_ALLOW_THREADS; | |
6569 | _result = (int )wxRadioBox_FindString(_arg0,*_arg1); | |
6570 | ||
6571 | wxPy_END_ALLOW_THREADS; | |
6572 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
6573 | { |
6574 | if (_obj1) | |
6575 | delete _arg1; | |
6576 | } | |
6577 | return _resultobj; | |
6578 | } | |
6579 | ||
c3c1cebe | 6580 | #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0)) |
107e4716 | 6581 | static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6582 | PyObject * _resultobj; |
6583 | wxString * _result; | |
6584 | wxRadioBox * _arg0; | |
6585 | int _arg1; | |
2d091820 | 6586 | PyObject * _argo0 = 0; |
107e4716 | 6587 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
6588 | |
6589 | self = self; | |
107e4716 | 6590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1)) |
70551f47 | 6591 | return NULL; |
2d091820 RD |
6592 | if (_argo0) { |
6593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
c3c1cebe | 6595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p."); |
70551f47 RD |
6596 | return NULL; |
6597 | } | |
6598 | } | |
70551f47 | 6599 | { |
ab9bc19b RD |
6600 | wxPy_BEGIN_ALLOW_THREADS; |
6601 | _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1)); | |
6602 | ||
6603 | wxPy_END_ALLOW_THREADS; | |
6604 | }{ | |
e02c03a4 | 6605 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
6606 | } |
6607 | { | |
6608 | delete _result; | |
6609 | } | |
6610 | return _resultobj; | |
6611 | } | |
6612 | ||
6613 | #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
107e4716 | 6614 | static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6615 | PyObject * _resultobj; |
6616 | int _result; | |
6617 | wxRadioBox * _arg0; | |
2d091820 | 6618 | PyObject * _argo0 = 0; |
107e4716 | 6619 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
6620 | |
6621 | self = self; | |
107e4716 | 6622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0)) |
70551f47 | 6623 | return NULL; |
2d091820 RD |
6624 | if (_argo0) { |
6625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p."); |
6628 | return NULL; | |
6629 | } | |
6630 | } | |
ab9bc19b RD |
6631 | { |
6632 | wxPy_BEGIN_ALLOW_THREADS; | |
6633 | _result = (int )wxRadioBox_GetSelection(_arg0); | |
6634 | ||
6635 | wxPy_END_ALLOW_THREADS; | |
6636 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
6637 | return _resultobj; |
6638 | } | |
6639 | ||
6640 | #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0)) | |
107e4716 | 6641 | static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6642 | PyObject * _resultobj; |
6643 | wxString * _result; | |
6644 | wxRadioBox * _arg0; | |
6645 | int _arg1; | |
2d091820 | 6646 | PyObject * _argo0 = 0; |
107e4716 | 6647 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
6648 | |
6649 | self = self; | |
107e4716 | 6650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1)) |
70551f47 | 6651 | return NULL; |
2d091820 RD |
6652 | if (_argo0) { |
6653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p."); |
6656 | return NULL; | |
6657 | } | |
6658 | } | |
70551f47 | 6659 | { |
ab9bc19b RD |
6660 | wxPy_BEGIN_ALLOW_THREADS; |
6661 | _result = new wxString (wxRadioBox_GetString(_arg0,_arg1)); | |
6662 | ||
6663 | wxPy_END_ALLOW_THREADS; | |
6664 | }{ | |
e02c03a4 | 6665 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
6666 | } |
6667 | { | |
6668 | delete _result; | |
6669 | } | |
6670 | return _resultobj; | |
6671 | } | |
6672 | ||
6673 | #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection()) | |
107e4716 | 6674 | static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6675 | PyObject * _resultobj; |
6676 | wxString * _result; | |
6677 | wxRadioBox * _arg0; | |
2d091820 | 6678 | PyObject * _argo0 = 0; |
107e4716 | 6679 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
6680 | |
6681 | self = self; | |
107e4716 | 6682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0)) |
70551f47 | 6683 | return NULL; |
2d091820 RD |
6684 | if (_argo0) { |
6685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p."); |
6688 | return NULL; | |
6689 | } | |
6690 | } | |
70551f47 | 6691 | { |
ab9bc19b RD |
6692 | wxPy_BEGIN_ALLOW_THREADS; |
6693 | _result = new wxString (wxRadioBox_GetStringSelection(_arg0)); | |
6694 | ||
6695 | wxPy_END_ALLOW_THREADS; | |
6696 | }{ | |
e02c03a4 | 6697 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
70551f47 RD |
6698 | } |
6699 | { | |
6700 | delete _result; | |
6701 | } | |
6702 | return _resultobj; | |
6703 | } | |
6704 | ||
6705 | #define wxRadioBox_Number(_swigobj) (_swigobj->Number()) | |
107e4716 | 6706 | static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6707 | PyObject * _resultobj; |
6708 | int _result; | |
6709 | wxRadioBox * _arg0; | |
2d091820 | 6710 | PyObject * _argo0 = 0; |
107e4716 | 6711 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
6712 | |
6713 | self = self; | |
107e4716 | 6714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_Number",_kwnames,&_argo0)) |
70551f47 | 6715 | return NULL; |
2d091820 RD |
6716 | if (_argo0) { |
6717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p."); |
6720 | return NULL; | |
6721 | } | |
6722 | } | |
ab9bc19b RD |
6723 | { |
6724 | wxPy_BEGIN_ALLOW_THREADS; | |
6725 | _result = (int )wxRadioBox_Number(_arg0); | |
6726 | ||
6727 | wxPy_END_ALLOW_THREADS; | |
6728 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
6729 | return _resultobj; |
6730 | } | |
6731 | ||
c3c1cebe | 6732 | #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1)) |
107e4716 | 6733 | static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6734 | PyObject * _resultobj; |
6735 | wxRadioBox * _arg0; | |
6736 | int _arg1; | |
6737 | wxString * _arg2; | |
2d091820 | 6738 | PyObject * _argo0 = 0; |
70551f47 | 6739 | PyObject * _obj2 = 0; |
107e4716 | 6740 | char *_kwnames[] = { "self","n","label", NULL }; |
70551f47 RD |
6741 | |
6742 | self = self; | |
107e4716 | 6743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2)) |
70551f47 | 6744 | return NULL; |
2d091820 RD |
6745 | if (_argo0) { |
6746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
c3c1cebe | 6748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p."); |
70551f47 RD |
6749 | return NULL; |
6750 | } | |
6751 | } | |
6752 | { | |
2cd2fac8 RD |
6753 | #if PYTHON_API_VERSION >= 1009 |
6754 | char* tmpPtr; int tmpSize; | |
6755 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6756 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
6757 | return NULL; |
6758 | } | |
6759 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6760 | return NULL; | |
6761 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6762 | #else | |
70551f47 RD |
6763 | if (!PyString_Check(_obj2)) { |
6764 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6765 | return NULL; | |
6766 | } | |
2cd2fac8 RD |
6767 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6768 | #endif | |
70551f47 | 6769 | } |
ab9bc19b RD |
6770 | { |
6771 | wxPy_BEGIN_ALLOW_THREADS; | |
6772 | wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2); | |
6773 | ||
6774 | wxPy_END_ALLOW_THREADS; | |
6775 | } Py_INCREF(Py_None); | |
70551f47 RD |
6776 | _resultobj = Py_None; |
6777 | { | |
6778 | if (_obj2) | |
6779 | delete _arg2; | |
6780 | } | |
6781 | return _resultobj; | |
6782 | } | |
6783 | ||
6784 | #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0)) | |
107e4716 | 6785 | static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6786 | PyObject * _resultobj; |
6787 | wxRadioBox * _arg0; | |
6788 | int _arg1; | |
2d091820 | 6789 | PyObject * _argo0 = 0; |
107e4716 | 6790 | char *_kwnames[] = { "self","n", NULL }; |
70551f47 RD |
6791 | |
6792 | self = self; | |
107e4716 | 6793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1)) |
70551f47 | 6794 | return NULL; |
2d091820 RD |
6795 | if (_argo0) { |
6796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p."); |
6799 | return NULL; | |
6800 | } | |
6801 | } | |
ab9bc19b RD |
6802 | { |
6803 | wxPy_BEGIN_ALLOW_THREADS; | |
6804 | wxRadioBox_SetSelection(_arg0,_arg1); | |
6805 | ||
6806 | wxPy_END_ALLOW_THREADS; | |
6807 | } Py_INCREF(Py_None); | |
70551f47 RD |
6808 | _resultobj = Py_None; |
6809 | return _resultobj; | |
6810 | } | |
6811 | ||
6812 | #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0)) | |
107e4716 | 6813 | static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6814 | PyObject * _resultobj; |
6815 | wxRadioBox * _arg0; | |
6816 | wxString * _arg1; | |
2d091820 | 6817 | PyObject * _argo0 = 0; |
70551f47 | 6818 | PyObject * _obj1 = 0; |
107e4716 | 6819 | char *_kwnames[] = { "self","string", NULL }; |
70551f47 RD |
6820 | |
6821 | self = self; | |
107e4716 | 6822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1)) |
70551f47 | 6823 | return NULL; |
2d091820 RD |
6824 | if (_argo0) { |
6825 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6826 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p."); |
6828 | return NULL; | |
6829 | } | |
6830 | } | |
6831 | { | |
2cd2fac8 RD |
6832 | #if PYTHON_API_VERSION >= 1009 |
6833 | char* tmpPtr; int tmpSize; | |
6834 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 6835 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
6836 | return NULL; |
6837 | } | |
6838 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
6839 | return NULL; | |
6840 | _arg1 = new wxString(tmpPtr, tmpSize); | |
6841 | #else | |
70551f47 RD |
6842 | if (!PyString_Check(_obj1)) { |
6843 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6844 | return NULL; | |
6845 | } | |
2cd2fac8 RD |
6846 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
6847 | #endif | |
70551f47 | 6848 | } |
ab9bc19b RD |
6849 | { |
6850 | wxPy_BEGIN_ALLOW_THREADS; | |
6851 | wxRadioBox_SetStringSelection(_arg0,*_arg1); | |
6852 | ||
6853 | wxPy_END_ALLOW_THREADS; | |
6854 | } Py_INCREF(Py_None); | |
70551f47 RD |
6855 | _resultobj = Py_None; |
6856 | { | |
6857 | if (_obj1) | |
6858 | delete _arg1; | |
6859 | } | |
6860 | return _resultobj; | |
6861 | } | |
6862 | ||
6863 | #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
107e4716 | 6864 | static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6865 | PyObject * _resultobj; |
6866 | wxRadioBox * _arg0; | |
6867 | bool _arg1; | |
2d091820 | 6868 | PyObject * _argo0 = 0; |
70551f47 | 6869 | int tempbool1; |
107e4716 | 6870 | char *_kwnames[] = { "self","show", NULL }; |
70551f47 RD |
6871 | |
6872 | self = self; | |
107e4716 | 6873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 6874 | return NULL; |
2d091820 RD |
6875 | if (_argo0) { |
6876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p."); |
6879 | return NULL; | |
6880 | } | |
6881 | } | |
6882 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
6883 | { |
6884 | wxPy_BEGIN_ALLOW_THREADS; | |
6885 | wxRadioBox_Show(_arg0,_arg1); | |
6886 | ||
6887 | wxPy_END_ALLOW_THREADS; | |
6888 | } Py_INCREF(Py_None); | |
70551f47 RD |
6889 | _resultobj = Py_None; |
6890 | return _resultobj; | |
6891 | } | |
6892 | ||
6893 | #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1)) | |
107e4716 | 6894 | static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6895 | PyObject * _resultobj; |
6896 | wxRadioBox * _arg0; | |
6897 | int _arg1; | |
6898 | bool _arg2; | |
2d091820 | 6899 | PyObject * _argo0 = 0; |
70551f47 | 6900 | int tempbool2; |
107e4716 | 6901 | char *_kwnames[] = { "self","item","show", NULL }; |
70551f47 RD |
6902 | |
6903 | self = self; | |
107e4716 | 6904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2)) |
70551f47 | 6905 | return NULL; |
2d091820 RD |
6906 | if (_argo0) { |
6907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) { | |
70551f47 RD |
6909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p."); |
6910 | return NULL; | |
6911 | } | |
6912 | } | |
6913 | _arg2 = (bool ) tempbool2; | |
ab9bc19b RD |
6914 | { |
6915 | wxPy_BEGIN_ALLOW_THREADS; | |
6916 | wxRadioBox_ShowItem(_arg0,_arg1,_arg2); | |
6917 | ||
6918 | wxPy_END_ALLOW_THREADS; | |
6919 | } Py_INCREF(Py_None); | |
70551f47 RD |
6920 | _resultobj = Py_None; |
6921 | return _resultobj; | |
6922 | } | |
6923 | ||
6924 | static void *SwigwxRadioButtonTowxControl(void *ptr) { | |
6925 | wxRadioButton *src; | |
6926 | wxControl *dest; | |
6927 | src = (wxRadioButton *) ptr; | |
6928 | dest = (wxControl *) src; | |
6929 | return (void *) dest; | |
6930 | } | |
6931 | ||
6932 | static void *SwigwxRadioButtonTowxWindow(void *ptr) { | |
6933 | wxRadioButton *src; | |
6934 | wxWindow *dest; | |
6935 | src = (wxRadioButton *) ptr; | |
6936 | dest = (wxWindow *) src; | |
6937 | return (void *) dest; | |
6938 | } | |
6939 | ||
6940 | static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) { | |
6941 | wxRadioButton *src; | |
6942 | wxEvtHandler *dest; | |
6943 | src = (wxRadioButton *) ptr; | |
6944 | dest = (wxEvtHandler *) src; | |
6945 | return (void *) dest; | |
6946 | } | |
6947 | ||
9df61a29 RD |
6948 | static void *SwigwxRadioButtonTowxObject(void *ptr) { |
6949 | wxRadioButton *src; | |
6950 | wxObject *dest; | |
6951 | src = (wxRadioButton *) ptr; | |
6952 | dest = (wxObject *) src; | |
6953 | return (void *) dest; | |
6954 | } | |
6955 | ||
70551f47 | 6956 | #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) |
107e4716 | 6957 | static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
6958 | PyObject * _resultobj; |
6959 | wxRadioButton * _result; | |
6960 | wxWindow * _arg0; | |
6961 | wxWindowID _arg1; | |
6962 | wxString * _arg2; | |
b68dc582 RD |
6963 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
6964 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
2d091820 | 6965 | long _arg5 = (long ) 0; |
b68dc582 | 6966 | wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
6967 | char * _arg7 = (char *) "radioButton"; |
6968 | PyObject * _argo0 = 0; | |
70551f47 | 6969 | PyObject * _obj2 = 0; |
37f6a977 RD |
6970 | wxPoint temp; |
6971 | PyObject * _obj3 = 0; | |
6972 | wxSize temp0; | |
6973 | PyObject * _obj4 = 0; | |
2d091820 | 6974 | PyObject * _argo6 = 0; |
107e4716 | 6975 | char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL }; |
70551f47 RD |
6976 | char _ptemp[128]; |
6977 | ||
6978 | self = self; | |
37f6a977 | 6979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) |
70551f47 | 6980 | return NULL; |
2d091820 RD |
6981 | if (_argo0) { |
6982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
6984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p."); |
6985 | return NULL; | |
6986 | } | |
6987 | } | |
6988 | { | |
2cd2fac8 RD |
6989 | #if PYTHON_API_VERSION >= 1009 |
6990 | char* tmpPtr; int tmpSize; | |
6991 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6992 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
2cd2fac8 RD |
6993 | return NULL; |
6994 | } | |
6995 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6996 | return NULL; | |
6997 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6998 | #else | |
70551f47 RD |
6999 | if (!PyString_Check(_obj2)) { |
7000 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
7001 | return NULL; | |
7002 | } | |
2cd2fac8 RD |
7003 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
7004 | #endif | |
70551f47 | 7005 | } |
37f6a977 RD |
7006 | if (_obj3) |
7007 | { | |
7008 | _arg3 = &temp; | |
7009 | if (! wxPoint_helper(_obj3, &_arg3)) | |
70551f47 | 7010 | return NULL; |
37f6a977 RD |
7011 | } |
7012 | if (_obj4) | |
7013 | { | |
7014 | _arg4 = &temp0; | |
7015 | if (! wxSize_helper(_obj4, &_arg4)) | |
70551f47 | 7016 | return NULL; |
37f6a977 | 7017 | } |
2d091820 RD |
7018 | if (_argo6) { |
7019 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
7020 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
70551f47 RD |
7021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p."); |
7022 | return NULL; | |
7023 | } | |
7024 | } | |
ab9bc19b RD |
7025 | { |
7026 | wxPy_BEGIN_ALLOW_THREADS; | |
7027 | _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
7028 | ||
7029 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
7030 | } if (_result) { |
7031 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p"); | |
7032 | _resultobj = Py_BuildValue("s",_ptemp); | |
7033 | } else { | |
7034 | Py_INCREF(Py_None); | |
7035 | _resultobj = Py_None; | |
7036 | } | |
70551f47 RD |
7037 | { |
7038 | if (_obj2) | |
7039 | delete _arg2; | |
7040 | } | |
7041 | return _resultobj; | |
7042 | } | |
7043 | ||
7044 | #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue()) | |
107e4716 | 7045 | static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7046 | PyObject * _resultobj; |
7047 | bool _result; | |
7048 | wxRadioButton * _arg0; | |
2d091820 | 7049 | PyObject * _argo0 = 0; |
107e4716 | 7050 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7051 | |
7052 | self = self; | |
107e4716 | 7053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0)) |
70551f47 | 7054 | return NULL; |
2d091820 RD |
7055 | if (_argo0) { |
7056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) { | |
70551f47 RD |
7058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p."); |
7059 | return NULL; | |
7060 | } | |
7061 | } | |
ab9bc19b RD |
7062 | { |
7063 | wxPy_BEGIN_ALLOW_THREADS; | |
7064 | _result = (bool )wxRadioButton_GetValue(_arg0); | |
7065 | ||
7066 | wxPy_END_ALLOW_THREADS; | |
7067 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7068 | return _resultobj; |
7069 | } | |
7070 | ||
7071 | #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 7072 | static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7073 | PyObject * _resultobj; |
7074 | wxRadioButton * _arg0; | |
7075 | bool _arg1; | |
2d091820 | 7076 | PyObject * _argo0 = 0; |
70551f47 | 7077 | int tempbool1; |
107e4716 | 7078 | char *_kwnames[] = { "self","value", NULL }; |
70551f47 RD |
7079 | |
7080 | self = self; | |
107e4716 | 7081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1)) |
70551f47 | 7082 | return NULL; |
2d091820 RD |
7083 | if (_argo0) { |
7084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) { | |
70551f47 RD |
7086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p."); |
7087 | return NULL; | |
7088 | } | |
7089 | } | |
7090 | _arg1 = (bool ) tempbool1; | |
ab9bc19b RD |
7091 | { |
7092 | wxPy_BEGIN_ALLOW_THREADS; | |
7093 | wxRadioButton_SetValue(_arg0,_arg1); | |
7094 | ||
7095 | wxPy_END_ALLOW_THREADS; | |
7096 | } Py_INCREF(Py_None); | |
70551f47 RD |
7097 | _resultobj = Py_None; |
7098 | return _resultobj; | |
7099 | } | |
7100 | ||
7101 | static void *SwigwxSliderTowxControl(void *ptr) { | |
7102 | wxSlider *src; | |
7103 | wxControl *dest; | |
7104 | src = (wxSlider *) ptr; | |
7105 | dest = (wxControl *) src; | |
7106 | return (void *) dest; | |
7107 | } | |
7108 | ||
7109 | static void *SwigwxSliderTowxWindow(void *ptr) { | |
7110 | wxSlider *src; | |
7111 | wxWindow *dest; | |
7112 | src = (wxSlider *) ptr; | |
7113 | dest = (wxWindow *) src; | |
7114 | return (void *) dest; | |
7115 | } | |
7116 | ||
7117 | static void *SwigwxSliderTowxEvtHandler(void *ptr) { | |
7118 | wxSlider *src; | |
7119 | wxEvtHandler *dest; | |
7120 | src = (wxSlider *) ptr; | |
7121 | dest = (wxEvtHandler *) src; | |
7122 | return (void *) dest; | |
7123 | } | |
7124 | ||
9df61a29 RD |
7125 | static void *SwigwxSliderTowxObject(void *ptr) { |
7126 | wxSlider *src; | |
7127 | wxObject *dest; | |
7128 | src = (wxSlider *) ptr; | |
7129 | dest = (wxObject *) src; | |
7130 | return (void *) dest; | |
7131 | } | |
7132 | ||
70551f47 | 7133 | #define new_wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9)) |
107e4716 | 7134 | static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7135 | PyObject * _resultobj; |
7136 | wxSlider * _result; | |
7137 | wxWindow * _arg0; | |
7138 | wxWindowID _arg1; | |
7139 | int _arg2; | |
7140 | int _arg3; | |
7141 | int _arg4; | |
b68dc582 RD |
7142 | wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition; |
7143 | wxSize * _arg6 = (wxSize *) &wxDefaultSize; | |
2d091820 | 7144 | long _arg7 = (long ) wxSL_HORIZONTAL; |
b68dc582 | 7145 | wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator; |
2d091820 RD |
7146 | char * _arg9 = (char *) "slider"; |
7147 | PyObject * _argo0 = 0; | |
37f6a977 RD |
7148 | wxPoint temp; |
7149 | PyObject * _obj5 = 0; | |
7150 | wxSize temp0; | |
7151 | PyObject * _obj6 = 0; | |
2d091820 | 7152 | PyObject * _argo8 = 0; |
107e4716 | 7153 | char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL }; |
70551f47 RD |
7154 | char _ptemp[128]; |
7155 | ||
7156 | self = self; | |
37f6a977 | 7157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9)) |
70551f47 | 7158 | return NULL; |
2d091820 RD |
7159 | if (_argo0) { |
7160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
70551f47 RD |
7162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p."); |
7163 | return NULL; | |
7164 | } | |
7165 | } | |
37f6a977 RD |
7166 | if (_obj5) |
7167 | { | |
7168 | _arg5 = &temp; | |
7169 | if (! wxPoint_helper(_obj5, &_arg5)) | |
70551f47 | 7170 | return NULL; |
37f6a977 RD |
7171 | } |
7172 | if (_obj6) | |
7173 | { | |
7174 | _arg6 = &temp0; | |
7175 | if (! wxSize_helper(_obj6, &_arg6)) | |
70551f47 | 7176 | return NULL; |
37f6a977 | 7177 | } |
2d091820 RD |
7178 | if (_argo8) { |
7179 | if (_argo8 == Py_None) { _arg8 = NULL; } | |
7180 | else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) { | |
70551f47 RD |
7181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p."); |
7182 | return NULL; | |
7183 | } | |
7184 | } | |
ab9bc19b RD |
7185 | { |
7186 | wxPy_BEGIN_ALLOW_THREADS; | |
7187 | _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9); | |
7188 | ||
7189 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
7190 | } if (_result) { |
7191 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p"); | |
7192 | _resultobj = Py_BuildValue("s",_ptemp); | |
7193 | } else { | |
7194 | Py_INCREF(Py_None); | |
7195 | _resultobj = Py_None; | |
7196 | } | |
70551f47 RD |
7197 | return _resultobj; |
7198 | } | |
7199 | ||
7200 | #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel()) | |
107e4716 | 7201 | static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7202 | PyObject * _resultobj; |
7203 | wxSlider * _arg0; | |
2d091820 | 7204 | PyObject * _argo0 = 0; |
107e4716 | 7205 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7206 | |
7207 | self = self; | |
107e4716 | 7208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0)) |
70551f47 | 7209 | return NULL; |
2d091820 RD |
7210 | if (_argo0) { |
7211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p."); |
7214 | return NULL; | |
7215 | } | |
7216 | } | |
ab9bc19b RD |
7217 | { |
7218 | wxPy_BEGIN_ALLOW_THREADS; | |
7219 | wxSlider_ClearSel(_arg0); | |
7220 | ||
7221 | wxPy_END_ALLOW_THREADS; | |
7222 | } Py_INCREF(Py_None); | |
70551f47 RD |
7223 | _resultobj = Py_None; |
7224 | return _resultobj; | |
7225 | } | |
7226 | ||
7227 | #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks()) | |
107e4716 | 7228 | static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7229 | PyObject * _resultobj; |
7230 | wxSlider * _arg0; | |
2d091820 | 7231 | PyObject * _argo0 = 0; |
107e4716 | 7232 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7233 | |
7234 | self = self; | |
107e4716 | 7235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0)) |
70551f47 | 7236 | return NULL; |
2d091820 RD |
7237 | if (_argo0) { |
7238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p."); |
7241 | return NULL; | |
7242 | } | |
7243 | } | |
ab9bc19b RD |
7244 | { |
7245 | wxPy_BEGIN_ALLOW_THREADS; | |
7246 | wxSlider_ClearTicks(_arg0); | |
7247 | ||
7248 | wxPy_END_ALLOW_THREADS; | |
7249 | } Py_INCREF(Py_None); | |
70551f47 RD |
7250 | _resultobj = Py_None; |
7251 | return _resultobj; | |
7252 | } | |
7253 | ||
7254 | #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize()) | |
107e4716 | 7255 | static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7256 | PyObject * _resultobj; |
7257 | int _result; | |
7258 | wxSlider * _arg0; | |
2d091820 | 7259 | PyObject * _argo0 = 0; |
107e4716 | 7260 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7261 | |
7262 | self = self; | |
107e4716 | 7263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0)) |
70551f47 | 7264 | return NULL; |
2d091820 RD |
7265 | if (_argo0) { |
7266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p."); |
7269 | return NULL; | |
7270 | } | |
7271 | } | |
ab9bc19b RD |
7272 | { |
7273 | wxPy_BEGIN_ALLOW_THREADS; | |
7274 | _result = (int )wxSlider_GetLineSize(_arg0); | |
7275 | ||
7276 | wxPy_END_ALLOW_THREADS; | |
7277 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7278 | return _resultobj; |
7279 | } | |
7280 | ||
7281 | #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax()) | |
107e4716 | 7282 | static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7283 | PyObject * _resultobj; |
7284 | int _result; | |
7285 | wxSlider * _arg0; | |
2d091820 | 7286 | PyObject * _argo0 = 0; |
107e4716 | 7287 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7288 | |
7289 | self = self; | |
107e4716 | 7290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0)) |
70551f47 | 7291 | return NULL; |
2d091820 RD |
7292 | if (_argo0) { |
7293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p."); |
7296 | return NULL; | |
7297 | } | |
7298 | } | |
ab9bc19b RD |
7299 | { |
7300 | wxPy_BEGIN_ALLOW_THREADS; | |
7301 | _result = (int )wxSlider_GetMax(_arg0); | |
7302 | ||
7303 | wxPy_END_ALLOW_THREADS; | |
7304 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7305 | return _resultobj; |
7306 | } | |
7307 | ||
7308 | #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin()) | |
107e4716 | 7309 | static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7310 | PyObject * _resultobj; |
7311 | int _result; | |
7312 | wxSlider * _arg0; | |
2d091820 | 7313 | PyObject * _argo0 = 0; |
107e4716 | 7314 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7315 | |
7316 | self = self; | |
107e4716 | 7317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0)) |
70551f47 | 7318 | return NULL; |
2d091820 RD |
7319 | if (_argo0) { |
7320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p."); |
7323 | return NULL; | |
7324 | } | |
7325 | } | |
ab9bc19b RD |
7326 | { |
7327 | wxPy_BEGIN_ALLOW_THREADS; | |
7328 | _result = (int )wxSlider_GetMin(_arg0); | |
7329 | ||
7330 | wxPy_END_ALLOW_THREADS; | |
7331 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7332 | return _resultobj; |
7333 | } | |
7334 | ||
7335 | #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize()) | |
107e4716 | 7336 | static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7337 | PyObject * _resultobj; |
7338 | int _result; | |
7339 | wxSlider * _arg0; | |
2d091820 | 7340 | PyObject * _argo0 = 0; |
107e4716 | 7341 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7342 | |
7343 | self = self; | |
107e4716 | 7344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0)) |
70551f47 | 7345 | return NULL; |
2d091820 RD |
7346 | if (_argo0) { |
7347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p."); |
7350 | return NULL; | |
7351 | } | |
7352 | } | |
ab9bc19b RD |
7353 | { |
7354 | wxPy_BEGIN_ALLOW_THREADS; | |
7355 | _result = (int )wxSlider_GetPageSize(_arg0); | |
7356 | ||
7357 | wxPy_END_ALLOW_THREADS; | |
7358 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7359 | return _resultobj; |
7360 | } | |
7361 | ||
7362 | #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd()) | |
107e4716 | 7363 | static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7364 | PyObject * _resultobj; |
7365 | int _result; | |
7366 | wxSlider * _arg0; | |
2d091820 | 7367 | PyObject * _argo0 = 0; |
107e4716 | 7368 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7369 | |
7370 | self = self; | |
107e4716 | 7371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0)) |
70551f47 | 7372 | return NULL; |
2d091820 RD |
7373 | if (_argo0) { |
7374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p."); |
7377 | return NULL; | |
7378 | } | |
7379 | } | |
ab9bc19b RD |
7380 | { |
7381 | wxPy_BEGIN_ALLOW_THREADS; | |
7382 | _result = (int )wxSlider_GetSelEnd(_arg0); | |
7383 | ||
7384 | wxPy_END_ALLOW_THREADS; | |
7385 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7386 | return _resultobj; |
7387 | } | |
7388 | ||
7389 | #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart()) | |
107e4716 | 7390 | static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7391 | PyObject * _resultobj; |
7392 | int _result; | |
7393 | wxSlider * _arg0; | |
2d091820 | 7394 | PyObject * _argo0 = 0; |
107e4716 | 7395 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7396 | |
7397 | self = self; | |
107e4716 | 7398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0)) |
70551f47 | 7399 | return NULL; |
2d091820 RD |
7400 | if (_argo0) { |
7401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p."); |
7404 | return NULL; | |
7405 | } | |
7406 | } | |
ab9bc19b RD |
7407 | { |
7408 | wxPy_BEGIN_ALLOW_THREADS; | |
7409 | _result = (int )wxSlider_GetSelStart(_arg0); | |
7410 | ||
7411 | wxPy_END_ALLOW_THREADS; | |
7412 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7413 | return _resultobj; |
7414 | } | |
7415 | ||
7416 | #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength()) | |
107e4716 | 7417 | static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7418 | PyObject * _resultobj; |
7419 | int _result; | |
7420 | wxSlider * _arg0; | |
2d091820 | 7421 | PyObject * _argo0 = 0; |
107e4716 | 7422 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7423 | |
7424 | self = self; | |
107e4716 | 7425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0)) |
70551f47 | 7426 | return NULL; |
2d091820 RD |
7427 | if (_argo0) { |
7428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p."); |
7431 | return NULL; | |
7432 | } | |
7433 | } | |
ab9bc19b RD |
7434 | { |
7435 | wxPy_BEGIN_ALLOW_THREADS; | |
7436 | _result = (int )wxSlider_GetThumbLength(_arg0); | |
7437 | ||
7438 | wxPy_END_ALLOW_THREADS; | |
7439 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7440 | return _resultobj; |
7441 | } | |
7442 | ||
7443 | #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq()) | |
107e4716 | 7444 | static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7445 | PyObject * _resultobj; |
7446 | int _result; | |
7447 | wxSlider * _arg0; | |
2d091820 | 7448 | PyObject * _argo0 = 0; |
107e4716 | 7449 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7450 | |
7451 | self = self; | |
107e4716 | 7452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0)) |
70551f47 | 7453 | return NULL; |
2d091820 RD |
7454 | if (_argo0) { |
7455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p."); |
7458 | return NULL; | |
7459 | } | |
7460 | } | |
ab9bc19b RD |
7461 | { |
7462 | wxPy_BEGIN_ALLOW_THREADS; | |
7463 | _result = (int )wxSlider_GetTickFreq(_arg0); | |
7464 | ||
7465 | wxPy_END_ALLOW_THREADS; | |
7466 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7467 | return _resultobj; |
7468 | } | |
7469 | ||
7470 | #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue()) | |
107e4716 | 7471 | static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7472 | PyObject * _resultobj; |
7473 | int _result; | |
7474 | wxSlider * _arg0; | |
2d091820 | 7475 | PyObject * _argo0 = 0; |
107e4716 | 7476 | char *_kwnames[] = { "self", NULL }; |
70551f47 RD |
7477 | |
7478 | self = self; | |
107e4716 | 7479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0)) |
70551f47 | 7480 | return NULL; |
2d091820 RD |
7481 | if (_argo0) { |
7482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p."); |
7485 | return NULL; | |
7486 | } | |
7487 | } | |
ab9bc19b RD |
7488 | { |
7489 | wxPy_BEGIN_ALLOW_THREADS; | |
7490 | _result = (int )wxSlider_GetValue(_arg0); | |
7491 | ||
7492 | wxPy_END_ALLOW_THREADS; | |
7493 | } _resultobj = Py_BuildValue("i",_result); | |
70551f47 RD |
7494 | return _resultobj; |
7495 | } | |
7496 | ||
7497 | #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1)) | |
107e4716 | 7498 | static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7499 | PyObject * _resultobj; |
7500 | wxSlider * _arg0; | |
7501 | int _arg1; | |
7502 | int _arg2; | |
2d091820 | 7503 | PyObject * _argo0 = 0; |
107e4716 | 7504 | char *_kwnames[] = { "self","minValue","maxValue", NULL }; |
70551f47 RD |
7505 | |
7506 | self = self; | |
107e4716 | 7507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 7508 | return NULL; |
2d091820 RD |
7509 | if (_argo0) { |
7510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p."); |
7513 | return NULL; | |
7514 | } | |
7515 | } | |
ab9bc19b RD |
7516 | { |
7517 | wxPy_BEGIN_ALLOW_THREADS; | |
7518 | wxSlider_SetRange(_arg0,_arg1,_arg2); | |
7519 | ||
7520 | wxPy_END_ALLOW_THREADS; | |
7521 | } Py_INCREF(Py_None); | |
70551f47 RD |
7522 | _resultobj = Py_None; |
7523 | return _resultobj; | |
7524 | } | |
7525 | ||
7526 | #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1)) | |
107e4716 | 7527 | static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7528 | PyObject * _resultobj; |
7529 | wxSlider * _arg0; | |
7530 | int _arg1; | |
7531 | int _arg2; | |
2d091820 | 7532 | PyObject * _argo0 = 0; |
107e4716 | 7533 | char *_kwnames[] = { "self","n","pos", NULL }; |
70551f47 RD |
7534 | |
7535 | self = self; | |
107e4716 | 7536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 7537 | return NULL; |
2d091820 RD |
7538 | if (_argo0) { |
7539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p."); |
7542 | return NULL; | |
7543 | } | |
7544 | } | |
ab9bc19b RD |
7545 | { |
7546 | wxPy_BEGIN_ALLOW_THREADS; | |
7547 | wxSlider_SetTickFreq(_arg0,_arg1,_arg2); | |
7548 | ||
7549 | wxPy_END_ALLOW_THREADS; | |
7550 | } Py_INCREF(Py_None); | |
70551f47 RD |
7551 | _resultobj = Py_None; |
7552 | return _resultobj; | |
7553 | } | |
7554 | ||
7555 | #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0)) | |
107e4716 | 7556 | static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7557 | PyObject * _resultobj; |
7558 | wxSlider * _arg0; | |
7559 | int _arg1; | |
2d091820 | 7560 | PyObject * _argo0 = 0; |
107e4716 | 7561 | char *_kwnames[] = { "self","lineSize", NULL }; |
70551f47 RD |
7562 | |
7563 | self = self; | |
107e4716 | 7564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1)) |
70551f47 | 7565 | return NULL; |
2d091820 RD |
7566 | if (_argo0) { |
7567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p."); |
7570 | return NULL; | |
7571 | } | |
7572 | } | |
ab9bc19b RD |
7573 | { |
7574 | wxPy_BEGIN_ALLOW_THREADS; | |
7575 | wxSlider_SetLineSize(_arg0,_arg1); | |
7576 | ||
7577 | wxPy_END_ALLOW_THREADS; | |
7578 | } Py_INCREF(Py_None); | |
70551f47 RD |
7579 | _resultobj = Py_None; |
7580 | return _resultobj; | |
7581 | } | |
7582 | ||
7583 | #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0)) | |
107e4716 | 7584 | static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7585 | PyObject * _resultobj; |
7586 | wxSlider * _arg0; | |
7587 | int _arg1; | |
2d091820 | 7588 | PyObject * _argo0 = 0; |
107e4716 | 7589 | char *_kwnames[] = { "self","pageSize", NULL }; |
70551f47 RD |
7590 | |
7591 | self = self; | |
107e4716 | 7592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1)) |
70551f47 | 7593 | return NULL; |
2d091820 RD |
7594 | if (_argo0) { |
7595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p."); |
7598 | return NULL; | |
7599 | } | |
7600 | } | |
ab9bc19b RD |
7601 | { |
7602 | wxPy_BEGIN_ALLOW_THREADS; | |
7603 | wxSlider_SetPageSize(_arg0,_arg1); | |
7604 | ||
7605 | wxPy_END_ALLOW_THREADS; | |
7606 | } Py_INCREF(Py_None); | |
70551f47 RD |
7607 | _resultobj = Py_None; |
7608 | return _resultobj; | |
7609 | } | |
7610 | ||
7611 | #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
107e4716 | 7612 | static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7613 | PyObject * _resultobj; |
7614 | wxSlider * _arg0; | |
7615 | int _arg1; | |
7616 | int _arg2; | |
2d091820 | 7617 | PyObject * _argo0 = 0; |
107e4716 | 7618 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
70551f47 RD |
7619 | |
7620 | self = self; | |
107e4716 | 7621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
70551f47 | 7622 | return NULL; |
2d091820 RD |
7623 | if (_argo0) { |
7624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p."); |
7627 | return NULL; | |
7628 | } | |
7629 | } | |
ab9bc19b RD |
7630 | { |
7631 | wxPy_BEGIN_ALLOW_THREADS; | |
7632 | wxSlider_SetSelection(_arg0,_arg1,_arg2); | |
7633 | ||
7634 | wxPy_END_ALLOW_THREADS; | |
7635 | } Py_INCREF(Py_None); | |
70551f47 RD |
7636 | _resultobj = Py_None; |
7637 | return _resultobj; | |
7638 | } | |
7639 | ||
7640 | #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0)) | |
107e4716 | 7641 | static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7642 | PyObject * _resultobj; |
7643 | wxSlider * _arg0; | |
7644 | int _arg1; | |
2d091820 | 7645 | PyObject * _argo0 = 0; |
107e4716 | 7646 | char *_kwnames[] = { "self","len", NULL }; |
70551f47 RD |
7647 | |
7648 | self = self; | |
107e4716 | 7649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1)) |
70551f47 | 7650 | return NULL; |
2d091820 RD |
7651 | if (_argo0) { |
7652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p."); |
7655 | return NULL; | |
7656 | } | |
7657 | } | |
ab9bc19b RD |
7658 | { |
7659 | wxPy_BEGIN_ALLOW_THREADS; | |
7660 | wxSlider_SetThumbLength(_arg0,_arg1); | |
7661 | ||
7662 | wxPy_END_ALLOW_THREADS; | |
7663 | } Py_INCREF(Py_None); | |
70551f47 RD |
7664 | _resultobj = Py_None; |
7665 | return _resultobj; | |
7666 | } | |
7667 | ||
7668 | #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0)) | |
107e4716 | 7669 | static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7670 | PyObject * _resultobj; |
7671 | wxSlider * _arg0; | |
7672 | int _arg1; | |
2d091820 | 7673 | PyObject * _argo0 = 0; |
107e4716 | 7674 | char *_kwnames[] = { "self","tickPos", NULL }; |
70551f47 RD |
7675 | |
7676 | self = self; | |
107e4716 | 7677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1)) |
70551f47 | 7678 | return NULL; |
2d091820 RD |
7679 | if (_argo0) { |
7680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p."); |
7683 | return NULL; | |
7684 | } | |
7685 | } | |
ab9bc19b RD |
7686 | { |
7687 | wxPy_BEGIN_ALLOW_THREADS; | |
7688 | wxSlider_SetTick(_arg0,_arg1); | |
7689 | ||
7690 | wxPy_END_ALLOW_THREADS; | |
7691 | } Py_INCREF(Py_None); | |
70551f47 RD |
7692 | _resultobj = Py_None; |
7693 | return _resultobj; | |
7694 | } | |
7695 | ||
7696 | #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
107e4716 | 7697 | static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { |
70551f47 RD |
7698 | PyObject * _resultobj; |
7699 | wxSlider * _arg0; | |
7700 | int _arg1; | |
2d091820 | 7701 | PyObject * _argo0 = 0; |
107e4716 | 7702 | char *_kwnames[] = { "self","value", NULL }; |
70551f47 RD |
7703 | |
7704 | self = self; | |
107e4716 | 7705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1)) |
70551f47 | 7706 | return NULL; |
2d091820 RD |
7707 | if (_argo0) { |
7708 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7709 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) { | |
70551f47 RD |
7710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p."); |
7711 | return NULL; | |
7712 | } | |
7713 | } | |
ab9bc19b RD |
7714 | { |
7715 | wxPy_BEGIN_ALLOW_THREADS; | |
7716 | wxSlider_SetValue(_arg0,_arg1); | |
7717 | ||
7718 | wxPy_END_ALLOW_THREADS; | |
7719 | } Py_INCREF(Py_None); | |
70551f47 RD |
7720 | _resultobj = Py_None; |
7721 | return _resultobj; | |
7722 | } | |
7723 | ||
f6bcfd97 BP |
7724 | static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) { |
7725 | wxSpinCtrl *src; | |
7726 | wxSpinButton *dest; | |
7727 | src = (wxSpinCtrl *) ptr; | |
7728 | dest = (wxSpinButton *) src; | |
7729 | return (void *) dest; | |
7730 | } | |
7731 | ||
7732 | static void *SwigwxSpinCtrlTowxControl(void *ptr) { | |
7733 | wxSpinCtrl *src; | |
7734 | wxControl *dest; | |
7735 | src = (wxSpinCtrl *) ptr; | |
7736 | dest = (wxControl *) src; | |
7737 | return (void *) dest; | |
7738 | } | |
7739 | ||
7740 | static void *SwigwxSpinCtrlTowxWindow(void *ptr) { | |
7741 | wxSpinCtrl *src; | |
7742 | wxWindow *dest; | |
7743 | src = (wxSpinCtrl *) ptr; | |
7744 | dest = (wxWindow *) src; | |
7745 | return (void *) dest; | |
7746 | } | |
7747 | ||
7748 | static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) { | |
7749 | wxSpinCtrl *src; | |
7750 | wxEvtHandler *dest; | |
7751 | src = (wxSpinCtrl *) ptr; | |
7752 | dest = (wxEvtHandler *) src; | |
7753 | return (void *) dest; | |
7754 | } | |
7755 | ||
9df61a29 RD |
7756 | static void *SwigwxSpinCtrlTowxObject(void *ptr) { |
7757 | wxSpinCtrl *src; | |
7758 | wxObject *dest; | |
7759 | src = (wxSpinCtrl *) ptr; | |
7760 | dest = (wxObject *) src; | |
7761 | return (void *) dest; | |
7762 | } | |
7763 | ||
f6bcfd97 BP |
7764 | #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)) |
7765 | static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7766 | PyObject * _resultobj; | |
7767 | wxSpinCtrl * _result; | |
7768 | wxWindow * _arg0; | |
7769 | wxWindowID _arg1 = (wxWindowID ) -1; | |
7770 | char * _arg2 = (char *) ""; | |
b68dc582 RD |
7771 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; |
7772 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
f6bcfd97 BP |
7773 | long _arg5 = (long ) wxSP_ARROW_KEYS; |
7774 | int _arg6 = (int ) 0; | |
7775 | int _arg7 = (int ) 100; | |
7776 | int _arg8 = (int ) 0; | |
7777 | char * _arg9 = (char *) "wxSpinCtrl"; | |
7778 | PyObject * _argo0 = 0; | |
7779 | wxPoint temp; | |
7780 | PyObject * _obj3 = 0; | |
7781 | wxSize temp0; | |
7782 | PyObject * _obj4 = 0; | |
7783 | char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL }; | |
7784 | char _ptemp[128]; | |
7785 | ||
7786 | self = self; | |
7787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOliiis:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9)) | |
7788 | return NULL; | |
7789 | if (_argo0) { | |
7790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
7792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p."); | |
7793 | return NULL; | |
7794 | } | |
7795 | } | |
7796 | if (_obj3) | |
7797 | { | |
7798 | _arg3 = &temp; | |
7799 | if (! wxPoint_helper(_obj3, &_arg3)) | |
7800 | return NULL; | |
7801 | } | |
7802 | if (_obj4) | |
7803 | { | |
7804 | _arg4 = &temp0; | |
7805 | if (! wxSize_helper(_obj4, &_arg4)) | |
7806 | return NULL; | |
7807 | } | |
7808 | { | |
7809 | wxPy_BEGIN_ALLOW_THREADS; | |
7810 | _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
7811 | ||
7812 | wxPy_END_ALLOW_THREADS; | |
7813 | } if (_result) { | |
7814 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p"); | |
7815 | _resultobj = Py_BuildValue("s",_ptemp); | |
7816 | } else { | |
7817 | Py_INCREF(Py_None); | |
7818 | _resultobj = Py_None; | |
7819 | } | |
7820 | return _resultobj; | |
7821 | } | |
7822 | ||
c368d904 RD |
7823 | #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax()) |
7824 | static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7825 | PyObject * _resultobj; | |
7826 | int _result; | |
7827 | wxSpinCtrl * _arg0; | |
7828 | PyObject * _argo0 = 0; | |
7829 | char *_kwnames[] = { "self", NULL }; | |
7830 | ||
7831 | self = self; | |
7832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0)) | |
7833 | return NULL; | |
7834 | if (_argo0) { | |
7835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) { | |
7837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p."); | |
7838 | return NULL; | |
7839 | } | |
7840 | } | |
7841 | { | |
7842 | wxPy_BEGIN_ALLOW_THREADS; | |
7843 | _result = (int )wxSpinCtrl_GetMax(_arg0); | |
7844 | ||
7845 | wxPy_END_ALLOW_THREADS; | |
7846 | } _resultobj = Py_BuildValue("i",_result); | |
7847 | return _resultobj; | |
7848 | } | |
7849 | ||
7850 | #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin()) | |
7851 | static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7852 | PyObject * _resultobj; | |
7853 | int _result; | |
7854 | wxSpinCtrl * _arg0; | |
7855 | PyObject * _argo0 = 0; | |
7856 | char *_kwnames[] = { "self", NULL }; | |
7857 | ||
7858 | self = self; | |
7859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0)) | |
7860 | return NULL; | |
7861 | if (_argo0) { | |
7862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) { | |
7864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p."); | |
7865 | return NULL; | |
7866 | } | |
7867 | } | |
7868 | { | |
7869 | wxPy_BEGIN_ALLOW_THREADS; | |
7870 | _result = (int )wxSpinCtrl_GetMin(_arg0); | |
7871 | ||
7872 | wxPy_END_ALLOW_THREADS; | |
7873 | } _resultobj = Py_BuildValue("i",_result); | |
7874 | return _resultobj; | |
7875 | } | |
7876 | ||
7877 | #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue()) | |
7878 | static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7879 | PyObject * _resultobj; | |
7880 | int _result; | |
7881 | wxSpinCtrl * _arg0; | |
7882 | PyObject * _argo0 = 0; | |
7883 | char *_kwnames[] = { "self", NULL }; | |
7884 | ||
7885 | self = self; | |
7886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0)) | |
7887 | return NULL; | |
7888 | if (_argo0) { | |
7889 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7890 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) { | |
7891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p."); | |
7892 | return NULL; | |
7893 | } | |
7894 | } | |
7895 | { | |
7896 | wxPy_BEGIN_ALLOW_THREADS; | |
7897 | _result = (int )wxSpinCtrl_GetValue(_arg0); | |
7898 | ||
7899 | wxPy_END_ALLOW_THREADS; | |
7900 | } _resultobj = Py_BuildValue("i",_result); | |
7901 | return _resultobj; | |
7902 | } | |
7903 | ||
7904 | #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1)) | |
7905 | static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7906 | PyObject * _resultobj; | |
7907 | wxSpinCtrl * _arg0; | |
7908 | int _arg1; | |
7909 | int _arg2; | |
7910 | PyObject * _argo0 = 0; | |
7911 | char *_kwnames[] = { "self","min","max", NULL }; | |
7912 | ||
7913 | self = self; | |
7914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7915 | return NULL; | |
7916 | if (_argo0) { | |
7917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) { | |
7919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p."); | |
7920 | return NULL; | |
7921 | } | |
7922 | } | |
7923 | { | |
7924 | wxPy_BEGIN_ALLOW_THREADS; | |
7925 | wxSpinCtrl_SetRange(_arg0,_arg1,_arg2); | |
7926 | ||
7927 | wxPy_END_ALLOW_THREADS; | |
7928 | } Py_INCREF(Py_None); | |
7929 | _resultobj = Py_None; | |
7930 | return _resultobj; | |
7931 | } | |
7932 | ||
7933 | #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
7934 | static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7935 | PyObject * _resultobj; | |
7936 | wxSpinCtrl * _arg0; | |
7937 | int _arg1; | |
7938 | PyObject * _argo0 = 0; | |
7939 | char *_kwnames[] = { "self","value", NULL }; | |
7940 | ||
7941 | self = self; | |
7942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1)) | |
7943 | return NULL; | |
7944 | if (_argo0) { | |
7945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) { | |
7947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p."); | |
7948 | return NULL; | |
7949 | } | |
7950 | } | |
7951 | { | |
7952 | wxPy_BEGIN_ALLOW_THREADS; | |
7953 | wxSpinCtrl_SetValue(_arg0,_arg1); | |
7954 | ||
7955 | wxPy_END_ALLOW_THREADS; | |
7956 | } Py_INCREF(Py_None); | |
7957 | _resultobj = Py_None; | |
7958 | return _resultobj; | |
7959 | } | |
7960 | ||
7a446686 RD |
7961 | static void *SwigwxToggleButtonTowxControl(void *ptr) { |
7962 | wxToggleButton *src; | |
7963 | wxControl *dest; | |
7964 | src = (wxToggleButton *) ptr; | |
7965 | dest = (wxControl *) src; | |
7966 | return (void *) dest; | |
7967 | } | |
7968 | ||
7969 | static void *SwigwxToggleButtonTowxWindow(void *ptr) { | |
7970 | wxToggleButton *src; | |
7971 | wxWindow *dest; | |
7972 | src = (wxToggleButton *) ptr; | |
7973 | dest = (wxWindow *) src; | |
7974 | return (void *) dest; | |
7975 | } | |
7976 | ||
7977 | static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) { | |
7978 | wxToggleButton *src; | |
7979 | wxEvtHandler *dest; | |
7980 | src = (wxToggleButton *) ptr; | |
7981 | dest = (wxEvtHandler *) src; | |
7982 | return (void *) dest; | |
7983 | } | |
7984 | ||
9df61a29 RD |
7985 | static void *SwigwxToggleButtonTowxObject(void *ptr) { |
7986 | wxToggleButton *src; | |
7987 | wxObject *dest; | |
7988 | src = (wxToggleButton *) ptr; | |
7989 | dest = (wxObject *) src; | |
7990 | return (void *) dest; | |
7991 | } | |
7992 | ||
7a446686 RD |
7993 | #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7)) |
7994 | static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7995 | PyObject * _resultobj; | |
7996 | wxToggleButton * _result; | |
7997 | wxWindow * _arg0; | |
7998 | wxWindowID _arg1; | |
7999 | wxString * _arg2; | |
8000 | wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition; | |
8001 | wxSize * _arg4 = (wxSize *) &wxDefaultSize; | |
8002 | long _arg5 = (long ) 0; | |
8003 | wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator; | |
8004 | char * _arg7 = (char *) "toggle"; | |
8005 | PyObject * _argo0 = 0; | |
8006 | PyObject * _obj2 = 0; | |
8007 | wxPoint temp; | |
8008 | PyObject * _obj3 = 0; | |
8009 | wxSize temp0; | |
8010 | PyObject * _obj4 = 0; | |
8011 | PyObject * _argo6 = 0; | |
8012 | char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL }; | |
8013 | char _ptemp[128]; | |
8014 | ||
8015 | self = self; | |
8016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7)) | |
8017 | return NULL; | |
8018 | if (_argo0) { | |
8019 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8020 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p."); | |
8022 | return NULL; | |
8023 | } | |
8024 | } | |
8025 | { | |
8026 | #if PYTHON_API_VERSION >= 1009 | |
8027 | char* tmpPtr; int tmpSize; | |
8028 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
8029 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
8030 | return NULL; | |
8031 | } | |
8032 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
8033 | return NULL; | |
8034 | _arg2 = new wxString(tmpPtr, tmpSize); | |
8035 | #else | |
8036 | if (!PyString_Check(_obj2)) { | |
8037 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
8038 | return NULL; | |
8039 | } | |
8040 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); | |
8041 | #endif | |
8042 | } | |
8043 | if (_obj3) | |
8044 | { | |
8045 | _arg3 = &temp; | |
8046 | if (! wxPoint_helper(_obj3, &_arg3)) | |
8047 | return NULL; | |
8048 | } | |
8049 | if (_obj4) | |
8050 | { | |
8051 | _arg4 = &temp0; | |
8052 | if (! wxSize_helper(_obj4, &_arg4)) | |
8053 | return NULL; | |
8054 | } | |
8055 | if (_argo6) { | |
8056 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
8057 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) { | |
8058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p."); | |
8059 | return NULL; | |
8060 | } | |
8061 | } | |
8062 | { | |
8063 | wxPy_BEGIN_ALLOW_THREADS; | |
8064 | _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7); | |
8065 | ||
8066 | wxPy_END_ALLOW_THREADS; | |
8067 | } if (_result) { | |
8068 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p"); | |
8069 | _resultobj = Py_BuildValue("s",_ptemp); | |
8070 | } else { | |
8071 | Py_INCREF(Py_None); | |
8072 | _resultobj = Py_None; | |
8073 | } | |
8074 | { | |
8075 | if (_obj2) | |
8076 | delete _arg2; | |
8077 | } | |
8078 | return _resultobj; | |
8079 | } | |
8080 | ||
8081 | #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0)) | |
8082 | static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8083 | PyObject * _resultobj; | |
8084 | wxToggleButton * _arg0; | |
8085 | bool _arg1; | |
8086 | PyObject * _argo0 = 0; | |
8087 | int tempbool1; | |
8088 | char *_kwnames[] = { "self","value", NULL }; | |
8089 | ||
8090 | self = self; | |
8091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1)) | |
8092 | return NULL; | |
8093 | if (_argo0) { | |
8094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) { | |
8096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p."); | |
8097 | return NULL; | |
8098 | } | |
8099 | } | |
8100 | _arg1 = (bool ) tempbool1; | |
8101 | { | |
8102 | wxPy_BEGIN_ALLOW_THREADS; | |
8103 | wxToggleButton_SetValue(_arg0,_arg1); | |
8104 | ||
8105 | wxPy_END_ALLOW_THREADS; | |
8106 | } Py_INCREF(Py_None); | |
8107 | _resultobj = Py_None; | |
8108 | return _resultobj; | |
8109 | } | |
8110 | ||
8111 | #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue()) | |
8112 | static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8113 | PyObject * _resultobj; | |
8114 | bool _result; | |
8115 | wxToggleButton * _arg0; | |
8116 | PyObject * _argo0 = 0; | |
8117 | char *_kwnames[] = { "self", NULL }; | |
8118 | ||
8119 | self = self; | |
8120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0)) | |
8121 | return NULL; | |
8122 | if (_argo0) { | |
8123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) { | |
8125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p."); | |
8126 | return NULL; | |
8127 | } | |
8128 | } | |
8129 | { | |
8130 | wxPy_BEGIN_ALLOW_THREADS; | |
8131 | _result = (bool )wxToggleButton_GetValue(_arg0); | |
8132 | ||
8133 | wxPy_END_ALLOW_THREADS; | |
8134 | } _resultobj = Py_BuildValue("i",_result); | |
8135 | return _resultobj; | |
8136 | } | |
8137 | ||
8138 | #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0)) | |
8139 | static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8140 | PyObject * _resultobj; | |
8141 | wxToggleButton * _arg0; | |
8142 | wxString * _arg1; | |
8143 | PyObject * _argo0 = 0; | |
8144 | PyObject * _obj1 = 0; | |
8145 | char *_kwnames[] = { "self","label", NULL }; | |
8146 | ||
8147 | self = self; | |
8148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1)) | |
8149 | return NULL; | |
8150 | if (_argo0) { | |
8151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) { | |
8153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p."); | |
8154 | return NULL; | |
8155 | } | |
8156 | } | |
8157 | { | |
8158 | #if PYTHON_API_VERSION >= 1009 | |
8159 | char* tmpPtr; int tmpSize; | |
8160 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
8161 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
8162 | return NULL; | |
8163 | } | |
8164 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
8165 | return NULL; | |
8166 | _arg1 = new wxString(tmpPtr, tmpSize); | |
8167 | #else | |
8168 | if (!PyString_Check(_obj1)) { | |
8169 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
8170 | return NULL; | |
8171 | } | |
8172 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
8173 | #endif | |
8174 | } | |
8175 | { | |
8176 | wxPy_BEGIN_ALLOW_THREADS; | |
8177 | wxToggleButton_SetLabel(_arg0,*_arg1); | |
8178 | ||
8179 | wxPy_END_ALLOW_THREADS; | |
8180 | } Py_INCREF(Py_None); | |
8181 | _resultobj = Py_None; | |
8182 | { | |
8183 | if (_obj1) | |
8184 | delete _arg1; | |
8185 | } | |
8186 | return _resultobj; | |
8187 | } | |
8188 | ||
70551f47 | 8189 | static PyMethodDef controlscMethods[] = { |
7a446686 RD |
8190 | { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS }, |
8191 | { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8192 | { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
8193 | { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS }, | |
c368d904 RD |
8194 | { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, |
8195 | { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
8196 | { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8197 | { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS }, | |
8198 | { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8199 | { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS }, |
107e4716 RD |
8200 | { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS }, |
8201 | { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS }, | |
8202 | { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS }, | |
8203 | { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8204 | { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
8205 | { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS }, | |
8206 | { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS }, | |
8207 | { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
8208 | { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8209 | { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS }, | |
8210 | { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS }, | |
8211 | { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS }, | |
8212 | { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS }, | |
8213 | { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
8214 | { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS }, | |
8215 | { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS }, | |
8216 | { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS }, | |
8217 | { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS }, | |
8218 | { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS }, | |
8219 | { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS }, | |
8220 | { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
8221 | { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8222 | { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS }, | |
8223 | { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS }, | |
8224 | { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS }, | |
8225 | { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
8226 | { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8227 | { "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS }, | |
8228 | { "wxRadioBox_Number", (PyCFunction) _wrap_wxRadioBox_Number, METH_VARARGS | METH_KEYWORDS }, | |
8229 | { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
8230 | { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS }, | |
8231 | { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8232 | { "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS }, | |
8233 | { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS }, | |
8234 | { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS }, | |
8235 | { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS }, | |
8236 | { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS }, | |
8237 | { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
8238 | { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
8239 | { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
8240 | { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS }, | |
8241 | { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
8242 | { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
8243 | { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8244 | { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS }, | |
8245 | { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS }, | |
8246 | { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS }, | |
8247 | { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS }, | |
8248 | { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS }, | |
2fc99549 | 8249 | { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS }, |
107e4716 RD |
8250 | { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS }, |
8251 | { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS }, | |
8252 | { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS }, | |
8253 | { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS }, | |
8254 | { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
4120ef2b RD |
8255 | { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS }, |
8256 | { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
8257 | { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
8258 | { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS }, |
8259 | { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8260 | { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
8261 | { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
8262 | { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
8263 | { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS }, | |
8264 | { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS }, | |
8265 | { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS }, | |
8266 | { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, | |
8267 | { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS }, | |
8268 | { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS }, | |
8269 | { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
8270 | { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8271 | { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, | |
8272 | { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
8273 | { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS }, | |
8274 | { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, | |
8275 | { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS }, | |
8276 | { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS }, | |
8277 | { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS }, | |
8278 | { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
8279 | { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
8280 | { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS }, | |
8281 | { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8282 | { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS }, | |
8283 | { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS }, | |
8284 | { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS }, | |
8285 | { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, | |
8286 | { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
8287 | { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS }, | |
8288 | { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
8289 | { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8290 | { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
8291 | { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
8292 | { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS }, | |
d29aba2f | 8293 | { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, |
107e4716 RD |
8294 | { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS }, |
8295 | { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS }, | |
8296 | { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS }, | |
8297 | { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
8298 | { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS }, | |
8299 | { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8300 | { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS }, | |
8301 | { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS }, | |
8302 | { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS }, | |
8303 | { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS }, | |
8304 | { "wxListBox_Number", (PyCFunction) _wrap_wxListBox_Number, METH_VARARGS | METH_KEYWORDS }, | |
8305 | { "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
8306 | { "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 | 8307 | { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS }, |
107e4716 RD |
8308 | { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS }, |
8309 | { "wxListBox_GetSelection", (PyCFunction) _wrap_wxListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8310 | { "wxListBox_FindString", (PyCFunction) _wrap_wxListBox_FindString, METH_VARARGS | METH_KEYWORDS }, | |
8311 | { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS }, | |
8312 | { "wxListBox_Delete", (PyCFunction) _wrap_wxListBox_Delete, METH_VARARGS | METH_KEYWORDS }, | |
8313 | { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
8314 | { "wxListBox_Append", (PyCFunction) _wrap_wxListBox_Append, METH_VARARGS | METH_KEYWORDS }, | |
8315 | { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS }, | |
8316 | { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS }, | |
8317 | { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
8318 | { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS }, | |
8319 | { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS }, | |
8320 | { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS }, | |
8321 | { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
8322 | { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS }, | |
8323 | { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
8324 | { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS }, | |
8325 | { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8326 | { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS }, | |
8327 | { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS }, | |
8328 | { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS }, | |
8329 | { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS }, | |
8330 | { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
8331 | { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS }, | |
8332 | { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8333 | { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS }, | |
8334 | { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
8335 | { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS }, | |
8336 | { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS }, | |
8337 | { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS }, | |
8338 | { "wxComboBox_Number", (PyCFunction) _wrap_wxComboBox_Number, METH_VARARGS | METH_KEYWORDS }, | |
8339 | { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8340 | { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
8341 | { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS }, | |
8342 | { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8343 | { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS }, | |
8344 | { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS }, | |
8345 | { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS }, | |
8346 | { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS }, | |
8347 | { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS }, | |
8348 | { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8349 | { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
8350 | { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS }, | |
8351 | { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS }, | |
8352 | { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
8353 | { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8354 | { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS }, | |
8355 | { "wxChoice_Number", (PyCFunction) _wrap_wxChoice_Number, METH_VARARGS | METH_KEYWORDS }, | |
8356 | { "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
8357 | { "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS }, | |
8358 | { "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8359 | { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS }, | |
8360 | { "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS }, | |
8361 | { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS }, | |
8362 | { "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS }, | |
8363 | { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS }, | |
8364 | { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
8365 | { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
8366 | { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8367 | { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS }, |
8368 | { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS }, | |
8369 | { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
8370 | { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, |
8371 | { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, | |
8372 | { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, | |
8373 | { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, | |
8374 | { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS }, | |
8375 | { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS }, | |
8376 | { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS }, | |
8377 | { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS }, | |
8378 | { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS }, | |
ab2208b5 RD |
8379 | { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS }, |
8380 | { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
8381 | { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS }, |
8382 | { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS }, | |
8383 | { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS }, | |
8384 | { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
56f5d962 | 8385 | { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS }, |
56f5d962 RD |
8386 | { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS }, |
8387 | { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
70551f47 RD |
8388 | { NULL, NULL } |
8389 | }; | |
2d091820 RD |
8390 | #ifdef __cplusplus |
8391 | } | |
8392 | #endif | |
8393 | /* | |
8394 | * This table is used by the pointer type-checker | |
8395 | */ | |
8396 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8397 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8398 | { "_wxEvent","_class_wxEvent",0}, | |
8399 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8400 | { "_signed_long","_long",0}, | |
8401 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
4120ef2b RD |
8402 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
8403 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
37f6a977 | 8404 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
4120ef2b | 8405 | { "_wxPrintQuality","_wxCoord",0}, |
2d091820 RD |
8406 | { "_wxPrintQuality","_int",0}, |
8407 | { "_wxPrintQuality","_signed_int",0}, | |
8408 | { "_wxPrintQuality","_unsigned_int",0}, | |
8409 | { "_wxPrintQuality","_wxWindowID",0}, | |
8410 | { "_wxPrintQuality","_uint",0}, | |
8411 | { "_wxPrintQuality","_EBool",0}, | |
8412 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 8413 | { "_wxPrintQuality","_time_t",0}, |
4120ef2b | 8414 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
f6bcfd97 | 8415 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
2d091820 | 8416 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
4120ef2b | 8417 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
2d091820 | 8418 | { "_class_wxMenuBar","_wxMenuBar",0}, |
7a446686 RD |
8419 | { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler}, |
8420 | { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler}, | |
f6bcfd97 BP |
8421 | { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler}, |
8422 | { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler}, | |
2d091820 RD |
8423 | { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler}, |
8424 | { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler}, | |
8425 | { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
8426 | { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
8427 | { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
8428 | { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
8429 | { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
8430 | { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
8431 | { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
8432 | { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
8433 | { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
8434 | { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
8435 | { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
8436 | { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
8437 | { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
8438 | { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
8439 | { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
8440 | { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
8441 | { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
8442 | { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
8443 | { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
8444 | { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
8445 | { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
8446 | { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
8447 | { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
8448 | { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
8449 | { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
8450 | { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
8451 | { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
8452 | { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
8453 | { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
8454 | { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
8455 | { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
8456 | { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
8457 | { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler}, | |
8458 | { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler}, | |
8459 | { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler}, | |
8460 | { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler}, | |
8461 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
8462 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8463 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
8464 | { "_wxCursor","_class_wxCursor",0}, | |
8465 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
8466 | { "_wxMask","_class_wxMask",0}, | |
8467 | { "_wxPen","_class_wxPen",0}, | |
8468 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
8469 | { "_byte","_unsigned_char",0}, | |
4120ef2b | 8470 | { "_wxDataObject","_class_wxDataObject",0}, |
2d091820 | 8471 | { "_wxStaticBox","_class_wxStaticBox",0}, |
1c09ae54 | 8472 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
4120ef2b RD |
8473 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
8474 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
2d091820 RD |
8475 | { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice}, |
8476 | { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice}, | |
8477 | { "_wxChoice","_class_wxChoice",0}, | |
8478 | { "_wxSlider","_class_wxSlider",0}, | |
2d091820 RD |
8479 | { "_long","_unsigned_long",0}, |
8480 | { "_long","_signed_long",0}, | |
8481 | { "_wxImageList","_class_wxImageList",0}, | |
4120ef2b | 8482 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
2d091820 RD |
8483 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
8484 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8485 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
4120ef2b | 8486 | { "_class_wxClipboard","_wxClipboard",0}, |
2d091820 | 8487 | { "_class_wxGauge","_wxGauge",0}, |
9df61a29 | 8488 | { "_wxGDIObject","_class_wxGDIObject",0}, |
2d091820 | 8489 | { "_wxDC","_class_wxDC",0}, |
4120ef2b | 8490 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
9df61a29 RD |
8491 | { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject}, |
8492 | { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject}, | |
8493 | { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject}, | |
8494 | { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject}, | |
8495 | { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject}, | |
8496 | { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject}, | |
8497 | { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject}, | |
8498 | { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject}, | |
8499 | { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject}, | |
8500 | { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject}, | |
8501 | { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject}, | |
8502 | { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject}, | |
8503 | { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject}, | |
8504 | { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject}, | |
8505 | { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject}, | |
8506 | { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject}, | |
8507 | { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject}, | |
8508 | { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject}, | |
8509 | { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject}, | |
8510 | { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject}, | |
8511 | { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject}, | |
8512 | { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject}, | |
8513 | { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject}, | |
8514 | { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject}, | |
8515 | { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject}, | |
8516 | { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject}, | |
8517 | { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject}, | |
8518 | { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject}, | |
8519 | { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject}, | |
8520 | { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject}, | |
8521 | { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject}, | |
8522 | { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject}, | |
8523 | { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject}, | |
8524 | { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject}, | |
8525 | { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject}, | |
8526 | { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject}, | |
8527 | { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject}, | |
8528 | { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject}, | |
8529 | { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject}, | |
8530 | { "_class_wxObject","_wxButton",SwigwxButtonTowxObject}, | |
8531 | { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject}, | |
8532 | { "_class_wxObject","_wxControl",SwigwxControlTowxObject}, | |
8533 | { "_class_wxObject","_wxObject",0}, | |
2d091820 | 8534 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
4120ef2b | 8535 | { "_size_t","_wxCoord",0}, |
2d091820 | 8536 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 8537 | { "_size_t","_time_t",0}, |
2d091820 RD |
8538 | { "_size_t","_unsigned_int",0}, |
8539 | { "_size_t","_int",0}, | |
8540 | { "_size_t","_wxWindowID",0}, | |
8541 | { "_size_t","_uint",0}, | |
8542 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
167b96c2 RD |
8543 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
8544 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
2d091820 RD |
8545 | { "_class_wxMenuItem","_wxMenuItem",0}, |
8546 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8547 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8548 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, | |
8549 | { "_wxPanel","_class_wxPanel",0}, | |
8550 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8551 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
8552 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
8553 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8554 | { "_class_wxMask","_wxMask",0}, | |
4120ef2b | 8555 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
2d091820 RD |
8556 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
8557 | { "_wxColour","_class_wxColour",0}, | |
8558 | { "_class_wxDialog","_wxDialog",0}, | |
4120ef2b | 8559 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
2d091820 RD |
8560 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
8561 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
4120ef2b | 8562 | { "_class_wxDataObject","_wxDataObject",0}, |
2d091820 RD |
8563 | { "_wxStaticLine","_class_wxStaticLine",0}, |
8564 | { "_wxBrush","_class_wxBrush",0}, | |
7a446686 | 8565 | { "_wxToggleButton","_class_wxToggleButton",0}, |
4120ef2b RD |
8566 | { "_wxDataFormat","_class_wxDataFormat",0}, |
8567 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
2d091820 | 8568 | { "_wxShowEvent","_class_wxShowEvent",0}, |
4120ef2b | 8569 | { "_uint","_wxCoord",0}, |
2d091820 | 8570 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 8571 | { "_uint","_time_t",0}, |
2d091820 RD |
8572 | { "_uint","_size_t",0}, |
8573 | { "_uint","_unsigned_int",0}, | |
8574 | { "_uint","_int",0}, | |
8575 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 8576 | { "_wxChar","_char",0}, |
37f6a977 | 8577 | { "_wxPyValidator","_class_wxPyValidator",0}, |
2d091820 RD |
8578 | { "_class_wxEvent","_wxEvent",0}, |
8579 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8580 | { "_wxRect","_class_wxRect",0}, | |
8581 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8582 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
8583 | { "_wxPoint","_class_wxPoint",0}, | |
8584 | { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton}, | |
8585 | { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton}, | |
8586 | { "_class_wxButton","_wxButton",0}, | |
8587 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
f6bcfd97 BP |
8588 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
8589 | { "_char","_wxChar",0}, | |
2d091820 | 8590 | { "_wxBitmap","_class_wxBitmap",0}, |
1c09ae54 | 8591 | { "_wxPenList","_class_wxPenList",0}, |
2d091820 | 8592 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 | 8593 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
2d091820 | 8594 | { "_wxScrollBar","_class_wxScrollBar",0}, |
f6bcfd97 BP |
8595 | { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton}, |
8596 | { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton}, | |
2d091820 RD |
8597 | { "_wxSpinButton","_class_wxSpinButton",0}, |
8598 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
8599 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
37f6a977 | 8600 | { "_class_wxValidator","_wxValidator",0}, |
2d091820 RD |
8601 | { "_class_wxPyEvent","_wxPyEvent",0}, |
8602 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
8603 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
4120ef2b | 8604 | { "_wxDropTarget","_class_wxDropTarget",0}, |
2d091820 | 8605 | { "_class_wxStaticLine","_wxStaticLine",0}, |
1c09ae54 | 8606 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
2d091820 | 8607 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
4120ef2b | 8608 | { "_EBool","_wxCoord",0}, |
2d091820 RD |
8609 | { "_EBool","_wxPrintQuality",0}, |
8610 | { "_EBool","_signed_int",0}, | |
8611 | { "_EBool","_int",0}, | |
8612 | { "_EBool","_wxWindowID",0}, | |
8613 | { "_class_wxRegion","_wxRegion",0}, | |
4120ef2b | 8614 | { "_class_wxDataFormat","_wxDataFormat",0}, |
2d091820 | 8615 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
167b96c2 | 8616 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
2d091820 RD |
8617 | { "_wxStaticText","_class_wxStaticText",0}, |
8618 | { "_wxFont","_class_wxFont",0}, | |
4120ef2b | 8619 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
2d091820 | 8620 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
2d091820 RD |
8621 | { "_unsigned_long","_long",0}, |
8622 | { "_class_wxRect","_wxRect",0}, | |
8623 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 8624 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
1c09ae54 | 8625 | { "_class_wxBrushList","_wxBrushList",0}, |
167b96c2 | 8626 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
1c09ae54 | 8627 | { "_class_wxPenList","_wxPenList",0}, |
167b96c2 | 8628 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
2d091820 RD |
8629 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8630 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 BP |
8631 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
8632 | { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton}, | |
8633 | { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton}, | |
2d091820 RD |
8634 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8635 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8636 | { "_class_wxPanel","_wxPanel",0}, | |
8637 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8638 | { "_wxComboBox","_class_wxComboBox",0}, | |
8639 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
4120ef2b | 8640 | { "_signed_int","_wxCoord",0}, |
2d091820 RD |
8641 | { "_signed_int","_wxPrintQuality",0}, |
8642 | { "_signed_int","_EBool",0}, | |
8643 | { "_signed_int","_wxWindowID",0}, | |
8644 | { "_signed_int","_int",0}, | |
8645 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
8646 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
4120ef2b | 8647 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
2d091820 RD |
8648 | { "_wxMenu","_class_wxMenu",0}, |
8649 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8650 | { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
8651 | { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
8652 | { "_wxListBox","_class_wxListBox",0}, | |
8653 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
8654 | { "_WXTYPE","_short",0}, | |
8655 | { "_WXTYPE","_signed_short",0}, | |
8656 | { "_WXTYPE","_unsigned_short",0}, | |
4120ef2b | 8657 | { "_class_wxDropTarget","_wxDropTarget",0}, |
2d091820 RD |
8658 | { "_class_wxBrush","_wxBrush",0}, |
8659 | { "_unsigned_short","_WXTYPE",0}, | |
8660 | { "_unsigned_short","_short",0}, | |
7a446686 RD |
8661 | { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow}, |
8662 | { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow}, | |
f6bcfd97 BP |
8663 | { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow}, |
8664 | { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow}, | |
2d091820 RD |
8665 | { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow}, |
8666 | { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow}, | |
8667 | { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
8668 | { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
8669 | { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
8670 | { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
8671 | { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
8672 | { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
8673 | { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
8674 | { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
8675 | { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
8676 | { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
8677 | { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
8678 | { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
8679 | { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
8680 | { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
8681 | { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow}, | |
8682 | { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow}, | |
8683 | { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow}, | |
8684 | { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow}, | |
8685 | { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
8686 | { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
8687 | { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
8688 | { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
8689 | { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow}, | |
8690 | { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow}, | |
8691 | { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow}, | |
8692 | { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow}, | |
8693 | { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow}, | |
8694 | { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow}, | |
8695 | { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
8696 | { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
8697 | { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
8698 | { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
8699 | { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow}, | |
8700 | { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow}, | |
8701 | { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow}, | |
8702 | { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow}, | |
8703 | { "_class_wxWindow","_wxWindow",0}, | |
8704 | { "_class_wxStaticText","_wxStaticText",0}, | |
8705 | { "_class_wxFont","_wxFont",0}, | |
4120ef2b | 8706 | { "_wxClipboard","_class_wxClipboard",0}, |
37f6a977 | 8707 | { "_class_wxPyValidator","_wxPyValidator",0}, |
2d091820 | 8708 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
4120ef2b | 8709 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1c09ae54 | 8710 | { "_wxFontList","_class_wxFontList",0}, |
2d091820 | 8711 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
167b96c2 | 8712 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
4120ef2b | 8713 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
2d091820 RD |
8714 | { "_wxClientDC","_class_wxClientDC",0}, |
8715 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
9df61a29 RD |
8716 | { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject}, |
8717 | { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject}, | |
8718 | { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject}, | |
8719 | { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject}, | |
8720 | { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject}, | |
8721 | { "_wxObject","_wxSlider",SwigwxSliderTowxObject}, | |
8722 | { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject}, | |
8723 | { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject}, | |
8724 | { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject}, | |
8725 | { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject}, | |
8726 | { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject}, | |
8727 | { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject}, | |
8728 | { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject}, | |
8729 | { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject}, | |
8730 | { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject}, | |
8731 | { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject}, | |
8732 | { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject}, | |
8733 | { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject}, | |
8734 | { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject}, | |
8735 | { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject}, | |
8736 | { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject}, | |
8737 | { "_wxObject","_wxListBox",SwigwxListBoxTowxObject}, | |
8738 | { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject}, | |
8739 | { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject}, | |
8740 | { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject}, | |
8741 | { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject}, | |
8742 | { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject}, | |
8743 | { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject}, | |
8744 | { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject}, | |
8745 | { "_wxObject","_wxGauge",SwigwxGaugeTowxObject}, | |
8746 | { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject}, | |
8747 | { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject}, | |
8748 | { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject}, | |
8749 | { "_wxObject","_wxChoice",SwigwxChoiceTowxObject}, | |
8750 | { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject}, | |
8751 | { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject}, | |
8752 | { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject}, | |
8753 | { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject}, | |
8754 | { "_wxObject","_class_wxButton",SwigwxButtonTowxObject}, | |
8755 | { "_wxObject","_wxButton",SwigwxButtonTowxObject}, | |
8756 | { "_wxObject","_class_wxControl",SwigwxControlTowxObject}, | |
8757 | { "_wxObject","_wxControl",SwigwxControlTowxObject}, | |
8758 | { "_wxObject","_class_wxObject",0}, | |
2d091820 RD |
8759 | { "_class_wxPoint","_wxPoint",0}, |
8760 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
8761 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
8762 | { "_signed_short","_WXTYPE",0}, | |
8763 | { "_signed_short","_short",0}, | |
8764 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
4120ef2b | 8765 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
2d091820 RD |
8766 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8767 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8768 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8769 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8770 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
8771 | { "_class_wxCursor","_wxCursor",0}, | |
8772 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
4120ef2b | 8773 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
2d091820 RD |
8774 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
8775 | { "_unsigned_char","_byte",0}, | |
8776 | { "_class_wxMenu","_wxMenu",0}, | |
7a446686 RD |
8777 | { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl}, |
8778 | { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl}, | |
f6bcfd97 BP |
8779 | { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl}, |
8780 | { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl}, | |
2d091820 RD |
8781 | { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl}, |
8782 | { "_wxControl","_wxSlider",SwigwxSliderTowxControl}, | |
8783 | { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
8784 | { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
8785 | { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
8786 | { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
8787 | { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
8788 | { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
8789 | { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
8790 | { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
8791 | { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl}, | |
8792 | { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl}, | |
8793 | { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
8794 | { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
8795 | { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
8796 | { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
8797 | { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl}, | |
8798 | { "_wxControl","_wxListBox",SwigwxListBoxTowxControl}, | |
8799 | { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl}, | |
8800 | { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl}, | |
8801 | { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl}, | |
8802 | { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl}, | |
8803 | { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
8804 | { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
8805 | { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl}, | |
8806 | { "_wxControl","_wxGauge",SwigwxGaugeTowxControl}, | |
8807 | { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl}, | |
8808 | { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl}, | |
8809 | { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl}, | |
8810 | { "_wxControl","_wxChoice",SwigwxChoiceTowxControl}, | |
8811 | { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
8812 | { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
8813 | { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
8814 | { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
8815 | { "_wxControl","_class_wxButton",SwigwxButtonTowxControl}, | |
8816 | { "_wxControl","_wxButton",SwigwxButtonTowxControl}, | |
8817 | { "_wxControl","_class_wxControl",0}, | |
8818 | { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
8819 | { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox}, | |
8820 | { "_class_wxListBox","_wxListBox",0}, | |
4120ef2b | 8821 | { "_unsigned_int","_wxCoord",0}, |
2d091820 | 8822 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8823 | { "_unsigned_int","_time_t",0}, |
2d091820 RD |
8824 | { "_unsigned_int","_size_t",0}, |
8825 | { "_unsigned_int","_uint",0}, | |
8826 | { "_unsigned_int","_wxWindowID",0}, | |
8827 | { "_unsigned_int","_int",0}, | |
8828 | { "_wxIcon","_class_wxIcon",0}, | |
8829 | { "_wxDialog","_class_wxDialog",0}, | |
8830 | { "_class_wxPen","_wxPen",0}, | |
8831 | { "_short","_WXTYPE",0}, | |
8832 | { "_short","_unsigned_short",0}, | |
8833 | { "_short","_signed_short",0}, | |
8834 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
4120ef2b RD |
8835 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8836 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
2d091820 RD |
8837 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8838 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8839 | { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice}, | |
8840 | { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice}, | |
8841 | { "_class_wxChoice","_wxChoice",0}, | |
8842 | { "_class_wxSlider","_wxSlider",0}, | |
8843 | { "_class_wxImageList","_wxImageList",0}, | |
8844 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
167b96c2 | 8845 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
4120ef2b | 8846 | { "_wxWindowID","_wxCoord",0}, |
2d091820 | 8847 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8848 | { "_wxWindowID","_time_t",0}, |
2d091820 RD |
8849 | { "_wxWindowID","_size_t",0}, |
8850 | { "_wxWindowID","_EBool",0}, | |
8851 | { "_wxWindowID","_uint",0}, | |
8852 | { "_wxWindowID","_int",0}, | |
8853 | { "_wxWindowID","_signed_int",0}, | |
8854 | { "_wxWindowID","_unsigned_int",0}, | |
9df61a29 | 8855 | { "_class_wxGDIObject","_wxGDIObject",0}, |
9cce9de1 | 8856 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
4120ef2b | 8857 | { "_int","_wxCoord",0}, |
2d091820 | 8858 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8859 | { "_int","_time_t",0}, |
2d091820 RD |
8860 | { "_int","_size_t",0}, |
8861 | { "_int","_EBool",0}, | |
8862 | { "_int","_uint",0}, | |
8863 | { "_int","_wxWindowID",0}, | |
8864 | { "_int","_unsigned_int",0}, | |
8865 | { "_int","_signed_int",0}, | |
8866 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
37f6a977 | 8867 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
2d091820 | 8868 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
167b96c2 | 8869 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
8870 | { "_time_t","_wxCoord",0}, |
8871 | { "_time_t","_wxPrintQuality",0}, | |
8872 | { "_time_t","_unsigned_int",0}, | |
8873 | { "_time_t","_int",0}, | |
8874 | { "_time_t","_wxWindowID",0}, | |
8875 | { "_time_t","_uint",0}, | |
8876 | { "_time_t","_size_t",0}, | |
167b96c2 | 8877 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
2d091820 RD |
8878 | { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton}, |
8879 | { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton}, | |
8880 | { "_wxButton","_class_wxButton",0}, | |
8881 | { "_wxSize","_class_wxSize",0}, | |
8882 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
4120ef2b | 8883 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
2d091820 RD |
8884 | { "_class_wxPaintDC","_wxPaintDC",0}, |
8885 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
4120ef2b | 8886 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
2d091820 RD |
8887 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8888 | { "_class_wxComboBox","_wxComboBox",0}, | |
8889 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
37f6a977 | 8890 | { "_wxValidator","_class_wxValidator",0}, |
2d091820 RD |
8891 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8892 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
7a446686 RD |
8893 | { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl}, |
8894 | { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl}, | |
f6bcfd97 BP |
8895 | { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl}, |
8896 | { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl}, | |
2d091820 RD |
8897 | { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl}, |
8898 | { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl}, | |
8899 | { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
8900 | { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl}, | |
8901 | { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
8902 | { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl}, | |
8903 | { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
8904 | { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl}, | |
8905 | { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
8906 | { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl}, | |
8907 | { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl}, | |
8908 | { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl}, | |
8909 | { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
8910 | { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl}, | |
8911 | { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
8912 | { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl}, | |
8913 | { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl}, | |
8914 | { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl}, | |
8915 | { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl}, | |
8916 | { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl}, | |
8917 | { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl}, | |
8918 | { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl}, | |
8919 | { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
8920 | { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl}, | |
8921 | { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl}, | |
8922 | { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl}, | |
8923 | { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl}, | |
8924 | { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl}, | |
8925 | { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl}, | |
8926 | { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl}, | |
8927 | { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
8928 | { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl}, | |
8929 | { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
8930 | { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl}, | |
8931 | { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl}, | |
8932 | { "_class_wxControl","_wxButton",SwigwxButtonTowxControl}, | |
8933 | { "_class_wxControl","_wxControl",0}, | |
8934 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8935 | { "_class_wxIcon","_wxIcon",0}, | |
8936 | { "_class_wxColour","_wxColour",0}, | |
8937 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8938 | { "_wxPalette","_class_wxPalette",0}, | |
8939 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
4120ef2b RD |
8940 | { "_wxCoord","_int",0}, |
8941 | { "_wxCoord","_signed_int",0}, | |
8942 | { "_wxCoord","_unsigned_int",0}, | |
8943 | { "_wxCoord","_wxWindowID",0}, | |
8944 | { "_wxCoord","_uint",0}, | |
8945 | { "_wxCoord","_EBool",0}, | |
8946 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8947 | { "_wxCoord","_time_t",0}, |
4120ef2b | 8948 | { "_wxCoord","_wxPrintQuality",0}, |
2d091820 | 8949 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
4120ef2b | 8950 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
2d091820 | 8951 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
7a446686 | 8952 | { "_class_wxToggleButton","_wxToggleButton",0}, |
2d091820 RD |
8953 | { "_wxRegion","_class_wxRegion",0}, |
8954 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
4120ef2b | 8955 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
2d091820 RD |
8956 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8957 | { "_wxGauge","_class_wxGauge",0}, | |
8958 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
4120ef2b | 8959 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1c09ae54 | 8960 | { "_class_wxFontList","_wxFontList",0}, |
2d091820 RD |
8961 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
8962 | { "_class_wxClientDC","_wxClientDC",0}, | |
8963 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
1c09ae54 | 8964 | { "_wxBrushList","_class_wxBrushList",0}, |
4120ef2b | 8965 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
2d091820 RD |
8966 | { "_class_wxSize","_wxSize",0}, |
8967 | { "_class_wxBitmap","_wxBitmap",0}, | |
8968 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
4120ef2b | 8969 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
2d091820 | 8970 | { "_wxMenuBar","_class_wxMenuBar",0}, |
7a446686 RD |
8971 | { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler}, |
8972 | { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler}, | |
f6bcfd97 BP |
8973 | { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler}, |
8974 | { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler}, | |
2d091820 RD |
8975 | { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler}, |
8976 | { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler}, | |
8977 | { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
8978 | { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler}, | |
8979 | { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
8980 | { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler}, | |
8981 | { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
8982 | { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler}, | |
8983 | { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
8984 | { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler}, | |
8985 | { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
8986 | { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler}, | |
8987 | { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
8988 | { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler}, | |
8989 | { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
8990 | { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler}, | |
8991 | { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
8992 | { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler}, | |
8993 | { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
8994 | { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler}, | |
8995 | { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
8996 | { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler}, | |
8997 | { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
8998 | { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler}, | |
8999 | { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
9000 | { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler}, | |
9001 | { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
9002 | { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler}, | |
9003 | { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
9004 | { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler}, | |
9005 | { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
9006 | { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler}, | |
9007 | { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
9008 | { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler}, | |
9009 | { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler}, | |
9010 | { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler}, | |
9011 | { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler}, | |
9012 | { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler}, | |
9013 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
9014 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
9015 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
2d091820 RD |
9016 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
9017 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
9018 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
9019 | { "_class_wxPalette","_wxPalette",0}, | |
4120ef2b | 9020 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
2d091820 | 9021 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
4120ef2b | 9022 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
7a446686 RD |
9023 | { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow}, |
9024 | { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow}, | |
f6bcfd97 BP |
9025 | { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow}, |
9026 | { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow}, | |
2d091820 RD |
9027 | { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow}, |
9028 | { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow}, | |
9029 | { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
9030 | { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow}, | |
9031 | { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
9032 | { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow}, | |
9033 | { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
9034 | { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow}, | |
9035 | { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
9036 | { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow}, | |
9037 | { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
9038 | { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow}, | |
9039 | { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
9040 | { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow}, | |
9041 | { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
9042 | { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow}, | |
9043 | { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow}, | |
9044 | { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow}, | |
9045 | { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow}, | |
9046 | { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow}, | |
9047 | { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
9048 | { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow}, | |
9049 | { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
9050 | { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow}, | |
9051 | { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow}, | |
9052 | { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow}, | |
9053 | { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow}, | |
9054 | { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow}, | |
9055 | { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow}, | |
9056 | { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow}, | |
9057 | { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
9058 | { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow}, | |
9059 | { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
9060 | { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow}, | |
9061 | { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow}, | |
9062 | { "_wxWindow","_wxButton",SwigwxButtonTowxWindow}, | |
9063 | { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow}, | |
9064 | { "_wxWindow","_wxControl",SwigwxControlTowxWindow}, | |
9065 | { "_wxWindow","_class_wxWindow",0}, | |
167b96c2 | 9066 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
2d091820 RD |
9067 | {0,0,0}}; |
9068 | ||
70551f47 RD |
9069 | static PyObject *SWIG_globals; |
9070 | #ifdef __cplusplus | |
9071 | extern "C" | |
9072 | #endif | |
2d091820 | 9073 | SWIGEXPORT(void) initcontrolsc() { |
70551f47 RD |
9074 | PyObject *m, *d; |
9075 | SWIG_globals = SWIG_newvarlink(); | |
9076 | m = Py_InitModule("controlsc", controlscMethods); | |
9077 | d = PyModule_GetDict(m); | |
37f6a977 RD |
9078 | PyDict_SetItemString(d,"cvar", SWIG_globals); |
9079 | SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set); | |
7a446686 | 9080 | PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)); |
2d091820 RD |
9081 | { |
9082 | int i; | |
9083 | for (i = 0; _swig_mapping[i].n1; i++) | |
9084 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
9085 | } | |
70551f47 | 9086 | } |