]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/sizers.cpp
ifdef'd out wxEmptyString. This is defined in string.cpp.
[wxWidgets.git] / utils / wxPython / src / gtk / sizers.cpp
CommitLineData
37f6a977
RD
1/*
2 * FILE : gtk/sizers.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
30# define SWIGEXPORT(a) a _export
31# else
32# define SWIGEXPORT(a) a
33# endif
34# endif
35#else
36# define SWIGEXPORT(a) a
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
52#define SWIG_init initsizersc
53
54#define SWIG_name "sizersc"
55
56#include "helpers.h"
57
58static PyObject* l_output_helper(PyObject* target, PyObject* o) {
59 PyObject* o2;
60 PyObject* o3;
61 if (!target) {
62 target = o;
63 } else if (target == Py_None) {
64 Py_DECREF(Py_None);
65 target = o;
66 } else {
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77}
78
79static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103}
104
105static char* wxStringErrorMsg = "string type is required for parameter";
106
107class wxPyUserData : public wxObject {
108public:
109 wxPyUserData(PyObject* obj) { m_obj = obj; Py_INCREF(m_obj); }
110 ~wxPyUserData() {
111 bool doSave = wxPyRestoreThread();
112 Py_DECREF(m_obj);
113 wxPySaveThread(doSave);
114 }
115 PyObject* m_obj;
116};
117
118class wxPySizer : public wxSizer {
119 DECLARE_DYNAMIC_CLASS(wxPySizer);
120public:
121 wxPySizer() : wxSizer() {};
122
123 DEC_PYCALLBACK___pure(RecalcSizes);
124 DEC_PYCALLBACK_wxSize__pure(CalcMin);
125 PYPRIVATE;
126};
127
128
129IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
130IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
131
132IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
133#ifdef __cplusplus
134extern "C" {
135#endif
136#define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
137static PyObject *_wrap_wxSizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
138 PyObject * _resultobj;
139 wxSize * _result;
140 wxSizerItem * _arg0;
141 PyObject * _argo0 = 0;
142 char *_kwnames[] = { "self", NULL };
143 char _ptemp[128];
144
145 self = self;
146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSize",_kwnames,&_argo0))
147 return NULL;
148 if (_argo0) {
149 if (_argo0 == Py_None) { _arg0 = NULL; }
150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
152 return NULL;
153 }
154 }
155{
156 wxPy_BEGIN_ALLOW_THREADS;
157 _result = new wxSize (wxSizerItem_GetSize(_arg0));
158
159 wxPy_END_ALLOW_THREADS;
160} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
161 _resultobj = Py_BuildValue("s",_ptemp);
162 return _resultobj;
163}
164
165#define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
166static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
167 PyObject * _resultobj;
168 wxSize * _result;
169 wxSizerItem * _arg0;
170 PyObject * _argo0 = 0;
171 char *_kwnames[] = { "self", NULL };
172 char _ptemp[128];
173
174 self = self;
175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_CalcMin",_kwnames,&_argo0))
176 return NULL;
177 if (_argo0) {
178 if (_argo0 == Py_None) { _arg0 = NULL; }
179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
181 return NULL;
182 }
183 }
184{
185 wxPy_BEGIN_ALLOW_THREADS;
186 _result = new wxSize (wxSizerItem_CalcMin(_arg0));
187
188 wxPy_END_ALLOW_THREADS;
189} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
190 _resultobj = Py_BuildValue("s",_ptemp);
191 return _resultobj;
192}
193
194#define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
195static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
196 PyObject * _resultobj;
197 wxSizerItem * _arg0;
198 wxPoint * _arg1;
199 wxSize * _arg2;
200 PyObject * _argo0 = 0;
201 wxPoint temp;
202 PyObject * _obj1 = 0;
203 wxSize temp0;
204 PyObject * _obj2 = 0;
205 char *_kwnames[] = { "self","pos","size", NULL };
206
207 self = self;
208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSizerItem_SetDimension",_kwnames,&_argo0,&_obj1,&_obj2))
209 return NULL;
210 if (_argo0) {
211 if (_argo0 == Py_None) { _arg0 = NULL; }
212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
214 return NULL;
215 }
216 }
217{
218 _arg1 = &temp;
219 if (! wxPoint_helper(_obj1, &_arg1))
220 return NULL;
221}
222{
223 _arg2 = &temp0;
224 if (! wxSize_helper(_obj2, &_arg2))
225 return NULL;
226}
227{
228 wxPy_BEGIN_ALLOW_THREADS;
229 wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2);
230
231 wxPy_END_ALLOW_THREADS;
232} Py_INCREF(Py_None);
233 _resultobj = Py_None;
234 return _resultobj;
235}
236
237#define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
238static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
239 PyObject * _resultobj;
240 bool _result;
241 wxSizerItem * _arg0;
242 PyObject * _argo0 = 0;
243 char *_kwnames[] = { "self", NULL };
244
245 self = self;
246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsWindow",_kwnames,&_argo0))
247 return NULL;
248 if (_argo0) {
249 if (_argo0 == Py_None) { _arg0 = NULL; }
250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
252 return NULL;
253 }
254 }
255{
256 wxPy_BEGIN_ALLOW_THREADS;
257 _result = (bool )wxSizerItem_IsWindow(_arg0);
258
259 wxPy_END_ALLOW_THREADS;
260} _resultobj = Py_BuildValue("i",_result);
261 return _resultobj;
262}
263
264#define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
265static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
266 PyObject * _resultobj;
267 bool _result;
268 wxSizerItem * _arg0;
269 PyObject * _argo0 = 0;
270 char *_kwnames[] = { "self", NULL };
271
272 self = self;
273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSizer",_kwnames,&_argo0))
274 return NULL;
275 if (_argo0) {
276 if (_argo0 == Py_None) { _arg0 = NULL; }
277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
279 return NULL;
280 }
281 }
282{
283 wxPy_BEGIN_ALLOW_THREADS;
284 _result = (bool )wxSizerItem_IsSizer(_arg0);
285
286 wxPy_END_ALLOW_THREADS;
287} _resultobj = Py_BuildValue("i",_result);
288 return _resultobj;
289}
290
291#define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
292static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
293 PyObject * _resultobj;
294 bool _result;
295 wxSizerItem * _arg0;
296 PyObject * _argo0 = 0;
297 char *_kwnames[] = { "self", NULL };
298
299 self = self;
300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSpacer",_kwnames,&_argo0))
301 return NULL;
302 if (_argo0) {
303 if (_argo0 == Py_None) { _arg0 = NULL; }
304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
306 return NULL;
307 }
308 }
309{
310 wxPy_BEGIN_ALLOW_THREADS;
311 _result = (bool )wxSizerItem_IsSpacer(_arg0);
312
313 wxPy_END_ALLOW_THREADS;
314} _resultobj = Py_BuildValue("i",_result);
315 return _resultobj;
316}
317
318#define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
319static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
320 PyObject * _resultobj;
321 wxWindow * _result;
322 wxSizerItem * _arg0;
323 PyObject * _argo0 = 0;
324 char *_kwnames[] = { "self", NULL };
325 char _ptemp[128];
326
327 self = self;
328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetWindow",_kwnames,&_argo0))
329 return NULL;
330 if (_argo0) {
331 if (_argo0 == Py_None) { _arg0 = NULL; }
332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
334 return NULL;
335 }
336 }
337{
338 wxPy_BEGIN_ALLOW_THREADS;
339 _result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
340
341 wxPy_END_ALLOW_THREADS;
342} if (_result) {
343 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
344 _resultobj = Py_BuildValue("s",_ptemp);
345 } else {
346 Py_INCREF(Py_None);
347 _resultobj = Py_None;
348 }
349 return _resultobj;
350}
351
352#define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
353static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
354 PyObject * _resultobj;
355 wxSizer * _result;
356 wxSizerItem * _arg0;
357 PyObject * _argo0 = 0;
358 char *_kwnames[] = { "self", NULL };
359 char _ptemp[128];
360
361 self = self;
362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSizer",_kwnames,&_argo0))
363 return NULL;
364 if (_argo0) {
365 if (_argo0 == Py_None) { _arg0 = NULL; }
366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
368 return NULL;
369 }
370 }
371{
372 wxPy_BEGIN_ALLOW_THREADS;
373 _result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
374
375 wxPy_END_ALLOW_THREADS;
376} if (_result) {
377 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSizer_p");
378 _resultobj = Py_BuildValue("s",_ptemp);
379 } else {
380 Py_INCREF(Py_None);
381 _resultobj = Py_None;
382 }
383 return _resultobj;
384}
385
386#define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
387static PyObject *_wrap_wxSizerItem_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
388 PyObject * _resultobj;
389 int _result;
390 wxSizerItem * _arg0;
391 PyObject * _argo0 = 0;
392 char *_kwnames[] = { "self", NULL };
393
394 self = self;
395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetOption",_kwnames,&_argo0))
396 return NULL;
397 if (_argo0) {
398 if (_argo0 == Py_None) { _arg0 = NULL; }
399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
401 return NULL;
402 }
403 }
404{
405 wxPy_BEGIN_ALLOW_THREADS;
406 _result = (int )wxSizerItem_GetOption(_arg0);
407
408 wxPy_END_ALLOW_THREADS;
409} _resultobj = Py_BuildValue("i",_result);
410 return _resultobj;
411}
412
413#define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
414static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
415 PyObject * _resultobj;
416 int _result;
417 wxSizerItem * _arg0;
418 PyObject * _argo0 = 0;
419 char *_kwnames[] = { "self", NULL };
420
421 self = self;
422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetFlag",_kwnames,&_argo0))
423 return NULL;
424 if (_argo0) {
425 if (_argo0 == Py_None) { _arg0 = NULL; }
426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
428 return NULL;
429 }
430 }
431{
432 wxPy_BEGIN_ALLOW_THREADS;
433 _result = (int )wxSizerItem_GetFlag(_arg0);
434
435 wxPy_END_ALLOW_THREADS;
436} _resultobj = Py_BuildValue("i",_result);
437 return _resultobj;
438}
439
440#define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
441static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
442 PyObject * _resultobj;
443 int _result;
444 wxSizerItem * _arg0;
445 PyObject * _argo0 = 0;
446 char *_kwnames[] = { "self", NULL };
447
448 self = self;
449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetBorder",_kwnames,&_argo0))
450 return NULL;
451 if (_argo0) {
452 if (_argo0 == Py_None) { _arg0 = NULL; }
453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
455 return NULL;
456 }
457 }
458{
459 wxPy_BEGIN_ALLOW_THREADS;
460 _result = (int )wxSizerItem_GetBorder(_arg0);
461
462 wxPy_END_ALLOW_THREADS;
463} _resultobj = Py_BuildValue("i",_result);
464 return _resultobj;
465}
466
467static PyObject * wxSizerItem_GetUserData(wxSizerItem *self) {
468 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
469 if (data) {
470 Py_INCREF(data->m_obj);
471 return data->m_obj;
472 } else {
473 Py_INCREF(Py_None);
474 return Py_None;
475 }
476 }
477static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
478 PyObject * _resultobj;
479 PyObject * _result;
480 wxSizerItem * _arg0;
481 PyObject * _argo0 = 0;
482 char *_kwnames[] = { "self", NULL };
483
484 self = self;
485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetUserData",_kwnames,&_argo0))
486 return NULL;
487 if (_argo0) {
488 if (_argo0 == Py_None) { _arg0 = NULL; }
489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
491 return NULL;
492 }
493 }
494{
495 wxPy_BEGIN_ALLOW_THREADS;
496 _result = (PyObject *)wxSizerItem_GetUserData(_arg0);
497
498 wxPy_END_ALLOW_THREADS;
499}{
500 _resultobj = _result;
501}
502 return _resultobj;
503}
504
505static void wxSizer_Destroy(wxSizer *self) { delete self; }
506static PyObject *_wrap_wxSizer_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
507 PyObject * _resultobj;
508 wxSizer * _arg0;
509 PyObject * _argo0 = 0;
510 char *_kwnames[] = { "self", NULL };
511
512 self = self;
513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Destroy",_kwnames,&_argo0))
514 return NULL;
515 if (_argo0) {
516 if (_argo0 == Py_None) { _arg0 = NULL; }
517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
519 return NULL;
520 }
521 }
522{
523 wxPy_BEGIN_ALLOW_THREADS;
524 wxSizer_Destroy(_arg0);
525
526 wxPy_END_ALLOW_THREADS;
527} Py_INCREF(Py_None);
528 _resultobj = Py_None;
529 return _resultobj;
530}
531
532static void wxSizer_AddWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) {
533 wxPyUserData* data = NULL;
534 if (userData) data = new wxPyUserData(userData);
535 self->Add(window, option, flag, border, data);
536 }
537static PyObject *_wrap_wxSizer_AddWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
538 PyObject * _resultobj;
539 wxSizer * _arg0;
540 wxWindow * _arg1;
541 int _arg2 = (int ) 0;
542 int _arg3 = (int ) 0;
543 int _arg4 = (int ) 0;
544 PyObject * _arg5 = (PyObject *) NULL;
545 PyObject * _argo0 = 0;
546 PyObject * _argo1 = 0;
547 PyObject * _obj5 = 0;
548 char *_kwnames[] = { "self","window","option","flag","border","userData", NULL };
549
550 self = self;
551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
552 return NULL;
553 if (_argo0) {
554 if (_argo0 == Py_None) { _arg0 = NULL; }
555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
557 return NULL;
558 }
559 }
560 if (_argo1) {
561 if (_argo1 == Py_None) { _arg1 = NULL; }
562 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
563 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
564 return NULL;
565 }
566 }
567 if (_obj5)
568{
569 _arg5 = _obj5;
570}
571{
572 wxPy_BEGIN_ALLOW_THREADS;
573 wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
574
575 wxPy_END_ALLOW_THREADS;
576} Py_INCREF(Py_None);
577 _resultobj = Py_None;
578 return _resultobj;
579}
580
581static void wxSizer_AddSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
582 wxPyUserData* data = NULL;
583 if (userData) data = new wxPyUserData(userData);
584 self->Add(sizer, option, flag, border, data);
585 }
586static PyObject *_wrap_wxSizer_AddSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
587 PyObject * _resultobj;
588 wxSizer * _arg0;
589 wxSizer * _arg1;
590 int _arg2 = (int ) 0;
591 int _arg3 = (int ) 0;
592 int _arg4 = (int ) 0;
593 PyObject * _arg5 = (PyObject *) NULL;
594 PyObject * _argo0 = 0;
595 PyObject * _argo1 = 0;
596 PyObject * _obj5 = 0;
597 char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL };
598
599 self = self;
600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
601 return NULL;
602 if (_argo0) {
603 if (_argo0 == Py_None) { _arg0 = NULL; }
604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
606 return NULL;
607 }
608 }
609 if (_argo1) {
610 if (_argo1 == Py_None) { _arg1 = NULL; }
611 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
612 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
613 return NULL;
614 }
615 }
616 if (_obj5)
617{
618 _arg5 = _obj5;
619}
620{
621 wxPy_BEGIN_ALLOW_THREADS;
622 wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
623
624 wxPy_END_ALLOW_THREADS;
625} Py_INCREF(Py_None);
626 _resultobj = Py_None;
627 return _resultobj;
628}
629
630static void wxSizer_AddSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) {
631 wxPyUserData* data = NULL;
632 if (userData) data = new wxPyUserData(userData);
633 self->Add(width, height, option, flag, border, data);
634 }
635static PyObject *_wrap_wxSizer_AddSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
636 PyObject * _resultobj;
637 wxSizer * _arg0;
638 int _arg1;
639 int _arg2;
640 int _arg3 = (int ) 0;
641 int _arg4 = (int ) 0;
642 int _arg5 = (int ) 0;
643 PyObject * _arg6 = (PyObject *) NULL;
644 PyObject * _argo0 = 0;
645 PyObject * _obj6 = 0;
646 char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL };
647
648 self = self;
649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_AddSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
650 return NULL;
651 if (_argo0) {
652 if (_argo0 == Py_None) { _arg0 = NULL; }
653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
655 return NULL;
656 }
657 }
658 if (_obj6)
659{
660 _arg6 = _obj6;
661}
662{
663 wxPy_BEGIN_ALLOW_THREADS;
664 wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
665
666 wxPy_END_ALLOW_THREADS;
667} Py_INCREF(Py_None);
668 _resultobj = Py_None;
669 return _resultobj;
670}
671
672static void wxSizer_PrependWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) {
673 wxPyUserData* data = NULL;
674 if (userData) data = new wxPyUserData(userData);
675 self->Prepend(window, option, flag, border, data);
676 }
677static PyObject *_wrap_wxSizer_PrependWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
678 PyObject * _resultobj;
679 wxSizer * _arg0;
680 wxWindow * _arg1;
681 int _arg2 = (int ) 0;
682 int _arg3 = (int ) 0;
683 int _arg4 = (int ) 0;
684 PyObject * _arg5 = (PyObject *) NULL;
685 PyObject * _argo0 = 0;
686 PyObject * _argo1 = 0;
687 PyObject * _obj5 = 0;
688 char *_kwnames[] = { "self","window","option","flag","border","userData", NULL };
689
690 self = self;
691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
692 return NULL;
693 if (_argo0) {
694 if (_argo0 == Py_None) { _arg0 = NULL; }
695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
697 return NULL;
698 }
699 }
700 if (_argo1) {
701 if (_argo1 == Py_None) { _arg1 = NULL; }
702 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
703 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
704 return NULL;
705 }
706 }
707 if (_obj5)
708{
709 _arg5 = _obj5;
710}
711{
712 wxPy_BEGIN_ALLOW_THREADS;
713 wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
714
715 wxPy_END_ALLOW_THREADS;
716} Py_INCREF(Py_None);
717 _resultobj = Py_None;
718 return _resultobj;
719}
720
721static void wxSizer_PrependSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
722 wxPyUserData* data = NULL;
723 if (userData) data = new wxPyUserData(userData);
724 self->Prepend(sizer, option, flag, border, data);
725 }
726static PyObject *_wrap_wxSizer_PrependSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
727 PyObject * _resultobj;
728 wxSizer * _arg0;
729 wxSizer * _arg1;
730 int _arg2 = (int ) 0;
731 int _arg3 = (int ) 0;
732 int _arg4 = (int ) 0;
733 PyObject * _arg5 = (PyObject *) NULL;
734 PyObject * _argo0 = 0;
735 PyObject * _argo1 = 0;
736 PyObject * _obj5 = 0;
737 char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL };
738
739 self = self;
740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
741 return NULL;
742 if (_argo0) {
743 if (_argo0 == Py_None) { _arg0 = NULL; }
744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
746 return NULL;
747 }
748 }
749 if (_argo1) {
750 if (_argo1 == Py_None) { _arg1 = NULL; }
751 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
752 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
753 return NULL;
754 }
755 }
756 if (_obj5)
757{
758 _arg5 = _obj5;
759}
760{
761 wxPy_BEGIN_ALLOW_THREADS;
762 wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
763
764 wxPy_END_ALLOW_THREADS;
765} Py_INCREF(Py_None);
766 _resultobj = Py_None;
767 return _resultobj;
768}
769
770static void wxSizer_PrependSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) {
771 wxPyUserData* data = NULL;
772 if (userData) data = new wxPyUserData(userData);
773 self->Prepend(width, height, option, flag, border, data);
774 }
775static PyObject *_wrap_wxSizer_PrependSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
776 PyObject * _resultobj;
777 wxSizer * _arg0;
778 int _arg1;
779 int _arg2;
780 int _arg3 = (int ) 0;
781 int _arg4 = (int ) 0;
782 int _arg5 = (int ) 0;
783 PyObject * _arg6 = (PyObject *) NULL;
784 PyObject * _argo0 = 0;
785 PyObject * _obj6 = 0;
786 char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL };
787
788 self = self;
789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
790 return NULL;
791 if (_argo0) {
792 if (_argo0 == Py_None) { _arg0 = NULL; }
793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
795 return NULL;
796 }
797 }
798 if (_obj6)
799{
800 _arg6 = _obj6;
801}
802{
803 wxPy_BEGIN_ALLOW_THREADS;
804 wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
805
806 wxPy_END_ALLOW_THREADS;
807} Py_INCREF(Py_None);
808 _resultobj = Py_None;
809 return _resultobj;
810}
811
812#define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
813static PyObject *_wrap_wxSizer_RemoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
814 PyObject * _resultobj;
815 bool _result;
816 wxSizer * _arg0;
817 wxWindow * _arg1;
818 PyObject * _argo0 = 0;
819 PyObject * _argo1 = 0;
820 char *_kwnames[] = { "self","window", NULL };
821
822 self = self;
823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveWindow",_kwnames,&_argo0,&_argo1))
824 return NULL;
825 if (_argo0) {
826 if (_argo0 == Py_None) { _arg0 = NULL; }
827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
829 return NULL;
830 }
831 }
832 if (_argo1) {
833 if (_argo1 == Py_None) { _arg1 = NULL; }
834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
836 return NULL;
837 }
838 }
839{
840 wxPy_BEGIN_ALLOW_THREADS;
841 _result = (bool )wxSizer_RemoveWindow(_arg0,_arg1);
842
843 wxPy_END_ALLOW_THREADS;
844} _resultobj = Py_BuildValue("i",_result);
845 return _resultobj;
846}
847
848#define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
849static PyObject *_wrap_wxSizer_RemoveSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
850 PyObject * _resultobj;
851 bool _result;
852 wxSizer * _arg0;
853 wxSizer * _arg1;
854 PyObject * _argo0 = 0;
855 PyObject * _argo1 = 0;
856 char *_kwnames[] = { "self","sizer", NULL };
857
858 self = self;
859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveSizer",_kwnames,&_argo0,&_argo1))
860 return NULL;
861 if (_argo0) {
862 if (_argo0 == Py_None) { _arg0 = NULL; }
863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
865 return NULL;
866 }
867 }
868 if (_argo1) {
869 if (_argo1 == Py_None) { _arg1 = NULL; }
870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
872 return NULL;
873 }
874 }
875{
876 wxPy_BEGIN_ALLOW_THREADS;
877 _result = (bool )wxSizer_RemoveSizer(_arg0,_arg1);
878
879 wxPy_END_ALLOW_THREADS;
880} _resultobj = Py_BuildValue("i",_result);
881 return _resultobj;
882}
883
884#define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
885static PyObject *_wrap_wxSizer_RemovePos(PyObject *self, PyObject *args, PyObject *kwargs) {
886 PyObject * _resultobj;
887 bool _result;
888 wxSizer * _arg0;
889 int _arg1;
890 PyObject * _argo0 = 0;
891 char *_kwnames[] = { "self","pos", NULL };
892
893 self = self;
894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_RemovePos",_kwnames,&_argo0,&_arg1))
895 return NULL;
896 if (_argo0) {
897 if (_argo0 == Py_None) { _arg0 = NULL; }
898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
900 return NULL;
901 }
902 }
903{
904 wxPy_BEGIN_ALLOW_THREADS;
905 _result = (bool )wxSizer_RemovePos(_arg0,_arg1);
906
907 wxPy_END_ALLOW_THREADS;
908} _resultobj = Py_BuildValue("i",_result);
909 return _resultobj;
910}
911
912#define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
913static PyObject *_wrap_wxSizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
914 PyObject * _resultobj;
915 wxSizer * _arg0;
916 int _arg1;
917 int _arg2;
918 int _arg3;
919 int _arg4;
920 PyObject * _argo0 = 0;
921 char *_kwnames[] = { "self","x","y","width","height", NULL };
922
923 self = self;
924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxSizer_SetDimension",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
925 return NULL;
926 if (_argo0) {
927 if (_argo0 == Py_None) { _arg0 = NULL; }
928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
930 return NULL;
931 }
932 }
933{
934 wxPy_BEGIN_ALLOW_THREADS;
935 wxSizer_SetDimension(_arg0,_arg1,_arg2,_arg3,_arg4);
936
937 wxPy_END_ALLOW_THREADS;
938} Py_INCREF(Py_None);
939 _resultobj = Py_None;
940 return _resultobj;
941}
942
943#define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
944static PyObject *_wrap_wxSizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
945 PyObject * _resultobj;
946 wxSize * _result;
947 wxSizer * _arg0;
948 PyObject * _argo0 = 0;
949 char *_kwnames[] = { "self", NULL };
950 char _ptemp[128];
951
952 self = self;
953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetSize",_kwnames,&_argo0))
954 return NULL;
955 if (_argo0) {
956 if (_argo0 == Py_None) { _arg0 = NULL; }
957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
959 return NULL;
960 }
961 }
962{
963 wxPy_BEGIN_ALLOW_THREADS;
964 _result = new wxSize (wxSizer_GetSize(_arg0));
965
966 wxPy_END_ALLOW_THREADS;
967} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
968 _resultobj = Py_BuildValue("s",_ptemp);
969 return _resultobj;
970}
971
972#define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
973static PyObject *_wrap_wxSizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
974 PyObject * _resultobj;
975 wxPoint * _result;
976 wxSizer * _arg0;
977 PyObject * _argo0 = 0;
978 char *_kwnames[] = { "self", NULL };
979 char _ptemp[128];
980
981 self = self;
982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetPosition",_kwnames,&_argo0))
983 return NULL;
984 if (_argo0) {
985 if (_argo0 == Py_None) { _arg0 = NULL; }
986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
988 return NULL;
989 }
990 }
991{
992 wxPy_BEGIN_ALLOW_THREADS;
993 _result = new wxPoint (wxSizer_GetPosition(_arg0));
994
995 wxPy_END_ALLOW_THREADS;
996} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
997 _resultobj = Py_BuildValue("s",_ptemp);
998 return _resultobj;
999}
1000
1001#define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1002static PyObject *_wrap_wxSizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject * _resultobj;
1004 wxSize * _result;
1005 wxSizer * _arg0;
1006 PyObject * _argo0 = 0;
1007 char *_kwnames[] = { "self", NULL };
1008 char _ptemp[128];
1009
1010 self = self;
1011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetMinSize",_kwnames,&_argo0))
1012 return NULL;
1013 if (_argo0) {
1014 if (_argo0 == Py_None) { _arg0 = NULL; }
1015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1017 return NULL;
1018 }
1019 }
1020{
1021 wxPy_BEGIN_ALLOW_THREADS;
1022 _result = new wxSize (wxSizer_GetMinSize(_arg0));
1023
1024 wxPy_END_ALLOW_THREADS;
1025} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1026 _resultobj = Py_BuildValue("s",_ptemp);
1027 return _resultobj;
1028}
1029
1030#define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1031static PyObject *_wrap_wxSizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject * _resultobj;
1033 wxSizer * _arg0;
1034 PyObject * _argo0 = 0;
1035 char *_kwnames[] = { "self", NULL };
1036
1037 self = self;
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Layout",_kwnames,&_argo0))
1039 return NULL;
1040 if (_argo0) {
1041 if (_argo0 == Py_None) { _arg0 = NULL; }
1042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1044 return NULL;
1045 }
1046 }
1047{
1048 wxPy_BEGIN_ALLOW_THREADS;
1049 wxSizer_Layout(_arg0);
1050
1051 wxPy_END_ALLOW_THREADS;
1052} Py_INCREF(Py_None);
1053 _resultobj = Py_None;
1054 return _resultobj;
1055}
1056
1057#define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1058static PyObject *_wrap_wxSizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject * _resultobj;
1060 wxSizer * _arg0;
1061 wxWindow * _arg1;
1062 PyObject * _argo0 = 0;
1063 PyObject * _argo1 = 0;
1064 char *_kwnames[] = { "self","window", NULL };
1065
1066 self = self;
1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_Fit",_kwnames,&_argo0,&_argo1))
1068 return NULL;
1069 if (_argo0) {
1070 if (_argo0 == Py_None) { _arg0 = NULL; }
1071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1073 return NULL;
1074 }
1075 }
1076 if (_argo1) {
1077 if (_argo1 == Py_None) { _arg1 = NULL; }
1078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1080 return NULL;
1081 }
1082 }
1083{
1084 wxPy_BEGIN_ALLOW_THREADS;
1085 wxSizer_Fit(_arg0,_arg1);
1086
1087 wxPy_END_ALLOW_THREADS;
1088} Py_INCREF(Py_None);
1089 _resultobj = Py_None;
1090 return _resultobj;
1091}
1092
1093#define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1094static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
1095 PyObject * _resultobj;
1096 wxSizer * _arg0;
1097 wxWindow * _arg1;
1098 PyObject * _argo0 = 0;
1099 PyObject * _argo1 = 0;
1100 char *_kwnames[] = { "self","window", NULL };
1101
1102 self = self;
1103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetSizeHints",_kwnames,&_argo0,&_argo1))
1104 return NULL;
1105 if (_argo0) {
1106 if (_argo0 == Py_None) { _arg0 = NULL; }
1107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1109 return NULL;
1110 }
1111 }
1112 if (_argo1) {
1113 if (_argo1 == Py_None) { _arg1 = NULL; }
1114 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1115 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1116 return NULL;
1117 }
1118 }
1119{
1120 wxPy_BEGIN_ALLOW_THREADS;
1121 wxSizer_SetSizeHints(_arg0,_arg1);
1122
1123 wxPy_END_ALLOW_THREADS;
1124} Py_INCREF(Py_None);
1125 _resultobj = Py_None;
1126 return _resultobj;
1127}
1128
1129static PyObject * wxSizer_GetChildren(wxSizer *self) {
1130 wxList& list = self->GetChildren();
1131 return wxPy_ConvertList(&list, "wxSizerItem");
1132 }
1133static PyObject *_wrap_wxSizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
1134 PyObject * _resultobj;
1135 PyObject * _result;
1136 wxSizer * _arg0;
1137 PyObject * _argo0 = 0;
1138 char *_kwnames[] = { "self", NULL };
1139
1140 self = self;
1141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetChildren",_kwnames,&_argo0))
1142 return NULL;
1143 if (_argo0) {
1144 if (_argo0 == Py_None) { _arg0 = NULL; }
1145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
1146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1147 return NULL;
1148 }
1149 }
1150{
1151 wxPy_BEGIN_ALLOW_THREADS;
1152 _result = (PyObject *)wxSizer_GetChildren(_arg0);
1153
1154 wxPy_END_ALLOW_THREADS;
1155}{
1156 _resultobj = _result;
1157}
1158 return _resultobj;
1159}
1160
1161static void *SwigwxPySizerTowxSizer(void *ptr) {
1162 wxPySizer *src;
1163 wxSizer *dest;
1164 src = (wxPySizer *) ptr;
1165 dest = (wxSizer *) src;
1166 return (void *) dest;
1167}
1168
1169#define new_wxPySizer() (new wxPySizer())
1170static PyObject *_wrap_new_wxPySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject * _resultobj;
1172 wxPySizer * _result;
1173 char *_kwnames[] = { NULL };
1174 char _ptemp[128];
1175
1176 self = self;
1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPySizer",_kwnames))
1178 return NULL;
1179{
1180 wxPy_BEGIN_ALLOW_THREADS;
1181 _result = (wxPySizer *)new_wxPySizer();
1182
1183 wxPy_END_ALLOW_THREADS;
1184} if (_result) {
1185 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPySizer_p");
1186 _resultobj = Py_BuildValue("s",_ptemp);
1187 } else {
1188 Py_INCREF(Py_None);
1189 _resultobj = Py_None;
1190 }
1191 return _resultobj;
1192}
1193
1194#define wxPySizer__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1195static PyObject *_wrap_wxPySizer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1196 PyObject * _resultobj;
1197 wxPySizer * _arg0;
1198 PyObject * _arg1;
1199 PyObject * _argo0 = 0;
1200 PyObject * _obj1 = 0;
1201 char *_kwnames[] = { "self","self", NULL };
1202
1203 self = self;
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPySizer__setSelf",_kwnames,&_argo0,&_obj1))
1205 return NULL;
1206 if (_argo0) {
1207 if (_argo0 == Py_None) { _arg0 = NULL; }
1208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPySizer_p")) {
1209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
1210 return NULL;
1211 }
1212 }
1213{
1214 _arg1 = _obj1;
1215}
1216{
1217 wxPy_BEGIN_ALLOW_THREADS;
1218 wxPySizer__setSelf(_arg0,_arg1);
1219
1220 wxPy_END_ALLOW_THREADS;
1221} Py_INCREF(Py_None);
1222 _resultobj = Py_None;
1223 return _resultobj;
1224}
1225
1226static void *SwigwxBoxSizerTowxSizer(void *ptr) {
1227 wxBoxSizer *src;
1228 wxSizer *dest;
1229 src = (wxBoxSizer *) ptr;
1230 dest = (wxSizer *) src;
1231 return (void *) dest;
1232}
1233
1234#define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
1235static PyObject *_wrap_new_wxBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxBoxSizer * _result;
1238 int _arg0 = (int ) wxHORIZONTAL;
1239 char *_kwnames[] = { "orient", NULL };
1240 char _ptemp[128];
1241
1242 self = self;
1243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxBoxSizer",_kwnames,&_arg0))
1244 return NULL;
1245{
1246 wxPy_BEGIN_ALLOW_THREADS;
1247 _result = (wxBoxSizer *)new_wxBoxSizer(_arg0);
1248
1249 wxPy_END_ALLOW_THREADS;
1250} if (_result) {
1251 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBoxSizer_p");
1252 _resultobj = Py_BuildValue("s",_ptemp);
1253 } else {
1254 Py_INCREF(Py_None);
1255 _resultobj = Py_None;
1256 }
1257 return _resultobj;
1258}
1259
1260#define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
1261static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject * _resultobj;
1263 int _result;
1264 wxBoxSizer * _arg0;
1265 PyObject * _argo0 = 0;
1266 char *_kwnames[] = { "self", NULL };
1267
1268 self = self;
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_GetOrientation",_kwnames,&_argo0))
1270 return NULL;
1271 if (_argo0) {
1272 if (_argo0 == Py_None) { _arg0 = NULL; }
1273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
1274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
1275 return NULL;
1276 }
1277 }
1278{
1279 wxPy_BEGIN_ALLOW_THREADS;
1280 _result = (int )wxBoxSizer_GetOrientation(_arg0);
1281
1282 wxPy_END_ALLOW_THREADS;
1283} _resultobj = Py_BuildValue("i",_result);
1284 return _resultobj;
1285}
1286
1287static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) {
1288 wxStaticBoxSizer *src;
1289 wxBoxSizer *dest;
1290 src = (wxStaticBoxSizer *) ptr;
1291 dest = (wxBoxSizer *) src;
1292 return (void *) dest;
1293}
1294
1295static void *SwigwxStaticBoxSizerTowxSizer(void *ptr) {
1296 wxStaticBoxSizer *src;
1297 wxSizer *dest;
1298 src = (wxStaticBoxSizer *) ptr;
1299 dest = (wxSizer *) src;
1300 return (void *) dest;
1301}
1302
1303#define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
1304static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
1305 PyObject * _resultobj;
1306 wxStaticBoxSizer * _result;
1307 wxStaticBox * _arg0;
1308 int _arg1 = (int ) wxHORIZONTAL;
1309 PyObject * _argo0 = 0;
1310 char *_kwnames[] = { "box","orient", NULL };
1311 char _ptemp[128];
1312
1313 self = self;
1314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxStaticBoxSizer",_kwnames,&_argo0,&_arg1))
1315 return NULL;
1316 if (_argo0) {
1317 if (_argo0 == Py_None) { _arg0 = NULL; }
1318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
1319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
1320 return NULL;
1321 }
1322 }
1323{
1324 wxPy_BEGIN_ALLOW_THREADS;
1325 _result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1);
1326
1327 wxPy_END_ALLOW_THREADS;
1328} if (_result) {
1329 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBoxSizer_p");
1330 _resultobj = Py_BuildValue("s",_ptemp);
1331 } else {
1332 Py_INCREF(Py_None);
1333 _resultobj = Py_None;
1334 }
1335 return _resultobj;
1336}
1337
1338#define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
1339static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject * _resultobj;
1341 wxStaticBox * _result;
1342 wxStaticBoxSizer * _arg0;
1343 PyObject * _argo0 = 0;
1344 char *_kwnames[] = { "self", NULL };
1345 char _ptemp[128];
1346
1347 self = self;
1348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_GetStaticBox",_kwnames,&_argo0))
1349 return NULL;
1350 if (_argo0) {
1351 if (_argo0 == Py_None) { _arg0 = NULL; }
1352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
1353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
1354 return NULL;
1355 }
1356 }
1357{
1358 wxPy_BEGIN_ALLOW_THREADS;
1359 _result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
1360
1361 wxPy_END_ALLOW_THREADS;
1362} if (_result) {
1363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
1364 _resultobj = Py_BuildValue("s",_ptemp);
1365 } else {
1366 Py_INCREF(Py_None);
1367 _resultobj = Py_None;
1368 }
1369 return _resultobj;
1370}
1371
1372static PyMethodDef sizerscMethods[] = {
1373 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
1374 { "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
1375 { "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
1376 { "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS },
1377 { "wxPySizer__setSelf", (PyCFunction) _wrap_wxPySizer__setSelf, METH_VARARGS | METH_KEYWORDS },
1378 { "new_wxPySizer", (PyCFunction) _wrap_new_wxPySizer, METH_VARARGS | METH_KEYWORDS },
1379 { "wxSizer_GetChildren", (PyCFunction) _wrap_wxSizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
1380 { "wxSizer_SetSizeHints", (PyCFunction) _wrap_wxSizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
1381 { "wxSizer_Fit", (PyCFunction) _wrap_wxSizer_Fit, METH_VARARGS | METH_KEYWORDS },
1382 { "wxSizer_Layout", (PyCFunction) _wrap_wxSizer_Layout, METH_VARARGS | METH_KEYWORDS },
1383 { "wxSizer_GetMinSize", (PyCFunction) _wrap_wxSizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
1384 { "wxSizer_GetPosition", (PyCFunction) _wrap_wxSizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
1385 { "wxSizer_GetSize", (PyCFunction) _wrap_wxSizer_GetSize, METH_VARARGS | METH_KEYWORDS },
1386 { "wxSizer_SetDimension", (PyCFunction) _wrap_wxSizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
1387 { "wxSizer_RemovePos", (PyCFunction) _wrap_wxSizer_RemovePos, METH_VARARGS | METH_KEYWORDS },
1388 { "wxSizer_RemoveSizer", (PyCFunction) _wrap_wxSizer_RemoveSizer, METH_VARARGS | METH_KEYWORDS },
1389 { "wxSizer_RemoveWindow", (PyCFunction) _wrap_wxSizer_RemoveWindow, METH_VARARGS | METH_KEYWORDS },
1390 { "wxSizer_PrependSpacer", (PyCFunction) _wrap_wxSizer_PrependSpacer, METH_VARARGS | METH_KEYWORDS },
1391 { "wxSizer_PrependSizer", (PyCFunction) _wrap_wxSizer_PrependSizer, METH_VARARGS | METH_KEYWORDS },
1392 { "wxSizer_PrependWindow", (PyCFunction) _wrap_wxSizer_PrependWindow, METH_VARARGS | METH_KEYWORDS },
1393 { "wxSizer_AddSpacer", (PyCFunction) _wrap_wxSizer_AddSpacer, METH_VARARGS | METH_KEYWORDS },
1394 { "wxSizer_AddSizer", (PyCFunction) _wrap_wxSizer_AddSizer, METH_VARARGS | METH_KEYWORDS },
1395 { "wxSizer_AddWindow", (PyCFunction) _wrap_wxSizer_AddWindow, METH_VARARGS | METH_KEYWORDS },
1396 { "wxSizer_Destroy", (PyCFunction) _wrap_wxSizer_Destroy, METH_VARARGS | METH_KEYWORDS },
1397 { "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
1398 { "wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
1399 { "wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
1400 { "wxSizerItem_GetOption", (PyCFunction) _wrap_wxSizerItem_GetOption, METH_VARARGS | METH_KEYWORDS },
1401 { "wxSizerItem_GetSizer", (PyCFunction) _wrap_wxSizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
1402 { "wxSizerItem_GetWindow", (PyCFunction) _wrap_wxSizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
1403 { "wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
1404 { "wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
1405 { "wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
1406 { "wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
1407 { "wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
1408 { "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
1409 { NULL, NULL }
1410};
1411#ifdef __cplusplus
1412}
1413#endif
1414/*
1415 * This table is used by the pointer type-checker
1416 */
1417static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1418 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1419 { "_wxEvent","_class_wxEvent",0},
1420 { "_class_wxActivateEvent","_wxActivateEvent",0},
1421 { "_signed_long","_long",0},
1422 { "_wxMenuEvent","_class_wxMenuEvent",0},
1423 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
1424 { "_wxPrintQuality","_int",0},
1425 { "_wxPrintQuality","_signed_int",0},
1426 { "_wxPrintQuality","_unsigned_int",0},
1427 { "_wxPrintQuality","_wxWindowID",0},
1428 { "_wxPrintQuality","_uint",0},
1429 { "_wxPrintQuality","_EBool",0},
1430 { "_wxPrintQuality","_size_t",0},
1431 { "_class_wxRegionIterator","_wxRegionIterator",0},
1432 { "_class_wxMenuBar","_wxMenuBar",0},
1433 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
1434 { "_class_wxEvtHandler","_wxEvtHandler",0},
1435 { "_wxPaintEvent","_class_wxPaintEvent",0},
1436 { "_wxPySizer","_class_wxPySizer",0},
1437 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1438 { "_wxCursor","_class_wxCursor",0},
1439 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
1440 { "_wxMask","_class_wxMask",0},
1441 { "_wxPen","_class_wxPen",0},
1442 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
1443 { "_byte","_unsigned_char",0},
1444 { "_wxStaticBox","_class_wxStaticBox",0},
1445 { "_wxChoice","_class_wxChoice",0},
1446 { "_wxSlider","_class_wxSlider",0},
1447 { "_long","_wxDash",0},
1448 { "_long","_unsigned_long",0},
1449 { "_long","_signed_long",0},
1450 { "_wxImageList","_class_wxImageList",0},
1451 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
1452 { "_wxBitmapButton","_class_wxBitmapButton",0},
1453 { "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
1454 { "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
1455 { "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
1456 { "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
1457 { "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer},
1458 { "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
1459 { "_class_wxSizer","_wxSizer",0},
1460 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1461 { "_class_wxGauge","_wxGauge",0},
1462 { "_wxDC","_class_wxDC",0},
1463 { "_wxSizerItem","_class_wxSizerItem",0},
1464 { "_wxSpinEvent","_class_wxSpinEvent",0},
1465 { "_size_t","_wxPrintQuality",0},
1466 { "_size_t","_unsigned_int",0},
1467 { "_size_t","_int",0},
1468 { "_size_t","_wxWindowID",0},
1469 { "_size_t","_uint",0},
1470 { "_class_wxRealPoint","_wxRealPoint",0},
1471 { "_class_wxMenuItem","_wxMenuItem",0},
1472 { "_class_wxPaintEvent","_wxPaintEvent",0},
1473 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
1474 { "_class_wxPySizer","_wxPySizer",0},
1475 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1476 { "_wxPanel","_class_wxPanel",0},
1477 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
1478 { "_wxCheckBox","_class_wxCheckBox",0},
1479 { "_wxPyEvent","_class_wxPyEvent",0},
1480 { "_wxTextCtrl","_class_wxTextCtrl",0},
1481 { "_class_wxMask","_wxMask",0},
1482 { "_class_wxKeyEvent","_wxKeyEvent",0},
1483 { "_wxColour","_class_wxColour",0},
1484 { "_class_wxDialog","_wxDialog",0},
1485 { "_wxIdleEvent","_class_wxIdleEvent",0},
1486 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
1487 { "_wxStaticLine","_class_wxStaticLine",0},
1488 { "_wxBrush","_class_wxBrush",0},
1489 { "_wxShowEvent","_class_wxShowEvent",0},
1490 { "_uint","_wxPrintQuality",0},
1491 { "_uint","_size_t",0},
1492 { "_uint","_unsigned_int",0},
1493 { "_uint","_int",0},
1494 { "_uint","_wxWindowID",0},
1495 { "_wxPyValidator","_class_wxPyValidator",0},
1496 { "_class_wxEvent","_wxEvent",0},
1497 { "_wxCheckListBox","_class_wxCheckListBox",0},
1498 { "_wxRect","_class_wxRect",0},
1499 { "_wxCommandEvent","_class_wxCommandEvent",0},
1500 { "_wxSizeEvent","_class_wxSizeEvent",0},
1501 { "_wxPoint","_class_wxPoint",0},
1502 { "_class_wxButton","_wxButton",0},
1503 { "_wxRadioBox","_class_wxRadioBox",0},
1504 { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
1505 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
1506 { "_wxBoxSizer","_class_wxBoxSizer",0},
1507 { "_wxBitmap","_class_wxBitmap",0},
1508 { "_wxPyTimer","_class_wxPyTimer",0},
1509 { "_wxWindowDC","_class_wxWindowDC",0},
1510 { "_wxScrollBar","_class_wxScrollBar",0},
1511 { "_wxSpinButton","_class_wxSpinButton",0},
1512 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1513 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
1514 { "_class_wxValidator","_wxValidator",0},
1515 { "_class_wxPyEvent","_wxPyEvent",0},
1516 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
1517 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
1518 { "_class_wxStaticLine","_wxStaticLine",0},
1519 { "_wxScrollEvent","_class_wxScrollEvent",0},
1520 { "_EBool","_wxPrintQuality",0},
1521 { "_EBool","_signed_int",0},
1522 { "_EBool","_int",0},
1523 { "_EBool","_wxWindowID",0},
1524 { "_class_wxRegion","_wxRegion",0},
1525 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
1526 { "_wxStaticText","_class_wxStaticText",0},
1527 { "_wxFont","_class_wxFont",0},
1528 { "_wxCloseEvent","_class_wxCloseEvent",0},
1529 { "_unsigned_long","_wxDash",0},
1530 { "_unsigned_long","_long",0},
1531 { "_class_wxRect","_wxRect",0},
1532 { "_class_wxDC","_wxDC",0},
1533 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
1534 { "_class_wxPyTimer","_wxPyTimer",0},
1535 { "_wxFocusEvent","_class_wxFocusEvent",0},
1536 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
1537 { "_class_wxSpinButton","_wxSpinButton",0},
1538 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1539 { "_class_wxPanel","_wxPanel",0},
1540 { "_class_wxCheckBox","_wxCheckBox",0},
1541 { "_wxComboBox","_class_wxComboBox",0},
1542 { "_wxRadioButton","_class_wxRadioButton",0},
1543 { "_signed_int","_wxPrintQuality",0},
1544 { "_signed_int","_EBool",0},
1545 { "_signed_int","_wxWindowID",0},
1546 { "_signed_int","_int",0},
1547 { "_class_wxTextCtrl","_wxTextCtrl",0},
1548 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1549 { "_wxMenu","_class_wxMenu",0},
1550 { "_class_wxMoveEvent","_wxMoveEvent",0},
1551 { "_wxListBox","_class_wxListBox",0},
1552 { "_wxScreenDC","_class_wxScreenDC",0},
1553 { "_WXTYPE","_short",0},
1554 { "_WXTYPE","_signed_short",0},
1555 { "_WXTYPE","_unsigned_short",0},
1556 { "_class_wxBrush","_wxBrush",0},
1557 { "_unsigned_short","_WXTYPE",0},
1558 { "_unsigned_short","_short",0},
1559 { "_class_wxWindow","_wxWindow",0},
1560 { "_class_wxStaticText","_wxStaticText",0},
1561 { "_class_wxFont","_wxFont",0},
1562 { "_class_wxPyValidator","_wxPyValidator",0},
1563 { "_class_wxCloseEvent","_wxCloseEvent",0},
1564 { "_class_wxMenuEvent","_wxMenuEvent",0},
1565 { "_wxClientDC","_class_wxClientDC",0},
1566 { "_wxMouseEvent","_class_wxMouseEvent",0},
1567 { "_class_wxPoint","_wxPoint",0},
1568 { "_wxRealPoint","_class_wxRealPoint",0},
1569 { "_class_wxRadioBox","_wxRadioBox",0},
1570 { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
1571 { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
1572 { "_class_wxBoxSizer","_wxBoxSizer",0},
1573 { "_signed_short","_WXTYPE",0},
1574 { "_signed_short","_short",0},
1575 { "_wxMemoryDC","_class_wxMemoryDC",0},
1576 { "_wxPaintDC","_class_wxPaintDC",0},
1577 { "_class_wxWindowDC","_wxWindowDC",0},
1578 { "_class_wxFocusEvent","_wxFocusEvent",0},
1579 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1580 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1581 { "_class_wxCursor","_wxCursor",0},
1582 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1583 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1584 { "_unsigned_char","_byte",0},
1585 { "_class_wxMenu","_wxMenu",0},
1586 { "_wxControl","_class_wxControl",0},
1587 { "_class_wxListBox","_wxListBox",0},
1588 { "_unsigned_int","_wxPrintQuality",0},
1589 { "_unsigned_int","_size_t",0},
1590 { "_unsigned_int","_uint",0},
1591 { "_unsigned_int","_wxWindowID",0},
1592 { "_unsigned_int","_int",0},
1593 { "_wxIcon","_class_wxIcon",0},
1594 { "_wxDialog","_class_wxDialog",0},
1595 { "_class_wxPen","_wxPen",0},
1596 { "_short","_WXTYPE",0},
1597 { "_short","_unsigned_short",0},
1598 { "_short","_signed_short",0},
1599 { "_class_wxStaticBox","_wxStaticBox",0},
1600 { "_class_wxScrollEvent","_wxScrollEvent",0},
1601 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1602 { "_class_wxChoice","_wxChoice",0},
1603 { "_class_wxSlider","_wxSlider",0},
1604 { "_class_wxImageList","_wxImageList",0},
1605 { "_class_wxBitmapButton","_wxBitmapButton",0},
1606 { "_wxWindowID","_wxPrintQuality",0},
1607 { "_wxWindowID","_size_t",0},
1608 { "_wxWindowID","_EBool",0},
1609 { "_wxWindowID","_uint",0},
1610 { "_wxWindowID","_int",0},
1611 { "_wxWindowID","_signed_int",0},
1612 { "_wxWindowID","_unsigned_int",0},
1613 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1614 { "_class_wxSizerItem","_wxSizerItem",0},
1615 { "_int","_wxPrintQuality",0},
1616 { "_int","_size_t",0},
1617 { "_int","_EBool",0},
1618 { "_int","_uint",0},
1619 { "_int","_wxWindowID",0},
1620 { "_int","_unsigned_int",0},
1621 { "_int","_signed_int",0},
1622 { "_class_wxMouseEvent","_wxMouseEvent",0},
1623 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1624 { "_class_wxSpinEvent","_wxSpinEvent",0},
1625 { "_wxButton","_class_wxButton",0},
1626 { "_wxSize","_class_wxSize",0},
1627 { "_wxRegionIterator","_class_wxRegionIterator",0},
1628 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
1629 { "_class_wxPaintDC","_wxPaintDC",0},
1630 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1631 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1632 { "_class_wxComboBox","_wxComboBox",0},
1633 { "_class_wxRadioButton","_wxRadioButton",0},
1634 { "_wxValidator","_class_wxValidator",0},
1635 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1636 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1637 { "_class_wxControl","_wxControl",0},
1638 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1639 { "_class_wxIcon","_wxIcon",0},
1640 { "_class_wxColour","_wxColour",0},
1641 { "_class_wxScreenDC","_wxScreenDC",0},
1642 { "_wxPalette","_class_wxPalette",0},
1643 { "_class_wxIdleEvent","_wxIdleEvent",0},
1644 { "_wxEraseEvent","_class_wxEraseEvent",0},
1645 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1646 { "_wxRegion","_class_wxRegion",0},
1647 { "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
1648 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
1649 { "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
1650 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
1651 { "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer},
1652 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
1653 { "_wxSizer","_class_wxSizer",0},
1654 { "_class_wxShowEvent","_wxShowEvent",0},
1655 { "_wxActivateEvent","_class_wxActivateEvent",0},
1656 { "_wxGauge","_class_wxGauge",0},
1657 { "_class_wxCheckListBox","_wxCheckListBox",0},
1658 { "_class_wxCommandEvent","_wxCommandEvent",0},
1659 { "_class_wxClientDC","_wxClientDC",0},
1660 { "_class_wxSizeEvent","_wxSizeEvent",0},
1661 { "_class_wxSize","_wxSize",0},
1662 { "_class_wxBitmap","_wxBitmap",0},
1663 { "_class_wxMemoryDC","_wxMemoryDC",0},
1664 { "_wxMenuBar","_class_wxMenuBar",0},
1665 { "_wxEvtHandler","_class_wxEvtHandler",0},
1666 { "_wxMenuItem","_class_wxMenuItem",0},
1667 { "_class_wxScrollBar","_wxScrollBar",0},
1668 { "_wxDash","_unsigned_long",0},
1669 { "_wxDash","_long",0},
1670 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1671 { "_wxKeyEvent","_class_wxKeyEvent",0},
1672 { "_wxMoveEvent","_class_wxMoveEvent",0},
1673 { "_class_wxPalette","_wxPalette",0},
1674 { "_class_wxEraseEvent","_wxEraseEvent",0},
1675 { "_wxWindow","_class_wxWindow",0},
1676{0,0,0}};
1677
1678static PyObject *SWIG_globals;
1679#ifdef __cplusplus
1680extern "C"
1681#endif
1682SWIGEXPORT(void) initsizersc() {
1683 PyObject *m, *d;
1684 SWIG_globals = SWIG_newvarlink();
1685 m = Py_InitModule("sizersc", sizerscMethods);
1686 d = PyModule_GetDict(m);
1687{
1688 int i;
1689 for (i = 0; _swig_mapping[i].n1; i++)
1690 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1691}
1692}