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