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