]>
Commit | Line | Data |
---|---|---|
37f6a977 | 1 | /* |
2cd2fac8 | 2 | * FILE : src/gtk/sizers.cpp |
37f6a977 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
37f6a977 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) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
3bcd5e1c | 30 | # define SWIGEXPORT(a) a _export |
37f6a977 | 31 | # else |
3bcd5e1c | 32 | # define SWIGEXPORT(a) a |
37f6a977 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
3bcd5e1c | 36 | # define SWIGEXPORT(a) a |
37f6a977 RD |
37 | #endif |
38 | ||
3bcd5e1c RD |
39 | #include "Python.h" |
40 | ||
37f6a977 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
3bcd5e1c | 44 | |
37f6a977 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 *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initsizersc | |
55 | ||
56 | #define SWIG_name "sizersc" | |
57 | ||
58 | #include "helpers.h" | |
59 | ||
9df61a29 RD |
60 | #include <wx/notebook.h> |
61 | ||
37f6a977 RD |
62 | |
63 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
65 | PyObject* o3; | |
66 | ||
3bcd5e1c | 67 | if (!target) { |
37f6a977 | 68 | target = o; |
3bcd5e1c | 69 | } else if (target == Py_None) { |
37f6a977 RD |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
3bcd5e1c | 72 | } else { |
37f6a977 RD |
73 | if (!PyTuple_Check(target)) { |
74 | o2 = target; | |
75 | target = PyTuple_New(1); | |
76 | PyTuple_SetItem(target, 0, o2); | |
77 | } | |
3bcd5e1c RD |
78 | o3 = PyTuple_New(1); |
79 | PyTuple_SetItem(o3, 0, o); | |
37f6a977 RD |
80 | |
81 | o2 = target; | |
3bcd5e1c RD |
82 | target = PySequence_Concat(o2, o3); |
83 | Py_DECREF(o2); | |
37f6a977 RD |
84 | Py_DECREF(o3); |
85 | } | |
86 | return target; | |
87 | } | |
88 | ||
7a446686 RD |
89 | #if PYTHON_API_VERSION >= 1009 |
90 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
91 | #else | |
0220cbc1 | 92 | static char* wxStringErrorMsg = "String type required"; |
7a446686 | 93 | #endif |
37f6a977 | 94 | |
37f6a977 RD |
95 | class wxPySizer : public wxSizer { |
96 | DECLARE_DYNAMIC_CLASS(wxPySizer); | |
97 | public: | |
98 | wxPySizer() : wxSizer() {}; | |
99 | ||
100 | DEC_PYCALLBACK___pure(RecalcSizes); | |
101 | DEC_PYCALLBACK_wxSize__pure(CalcMin); | |
102 | PYPRIVATE; | |
103 | }; | |
104 | ||
105 | ||
106 | IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes); | |
107 | IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin); | |
108 | ||
109 | IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer); | |
110 | #ifdef __cplusplus | |
111 | extern "C" { | |
112 | #endif | |
9df61a29 RD |
113 | static void *SwigwxSizerItemTowxObject(void *ptr) { |
114 | wxSizerItem *src; | |
115 | wxObject *dest; | |
116 | src = (wxSizerItem *) ptr; | |
117 | dest = (wxObject *) src; | |
118 | return (void *) dest; | |
119 | } | |
120 | ||
93283355 RD |
121 | #define wxSizerItem_DeleteWindows(_swigobj) (_swigobj->DeleteWindows()) |
122 | static PyObject *_wrap_wxSizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
123 | PyObject * _resultobj; | |
124 | wxSizerItem * _arg0; | |
125 | PyObject * _argo0 = 0; | |
126 | char *_kwnames[] = { "self", NULL }; | |
127 | ||
128 | self = self; | |
129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_DeleteWindows",_kwnames,&_argo0)) | |
130 | return NULL; | |
131 | if (_argo0) { | |
132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_DeleteWindows. Expected _wxSizerItem_p."); | |
135 | return NULL; | |
136 | } | |
137 | } | |
138 | { | |
139 | wxPy_BEGIN_ALLOW_THREADS; | |
140 | wxSizerItem_DeleteWindows(_arg0); | |
141 | ||
142 | wxPy_END_ALLOW_THREADS; | |
143 | if (PyErr_Occurred()) return NULL; | |
144 | } Py_INCREF(Py_None); | |
145 | _resultobj = Py_None; | |
146 | return _resultobj; | |
147 | } | |
148 | ||
aa2a5b86 RD |
149 | #define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition()) |
150 | static PyObject *_wrap_wxSizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
151 | PyObject * _resultobj; | |
152 | wxPoint * _result; | |
153 | wxSizerItem * _arg0; | |
154 | PyObject * _argo0 = 0; | |
155 | char *_kwnames[] = { "self", NULL }; | |
156 | char _ptemp[128]; | |
157 | ||
158 | self = self; | |
159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetPosition",_kwnames,&_argo0)) | |
160 | return NULL; | |
161 | if (_argo0) { | |
162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetPosition. Expected _wxSizerItem_p."); | |
165 | return NULL; | |
166 | } | |
167 | } | |
168 | { | |
169 | wxPy_BEGIN_ALLOW_THREADS; | |
170 | _result = new wxPoint (wxSizerItem_GetPosition(_arg0)); | |
171 | ||
172 | wxPy_END_ALLOW_THREADS; | |
173 | if (PyErr_Occurred()) return NULL; | |
174 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
175 | _resultobj = Py_BuildValue("s",_ptemp); | |
176 | return _resultobj; | |
177 | } | |
178 | ||
37f6a977 RD |
179 | #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize()) |
180 | static PyObject *_wrap_wxSizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
181 | PyObject * _resultobj; | |
182 | wxSize * _result; | |
183 | wxSizerItem * _arg0; | |
184 | PyObject * _argo0 = 0; | |
185 | char *_kwnames[] = { "self", NULL }; | |
186 | char _ptemp[128]; | |
187 | ||
188 | self = self; | |
189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSize",_kwnames,&_argo0)) | |
190 | return NULL; | |
191 | if (_argo0) { | |
192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p."); | |
195 | return NULL; | |
196 | } | |
197 | } | |
198 | { | |
199 | wxPy_BEGIN_ALLOW_THREADS; | |
200 | _result = new wxSize (wxSizerItem_GetSize(_arg0)); | |
201 | ||
202 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 203 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
204 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
205 | _resultobj = Py_BuildValue("s",_ptemp); | |
206 | return _resultobj; | |
207 | } | |
208 | ||
209 | #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin()) | |
210 | static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
211 | PyObject * _resultobj; | |
212 | wxSize * _result; | |
213 | wxSizerItem * _arg0; | |
214 | PyObject * _argo0 = 0; | |
215 | char *_kwnames[] = { "self", NULL }; | |
216 | char _ptemp[128]; | |
217 | ||
218 | self = self; | |
219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_CalcMin",_kwnames,&_argo0)) | |
220 | return NULL; | |
221 | if (_argo0) { | |
222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p."); | |
225 | return NULL; | |
226 | } | |
227 | } | |
228 | { | |
229 | wxPy_BEGIN_ALLOW_THREADS; | |
230 | _result = new wxSize (wxSizerItem_CalcMin(_arg0)); | |
231 | ||
232 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 233 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
234 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
235 | _resultobj = Py_BuildValue("s",_ptemp); | |
236 | return _resultobj; | |
237 | } | |
238 | ||
239 | #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1)) | |
240 | static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) { | |
241 | PyObject * _resultobj; | |
242 | wxSizerItem * _arg0; | |
243 | wxPoint * _arg1; | |
244 | wxSize * _arg2; | |
245 | PyObject * _argo0 = 0; | |
246 | wxPoint temp; | |
247 | PyObject * _obj1 = 0; | |
248 | wxSize temp0; | |
249 | PyObject * _obj2 = 0; | |
250 | char *_kwnames[] = { "self","pos","size", NULL }; | |
251 | ||
252 | self = self; | |
253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSizerItem_SetDimension",_kwnames,&_argo0,&_obj1,&_obj2)) | |
254 | return NULL; | |
255 | if (_argo0) { | |
256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p."); | |
259 | return NULL; | |
260 | } | |
261 | } | |
262 | { | |
263 | _arg1 = &temp; | |
264 | if (! wxPoint_helper(_obj1, &_arg1)) | |
265 | return NULL; | |
266 | } | |
267 | { | |
268 | _arg2 = &temp0; | |
269 | if (! wxSize_helper(_obj2, &_arg2)) | |
270 | return NULL; | |
271 | } | |
272 | { | |
273 | wxPy_BEGIN_ALLOW_THREADS; | |
274 | wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2); | |
275 | ||
276 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 277 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
278 | } Py_INCREF(Py_None); |
279 | _resultobj = Py_None; | |
280 | return _resultobj; | |
281 | } | |
282 | ||
f6bcfd97 BP |
283 | #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1)) |
284 | static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) { | |
285 | PyObject * _resultobj; | |
286 | wxSizerItem * _arg0; | |
287 | int _arg1; | |
288 | int _arg2; | |
289 | PyObject * _argo0 = 0; | |
290 | char *_kwnames[] = { "self","width","height", NULL }; | |
291 | ||
292 | self = self; | |
293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetRatioWH",_kwnames,&_argo0,&_arg1,&_arg2)) | |
294 | return NULL; | |
295 | if (_argo0) { | |
296 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
297 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p."); | |
299 | return NULL; | |
300 | } | |
301 | } | |
302 | { | |
303 | wxPy_BEGIN_ALLOW_THREADS; | |
304 | wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2); | |
305 | ||
306 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 307 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
308 | } Py_INCREF(Py_None); |
309 | _resultobj = Py_None; | |
310 | return _resultobj; | |
311 | } | |
312 | ||
313 | #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0)) | |
314 | static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
315 | PyObject * _resultobj; | |
316 | wxSizerItem * _arg0; | |
317 | wxSize * _arg1; | |
318 | PyObject * _argo0 = 0; | |
319 | wxSize temp; | |
320 | PyObject * _obj1 = 0; | |
321 | char *_kwnames[] = { "self","size", NULL }; | |
322 | ||
323 | self = self; | |
324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetRatioSize",_kwnames,&_argo0,&_obj1)) | |
325 | return NULL; | |
326 | if (_argo0) { | |
327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p."); | |
330 | return NULL; | |
331 | } | |
332 | } | |
333 | { | |
334 | _arg1 = &temp; | |
335 | if (! wxSize_helper(_obj1, &_arg1)) | |
336 | return NULL; | |
337 | } | |
338 | { | |
339 | wxPy_BEGIN_ALLOW_THREADS; | |
340 | wxSizerItem_SetRatioSize(_arg0,*_arg1); | |
341 | ||
342 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 343 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
344 | } Py_INCREF(Py_None); |
345 | _resultobj = Py_None; | |
346 | return _resultobj; | |
347 | } | |
348 | ||
349 | #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0)) | |
350 | static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
351 | PyObject * _resultobj; | |
352 | wxSizerItem * _arg0; | |
353 | float _arg1; | |
354 | PyObject * _argo0 = 0; | |
355 | char *_kwnames[] = { "self","ratio", NULL }; | |
356 | ||
357 | self = self; | |
358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Of:wxSizerItem_SetRatio",_kwnames,&_argo0,&_arg1)) | |
359 | return NULL; | |
360 | if (_argo0) { | |
361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p."); | |
364 | return NULL; | |
365 | } | |
366 | } | |
367 | { | |
368 | wxPy_BEGIN_ALLOW_THREADS; | |
369 | wxSizerItem_SetRatio(_arg0,_arg1); | |
370 | ||
371 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 372 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
373 | } Py_INCREF(Py_None); |
374 | _resultobj = Py_None; | |
375 | return _resultobj; | |
376 | } | |
377 | ||
378 | #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio()) | |
379 | static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
380 | PyObject * _resultobj; | |
381 | float _result; | |
382 | wxSizerItem * _arg0; | |
383 | PyObject * _argo0 = 0; | |
384 | char *_kwnames[] = { "self", NULL }; | |
385 | ||
386 | self = self; | |
387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetRatio",_kwnames,&_argo0)) | |
388 | return NULL; | |
389 | if (_argo0) { | |
390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p."); | |
393 | return NULL; | |
394 | } | |
395 | } | |
396 | { | |
397 | wxPy_BEGIN_ALLOW_THREADS; | |
398 | _result = (float )wxSizerItem_GetRatio(_arg0); | |
399 | ||
400 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 401 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
402 | } _resultobj = Py_BuildValue("f",_result); |
403 | return _resultobj; | |
404 | } | |
405 | ||
37f6a977 RD |
406 | #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow()) |
407 | static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
408 | PyObject * _resultobj; | |
409 | bool _result; | |
410 | wxSizerItem * _arg0; | |
411 | PyObject * _argo0 = 0; | |
412 | char *_kwnames[] = { "self", NULL }; | |
413 | ||
414 | self = self; | |
415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsWindow",_kwnames,&_argo0)) | |
416 | return NULL; | |
417 | if (_argo0) { | |
418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p."); | |
421 | return NULL; | |
422 | } | |
423 | } | |
424 | { | |
425 | wxPy_BEGIN_ALLOW_THREADS; | |
426 | _result = (bool )wxSizerItem_IsWindow(_arg0); | |
427 | ||
428 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 429 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
430 | } _resultobj = Py_BuildValue("i",_result); |
431 | return _resultobj; | |
432 | } | |
433 | ||
434 | #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer()) | |
435 | static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
436 | PyObject * _resultobj; | |
437 | bool _result; | |
438 | wxSizerItem * _arg0; | |
439 | PyObject * _argo0 = 0; | |
440 | char *_kwnames[] = { "self", NULL }; | |
441 | ||
442 | self = self; | |
443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSizer",_kwnames,&_argo0)) | |
444 | return NULL; | |
445 | if (_argo0) { | |
446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p."); | |
449 | return NULL; | |
450 | } | |
451 | } | |
452 | { | |
453 | wxPy_BEGIN_ALLOW_THREADS; | |
454 | _result = (bool )wxSizerItem_IsSizer(_arg0); | |
455 | ||
456 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 457 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
458 | } _resultobj = Py_BuildValue("i",_result); |
459 | return _resultobj; | |
460 | } | |
461 | ||
462 | #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer()) | |
463 | static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
464 | PyObject * _resultobj; | |
465 | bool _result; | |
466 | wxSizerItem * _arg0; | |
467 | PyObject * _argo0 = 0; | |
468 | char *_kwnames[] = { "self", NULL }; | |
469 | ||
470 | self = self; | |
471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSpacer",_kwnames,&_argo0)) | |
472 | return NULL; | |
473 | if (_argo0) { | |
474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p."); | |
477 | return NULL; | |
478 | } | |
479 | } | |
480 | { | |
481 | wxPy_BEGIN_ALLOW_THREADS; | |
482 | _result = (bool )wxSizerItem_IsSpacer(_arg0); | |
483 | ||
484 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 485 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
486 | } _resultobj = Py_BuildValue("i",_result); |
487 | return _resultobj; | |
488 | } | |
489 | ||
490 | #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
491 | static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
492 | PyObject * _resultobj; | |
493 | wxWindow * _result; | |
494 | wxSizerItem * _arg0; | |
495 | PyObject * _argo0 = 0; | |
496 | char *_kwnames[] = { "self", NULL }; | |
37f6a977 RD |
497 | |
498 | self = self; | |
499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetWindow",_kwnames,&_argo0)) | |
500 | return NULL; | |
501 | if (_argo0) { | |
502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p."); | |
505 | return NULL; | |
506 | } | |
507 | } | |
508 | { | |
509 | wxPy_BEGIN_ALLOW_THREADS; | |
510 | _result = (wxWindow *)wxSizerItem_GetWindow(_arg0); | |
511 | ||
512 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 513 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 514 | }{ _resultobj = wxPyMake_wxObject(_result); } |
37f6a977 RD |
515 | return _resultobj; |
516 | } | |
517 | ||
f6bcfd97 BP |
518 | #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0)) |
519 | static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
520 | PyObject * _resultobj; | |
521 | wxSizerItem * _arg0; | |
522 | wxWindow * _arg1; | |
523 | PyObject * _argo0 = 0; | |
524 | PyObject * _argo1 = 0; | |
525 | char *_kwnames[] = { "self","window", NULL }; | |
526 | ||
527 | self = self; | |
528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetWindow",_kwnames,&_argo0,&_argo1)) | |
529 | return NULL; | |
530 | if (_argo0) { | |
531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p."); | |
534 | return NULL; | |
535 | } | |
536 | } | |
537 | if (_argo1) { | |
538 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
539 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p."); | |
541 | return NULL; | |
542 | } | |
543 | } | |
544 | { | |
545 | wxPy_BEGIN_ALLOW_THREADS; | |
546 | wxSizerItem_SetWindow(_arg0,_arg1); | |
547 | ||
548 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 549 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
550 | } Py_INCREF(Py_None); |
551 | _resultobj = Py_None; | |
552 | return _resultobj; | |
553 | } | |
554 | ||
37f6a977 RD |
555 | #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer()) |
556 | static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
557 | PyObject * _resultobj; | |
558 | wxSizer * _result; | |
559 | wxSizerItem * _arg0; | |
560 | PyObject * _argo0 = 0; | |
561 | char *_kwnames[] = { "self", NULL }; | |
37f6a977 RD |
562 | |
563 | self = self; | |
564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSizer",_kwnames,&_argo0)) | |
565 | return NULL; | |
566 | if (_argo0) { | |
567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p."); | |
570 | return NULL; | |
571 | } | |
572 | } | |
573 | { | |
574 | wxPy_BEGIN_ALLOW_THREADS; | |
575 | _result = (wxSizer *)wxSizerItem_GetSizer(_arg0); | |
576 | ||
577 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 578 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 579 | }{ _resultobj = wxPyMake_wxObject(_result); } |
37f6a977 RD |
580 | return _resultobj; |
581 | } | |
582 | ||
f6bcfd97 BP |
583 | #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0)) |
584 | static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
585 | PyObject * _resultobj; | |
586 | wxSizerItem * _arg0; | |
587 | wxSizer * _arg1; | |
588 | PyObject * _argo0 = 0; | |
589 | PyObject * _argo1 = 0; | |
590 | char *_kwnames[] = { "self","sizer", NULL }; | |
591 | ||
592 | self = self; | |
593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetSizer",_kwnames,&_argo0,&_argo1)) | |
594 | return NULL; | |
595 | if (_argo0) { | |
596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p."); | |
599 | return NULL; | |
600 | } | |
601 | } | |
602 | if (_argo1) { | |
603 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
604 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) { | |
605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p."); | |
606 | return NULL; | |
607 | } | |
608 | } | |
609 | { | |
610 | wxPy_BEGIN_ALLOW_THREADS; | |
611 | wxSizerItem_SetSizer(_arg0,_arg1); | |
612 | ||
613 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 614 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
615 | } Py_INCREF(Py_None); |
616 | _resultobj = Py_None; | |
617 | return _resultobj; | |
618 | } | |
619 | ||
37f6a977 RD |
620 | #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption()) |
621 | static PyObject *_wrap_wxSizerItem_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) { | |
622 | PyObject * _resultobj; | |
623 | int _result; | |
624 | wxSizerItem * _arg0; | |
625 | PyObject * _argo0 = 0; | |
626 | char *_kwnames[] = { "self", NULL }; | |
627 | ||
628 | self = self; | |
629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetOption",_kwnames,&_argo0)) | |
630 | return NULL; | |
631 | if (_argo0) { | |
632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p."); | |
635 | return NULL; | |
636 | } | |
637 | } | |
638 | { | |
639 | wxPy_BEGIN_ALLOW_THREADS; | |
640 | _result = (int )wxSizerItem_GetOption(_arg0); | |
641 | ||
642 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 643 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
644 | } _resultobj = Py_BuildValue("i",_result); |
645 | return _resultobj; | |
646 | } | |
647 | ||
648 | #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag()) | |
649 | static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
650 | PyObject * _resultobj; | |
651 | int _result; | |
652 | wxSizerItem * _arg0; | |
653 | PyObject * _argo0 = 0; | |
654 | char *_kwnames[] = { "self", NULL }; | |
655 | ||
656 | self = self; | |
657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetFlag",_kwnames,&_argo0)) | |
658 | return NULL; | |
659 | if (_argo0) { | |
660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p."); | |
663 | return NULL; | |
664 | } | |
665 | } | |
666 | { | |
667 | wxPy_BEGIN_ALLOW_THREADS; | |
668 | _result = (int )wxSizerItem_GetFlag(_arg0); | |
669 | ||
670 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 671 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
672 | } _resultobj = Py_BuildValue("i",_result); |
673 | return _resultobj; | |
674 | } | |
675 | ||
676 | #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder()) | |
677 | static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
678 | PyObject * _resultobj; | |
679 | int _result; | |
680 | wxSizerItem * _arg0; | |
681 | PyObject * _argo0 = 0; | |
682 | char *_kwnames[] = { "self", NULL }; | |
683 | ||
684 | self = self; | |
685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetBorder",_kwnames,&_argo0)) | |
686 | return NULL; | |
687 | if (_argo0) { | |
688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p."); | |
691 | return NULL; | |
692 | } | |
693 | } | |
694 | { | |
695 | wxPy_BEGIN_ALLOW_THREADS; | |
696 | _result = (int )wxSizerItem_GetBorder(_arg0); | |
697 | ||
698 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 699 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
700 | } _resultobj = Py_BuildValue("i",_result); |
701 | return _resultobj; | |
702 | } | |
703 | ||
ab2208b5 RD |
704 | #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1)) |
705 | static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
706 | PyObject * _resultobj; | |
707 | wxSizerItem * _arg0; | |
708 | int _arg1; | |
709 | int _arg2; | |
710 | PyObject * _argo0 = 0; | |
711 | char *_kwnames[] = { "self","x","y", NULL }; | |
712 | ||
713 | self = self; | |
714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetInitSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
715 | return NULL; | |
716 | if (_argo0) { | |
717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p."); | |
720 | return NULL; | |
721 | } | |
722 | } | |
723 | { | |
724 | wxPy_BEGIN_ALLOW_THREADS; | |
725 | wxSizerItem_SetInitSize(_arg0,_arg1,_arg2); | |
726 | ||
727 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 728 | if (PyErr_Occurred()) return NULL; |
ab2208b5 RD |
729 | } Py_INCREF(Py_None); |
730 | _resultobj = Py_None; | |
731 | return _resultobj; | |
732 | } | |
733 | ||
734 | #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0)) | |
735 | static PyObject *_wrap_wxSizerItem_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) { | |
736 | PyObject * _resultobj; | |
737 | wxSizerItem * _arg0; | |
738 | int _arg1; | |
739 | PyObject * _argo0 = 0; | |
740 | char *_kwnames[] = { "self","option", NULL }; | |
741 | ||
742 | self = self; | |
743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetOption",_kwnames,&_argo0,&_arg1)) | |
744 | return NULL; | |
745 | if (_argo0) { | |
746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p."); | |
749 | return NULL; | |
750 | } | |
751 | } | |
752 | { | |
753 | wxPy_BEGIN_ALLOW_THREADS; | |
754 | wxSizerItem_SetOption(_arg0,_arg1); | |
755 | ||
756 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 757 | if (PyErr_Occurred()) return NULL; |
ab2208b5 RD |
758 | } Py_INCREF(Py_None); |
759 | _resultobj = Py_None; | |
760 | return _resultobj; | |
761 | } | |
762 | ||
763 | #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0)) | |
764 | static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
765 | PyObject * _resultobj; | |
766 | wxSizerItem * _arg0; | |
767 | int _arg1; | |
768 | PyObject * _argo0 = 0; | |
769 | char *_kwnames[] = { "self","flag", NULL }; | |
770 | ||
771 | self = self; | |
772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetFlag",_kwnames,&_argo0,&_arg1)) | |
773 | return NULL; | |
774 | if (_argo0) { | |
775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p."); | |
778 | return NULL; | |
779 | } | |
780 | } | |
781 | { | |
782 | wxPy_BEGIN_ALLOW_THREADS; | |
783 | wxSizerItem_SetFlag(_arg0,_arg1); | |
784 | ||
785 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 786 | if (PyErr_Occurred()) return NULL; |
ab2208b5 RD |
787 | } Py_INCREF(Py_None); |
788 | _resultobj = Py_None; | |
789 | return _resultobj; | |
790 | } | |
791 | ||
792 | #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0)) | |
793 | static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
794 | PyObject * _resultobj; | |
795 | wxSizerItem * _arg0; | |
796 | int _arg1; | |
797 | PyObject * _argo0 = 0; | |
798 | char *_kwnames[] = { "self","border", NULL }; | |
799 | ||
800 | self = self; | |
801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetBorder",_kwnames,&_argo0,&_arg1)) | |
802 | return NULL; | |
803 | if (_argo0) { | |
804 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
805 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p."); | |
807 | return NULL; | |
808 | } | |
809 | } | |
810 | { | |
811 | wxPy_BEGIN_ALLOW_THREADS; | |
812 | wxSizerItem_SetBorder(_arg0,_arg1); | |
813 | ||
814 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 815 | if (PyErr_Occurred()) return NULL; |
ab2208b5 RD |
816 | } Py_INCREF(Py_None); |
817 | _resultobj = Py_None; | |
818 | return _resultobj; | |
819 | } | |
820 | ||
37f6a977 RD |
821 | static PyObject * wxSizerItem_GetUserData(wxSizerItem *self) { |
822 | wxPyUserData* data = (wxPyUserData*)self->GetUserData(); | |
823 | if (data) { | |
824 | Py_INCREF(data->m_obj); | |
825 | return data->m_obj; | |
826 | } else { | |
827 | Py_INCREF(Py_None); | |
828 | return Py_None; | |
829 | } | |
830 | } | |
831 | static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
832 | PyObject * _resultobj; | |
833 | PyObject * _result; | |
834 | wxSizerItem * _arg0; | |
835 | PyObject * _argo0 = 0; | |
836 | char *_kwnames[] = { "self", NULL }; | |
837 | ||
838 | self = self; | |
839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetUserData",_kwnames,&_argo0)) | |
840 | return NULL; | |
841 | if (_argo0) { | |
842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) { | |
844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p."); | |
845 | return NULL; | |
846 | } | |
847 | } | |
848 | { | |
849 | wxPy_BEGIN_ALLOW_THREADS; | |
850 | _result = (PyObject *)wxSizerItem_GetUserData(_arg0); | |
851 | ||
852 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 853 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
854 | }{ |
855 | _resultobj = _result; | |
856 | } | |
857 | return _resultobj; | |
858 | } | |
859 | ||
9df61a29 RD |
860 | static void *SwigwxSizerTowxObject(void *ptr) { |
861 | wxSizer *src; | |
862 | wxObject *dest; | |
863 | src = (wxSizer *) ptr; | |
864 | dest = (wxObject *) src; | |
865 | return (void *) dest; | |
866 | } | |
867 | ||
17c0e08c RD |
868 | static void wxSizer__setOORInfo(wxSizer *self,PyObject * _self) { |
869 | self->SetClientObject(new wxPyClientData(_self)); | |
870 | } | |
871 | static PyObject *_wrap_wxSizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
872 | PyObject * _resultobj; | |
873 | wxSizer * _arg0; | |
874 | PyObject * _arg1; | |
875 | PyObject * _argo0 = 0; | |
876 | PyObject * _obj1 = 0; | |
877 | char *_kwnames[] = { "self","_self", NULL }; | |
878 | ||
879 | self = self; | |
880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer__setOORInfo",_kwnames,&_argo0,&_obj1)) | |
881 | return NULL; | |
882 | if (_argo0) { | |
883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer__setOORInfo. Expected _wxSizer_p."); | |
886 | return NULL; | |
887 | } | |
888 | } | |
889 | { | |
890 | _arg1 = _obj1; | |
891 | } | |
892 | { | |
893 | wxPy_BEGIN_ALLOW_THREADS; | |
894 | wxSizer__setOORInfo(_arg0,_arg1); | |
895 | ||
896 | wxPy_END_ALLOW_THREADS; | |
897 | if (PyErr_Occurred()) return NULL; | |
898 | } Py_INCREF(Py_None); | |
899 | _resultobj = Py_None; | |
900 | return _resultobj; | |
901 | } | |
902 | ||
37f6a977 RD |
903 | static void wxSizer_Destroy(wxSizer *self) { delete self; } |
904 | static PyObject *_wrap_wxSizer_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
905 | PyObject * _resultobj; | |
906 | wxSizer * _arg0; | |
907 | PyObject * _argo0 = 0; | |
908 | char *_kwnames[] = { "self", NULL }; | |
909 | ||
910 | self = self; | |
911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Destroy",_kwnames,&_argo0)) | |
912 | return NULL; | |
913 | if (_argo0) { | |
914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p."); | |
917 | return NULL; | |
918 | } | |
919 | } | |
920 | { | |
921 | wxPy_BEGIN_ALLOW_THREADS; | |
922 | wxSizer_Destroy(_arg0); | |
923 | ||
924 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 925 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
926 | } Py_INCREF(Py_None); |
927 | _resultobj = Py_None; | |
928 | return _resultobj; | |
929 | } | |
930 | ||
931 | static void wxSizer_AddWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) { | |
932 | wxPyUserData* data = NULL; | |
933 | if (userData) data = new wxPyUserData(userData); | |
934 | self->Add(window, option, flag, border, data); | |
935 | } | |
936 | static PyObject *_wrap_wxSizer_AddWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
937 | PyObject * _resultobj; | |
938 | wxSizer * _arg0; | |
939 | wxWindow * _arg1; | |
940 | int _arg2 = (int ) 0; | |
941 | int _arg3 = (int ) 0; | |
942 | int _arg4 = (int ) 0; | |
943 | PyObject * _arg5 = (PyObject *) NULL; | |
944 | PyObject * _argo0 = 0; | |
945 | PyObject * _argo1 = 0; | |
946 | PyObject * _obj5 = 0; | |
947 | char *_kwnames[] = { "self","window","option","flag","border","userData", NULL }; | |
948 | ||
949 | self = self; | |
950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5)) | |
951 | return NULL; | |
952 | if (_argo0) { | |
953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p."); | |
956 | return NULL; | |
957 | } | |
958 | } | |
959 | if (_argo1) { | |
960 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
961 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p."); | |
963 | return NULL; | |
964 | } | |
965 | } | |
966 | if (_obj5) | |
967 | { | |
968 | _arg5 = _obj5; | |
969 | } | |
970 | { | |
971 | wxPy_BEGIN_ALLOW_THREADS; | |
972 | wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
973 | ||
974 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 975 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
976 | } Py_INCREF(Py_None); |
977 | _resultobj = Py_None; | |
978 | return _resultobj; | |
979 | } | |
980 | ||
981 | static void wxSizer_AddSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) { | |
982 | wxPyUserData* data = NULL; | |
983 | if (userData) data = new wxPyUserData(userData); | |
984 | self->Add(sizer, option, flag, border, data); | |
985 | } | |
986 | static PyObject *_wrap_wxSizer_AddSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
987 | PyObject * _resultobj; | |
988 | wxSizer * _arg0; | |
989 | wxSizer * _arg1; | |
990 | int _arg2 = (int ) 0; | |
991 | int _arg3 = (int ) 0; | |
992 | int _arg4 = (int ) 0; | |
993 | PyObject * _arg5 = (PyObject *) NULL; | |
994 | PyObject * _argo0 = 0; | |
995 | PyObject * _argo1 = 0; | |
996 | PyObject * _obj5 = 0; | |
997 | char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL }; | |
998 | ||
999 | self = self; | |
1000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5)) | |
1001 | return NULL; | |
1002 | if (_argo0) { | |
1003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p."); | |
1006 | return NULL; | |
1007 | } | |
1008 | } | |
1009 | if (_argo1) { | |
1010 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1011 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) { | |
1012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p."); | |
1013 | return NULL; | |
1014 | } | |
1015 | } | |
1016 | if (_obj5) | |
1017 | { | |
1018 | _arg5 = _obj5; | |
1019 | } | |
1020 | { | |
1021 | wxPy_BEGIN_ALLOW_THREADS; | |
1022 | wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1023 | ||
1024 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1025 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1026 | } Py_INCREF(Py_None); |
1027 | _resultobj = Py_None; | |
1028 | return _resultobj; | |
1029 | } | |
1030 | ||
1031 | static void wxSizer_AddSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) { | |
1032 | wxPyUserData* data = NULL; | |
1033 | if (userData) data = new wxPyUserData(userData); | |
1034 | self->Add(width, height, option, flag, border, data); | |
1035 | } | |
1036 | static PyObject *_wrap_wxSizer_AddSpacer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1037 | PyObject * _resultobj; | |
1038 | wxSizer * _arg0; | |
1039 | int _arg1; | |
1040 | int _arg2; | |
1041 | int _arg3 = (int ) 0; | |
1042 | int _arg4 = (int ) 0; | |
1043 | int _arg5 = (int ) 0; | |
1044 | PyObject * _arg6 = (PyObject *) NULL; | |
1045 | PyObject * _argo0 = 0; | |
1046 | PyObject * _obj6 = 0; | |
1047 | char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL }; | |
1048 | ||
1049 | self = self; | |
1050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_AddSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6)) | |
1051 | return NULL; | |
1052 | if (_argo0) { | |
1053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p."); | |
1056 | return NULL; | |
1057 | } | |
1058 | } | |
1059 | if (_obj6) | |
1060 | { | |
1061 | _arg6 = _obj6; | |
1062 | } | |
1063 | { | |
1064 | wxPy_BEGIN_ALLOW_THREADS; | |
1065 | wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1066 | ||
1067 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1068 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1069 | } Py_INCREF(Py_None); |
1070 | _resultobj = Py_None; | |
1071 | return _resultobj; | |
1072 | } | |
1073 | ||
f6bcfd97 BP |
1074 | static void wxSizer_InsertWindow(wxSizer *self,int before,wxWindow * window,int option,int flag,int border,PyObject * userData) { |
1075 | wxPyUserData* data = NULL; | |
1076 | if (userData) data = new wxPyUserData(userData); | |
1077 | self->Insert(before, window, option, flag, border, data); | |
1078 | } | |
1079 | static PyObject *_wrap_wxSizer_InsertWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1080 | PyObject * _resultobj; | |
1081 | wxSizer * _arg0; | |
1082 | int _arg1; | |
1083 | wxWindow * _arg2; | |
1084 | int _arg3 = (int ) 0; | |
1085 | int _arg4 = (int ) 0; | |
1086 | int _arg5 = (int ) 0; | |
1087 | PyObject * _arg6 = (PyObject *) NULL; | |
1088 | PyObject * _argo0 = 0; | |
1089 | PyObject * _argo2 = 0; | |
1090 | PyObject * _obj6 = 0; | |
1091 | char *_kwnames[] = { "self","before","window","option","flag","border","userData", NULL }; | |
1092 | ||
1093 | self = self; | |
1094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6)) | |
1095 | return NULL; | |
1096 | if (_argo0) { | |
1097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p."); | |
1100 | return NULL; | |
1101 | } | |
1102 | } | |
1103 | if (_argo2) { | |
1104 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1105 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
1106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p."); | |
1107 | return NULL; | |
1108 | } | |
1109 | } | |
1110 | if (_obj6) | |
1111 | { | |
1112 | _arg6 = _obj6; | |
1113 | } | |
1114 | { | |
1115 | wxPy_BEGIN_ALLOW_THREADS; | |
1116 | wxSizer_InsertWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1117 | ||
1118 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1119 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1120 | } Py_INCREF(Py_None); |
1121 | _resultobj = Py_None; | |
1122 | return _resultobj; | |
1123 | } | |
1124 | ||
1125 | static void wxSizer_InsertSizer(wxSizer *self,int before,wxSizer * sizer,int option,int flag,int border,PyObject * userData) { | |
1126 | wxPyUserData* data = NULL; | |
1127 | if (userData) data = new wxPyUserData(userData); | |
1128 | self->Insert(before, sizer, option, flag, border, data); | |
1129 | } | |
1130 | static PyObject *_wrap_wxSizer_InsertSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1131 | PyObject * _resultobj; | |
1132 | wxSizer * _arg0; | |
1133 | int _arg1; | |
1134 | wxSizer * _arg2; | |
1135 | int _arg3 = (int ) 0; | |
1136 | int _arg4 = (int ) 0; | |
1137 | int _arg5 = (int ) 0; | |
1138 | PyObject * _arg6 = (PyObject *) NULL; | |
1139 | PyObject * _argo0 = 0; | |
1140 | PyObject * _argo2 = 0; | |
1141 | PyObject * _obj6 = 0; | |
1142 | char *_kwnames[] = { "self","before","sizer","option","flag","border","userData", NULL }; | |
1143 | ||
1144 | self = self; | |
1145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertSizer",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6)) | |
1146 | return NULL; | |
1147 | if (_argo0) { | |
1148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p."); | |
1151 | return NULL; | |
1152 | } | |
1153 | } | |
1154 | if (_argo2) { | |
1155 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1156 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxSizer_p")) { | |
1157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p."); | |
1158 | return NULL; | |
1159 | } | |
1160 | } | |
1161 | if (_obj6) | |
1162 | { | |
1163 | _arg6 = _obj6; | |
1164 | } | |
1165 | { | |
1166 | wxPy_BEGIN_ALLOW_THREADS; | |
1167 | wxSizer_InsertSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1168 | ||
1169 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1170 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1171 | } Py_INCREF(Py_None); |
1172 | _resultobj = Py_None; | |
1173 | return _resultobj; | |
1174 | } | |
1175 | ||
1176 | static void wxSizer_InsertSpacer(wxSizer *self,int before,int width,int height,int option,int flag,int border,PyObject * userData) { | |
1177 | wxPyUserData* data = NULL; | |
1178 | if (userData) data = new wxPyUserData(userData); | |
1179 | self->Insert(before, width, height, option, flag, border, data); | |
1180 | } | |
1181 | static PyObject *_wrap_wxSizer_InsertSpacer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1182 | PyObject * _resultobj; | |
1183 | wxSizer * _arg0; | |
1184 | int _arg1; | |
1185 | int _arg2; | |
1186 | int _arg3; | |
1187 | int _arg4 = (int ) 0; | |
1188 | int _arg5 = (int ) 0; | |
1189 | int _arg6 = (int ) 0; | |
1190 | PyObject * _arg7 = (PyObject *) NULL; | |
1191 | PyObject * _argo0 = 0; | |
1192 | PyObject * _obj7 = 0; | |
1193 | char *_kwnames[] = { "self","before","width","height","option","flag","border","userData", NULL }; | |
1194 | ||
1195 | self = self; | |
1196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_obj7)) | |
1197 | return NULL; | |
1198 | if (_argo0) { | |
1199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p."); | |
1202 | return NULL; | |
1203 | } | |
1204 | } | |
1205 | if (_obj7) | |
1206 | { | |
1207 | _arg7 = _obj7; | |
1208 | } | |
1209 | { | |
1210 | wxPy_BEGIN_ALLOW_THREADS; | |
1211 | wxSizer_InsertSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
1212 | ||
1213 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1214 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1215 | } Py_INCREF(Py_None); |
1216 | _resultobj = Py_None; | |
1217 | return _resultobj; | |
1218 | } | |
1219 | ||
37f6a977 RD |
1220 | static void wxSizer_PrependWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) { |
1221 | wxPyUserData* data = NULL; | |
1222 | if (userData) data = new wxPyUserData(userData); | |
1223 | self->Prepend(window, option, flag, border, data); | |
1224 | } | |
1225 | static PyObject *_wrap_wxSizer_PrependWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1226 | PyObject * _resultobj; | |
1227 | wxSizer * _arg0; | |
1228 | wxWindow * _arg1; | |
1229 | int _arg2 = (int ) 0; | |
1230 | int _arg3 = (int ) 0; | |
1231 | int _arg4 = (int ) 0; | |
1232 | PyObject * _arg5 = (PyObject *) NULL; | |
1233 | PyObject * _argo0 = 0; | |
1234 | PyObject * _argo1 = 0; | |
1235 | PyObject * _obj5 = 0; | |
1236 | char *_kwnames[] = { "self","window","option","flag","border","userData", NULL }; | |
1237 | ||
1238 | self = self; | |
1239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5)) | |
1240 | return NULL; | |
1241 | if (_argo0) { | |
1242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p."); | |
1245 | return NULL; | |
1246 | } | |
1247 | } | |
1248 | if (_argo1) { | |
1249 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1250 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p."); | |
1252 | return NULL; | |
1253 | } | |
1254 | } | |
1255 | if (_obj5) | |
1256 | { | |
1257 | _arg5 = _obj5; | |
1258 | } | |
1259 | { | |
1260 | wxPy_BEGIN_ALLOW_THREADS; | |
1261 | wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1262 | ||
1263 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1264 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1265 | } Py_INCREF(Py_None); |
1266 | _resultobj = Py_None; | |
1267 | return _resultobj; | |
1268 | } | |
1269 | ||
1270 | static void wxSizer_PrependSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) { | |
1271 | wxPyUserData* data = NULL; | |
1272 | if (userData) data = new wxPyUserData(userData); | |
1273 | self->Prepend(sizer, option, flag, border, data); | |
1274 | } | |
1275 | static PyObject *_wrap_wxSizer_PrependSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1276 | PyObject * _resultobj; | |
1277 | wxSizer * _arg0; | |
1278 | wxSizer * _arg1; | |
1279 | int _arg2 = (int ) 0; | |
1280 | int _arg3 = (int ) 0; | |
1281 | int _arg4 = (int ) 0; | |
1282 | PyObject * _arg5 = (PyObject *) NULL; | |
1283 | PyObject * _argo0 = 0; | |
1284 | PyObject * _argo1 = 0; | |
1285 | PyObject * _obj5 = 0; | |
1286 | char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL }; | |
1287 | ||
1288 | self = self; | |
1289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5)) | |
1290 | return NULL; | |
1291 | if (_argo0) { | |
1292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p."); | |
1295 | return NULL; | |
1296 | } | |
1297 | } | |
1298 | if (_argo1) { | |
1299 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1300 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) { | |
1301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p."); | |
1302 | return NULL; | |
1303 | } | |
1304 | } | |
1305 | if (_obj5) | |
1306 | { | |
1307 | _arg5 = _obj5; | |
1308 | } | |
1309 | { | |
1310 | wxPy_BEGIN_ALLOW_THREADS; | |
1311 | wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1312 | ||
1313 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1314 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1315 | } Py_INCREF(Py_None); |
1316 | _resultobj = Py_None; | |
1317 | return _resultobj; | |
1318 | } | |
1319 | ||
1320 | static void wxSizer_PrependSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) { | |
1321 | wxPyUserData* data = NULL; | |
1322 | if (userData) data = new wxPyUserData(userData); | |
1323 | self->Prepend(width, height, option, flag, border, data); | |
1324 | } | |
1325 | static PyObject *_wrap_wxSizer_PrependSpacer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1326 | PyObject * _resultobj; | |
1327 | wxSizer * _arg0; | |
1328 | int _arg1; | |
1329 | int _arg2; | |
1330 | int _arg3 = (int ) 0; | |
1331 | int _arg4 = (int ) 0; | |
1332 | int _arg5 = (int ) 0; | |
1333 | PyObject * _arg6 = (PyObject *) NULL; | |
1334 | PyObject * _argo0 = 0; | |
1335 | PyObject * _obj6 = 0; | |
1336 | char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL }; | |
1337 | ||
1338 | self = self; | |
1339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6)) | |
1340 | return NULL; | |
1341 | if (_argo0) { | |
1342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p."); | |
1345 | return NULL; | |
1346 | } | |
1347 | } | |
1348 | if (_obj6) | |
1349 | { | |
1350 | _arg6 = _obj6; | |
1351 | } | |
1352 | { | |
1353 | wxPy_BEGIN_ALLOW_THREADS; | |
1354 | wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1355 | ||
1356 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1357 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1358 | } Py_INCREF(Py_None); |
1359 | _resultobj = Py_None; | |
1360 | return _resultobj; | |
1361 | } | |
1362 | ||
1363 | #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0)) | |
1364 | static PyObject *_wrap_wxSizer_RemoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1365 | PyObject * _resultobj; | |
1366 | bool _result; | |
1367 | wxSizer * _arg0; | |
1368 | wxWindow * _arg1; | |
1369 | PyObject * _argo0 = 0; | |
1370 | PyObject * _argo1 = 0; | |
1371 | char *_kwnames[] = { "self","window", NULL }; | |
1372 | ||
1373 | self = self; | |
1374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveWindow",_kwnames,&_argo0,&_argo1)) | |
1375 | return NULL; | |
1376 | if (_argo0) { | |
1377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p."); | |
1380 | return NULL; | |
1381 | } | |
1382 | } | |
1383 | if (_argo1) { | |
1384 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1385 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p."); | |
1387 | return NULL; | |
1388 | } | |
1389 | } | |
1390 | { | |
1391 | wxPy_BEGIN_ALLOW_THREADS; | |
1392 | _result = (bool )wxSizer_RemoveWindow(_arg0,_arg1); | |
1393 | ||
1394 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1395 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1396 | } _resultobj = Py_BuildValue("i",_result); |
1397 | return _resultobj; | |
1398 | } | |
1399 | ||
1400 | #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0)) | |
1401 | static PyObject *_wrap_wxSizer_RemoveSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1402 | PyObject * _resultobj; | |
1403 | bool _result; | |
1404 | wxSizer * _arg0; | |
1405 | wxSizer * _arg1; | |
1406 | PyObject * _argo0 = 0; | |
1407 | PyObject * _argo1 = 0; | |
1408 | char *_kwnames[] = { "self","sizer", NULL }; | |
1409 | ||
1410 | self = self; | |
1411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveSizer",_kwnames,&_argo0,&_argo1)) | |
1412 | return NULL; | |
1413 | if (_argo0) { | |
1414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p."); | |
1417 | return NULL; | |
1418 | } | |
1419 | } | |
1420 | if (_argo1) { | |
1421 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1422 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) { | |
1423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p."); | |
1424 | return NULL; | |
1425 | } | |
1426 | } | |
1427 | { | |
1428 | wxPy_BEGIN_ALLOW_THREADS; | |
1429 | _result = (bool )wxSizer_RemoveSizer(_arg0,_arg1); | |
1430 | ||
1431 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1432 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1433 | } _resultobj = Py_BuildValue("i",_result); |
1434 | return _resultobj; | |
1435 | } | |
1436 | ||
1437 | #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0)) | |
1438 | static PyObject *_wrap_wxSizer_RemovePos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1439 | PyObject * _resultobj; | |
1440 | bool _result; | |
1441 | wxSizer * _arg0; | |
1442 | int _arg1; | |
1443 | PyObject * _argo0 = 0; | |
1444 | char *_kwnames[] = { "self","pos", NULL }; | |
1445 | ||
1446 | self = self; | |
1447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_RemovePos",_kwnames,&_argo0,&_arg1)) | |
1448 | return NULL; | |
1449 | if (_argo0) { | |
1450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p."); | |
1453 | return NULL; | |
1454 | } | |
1455 | } | |
1456 | { | |
1457 | wxPy_BEGIN_ALLOW_THREADS; | |
1458 | _result = (bool )wxSizer_RemovePos(_arg0,_arg1); | |
1459 | ||
1460 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1461 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1462 | } _resultobj = Py_BuildValue("i",_result); |
1463 | return _resultobj; | |
1464 | } | |
1465 | ||
1466 | #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1467 | static PyObject *_wrap_wxSizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1468 | PyObject * _resultobj; | |
1469 | wxSizer * _arg0; | |
1470 | int _arg1; | |
1471 | int _arg2; | |
1472 | int _arg3; | |
1473 | int _arg4; | |
1474 | PyObject * _argo0 = 0; | |
1475 | char *_kwnames[] = { "self","x","y","width","height", NULL }; | |
1476 | ||
1477 | self = self; | |
1478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxSizer_SetDimension",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1479 | return NULL; | |
1480 | if (_argo0) { | |
1481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p."); | |
1484 | return NULL; | |
1485 | } | |
1486 | } | |
1487 | { | |
1488 | wxPy_BEGIN_ALLOW_THREADS; | |
1489 | wxSizer_SetDimension(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1490 | ||
1491 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1492 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1493 | } Py_INCREF(Py_None); |
1494 | _resultobj = Py_None; | |
1495 | return _resultobj; | |
1496 | } | |
1497 | ||
f6bcfd97 BP |
1498 | #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0)) |
1499 | static PyObject *_wrap_wxSizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1500 | PyObject * _resultobj; | |
1501 | wxSizer * _arg0; | |
1502 | wxSize * _arg1; | |
1503 | PyObject * _argo0 = 0; | |
1504 | wxSize temp; | |
1505 | PyObject * _obj1 = 0; | |
1506 | char *_kwnames[] = { "self","size", NULL }; | |
1507 | ||
1508 | self = self; | |
1509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetMinSize",_kwnames,&_argo0,&_obj1)) | |
1510 | return NULL; | |
1511 | if (_argo0) { | |
1512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p."); | |
1515 | return NULL; | |
1516 | } | |
1517 | } | |
1518 | { | |
1519 | _arg1 = &temp; | |
1520 | if (! wxSize_helper(_obj1, &_arg1)) | |
1521 | return NULL; | |
1522 | } | |
1523 | { | |
1524 | wxPy_BEGIN_ALLOW_THREADS; | |
1525 | wxSizer_SetMinSize(_arg0,*_arg1); | |
1526 | ||
1527 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1528 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1529 | } Py_INCREF(Py_None); |
1530 | _resultobj = Py_None; | |
1531 | return _resultobj; | |
1532 | } | |
1533 | ||
1534 | #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2)) | |
1535 | static PyObject *_wrap_wxSizer_SetItemMinSizeWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1536 | PyObject * _resultobj; | |
1537 | wxSizer * _arg0; | |
1538 | wxWindow * _arg1; | |
1539 | int _arg2; | |
1540 | int _arg3; | |
1541 | PyObject * _argo0 = 0; | |
1542 | PyObject * _argo1 = 0; | |
1543 | char *_kwnames[] = { "self","window","width","height", NULL }; | |
1544 | ||
1545 | self = self; | |
1546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
1547 | return NULL; | |
1548 | if (_argo0) { | |
1549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p."); | |
1552 | return NULL; | |
1553 | } | |
1554 | } | |
1555 | if (_argo1) { | |
1556 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1557 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p."); | |
1559 | return NULL; | |
1560 | } | |
1561 | } | |
1562 | { | |
1563 | wxPy_BEGIN_ALLOW_THREADS; | |
1564 | wxSizer_SetItemMinSizeWindow(_arg0,_arg1,_arg2,_arg3); | |
1565 | ||
1566 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1567 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1568 | } Py_INCREF(Py_None); |
1569 | _resultobj = Py_None; | |
1570 | return _resultobj; | |
1571 | } | |
1572 | ||
1573 | #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2)) | |
1574 | static PyObject *_wrap_wxSizer_SetItemMinSizeSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1575 | PyObject * _resultobj; | |
1576 | wxSizer * _arg0; | |
1577 | wxSizer * _arg1; | |
1578 | int _arg2; | |
1579 | int _arg3; | |
1580 | PyObject * _argo0 = 0; | |
1581 | PyObject * _argo1 = 0; | |
1582 | char *_kwnames[] = { "self","sizer","width","height", NULL }; | |
1583 | ||
1584 | self = self; | |
1585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
1586 | return NULL; | |
1587 | if (_argo0) { | |
1588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p."); | |
1591 | return NULL; | |
1592 | } | |
1593 | } | |
1594 | if (_argo1) { | |
1595 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1596 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) { | |
1597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p."); | |
1598 | return NULL; | |
1599 | } | |
1600 | } | |
1601 | { | |
1602 | wxPy_BEGIN_ALLOW_THREADS; | |
1603 | wxSizer_SetItemMinSizeSizer(_arg0,_arg1,_arg2,_arg3); | |
1604 | ||
1605 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1606 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1607 | } Py_INCREF(Py_None); |
1608 | _resultobj = Py_None; | |
1609 | return _resultobj; | |
1610 | } | |
1611 | ||
1612 | #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2)) | |
1613 | static PyObject *_wrap_wxSizer_SetItemMinSizePos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1614 | PyObject * _resultobj; | |
1615 | wxSizer * _arg0; | |
1616 | int _arg1; | |
1617 | int _arg2; | |
1618 | int _arg3; | |
1619 | PyObject * _argo0 = 0; | |
1620 | char *_kwnames[] = { "self","pos","width","height", NULL }; | |
1621 | ||
1622 | self = self; | |
1623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxSizer_SetItemMinSizePos",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
1624 | return NULL; | |
1625 | if (_argo0) { | |
1626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p."); | |
1629 | return NULL; | |
1630 | } | |
1631 | } | |
1632 | { | |
1633 | wxPy_BEGIN_ALLOW_THREADS; | |
1634 | wxSizer_SetItemMinSizePos(_arg0,_arg1,_arg2,_arg3); | |
1635 | ||
1636 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1637 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
1638 | } Py_INCREF(Py_None); |
1639 | _resultobj = Py_None; | |
1640 | return _resultobj; | |
1641 | } | |
1642 | ||
1643 | #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize()) | |
37f6a977 RD |
1644 | static PyObject *_wrap_wxSizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
1645 | PyObject * _resultobj; | |
1646 | wxSize * _result; | |
1647 | wxSizer * _arg0; | |
1648 | PyObject * _argo0 = 0; | |
1649 | char *_kwnames[] = { "self", NULL }; | |
1650 | char _ptemp[128]; | |
1651 | ||
1652 | self = self; | |
1653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetSize",_kwnames,&_argo0)) | |
1654 | return NULL; | |
1655 | if (_argo0) { | |
1656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p."); | |
1659 | return NULL; | |
1660 | } | |
1661 | } | |
1662 | { | |
1663 | wxPy_BEGIN_ALLOW_THREADS; | |
1664 | _result = new wxSize (wxSizer_GetSize(_arg0)); | |
1665 | ||
1666 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1667 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1668 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
1669 | _resultobj = Py_BuildValue("s",_ptemp); | |
1670 | return _resultobj; | |
1671 | } | |
1672 | ||
1673 | #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
1674 | static PyObject *_wrap_wxSizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1675 | PyObject * _resultobj; | |
1676 | wxPoint * _result; | |
1677 | wxSizer * _arg0; | |
1678 | PyObject * _argo0 = 0; | |
1679 | char *_kwnames[] = { "self", NULL }; | |
1680 | char _ptemp[128]; | |
1681 | ||
1682 | self = self; | |
1683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetPosition",_kwnames,&_argo0)) | |
1684 | return NULL; | |
1685 | if (_argo0) { | |
1686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p."); | |
1689 | return NULL; | |
1690 | } | |
1691 | } | |
1692 | { | |
1693 | wxPy_BEGIN_ALLOW_THREADS; | |
1694 | _result = new wxPoint (wxSizer_GetPosition(_arg0)); | |
1695 | ||
1696 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1697 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1698 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
1699 | _resultobj = Py_BuildValue("s",_ptemp); | |
1700 | return _resultobj; | |
1701 | } | |
1702 | ||
1703 | #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize()) | |
1704 | static PyObject *_wrap_wxSizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1705 | PyObject * _resultobj; | |
1706 | wxSize * _result; | |
1707 | wxSizer * _arg0; | |
1708 | PyObject * _argo0 = 0; | |
1709 | char *_kwnames[] = { "self", NULL }; | |
1710 | char _ptemp[128]; | |
1711 | ||
1712 | self = self; | |
1713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetMinSize",_kwnames,&_argo0)) | |
1714 | return NULL; | |
1715 | if (_argo0) { | |
1716 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1717 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1718 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p."); | |
1719 | return NULL; | |
1720 | } | |
1721 | } | |
1722 | { | |
1723 | wxPy_BEGIN_ALLOW_THREADS; | |
1724 | _result = new wxSize (wxSizer_GetMinSize(_arg0)); | |
1725 | ||
1726 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1727 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1728 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
1729 | _resultobj = Py_BuildValue("s",_ptemp); | |
1730 | return _resultobj; | |
1731 | } | |
1732 | ||
1733 | #define wxSizer_Layout(_swigobj) (_swigobj->Layout()) | |
1734 | static PyObject *_wrap_wxSizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1735 | PyObject * _resultobj; | |
1736 | wxSizer * _arg0; | |
1737 | PyObject * _argo0 = 0; | |
1738 | char *_kwnames[] = { "self", NULL }; | |
1739 | ||
1740 | self = self; | |
1741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Layout",_kwnames,&_argo0)) | |
1742 | return NULL; | |
1743 | if (_argo0) { | |
1744 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1745 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p."); | |
1747 | return NULL; | |
1748 | } | |
1749 | } | |
1750 | { | |
1751 | wxPy_BEGIN_ALLOW_THREADS; | |
1752 | wxSizer_Layout(_arg0); | |
1753 | ||
1754 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1755 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1756 | } Py_INCREF(Py_None); |
1757 | _resultobj = Py_None; | |
1758 | return _resultobj; | |
1759 | } | |
1760 | ||
1761 | #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0)) | |
1762 | static PyObject *_wrap_wxSizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1763 | PyObject * _resultobj; | |
1764 | wxSizer * _arg0; | |
1765 | wxWindow * _arg1; | |
1766 | PyObject * _argo0 = 0; | |
1767 | PyObject * _argo1 = 0; | |
1768 | char *_kwnames[] = { "self","window", NULL }; | |
1769 | ||
1770 | self = self; | |
1771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_Fit",_kwnames,&_argo0,&_argo1)) | |
1772 | return NULL; | |
1773 | if (_argo0) { | |
1774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p."); | |
1777 | return NULL; | |
1778 | } | |
1779 | } | |
1780 | if (_argo1) { | |
1781 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1782 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p."); | |
1784 | return NULL; | |
1785 | } | |
1786 | } | |
1787 | { | |
1788 | wxPy_BEGIN_ALLOW_THREADS; | |
1789 | wxSizer_Fit(_arg0,_arg1); | |
1790 | ||
1791 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1792 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1793 | } Py_INCREF(Py_None); |
1794 | _resultobj = Py_None; | |
1795 | return _resultobj; | |
1796 | } | |
1797 | ||
1798 | #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0)) | |
1799 | static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1800 | PyObject * _resultobj; | |
1801 | wxSizer * _arg0; | |
1802 | wxWindow * _arg1; | |
1803 | PyObject * _argo0 = 0; | |
1804 | PyObject * _argo1 = 0; | |
1805 | char *_kwnames[] = { "self","window", NULL }; | |
1806 | ||
1807 | self = self; | |
1808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetSizeHints",_kwnames,&_argo0,&_argo1)) | |
1809 | return NULL; | |
1810 | if (_argo0) { | |
1811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p."); | |
1814 | return NULL; | |
1815 | } | |
1816 | } | |
1817 | if (_argo1) { | |
1818 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1819 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
1820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p."); | |
1821 | return NULL; | |
1822 | } | |
1823 | } | |
1824 | { | |
1825 | wxPy_BEGIN_ALLOW_THREADS; | |
1826 | wxSizer_SetSizeHints(_arg0,_arg1); | |
1827 | ||
1828 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1829 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1830 | } Py_INCREF(Py_None); |
1831 | _resultobj = Py_None; | |
1832 | return _resultobj; | |
1833 | } | |
1834 | ||
93283355 RD |
1835 | #define wxSizer_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0)) |
1836 | static PyObject *_wrap_wxSizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1837 | PyObject * _resultobj; | |
1838 | wxSizer * _arg0; | |
1839 | bool _arg1 = (bool ) FALSE; | |
1840 | PyObject * _argo0 = 0; | |
1841 | int tempbool1 = (int) FALSE; | |
1842 | char *_kwnames[] = { "self","delete_windows", NULL }; | |
1843 | ||
1844 | self = self; | |
1845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxSizer_Clear",_kwnames,&_argo0,&tempbool1)) | |
1846 | return NULL; | |
1847 | if (_argo0) { | |
1848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Clear. Expected _wxSizer_p."); | |
1851 | return NULL; | |
1852 | } | |
1853 | } | |
1854 | _arg1 = (bool ) tempbool1; | |
1855 | { | |
1856 | wxPy_BEGIN_ALLOW_THREADS; | |
1857 | wxSizer_Clear(_arg0,_arg1); | |
1858 | ||
1859 | wxPy_END_ALLOW_THREADS; | |
1860 | if (PyErr_Occurred()) return NULL; | |
1861 | } Py_INCREF(Py_None); | |
1862 | _resultobj = Py_None; | |
1863 | return _resultobj; | |
1864 | } | |
1865 | ||
1866 | #define wxSizer_DeleteWindows(_swigobj) (_swigobj->DeleteWindows()) | |
1867 | static PyObject *_wrap_wxSizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1868 | PyObject * _resultobj; | |
1869 | wxSizer * _arg0; | |
1870 | PyObject * _argo0 = 0; | |
1871 | char *_kwnames[] = { "self", NULL }; | |
1872 | ||
1873 | self = self; | |
1874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_DeleteWindows",_kwnames,&_argo0)) | |
1875 | return NULL; | |
1876 | if (_argo0) { | |
1877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_DeleteWindows. Expected _wxSizer_p."); | |
1880 | return NULL; | |
1881 | } | |
1882 | } | |
1883 | { | |
1884 | wxPy_BEGIN_ALLOW_THREADS; | |
1885 | wxSizer_DeleteWindows(_arg0); | |
1886 | ||
1887 | wxPy_END_ALLOW_THREADS; | |
1888 | if (PyErr_Occurred()) return NULL; | |
1889 | } Py_INCREF(Py_None); | |
1890 | _resultobj = Py_None; | |
1891 | return _resultobj; | |
1892 | } | |
1893 | ||
37f6a977 RD |
1894 | static PyObject * wxSizer_GetChildren(wxSizer *self) { |
1895 | wxList& list = self->GetChildren(); | |
1896 | return wxPy_ConvertList(&list, "wxSizerItem"); | |
1897 | } | |
1898 | static PyObject *_wrap_wxSizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1899 | PyObject * _resultobj; | |
1900 | PyObject * _result; | |
1901 | wxSizer * _arg0; | |
1902 | PyObject * _argo0 = 0; | |
1903 | char *_kwnames[] = { "self", NULL }; | |
1904 | ||
1905 | self = self; | |
1906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetChildren",_kwnames,&_argo0)) | |
1907 | return NULL; | |
1908 | if (_argo0) { | |
1909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) { | |
1911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p."); | |
1912 | return NULL; | |
1913 | } | |
1914 | } | |
1915 | { | |
1916 | wxPy_BEGIN_ALLOW_THREADS; | |
1917 | _result = (PyObject *)wxSizer_GetChildren(_arg0); | |
1918 | ||
1919 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1920 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1921 | }{ |
1922 | _resultobj = _result; | |
1923 | } | |
1924 | return _resultobj; | |
1925 | } | |
1926 | ||
1927 | static void *SwigwxPySizerTowxSizer(void *ptr) { | |
1928 | wxPySizer *src; | |
1929 | wxSizer *dest; | |
1930 | src = (wxPySizer *) ptr; | |
1931 | dest = (wxSizer *) src; | |
1932 | return (void *) dest; | |
1933 | } | |
1934 | ||
9df61a29 RD |
1935 | static void *SwigwxPySizerTowxObject(void *ptr) { |
1936 | wxPySizer *src; | |
1937 | wxObject *dest; | |
1938 | src = (wxPySizer *) ptr; | |
1939 | dest = (wxObject *) src; | |
1940 | return (void *) dest; | |
1941 | } | |
1942 | ||
37f6a977 RD |
1943 | #define new_wxPySizer() (new wxPySizer()) |
1944 | static PyObject *_wrap_new_wxPySizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1945 | PyObject * _resultobj; | |
1946 | wxPySizer * _result; | |
1947 | char *_kwnames[] = { NULL }; | |
1948 | char _ptemp[128]; | |
1949 | ||
1950 | self = self; | |
1951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPySizer",_kwnames)) | |
1952 | return NULL; | |
1953 | { | |
1954 | wxPy_BEGIN_ALLOW_THREADS; | |
1955 | _result = (wxPySizer *)new_wxPySizer(); | |
1956 | ||
1957 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 1958 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
1959 | } if (_result) { |
1960 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPySizer_p"); | |
1961 | _resultobj = Py_BuildValue("s",_ptemp); | |
1962 | } else { | |
1963 | Py_INCREF(Py_None); | |
1964 | _resultobj = Py_None; | |
1965 | } | |
1966 | return _resultobj; | |
1967 | } | |
1968 | ||
0220cbc1 RD |
1969 | #define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
1970 | static PyObject *_wrap_wxPySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
37f6a977 RD |
1971 | PyObject * _resultobj; |
1972 | wxPySizer * _arg0; | |
1973 | PyObject * _arg1; | |
f6bcfd97 | 1974 | PyObject * _arg2; |
37f6a977 RD |
1975 | PyObject * _argo0 = 0; |
1976 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1977 | PyObject * _obj2 = 0; |
1978 | char *_kwnames[] = { "self","self","_class", NULL }; | |
37f6a977 RD |
1979 | |
1980 | self = self; | |
0220cbc1 | 1981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPySizer__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
37f6a977 RD |
1982 | return NULL; |
1983 | if (_argo0) { | |
1984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPySizer_p")) { | |
0220cbc1 | 1986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p."); |
37f6a977 RD |
1987 | return NULL; |
1988 | } | |
1989 | } | |
1990 | { | |
1991 | _arg1 = _obj1; | |
1992 | } | |
f6bcfd97 BP |
1993 | { |
1994 | _arg2 = _obj2; | |
1995 | } | |
37f6a977 RD |
1996 | { |
1997 | wxPy_BEGIN_ALLOW_THREADS; | |
0220cbc1 | 1998 | wxPySizer__setCallbackInfo(_arg0,_arg1,_arg2); |
37f6a977 RD |
1999 | |
2000 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2001 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
2002 | } Py_INCREF(Py_None); |
2003 | _resultobj = Py_None; | |
2004 | return _resultobj; | |
2005 | } | |
2006 | ||
2007 | static void *SwigwxBoxSizerTowxSizer(void *ptr) { | |
2008 | wxBoxSizer *src; | |
2009 | wxSizer *dest; | |
2010 | src = (wxBoxSizer *) ptr; | |
2011 | dest = (wxSizer *) src; | |
2012 | return (void *) dest; | |
2013 | } | |
2014 | ||
9df61a29 RD |
2015 | static void *SwigwxBoxSizerTowxObject(void *ptr) { |
2016 | wxBoxSizer *src; | |
2017 | wxObject *dest; | |
2018 | src = (wxBoxSizer *) ptr; | |
2019 | dest = (wxObject *) src; | |
2020 | return (void *) dest; | |
2021 | } | |
2022 | ||
37f6a977 RD |
2023 | #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0)) |
2024 | static PyObject *_wrap_new_wxBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2025 | PyObject * _resultobj; | |
2026 | wxBoxSizer * _result; | |
2027 | int _arg0 = (int ) wxHORIZONTAL; | |
2028 | char *_kwnames[] = { "orient", NULL }; | |
2029 | char _ptemp[128]; | |
2030 | ||
2031 | self = self; | |
2032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxBoxSizer",_kwnames,&_arg0)) | |
2033 | return NULL; | |
2034 | { | |
2035 | wxPy_BEGIN_ALLOW_THREADS; | |
2036 | _result = (wxBoxSizer *)new_wxBoxSizer(_arg0); | |
2037 | ||
2038 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2039 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
2040 | } if (_result) { |
2041 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBoxSizer_p"); | |
2042 | _resultobj = Py_BuildValue("s",_ptemp); | |
2043 | } else { | |
2044 | Py_INCREF(Py_None); | |
2045 | _resultobj = Py_None; | |
2046 | } | |
2047 | return _resultobj; | |
2048 | } | |
2049 | ||
2050 | #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation()) | |
2051 | static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2052 | PyObject * _resultobj; | |
2053 | int _result; | |
2054 | wxBoxSizer * _arg0; | |
2055 | PyObject * _argo0 = 0; | |
2056 | char *_kwnames[] = { "self", NULL }; | |
2057 | ||
2058 | self = self; | |
2059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_GetOrientation",_kwnames,&_argo0)) | |
2060 | return NULL; | |
2061 | if (_argo0) { | |
2062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) { | |
2064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p."); | |
2065 | return NULL; | |
2066 | } | |
2067 | } | |
2068 | { | |
2069 | wxPy_BEGIN_ALLOW_THREADS; | |
2070 | _result = (int )wxBoxSizer_GetOrientation(_arg0); | |
2071 | ||
2072 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2073 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
2074 | } _resultobj = Py_BuildValue("i",_result); |
2075 | return _resultobj; | |
2076 | } | |
2077 | ||
f6bcfd97 BP |
2078 | #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes()) |
2079 | static PyObject *_wrap_wxBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2080 | PyObject * _resultobj; | |
2081 | wxBoxSizer * _arg0; | |
2082 | PyObject * _argo0 = 0; | |
2083 | char *_kwnames[] = { "self", NULL }; | |
2084 | ||
2085 | self = self; | |
2086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_RecalcSizes",_kwnames,&_argo0)) | |
2087 | return NULL; | |
2088 | if (_argo0) { | |
2089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) { | |
2091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p."); | |
2092 | return NULL; | |
2093 | } | |
2094 | } | |
2095 | { | |
2096 | wxPy_BEGIN_ALLOW_THREADS; | |
2097 | wxBoxSizer_RecalcSizes(_arg0); | |
2098 | ||
2099 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2100 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2101 | } Py_INCREF(Py_None); |
2102 | _resultobj = Py_None; | |
2103 | return _resultobj; | |
2104 | } | |
2105 | ||
2106 | #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin()) | |
2107 | static PyObject *_wrap_wxBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2108 | PyObject * _resultobj; | |
2109 | wxSize * _result; | |
2110 | wxBoxSizer * _arg0; | |
2111 | PyObject * _argo0 = 0; | |
2112 | char *_kwnames[] = { "self", NULL }; | |
2113 | char _ptemp[128]; | |
2114 | ||
2115 | self = self; | |
2116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_CalcMin",_kwnames,&_argo0)) | |
2117 | return NULL; | |
2118 | if (_argo0) { | |
2119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) { | |
2121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p."); | |
2122 | return NULL; | |
2123 | } | |
2124 | } | |
2125 | { | |
2126 | wxPy_BEGIN_ALLOW_THREADS; | |
2127 | _result = new wxSize (wxBoxSizer_CalcMin(_arg0)); | |
2128 | ||
2129 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2130 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2131 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2132 | _resultobj = Py_BuildValue("s",_ptemp); | |
2133 | return _resultobj; | |
2134 | } | |
2135 | ||
37f6a977 RD |
2136 | static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) { |
2137 | wxStaticBoxSizer *src; | |
2138 | wxBoxSizer *dest; | |
2139 | src = (wxStaticBoxSizer *) ptr; | |
2140 | dest = (wxBoxSizer *) src; | |
2141 | return (void *) dest; | |
2142 | } | |
2143 | ||
2144 | static void *SwigwxStaticBoxSizerTowxSizer(void *ptr) { | |
2145 | wxStaticBoxSizer *src; | |
2146 | wxSizer *dest; | |
2147 | src = (wxStaticBoxSizer *) ptr; | |
2148 | dest = (wxSizer *) src; | |
2149 | return (void *) dest; | |
2150 | } | |
2151 | ||
9df61a29 RD |
2152 | static void *SwigwxStaticBoxSizerTowxObject(void *ptr) { |
2153 | wxStaticBoxSizer *src; | |
2154 | wxObject *dest; | |
2155 | src = (wxStaticBoxSizer *) ptr; | |
2156 | dest = (wxObject *) src; | |
2157 | return (void *) dest; | |
2158 | } | |
2159 | ||
37f6a977 RD |
2160 | #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1)) |
2161 | static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2162 | PyObject * _resultobj; | |
2163 | wxStaticBoxSizer * _result; | |
2164 | wxStaticBox * _arg0; | |
2165 | int _arg1 = (int ) wxHORIZONTAL; | |
2166 | PyObject * _argo0 = 0; | |
2167 | char *_kwnames[] = { "box","orient", NULL }; | |
2168 | char _ptemp[128]; | |
2169 | ||
2170 | self = self; | |
2171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxStaticBoxSizer",_kwnames,&_argo0,&_arg1)) | |
2172 | return NULL; | |
2173 | if (_argo0) { | |
2174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) { | |
2176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p."); | |
2177 | return NULL; | |
2178 | } | |
2179 | } | |
2180 | { | |
2181 | wxPy_BEGIN_ALLOW_THREADS; | |
2182 | _result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1); | |
2183 | ||
2184 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2185 | if (PyErr_Occurred()) return NULL; |
37f6a977 RD |
2186 | } if (_result) { |
2187 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBoxSizer_p"); | |
2188 | _resultobj = Py_BuildValue("s",_ptemp); | |
2189 | } else { | |
2190 | Py_INCREF(Py_None); | |
2191 | _resultobj = Py_None; | |
2192 | } | |
2193 | return _resultobj; | |
2194 | } | |
2195 | ||
2196 | #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox()) | |
2197 | static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2198 | PyObject * _resultobj; | |
2199 | wxStaticBox * _result; | |
2200 | wxStaticBoxSizer * _arg0; | |
2201 | PyObject * _argo0 = 0; | |
2202 | char *_kwnames[] = { "self", NULL }; | |
37f6a977 RD |
2203 | |
2204 | self = self; | |
2205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_GetStaticBox",_kwnames,&_argo0)) | |
2206 | return NULL; | |
2207 | if (_argo0) { | |
2208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) { | |
2210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p."); | |
2211 | return NULL; | |
2212 | } | |
2213 | } | |
2214 | { | |
2215 | wxPy_BEGIN_ALLOW_THREADS; | |
2216 | _result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0); | |
2217 | ||
2218 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2219 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 2220 | }{ _resultobj = wxPyMake_wxObject(_result); } |
37f6a977 RD |
2221 | return _resultobj; |
2222 | } | |
2223 | ||
f6bcfd97 BP |
2224 | #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes()) |
2225 | static PyObject *_wrap_wxStaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2226 | PyObject * _resultobj; | |
2227 | wxStaticBoxSizer * _arg0; | |
2228 | PyObject * _argo0 = 0; | |
2229 | char *_kwnames[] = { "self", NULL }; | |
2230 | ||
2231 | self = self; | |
2232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_RecalcSizes",_kwnames,&_argo0)) | |
2233 | return NULL; | |
2234 | if (_argo0) { | |
2235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) { | |
2237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p."); | |
2238 | return NULL; | |
2239 | } | |
2240 | } | |
2241 | { | |
2242 | wxPy_BEGIN_ALLOW_THREADS; | |
2243 | wxStaticBoxSizer_RecalcSizes(_arg0); | |
2244 | ||
2245 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2246 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2247 | } Py_INCREF(Py_None); |
2248 | _resultobj = Py_None; | |
2249 | return _resultobj; | |
2250 | } | |
2251 | ||
2252 | #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin()) | |
2253 | static PyObject *_wrap_wxStaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2254 | PyObject * _resultobj; | |
2255 | wxSize * _result; | |
2256 | wxStaticBoxSizer * _arg0; | |
2257 | PyObject * _argo0 = 0; | |
2258 | char *_kwnames[] = { "self", NULL }; | |
2259 | char _ptemp[128]; | |
2260 | ||
2261 | self = self; | |
2262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_CalcMin",_kwnames,&_argo0)) | |
2263 | return NULL; | |
2264 | if (_argo0) { | |
2265 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2266 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) { | |
2267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p."); | |
2268 | return NULL; | |
2269 | } | |
2270 | } | |
2271 | { | |
2272 | wxPy_BEGIN_ALLOW_THREADS; | |
2273 | _result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0)); | |
2274 | ||
2275 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2276 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2277 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2278 | _resultobj = Py_BuildValue("s",_ptemp); | |
2279 | return _resultobj; | |
2280 | } | |
2281 | ||
2282 | static void *SwigwxNotebookSizerTowxSizer(void *ptr) { | |
2283 | wxNotebookSizer *src; | |
2284 | wxSizer *dest; | |
2285 | src = (wxNotebookSizer *) ptr; | |
2286 | dest = (wxSizer *) src; | |
2287 | return (void *) dest; | |
2288 | } | |
2289 | ||
9df61a29 RD |
2290 | static void *SwigwxNotebookSizerTowxObject(void *ptr) { |
2291 | wxNotebookSizer *src; | |
2292 | wxObject *dest; | |
2293 | src = (wxNotebookSizer *) ptr; | |
2294 | dest = (wxObject *) src; | |
2295 | return (void *) dest; | |
2296 | } | |
2297 | ||
f6bcfd97 BP |
2298 | #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0)) |
2299 | static PyObject *_wrap_new_wxNotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2300 | PyObject * _resultobj; | |
2301 | wxNotebookSizer * _result; | |
2302 | wxNotebook * _arg0; | |
2303 | PyObject * _argo0 = 0; | |
2304 | char *_kwnames[] = { "nb", NULL }; | |
2305 | char _ptemp[128]; | |
2306 | ||
2307 | self = self; | |
2308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxNotebookSizer",_kwnames,&_argo0)) | |
2309 | return NULL; | |
2310 | if (_argo0) { | |
2311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) { | |
2313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p."); | |
2314 | return NULL; | |
2315 | } | |
2316 | } | |
2317 | { | |
2318 | wxPy_BEGIN_ALLOW_THREADS; | |
2319 | _result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0); | |
2320 | ||
2321 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2322 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2323 | } if (_result) { |
2324 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookSizer_p"); | |
2325 | _resultobj = Py_BuildValue("s",_ptemp); | |
2326 | } else { | |
2327 | Py_INCREF(Py_None); | |
2328 | _resultobj = Py_None; | |
2329 | } | |
2330 | return _resultobj; | |
2331 | } | |
2332 | ||
2333 | #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes()) | |
2334 | static PyObject *_wrap_wxNotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2335 | PyObject * _resultobj; | |
2336 | wxNotebookSizer * _arg0; | |
2337 | PyObject * _argo0 = 0; | |
2338 | char *_kwnames[] = { "self", NULL }; | |
2339 | ||
2340 | self = self; | |
2341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_RecalcSizes",_kwnames,&_argo0)) | |
2342 | return NULL; | |
2343 | if (_argo0) { | |
2344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) { | |
2346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p."); | |
2347 | return NULL; | |
2348 | } | |
2349 | } | |
2350 | { | |
2351 | wxPy_BEGIN_ALLOW_THREADS; | |
2352 | wxNotebookSizer_RecalcSizes(_arg0); | |
2353 | ||
2354 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2355 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2356 | } Py_INCREF(Py_None); |
2357 | _resultobj = Py_None; | |
2358 | return _resultobj; | |
2359 | } | |
2360 | ||
2361 | #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin()) | |
2362 | static PyObject *_wrap_wxNotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2363 | PyObject * _resultobj; | |
2364 | wxSize * _result; | |
2365 | wxNotebookSizer * _arg0; | |
2366 | PyObject * _argo0 = 0; | |
2367 | char *_kwnames[] = { "self", NULL }; | |
2368 | char _ptemp[128]; | |
2369 | ||
2370 | self = self; | |
2371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_CalcMin",_kwnames,&_argo0)) | |
2372 | return NULL; | |
2373 | if (_argo0) { | |
2374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) { | |
2376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p."); | |
2377 | return NULL; | |
2378 | } | |
2379 | } | |
2380 | { | |
2381 | wxPy_BEGIN_ALLOW_THREADS; | |
2382 | _result = new wxSize (wxNotebookSizer_CalcMin(_arg0)); | |
2383 | ||
2384 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2385 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2386 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2387 | _resultobj = Py_BuildValue("s",_ptemp); | |
2388 | return _resultobj; | |
2389 | } | |
2390 | ||
2391 | #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook()) | |
2392 | static PyObject *_wrap_wxNotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2393 | PyObject * _resultobj; | |
2394 | wxNotebook * _result; | |
2395 | wxNotebookSizer * _arg0; | |
2396 | PyObject * _argo0 = 0; | |
2397 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
2398 | |
2399 | self = self; | |
2400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_GetNotebook",_kwnames,&_argo0)) | |
2401 | return NULL; | |
2402 | if (_argo0) { | |
2403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) { | |
2405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p."); | |
2406 | return NULL; | |
2407 | } | |
2408 | } | |
2409 | { | |
2410 | wxPy_BEGIN_ALLOW_THREADS; | |
2411 | _result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0); | |
2412 | ||
2413 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2414 | if (PyErr_Occurred()) return NULL; |
9df61a29 | 2415 | }{ _resultobj = wxPyMake_wxObject(_result); } |
f6bcfd97 BP |
2416 | return _resultobj; |
2417 | } | |
2418 | ||
2419 | static void *SwigwxGridSizerTowxSizer(void *ptr) { | |
2420 | wxGridSizer *src; | |
2421 | wxSizer *dest; | |
2422 | src = (wxGridSizer *) ptr; | |
2423 | dest = (wxSizer *) src; | |
2424 | return (void *) dest; | |
2425 | } | |
2426 | ||
9df61a29 RD |
2427 | static void *SwigwxGridSizerTowxObject(void *ptr) { |
2428 | wxGridSizer *src; | |
2429 | wxObject *dest; | |
2430 | src = (wxGridSizer *) ptr; | |
2431 | dest = (wxObject *) src; | |
2432 | return (void *) dest; | |
2433 | } | |
2434 | ||
f6bcfd97 BP |
2435 | #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
2436 | static PyObject *_wrap_new_wxGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2437 | PyObject * _resultobj; | |
2438 | wxGridSizer * _result; | |
2439 | int _arg0 = (int ) 1; | |
2440 | int _arg1 = (int ) 0; | |
2441 | int _arg2 = (int ) 0; | |
2442 | int _arg3 = (int ) 0; | |
2443 | char *_kwnames[] = { "rows","cols","vgap","hgap", NULL }; | |
2444 | char _ptemp[128]; | |
2445 | ||
2446 | self = self; | |
2447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) | |
2448 | return NULL; | |
2449 | { | |
2450 | wxPy_BEGIN_ALLOW_THREADS; | |
2451 | _result = (wxGridSizer *)new_wxGridSizer(_arg0,_arg1,_arg2,_arg3); | |
2452 | ||
2453 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2454 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2455 | } if (_result) { |
2456 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizer_p"); | |
2457 | _resultobj = Py_BuildValue("s",_ptemp); | |
2458 | } else { | |
2459 | Py_INCREF(Py_None); | |
2460 | _resultobj = Py_None; | |
2461 | } | |
2462 | return _resultobj; | |
2463 | } | |
2464 | ||
2465 | #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes()) | |
2466 | static PyObject *_wrap_wxGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2467 | PyObject * _resultobj; | |
2468 | wxGridSizer * _arg0; | |
2469 | PyObject * _argo0 = 0; | |
2470 | char *_kwnames[] = { "self", NULL }; | |
2471 | ||
2472 | self = self; | |
2473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_RecalcSizes",_kwnames,&_argo0)) | |
2474 | return NULL; | |
2475 | if (_argo0) { | |
2476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p."); | |
2479 | return NULL; | |
2480 | } | |
2481 | } | |
2482 | { | |
2483 | wxPy_BEGIN_ALLOW_THREADS; | |
2484 | wxGridSizer_RecalcSizes(_arg0); | |
2485 | ||
2486 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2487 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2488 | } Py_INCREF(Py_None); |
2489 | _resultobj = Py_None; | |
2490 | return _resultobj; | |
2491 | } | |
2492 | ||
2493 | #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin()) | |
2494 | static PyObject *_wrap_wxGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2495 | PyObject * _resultobj; | |
2496 | wxSize * _result; | |
2497 | wxGridSizer * _arg0; | |
2498 | PyObject * _argo0 = 0; | |
2499 | char *_kwnames[] = { "self", NULL }; | |
2500 | char _ptemp[128]; | |
2501 | ||
2502 | self = self; | |
2503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_CalcMin",_kwnames,&_argo0)) | |
2504 | return NULL; | |
2505 | if (_argo0) { | |
2506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p."); | |
2509 | return NULL; | |
2510 | } | |
2511 | } | |
2512 | { | |
2513 | wxPy_BEGIN_ALLOW_THREADS; | |
2514 | _result = new wxSize (wxGridSizer_CalcMin(_arg0)); | |
2515 | ||
2516 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2517 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2518 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2519 | _resultobj = Py_BuildValue("s",_ptemp); | |
2520 | return _resultobj; | |
2521 | } | |
2522 | ||
2523 | #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0)) | |
2524 | static PyObject *_wrap_wxGridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2525 | PyObject * _resultobj; | |
2526 | wxGridSizer * _arg0; | |
2527 | int _arg1; | |
2528 | PyObject * _argo0 = 0; | |
2529 | char *_kwnames[] = { "self","cols", NULL }; | |
2530 | ||
2531 | self = self; | |
2532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetCols",_kwnames,&_argo0,&_arg1)) | |
2533 | return NULL; | |
2534 | if (_argo0) { | |
2535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p."); | |
2538 | return NULL; | |
2539 | } | |
2540 | } | |
2541 | { | |
2542 | wxPy_BEGIN_ALLOW_THREADS; | |
2543 | wxGridSizer_SetCols(_arg0,_arg1); | |
2544 | ||
2545 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2546 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2547 | } Py_INCREF(Py_None); |
2548 | _resultobj = Py_None; | |
2549 | return _resultobj; | |
2550 | } | |
2551 | ||
2552 | #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0)) | |
2553 | static PyObject *_wrap_wxGridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2554 | PyObject * _resultobj; | |
2555 | wxGridSizer * _arg0; | |
2556 | int _arg1; | |
2557 | PyObject * _argo0 = 0; | |
2558 | char *_kwnames[] = { "self","rows", NULL }; | |
2559 | ||
2560 | self = self; | |
2561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetRows",_kwnames,&_argo0,&_arg1)) | |
2562 | return NULL; | |
2563 | if (_argo0) { | |
2564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p."); | |
2567 | return NULL; | |
2568 | } | |
2569 | } | |
2570 | { | |
2571 | wxPy_BEGIN_ALLOW_THREADS; | |
2572 | wxGridSizer_SetRows(_arg0,_arg1); | |
2573 | ||
2574 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2575 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2576 | } Py_INCREF(Py_None); |
2577 | _resultobj = Py_None; | |
2578 | return _resultobj; | |
2579 | } | |
2580 | ||
2581 | #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0)) | |
2582 | static PyObject *_wrap_wxGridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2583 | PyObject * _resultobj; | |
2584 | wxGridSizer * _arg0; | |
2585 | int _arg1; | |
2586 | PyObject * _argo0 = 0; | |
2587 | char *_kwnames[] = { "self","gap", NULL }; | |
2588 | ||
2589 | self = self; | |
2590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetVGap",_kwnames,&_argo0,&_arg1)) | |
2591 | return NULL; | |
2592 | if (_argo0) { | |
2593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p."); | |
2596 | return NULL; | |
2597 | } | |
2598 | } | |
2599 | { | |
2600 | wxPy_BEGIN_ALLOW_THREADS; | |
2601 | wxGridSizer_SetVGap(_arg0,_arg1); | |
2602 | ||
2603 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2604 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2605 | } Py_INCREF(Py_None); |
2606 | _resultobj = Py_None; | |
2607 | return _resultobj; | |
2608 | } | |
2609 | ||
2610 | #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0)) | |
2611 | static PyObject *_wrap_wxGridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2612 | PyObject * _resultobj; | |
2613 | wxGridSizer * _arg0; | |
2614 | int _arg1; | |
2615 | PyObject * _argo0 = 0; | |
2616 | char *_kwnames[] = { "self","gap", NULL }; | |
2617 | ||
2618 | self = self; | |
2619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetHGap",_kwnames,&_argo0,&_arg1)) | |
2620 | return NULL; | |
2621 | if (_argo0) { | |
2622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p."); | |
2625 | return NULL; | |
2626 | } | |
2627 | } | |
2628 | { | |
2629 | wxPy_BEGIN_ALLOW_THREADS; | |
2630 | wxGridSizer_SetHGap(_arg0,_arg1); | |
2631 | ||
2632 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2633 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2634 | } Py_INCREF(Py_None); |
2635 | _resultobj = Py_None; | |
2636 | return _resultobj; | |
2637 | } | |
2638 | ||
2639 | #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols()) | |
2640 | static PyObject *_wrap_wxGridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2641 | PyObject * _resultobj; | |
2642 | int _result; | |
2643 | wxGridSizer * _arg0; | |
2644 | PyObject * _argo0 = 0; | |
2645 | char *_kwnames[] = { "self", NULL }; | |
2646 | ||
2647 | self = self; | |
2648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetCols",_kwnames,&_argo0)) | |
2649 | return NULL; | |
2650 | if (_argo0) { | |
2651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p."); | |
2654 | return NULL; | |
2655 | } | |
2656 | } | |
2657 | { | |
2658 | wxPy_BEGIN_ALLOW_THREADS; | |
2659 | _result = (int )wxGridSizer_GetCols(_arg0); | |
2660 | ||
2661 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2662 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2663 | } _resultobj = Py_BuildValue("i",_result); |
2664 | return _resultobj; | |
2665 | } | |
2666 | ||
2667 | #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows()) | |
2668 | static PyObject *_wrap_wxGridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2669 | PyObject * _resultobj; | |
2670 | int _result; | |
2671 | wxGridSizer * _arg0; | |
2672 | PyObject * _argo0 = 0; | |
2673 | char *_kwnames[] = { "self", NULL }; | |
2674 | ||
2675 | self = self; | |
2676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetRows",_kwnames,&_argo0)) | |
2677 | return NULL; | |
2678 | if (_argo0) { | |
2679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p."); | |
2682 | return NULL; | |
2683 | } | |
2684 | } | |
2685 | { | |
2686 | wxPy_BEGIN_ALLOW_THREADS; | |
2687 | _result = (int )wxGridSizer_GetRows(_arg0); | |
2688 | ||
2689 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2690 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2691 | } _resultobj = Py_BuildValue("i",_result); |
2692 | return _resultobj; | |
2693 | } | |
2694 | ||
2695 | #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap()) | |
2696 | static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2697 | PyObject * _resultobj; | |
2698 | int _result; | |
2699 | wxGridSizer * _arg0; | |
2700 | PyObject * _argo0 = 0; | |
2701 | char *_kwnames[] = { "self", NULL }; | |
2702 | ||
2703 | self = self; | |
2704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetVGap",_kwnames,&_argo0)) | |
2705 | return NULL; | |
2706 | if (_argo0) { | |
2707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p."); | |
2710 | return NULL; | |
2711 | } | |
2712 | } | |
2713 | { | |
2714 | wxPy_BEGIN_ALLOW_THREADS; | |
2715 | _result = (int )wxGridSizer_GetVGap(_arg0); | |
2716 | ||
2717 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2718 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2719 | } _resultobj = Py_BuildValue("i",_result); |
2720 | return _resultobj; | |
2721 | } | |
2722 | ||
2723 | #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap()) | |
2724 | static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2725 | PyObject * _resultobj; | |
2726 | int _result; | |
2727 | wxGridSizer * _arg0; | |
2728 | PyObject * _argo0 = 0; | |
2729 | char *_kwnames[] = { "self", NULL }; | |
2730 | ||
2731 | self = self; | |
2732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetHGap",_kwnames,&_argo0)) | |
2733 | return NULL; | |
2734 | if (_argo0) { | |
2735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) { | |
2737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p."); | |
2738 | return NULL; | |
2739 | } | |
2740 | } | |
2741 | { | |
2742 | wxPy_BEGIN_ALLOW_THREADS; | |
2743 | _result = (int )wxGridSizer_GetHGap(_arg0); | |
2744 | ||
2745 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2746 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2747 | } _resultobj = Py_BuildValue("i",_result); |
2748 | return _resultobj; | |
2749 | } | |
2750 | ||
2751 | static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr) { | |
2752 | wxFlexGridSizer *src; | |
2753 | wxGridSizer *dest; | |
2754 | src = (wxFlexGridSizer *) ptr; | |
2755 | dest = (wxGridSizer *) src; | |
2756 | return (void *) dest; | |
2757 | } | |
2758 | ||
2759 | static void *SwigwxFlexGridSizerTowxSizer(void *ptr) { | |
2760 | wxFlexGridSizer *src; | |
2761 | wxSizer *dest; | |
2762 | src = (wxFlexGridSizer *) ptr; | |
2763 | dest = (wxSizer *) src; | |
2764 | return (void *) dest; | |
2765 | } | |
2766 | ||
9df61a29 RD |
2767 | static void *SwigwxFlexGridSizerTowxObject(void *ptr) { |
2768 | wxFlexGridSizer *src; | |
2769 | wxObject *dest; | |
2770 | src = (wxFlexGridSizer *) ptr; | |
2771 | dest = (wxObject *) src; | |
2772 | return (void *) dest; | |
2773 | } | |
2774 | ||
f6bcfd97 BP |
2775 | #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
2776 | static PyObject *_wrap_new_wxFlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2777 | PyObject * _resultobj; | |
2778 | wxFlexGridSizer * _result; | |
2779 | int _arg0 = (int ) 1; | |
2780 | int _arg1 = (int ) 0; | |
2781 | int _arg2 = (int ) 0; | |
2782 | int _arg3 = (int ) 0; | |
2783 | char *_kwnames[] = { "rows","cols","vgap","hgap", NULL }; | |
2784 | char _ptemp[128]; | |
2785 | ||
2786 | self = self; | |
2787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxFlexGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3)) | |
2788 | return NULL; | |
2789 | { | |
2790 | wxPy_BEGIN_ALLOW_THREADS; | |
2791 | _result = (wxFlexGridSizer *)new_wxFlexGridSizer(_arg0,_arg1,_arg2,_arg3); | |
2792 | ||
2793 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2794 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2795 | } if (_result) { |
2796 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFlexGridSizer_p"); | |
2797 | _resultobj = Py_BuildValue("s",_ptemp); | |
2798 | } else { | |
2799 | Py_INCREF(Py_None); | |
2800 | _resultobj = Py_None; | |
2801 | } | |
2802 | return _resultobj; | |
2803 | } | |
2804 | ||
2805 | #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes()) | |
2806 | static PyObject *_wrap_wxFlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2807 | PyObject * _resultobj; | |
2808 | wxFlexGridSizer * _arg0; | |
2809 | PyObject * _argo0 = 0; | |
2810 | char *_kwnames[] = { "self", NULL }; | |
2811 | ||
2812 | self = self; | |
2813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_RecalcSizes",_kwnames,&_argo0)) | |
2814 | return NULL; | |
2815 | if (_argo0) { | |
2816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) { | |
2818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p."); | |
2819 | return NULL; | |
2820 | } | |
2821 | } | |
2822 | { | |
2823 | wxPy_BEGIN_ALLOW_THREADS; | |
2824 | wxFlexGridSizer_RecalcSizes(_arg0); | |
2825 | ||
2826 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2827 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2828 | } Py_INCREF(Py_None); |
2829 | _resultobj = Py_None; | |
2830 | return _resultobj; | |
2831 | } | |
2832 | ||
2833 | #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin()) | |
2834 | static PyObject *_wrap_wxFlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2835 | PyObject * _resultobj; | |
2836 | wxSize * _result; | |
2837 | wxFlexGridSizer * _arg0; | |
2838 | PyObject * _argo0 = 0; | |
2839 | char *_kwnames[] = { "self", NULL }; | |
2840 | char _ptemp[128]; | |
2841 | ||
2842 | self = self; | |
2843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_CalcMin",_kwnames,&_argo0)) | |
2844 | return NULL; | |
2845 | if (_argo0) { | |
2846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) { | |
2848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p."); | |
2849 | return NULL; | |
2850 | } | |
2851 | } | |
2852 | { | |
2853 | wxPy_BEGIN_ALLOW_THREADS; | |
2854 | _result = new wxSize (wxFlexGridSizer_CalcMin(_arg0)); | |
2855 | ||
2856 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2857 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2858 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2859 | _resultobj = Py_BuildValue("s",_ptemp); | |
2860 | return _resultobj; | |
2861 | } | |
2862 | ||
2863 | #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0)) | |
2864 | static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2865 | PyObject * _resultobj; | |
2866 | wxFlexGridSizer * _arg0; | |
2867 | size_t _arg1; | |
2868 | PyObject * _argo0 = 0; | |
2869 | char *_kwnames[] = { "self","idx", NULL }; | |
2870 | ||
2871 | self = self; | |
2872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames,&_argo0,&_arg1)) | |
2873 | return NULL; | |
2874 | if (_argo0) { | |
2875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) { | |
2877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p."); | |
2878 | return NULL; | |
2879 | } | |
2880 | } | |
2881 | { | |
2882 | wxPy_BEGIN_ALLOW_THREADS; | |
2883 | wxFlexGridSizer_AddGrowableRow(_arg0,_arg1); | |
2884 | ||
2885 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2886 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2887 | } Py_INCREF(Py_None); |
2888 | _resultobj = Py_None; | |
2889 | return _resultobj; | |
2890 | } | |
2891 | ||
2892 | #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0)) | |
2893 | static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2894 | PyObject * _resultobj; | |
2895 | wxFlexGridSizer * _arg0; | |
2896 | size_t _arg1; | |
2897 | PyObject * _argo0 = 0; | |
2898 | char *_kwnames[] = { "self","idx", NULL }; | |
2899 | ||
2900 | self = self; | |
2901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames,&_argo0,&_arg1)) | |
2902 | return NULL; | |
2903 | if (_argo0) { | |
2904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) { | |
2906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p."); | |
2907 | return NULL; | |
2908 | } | |
2909 | } | |
2910 | { | |
2911 | wxPy_BEGIN_ALLOW_THREADS; | |
2912 | wxFlexGridSizer_RemoveGrowableRow(_arg0,_arg1); | |
2913 | ||
2914 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2915 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2916 | } Py_INCREF(Py_None); |
2917 | _resultobj = Py_None; | |
2918 | return _resultobj; | |
2919 | } | |
2920 | ||
2921 | #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0)) | |
2922 | static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2923 | PyObject * _resultobj; | |
2924 | wxFlexGridSizer * _arg0; | |
2925 | size_t _arg1; | |
2926 | PyObject * _argo0 = 0; | |
2927 | char *_kwnames[] = { "self","idx", NULL }; | |
2928 | ||
2929 | self = self; | |
2930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames,&_argo0,&_arg1)) | |
2931 | return NULL; | |
2932 | if (_argo0) { | |
2933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) { | |
2935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p."); | |
2936 | return NULL; | |
2937 | } | |
2938 | } | |
2939 | { | |
2940 | wxPy_BEGIN_ALLOW_THREADS; | |
2941 | wxFlexGridSizer_AddGrowableCol(_arg0,_arg1); | |
2942 | ||
2943 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2944 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2945 | } Py_INCREF(Py_None); |
2946 | _resultobj = Py_None; | |
2947 | return _resultobj; | |
2948 | } | |
2949 | ||
2950 | #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0)) | |
2951 | static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2952 | PyObject * _resultobj; | |
2953 | wxFlexGridSizer * _arg0; | |
2954 | size_t _arg1; | |
2955 | PyObject * _argo0 = 0; | |
2956 | char *_kwnames[] = { "self","idx", NULL }; | |
2957 | ||
2958 | self = self; | |
2959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames,&_argo0,&_arg1)) | |
2960 | return NULL; | |
2961 | if (_argo0) { | |
2962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) { | |
2964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p."); | |
2965 | return NULL; | |
2966 | } | |
2967 | } | |
2968 | { | |
2969 | wxPy_BEGIN_ALLOW_THREADS; | |
2970 | wxFlexGridSizer_RemoveGrowableCol(_arg0,_arg1); | |
2971 | ||
2972 | wxPy_END_ALLOW_THREADS; | |
4dfaa61e | 2973 | if (PyErr_Occurred()) return NULL; |
f6bcfd97 BP |
2974 | } Py_INCREF(Py_None); |
2975 | _resultobj = Py_None; | |
2976 | return _resultobj; | |
2977 | } | |
2978 | ||
37f6a977 | 2979 | static PyMethodDef sizerscMethods[] = { |
f6bcfd97 BP |
2980 | { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS }, |
2981 | { "wxFlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS }, | |
2982 | { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS }, | |
2983 | { "wxFlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS }, | |
2984 | { "wxFlexGridSizer_CalcMin", (PyCFunction) _wrap_wxFlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS }, | |
2985 | { "wxFlexGridSizer_RecalcSizes", (PyCFunction) _wrap_wxFlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS }, | |
2986 | { "new_wxFlexGridSizer", (PyCFunction) _wrap_new_wxFlexGridSizer, METH_VARARGS | METH_KEYWORDS }, | |
2987 | { "wxGridSizer_GetHGap", (PyCFunction) _wrap_wxGridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS }, | |
2988 | { "wxGridSizer_GetVGap", (PyCFunction) _wrap_wxGridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS }, | |
2989 | { "wxGridSizer_GetRows", (PyCFunction) _wrap_wxGridSizer_GetRows, METH_VARARGS | METH_KEYWORDS }, | |
2990 | { "wxGridSizer_GetCols", (PyCFunction) _wrap_wxGridSizer_GetCols, METH_VARARGS | METH_KEYWORDS }, | |
2991 | { "wxGridSizer_SetHGap", (PyCFunction) _wrap_wxGridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS }, | |
2992 | { "wxGridSizer_SetVGap", (PyCFunction) _wrap_wxGridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS }, | |
2993 | { "wxGridSizer_SetRows", (PyCFunction) _wrap_wxGridSizer_SetRows, METH_VARARGS | METH_KEYWORDS }, | |
2994 | { "wxGridSizer_SetCols", (PyCFunction) _wrap_wxGridSizer_SetCols, METH_VARARGS | METH_KEYWORDS }, | |
2995 | { "wxGridSizer_CalcMin", (PyCFunction) _wrap_wxGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS }, | |
2996 | { "wxGridSizer_RecalcSizes", (PyCFunction) _wrap_wxGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS }, | |
2997 | { "new_wxGridSizer", (PyCFunction) _wrap_new_wxGridSizer, METH_VARARGS | METH_KEYWORDS }, | |
2998 | { "wxNotebookSizer_GetNotebook", (PyCFunction) _wrap_wxNotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS }, | |
2999 | { "wxNotebookSizer_CalcMin", (PyCFunction) _wrap_wxNotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS }, | |
3000 | { "wxNotebookSizer_RecalcSizes", (PyCFunction) _wrap_wxNotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS }, | |
3001 | { "new_wxNotebookSizer", (PyCFunction) _wrap_new_wxNotebookSizer, METH_VARARGS | METH_KEYWORDS }, | |
3002 | { "wxStaticBoxSizer_CalcMin", (PyCFunction) _wrap_wxStaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS }, | |
3003 | { "wxStaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxStaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3004 | { "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS }, |
3005 | { "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
3006 | { "wxBoxSizer_CalcMin", (PyCFunction) _wrap_wxBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS }, |
3007 | { "wxBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3008 | { "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS }, |
3009 | { "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS }, | |
0220cbc1 | 3010 | { "wxPySizer__setCallbackInfo", (PyCFunction) _wrap_wxPySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
37f6a977 RD |
3011 | { "new_wxPySizer", (PyCFunction) _wrap_new_wxPySizer, METH_VARARGS | METH_KEYWORDS }, |
3012 | { "wxSizer_GetChildren", (PyCFunction) _wrap_wxSizer_GetChildren, METH_VARARGS | METH_KEYWORDS }, | |
93283355 RD |
3013 | { "wxSizer_DeleteWindows", (PyCFunction) _wrap_wxSizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS }, |
3014 | { "wxSizer_Clear", (PyCFunction) _wrap_wxSizer_Clear, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3015 | { "wxSizer_SetSizeHints", (PyCFunction) _wrap_wxSizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS }, |
3016 | { "wxSizer_Fit", (PyCFunction) _wrap_wxSizer_Fit, METH_VARARGS | METH_KEYWORDS }, | |
3017 | { "wxSizer_Layout", (PyCFunction) _wrap_wxSizer_Layout, METH_VARARGS | METH_KEYWORDS }, | |
3018 | { "wxSizer_GetMinSize", (PyCFunction) _wrap_wxSizer_GetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
3019 | { "wxSizer_GetPosition", (PyCFunction) _wrap_wxSizer_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
3020 | { "wxSizer_GetSize", (PyCFunction) _wrap_wxSizer_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
3021 | { "wxSizer_SetItemMinSizePos", (PyCFunction) _wrap_wxSizer_SetItemMinSizePos, METH_VARARGS | METH_KEYWORDS }, |
3022 | { "wxSizer_SetItemMinSizeSizer", (PyCFunction) _wrap_wxSizer_SetItemMinSizeSizer, METH_VARARGS | METH_KEYWORDS }, | |
3023 | { "wxSizer_SetItemMinSizeWindow", (PyCFunction) _wrap_wxSizer_SetItemMinSizeWindow, METH_VARARGS | METH_KEYWORDS }, | |
3024 | { "wxSizer_SetMinSize", (PyCFunction) _wrap_wxSizer_SetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3025 | { "wxSizer_SetDimension", (PyCFunction) _wrap_wxSizer_SetDimension, METH_VARARGS | METH_KEYWORDS }, |
3026 | { "wxSizer_RemovePos", (PyCFunction) _wrap_wxSizer_RemovePos, METH_VARARGS | METH_KEYWORDS }, | |
3027 | { "wxSizer_RemoveSizer", (PyCFunction) _wrap_wxSizer_RemoveSizer, METH_VARARGS | METH_KEYWORDS }, | |
3028 | { "wxSizer_RemoveWindow", (PyCFunction) _wrap_wxSizer_RemoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
3029 | { "wxSizer_PrependSpacer", (PyCFunction) _wrap_wxSizer_PrependSpacer, METH_VARARGS | METH_KEYWORDS }, | |
3030 | { "wxSizer_PrependSizer", (PyCFunction) _wrap_wxSizer_PrependSizer, METH_VARARGS | METH_KEYWORDS }, | |
3031 | { "wxSizer_PrependWindow", (PyCFunction) _wrap_wxSizer_PrependWindow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
3032 | { "wxSizer_InsertSpacer", (PyCFunction) _wrap_wxSizer_InsertSpacer, METH_VARARGS | METH_KEYWORDS }, |
3033 | { "wxSizer_InsertSizer", (PyCFunction) _wrap_wxSizer_InsertSizer, METH_VARARGS | METH_KEYWORDS }, | |
3034 | { "wxSizer_InsertWindow", (PyCFunction) _wrap_wxSizer_InsertWindow, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3035 | { "wxSizer_AddSpacer", (PyCFunction) _wrap_wxSizer_AddSpacer, METH_VARARGS | METH_KEYWORDS }, |
3036 | { "wxSizer_AddSizer", (PyCFunction) _wrap_wxSizer_AddSizer, METH_VARARGS | METH_KEYWORDS }, | |
3037 | { "wxSizer_AddWindow", (PyCFunction) _wrap_wxSizer_AddWindow, METH_VARARGS | METH_KEYWORDS }, | |
3038 | { "wxSizer_Destroy", (PyCFunction) _wrap_wxSizer_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
17c0e08c | 3039 | { "wxSizer__setOORInfo", (PyCFunction) _wrap_wxSizer__setOORInfo, METH_VARARGS | METH_KEYWORDS }, |
37f6a977 | 3040 | { "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS }, |
ab2208b5 RD |
3041 | { "wxSizerItem_SetBorder", (PyCFunction) _wrap_wxSizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS }, |
3042 | { "wxSizerItem_SetFlag", (PyCFunction) _wrap_wxSizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS }, | |
3043 | { "wxSizerItem_SetOption", (PyCFunction) _wrap_wxSizerItem_SetOption, METH_VARARGS | METH_KEYWORDS }, | |
3044 | { "wxSizerItem_SetInitSize", (PyCFunction) _wrap_wxSizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3045 | { "wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS }, |
3046 | { "wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS }, | |
3047 | { "wxSizerItem_GetOption", (PyCFunction) _wrap_wxSizerItem_GetOption, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 3048 | { "wxSizerItem_SetSizer", (PyCFunction) _wrap_wxSizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS }, |
37f6a977 | 3049 | { "wxSizerItem_GetSizer", (PyCFunction) _wrap_wxSizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 3050 | { "wxSizerItem_SetWindow", (PyCFunction) _wrap_wxSizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS }, |
37f6a977 RD |
3051 | { "wxSizerItem_GetWindow", (PyCFunction) _wrap_wxSizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS }, |
3052 | { "wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS }, | |
3053 | { "wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS }, | |
3054 | { "wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
3055 | { "wxSizerItem_GetRatio", (PyCFunction) _wrap_wxSizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS }, |
3056 | { "wxSizerItem_SetRatio", (PyCFunction) _wrap_wxSizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS }, | |
3057 | { "wxSizerItem_SetRatioSize", (PyCFunction) _wrap_wxSizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS }, | |
3058 | { "wxSizerItem_SetRatioWH", (PyCFunction) _wrap_wxSizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS }, | |
37f6a977 RD |
3059 | { "wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS }, |
3060 | { "wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS }, | |
3061 | { "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
aa2a5b86 | 3062 | { "wxSizerItem_GetPosition", (PyCFunction) _wrap_wxSizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS }, |
93283355 | 3063 | { "wxSizerItem_DeleteWindows", (PyCFunction) _wrap_wxSizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS }, |
37f6a977 RD |
3064 | { NULL, NULL } |
3065 | }; | |
3066 | #ifdef __cplusplus | |
3067 | } | |
3068 | #endif | |
3069 | /* | |
3070 | * This table is used by the pointer type-checker | |
3071 | */ | |
3072 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
37f6a977 | 3073 | { "_signed_long","_long",0}, |
4120ef2b | 3074 | { "_wxPrintQuality","_wxCoord",0}, |
37f6a977 RD |
3075 | { "_wxPrintQuality","_int",0}, |
3076 | { "_wxPrintQuality","_signed_int",0}, | |
3077 | { "_wxPrintQuality","_unsigned_int",0}, | |
3078 | { "_wxPrintQuality","_wxWindowID",0}, | |
3079 | { "_wxPrintQuality","_uint",0}, | |
3080 | { "_wxPrintQuality","_EBool",0}, | |
3081 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 3082 | { "_wxPrintQuality","_time_t",0}, |
37f6a977 | 3083 | { "_byte","_unsigned_char",0}, |
37f6a977 RD |
3084 | { "_long","_unsigned_long",0}, |
3085 | { "_long","_signed_long",0}, | |
f6bcfd97 | 3086 | { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer}, |
4120ef2b | 3087 | { "_size_t","_wxCoord",0}, |
37f6a977 | 3088 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 3089 | { "_size_t","_time_t",0}, |
37f6a977 RD |
3090 | { "_size_t","_unsigned_int",0}, |
3091 | { "_size_t","_int",0}, | |
3092 | { "_size_t","_wxWindowID",0}, | |
3093 | { "_size_t","_uint",0}, | |
4120ef2b | 3094 | { "_uint","_wxCoord",0}, |
37f6a977 | 3095 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 3096 | { "_uint","_time_t",0}, |
37f6a977 RD |
3097 | { "_uint","_size_t",0}, |
3098 | { "_uint","_unsigned_int",0}, | |
3099 | { "_uint","_int",0}, | |
3100 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 3101 | { "_wxChar","_char",0}, |
37f6a977 | 3102 | { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer}, |
f6bcfd97 | 3103 | { "_char","_wxChar",0}, |
32c988a3 | 3104 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
4120ef2b | 3105 | { "_EBool","_wxCoord",0}, |
37f6a977 RD |
3106 | { "_EBool","_wxPrintQuality",0}, |
3107 | { "_EBool","_signed_int",0}, | |
3108 | { "_EBool","_int",0}, | |
3109 | { "_EBool","_wxWindowID",0}, | |
37f6a977 | 3110 | { "_unsigned_long","_long",0}, |
32c988a3 | 3111 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
4120ef2b | 3112 | { "_signed_int","_wxCoord",0}, |
37f6a977 RD |
3113 | { "_signed_int","_wxPrintQuality",0}, |
3114 | { "_signed_int","_EBool",0}, | |
3115 | { "_signed_int","_wxWindowID",0}, | |
3116 | { "_signed_int","_int",0}, | |
37f6a977 RD |
3117 | { "_WXTYPE","_short",0}, |
3118 | { "_WXTYPE","_signed_short",0}, | |
3119 | { "_WXTYPE","_unsigned_short",0}, | |
37f6a977 RD |
3120 | { "_unsigned_short","_WXTYPE",0}, |
3121 | { "_unsigned_short","_short",0}, | |
9df61a29 | 3122 | { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject}, |
9df61a29 | 3123 | { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject}, |
9df61a29 | 3124 | { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject}, |
9df61a29 | 3125 | { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject}, |
9df61a29 | 3126 | { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject}, |
9df61a29 | 3127 | { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject}, |
9df61a29 | 3128 | { "_wxObject","_wxSizer",SwigwxSizerTowxObject}, |
9df61a29 | 3129 | { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject}, |
37f6a977 RD |
3130 | { "_signed_short","_WXTYPE",0}, |
3131 | { "_signed_short","_short",0}, | |
37f6a977 | 3132 | { "_unsigned_char","_byte",0}, |
4120ef2b | 3133 | { "_unsigned_int","_wxCoord",0}, |
37f6a977 | 3134 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 3135 | { "_unsigned_int","_time_t",0}, |
37f6a977 RD |
3136 | { "_unsigned_int","_size_t",0}, |
3137 | { "_unsigned_int","_uint",0}, | |
3138 | { "_unsigned_int","_wxWindowID",0}, | |
3139 | { "_unsigned_int","_int",0}, | |
37f6a977 RD |
3140 | { "_short","_WXTYPE",0}, |
3141 | { "_short","_unsigned_short",0}, | |
3142 | { "_short","_signed_short",0}, | |
4120ef2b | 3143 | { "_wxWindowID","_wxCoord",0}, |
37f6a977 | 3144 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 3145 | { "_wxWindowID","_time_t",0}, |
37f6a977 RD |
3146 | { "_wxWindowID","_size_t",0}, |
3147 | { "_wxWindowID","_EBool",0}, | |
3148 | { "_wxWindowID","_uint",0}, | |
3149 | { "_wxWindowID","_int",0}, | |
3150 | { "_wxWindowID","_signed_int",0}, | |
3151 | { "_wxWindowID","_unsigned_int",0}, | |
4120ef2b | 3152 | { "_int","_wxCoord",0}, |
37f6a977 | 3153 | { "_int","_wxPrintQuality",0}, |
c368d904 | 3154 | { "_int","_time_t",0}, |
37f6a977 RD |
3155 | { "_int","_size_t",0}, |
3156 | { "_int","_EBool",0}, | |
3157 | { "_int","_uint",0}, | |
3158 | { "_int","_wxWindowID",0}, | |
3159 | { "_int","_unsigned_int",0}, | |
3160 | { "_int","_signed_int",0}, | |
c368d904 RD |
3161 | { "_time_t","_wxCoord",0}, |
3162 | { "_time_t","_wxPrintQuality",0}, | |
3163 | { "_time_t","_unsigned_int",0}, | |
3164 | { "_time_t","_int",0}, | |
3165 | { "_time_t","_wxWindowID",0}, | |
3166 | { "_time_t","_uint",0}, | |
3167 | { "_time_t","_size_t",0}, | |
4120ef2b RD |
3168 | { "_wxCoord","_int",0}, |
3169 | { "_wxCoord","_signed_int",0}, | |
3170 | { "_wxCoord","_unsigned_int",0}, | |
3171 | { "_wxCoord","_wxWindowID",0}, | |
3172 | { "_wxCoord","_uint",0}, | |
3173 | { "_wxCoord","_EBool",0}, | |
3174 | { "_wxCoord","_size_t",0}, | |
c368d904 | 3175 | { "_wxCoord","_time_t",0}, |
4120ef2b | 3176 | { "_wxCoord","_wxPrintQuality",0}, |
f6bcfd97 | 3177 | { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer}, |
f6bcfd97 | 3178 | { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer}, |
f6bcfd97 | 3179 | { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer}, |
37f6a977 | 3180 | { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer}, |
37f6a977 | 3181 | { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer}, |
37f6a977 | 3182 | { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer}, |
37f6a977 RD |
3183 | {0,0,0}}; |
3184 | ||
3185 | static PyObject *SWIG_globals; | |
3186 | #ifdef __cplusplus | |
3187 | extern "C" | |
3188 | #endif | |
3189 | SWIGEXPORT(void) initsizersc() { | |
3190 | PyObject *m, *d; | |
3191 | SWIG_globals = SWIG_newvarlink(); | |
3192 | m = Py_InitModule("sizersc", sizerscMethods); | |
3193 | d = PyModule_GetDict(m); | |
3194 | { | |
3195 | int i; | |
3196 | for (i = 0; _swig_mapping[i].n1; i++) | |
3197 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
3198 | } | |
3199 | } |