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