2 * FILE : src/gtk/sizers.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initsizersc
56 #define SWIG_name "sizersc"
60 #include <wx/notebook.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 #if PYTHON_API_VERSION >= 1009
90 static char* wxStringErrorMsg
= "String or Unicode type required";
92 static char* wxStringErrorMsg
= "String type required";
95 class wxPySizer
: public wxSizer
{
96 DECLARE_DYNAMIC_CLASS(wxPySizer
);
98 wxPySizer() : wxSizer() {};
100 DEC_PYCALLBACK___pure(RecalcSizes
);
101 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
106 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
107 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
109 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
113 static void *SwigwxSizerItemTowxObject(void *ptr
) {
116 src
= (wxSizerItem
*) ptr
;
117 dest
= (wxObject
*) src
;
118 return (void *) dest
;
121 #define wxSizerItem_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
122 static PyObject
*_wrap_wxSizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
123 PyObject
* _resultobj
;
125 PyObject
* _argo0
= 0;
126 char *_kwnames
[] = { "self", NULL
};
129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_DeleteWindows",_kwnames
,&_argo0
))
132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_DeleteWindows. Expected _wxSizerItem_p.");
139 wxPy_BEGIN_ALLOW_THREADS
;
140 wxSizerItem_DeleteWindows(_arg0
);
142 wxPy_END_ALLOW_THREADS
;
143 if (PyErr_Occurred()) return NULL
;
144 } Py_INCREF(Py_None
);
145 _resultobj
= Py_None
;
149 #define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition())
150 static PyObject
*_wrap_wxSizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
154 PyObject
* _argo0
= 0;
155 char *_kwnames
[] = { "self", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetPosition",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetPosition. Expected _wxSizerItem_p.");
169 wxPy_BEGIN_ALLOW_THREADS
;
170 _result
= new wxPoint (wxSizerItem_GetPosition(_arg0
));
172 wxPy_END_ALLOW_THREADS
;
173 if (PyErr_Occurred()) return NULL
;
174 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
175 _resultobj
= Py_BuildValue("s",_ptemp
);
179 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
180 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
184 PyObject
* _argo0
= 0;
185 char *_kwnames
[] = { "self", NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
199 wxPy_BEGIN_ALLOW_THREADS
;
200 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
202 wxPy_END_ALLOW_THREADS
;
203 if (PyErr_Occurred()) return NULL
;
204 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
205 _resultobj
= Py_BuildValue("s",_ptemp
);
209 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
210 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
214 PyObject
* _argo0
= 0;
215 char *_kwnames
[] = { "self", NULL
};
219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
229 wxPy_BEGIN_ALLOW_THREADS
;
230 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
232 wxPy_END_ALLOW_THREADS
;
233 if (PyErr_Occurred()) return NULL
;
234 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
235 _resultobj
= Py_BuildValue("s",_ptemp
);
239 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
240 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
241 PyObject
* _resultobj
;
245 PyObject
* _argo0
= 0;
247 PyObject
* _obj1
= 0;
249 PyObject
* _obj2
= 0;
250 char *_kwnames
[] = { "self","pos","size", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
264 if (! wxPoint_helper(_obj1
, &_arg1
))
269 if (! wxSize_helper(_obj2
, &_arg2
))
273 wxPy_BEGIN_ALLOW_THREADS
;
274 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
276 wxPy_END_ALLOW_THREADS
;
277 if (PyErr_Occurred()) return NULL
;
278 } Py_INCREF(Py_None
);
279 _resultobj
= Py_None
;
283 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
284 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
285 PyObject
* _resultobj
;
289 PyObject
* _argo0
= 0;
290 char *_kwnames
[] = { "self","width","height", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
303 wxPy_BEGIN_ALLOW_THREADS
;
304 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
306 wxPy_END_ALLOW_THREADS
;
307 if (PyErr_Occurred()) return NULL
;
308 } Py_INCREF(Py_None
);
309 _resultobj
= Py_None
;
313 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
314 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
315 PyObject
* _resultobj
;
318 PyObject
* _argo0
= 0;
320 PyObject
* _obj1
= 0;
321 char *_kwnames
[] = { "self","size", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
335 if (! wxSize_helper(_obj1
, &_arg1
))
339 wxPy_BEGIN_ALLOW_THREADS
;
340 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
342 wxPy_END_ALLOW_THREADS
;
343 if (PyErr_Occurred()) return NULL
;
344 } Py_INCREF(Py_None
);
345 _resultobj
= Py_None
;
349 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
350 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
354 PyObject
* _argo0
= 0;
355 char *_kwnames
[] = { "self","ratio", NULL
};
358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
368 wxPy_BEGIN_ALLOW_THREADS
;
369 wxSizerItem_SetRatio(_arg0
,_arg1
);
371 wxPy_END_ALLOW_THREADS
;
372 if (PyErr_Occurred()) return NULL
;
373 } Py_INCREF(Py_None
);
374 _resultobj
= Py_None
;
378 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
379 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (float )wxSizerItem_GetRatio(_arg0
);
400 wxPy_END_ALLOW_THREADS
;
401 if (PyErr_Occurred()) return NULL
;
402 } _resultobj
= Py_BuildValue("f",_result
);
406 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
407 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
411 PyObject
* _argo0
= 0;
412 char *_kwnames
[] = { "self", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
425 wxPy_BEGIN_ALLOW_THREADS
;
426 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
428 wxPy_END_ALLOW_THREADS
;
429 if (PyErr_Occurred()) return NULL
;
430 } _resultobj
= Py_BuildValue("i",_result
);
434 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
435 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
439 PyObject
* _argo0
= 0;
440 char *_kwnames
[] = { "self", NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
453 wxPy_BEGIN_ALLOW_THREADS
;
454 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
456 wxPy_END_ALLOW_THREADS
;
457 if (PyErr_Occurred()) return NULL
;
458 } _resultobj
= Py_BuildValue("i",_result
);
462 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
463 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
481 wxPy_BEGIN_ALLOW_THREADS
;
482 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
484 wxPy_END_ALLOW_THREADS
;
485 if (PyErr_Occurred()) return NULL
;
486 } _resultobj
= Py_BuildValue("i",_result
);
490 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
491 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
509 wxPy_BEGIN_ALLOW_THREADS
;
510 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
512 wxPy_END_ALLOW_THREADS
;
513 if (PyErr_Occurred()) return NULL
;
514 }{ _resultobj
= wxPyMake_wxObject(_result
); }
518 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
519 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
523 PyObject
* _argo0
= 0;
524 PyObject
* _argo1
= 0;
525 char *_kwnames
[] = { "self","window", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
538 if (_argo1
== Py_None
) { _arg1
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
545 wxPy_BEGIN_ALLOW_THREADS
;
546 wxSizerItem_SetWindow(_arg0
,_arg1
);
548 wxPy_END_ALLOW_THREADS
;
549 if (PyErr_Occurred()) return NULL
;
550 } Py_INCREF(Py_None
);
551 _resultobj
= Py_None
;
555 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
556 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
574 wxPy_BEGIN_ALLOW_THREADS
;
575 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
577 wxPy_END_ALLOW_THREADS
;
578 if (PyErr_Occurred()) return NULL
;
579 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
583 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
584 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
585 PyObject
* _resultobj
;
588 PyObject
* _argo0
= 0;
589 PyObject
* _argo1
= 0;
590 char *_kwnames
[] = { "self","sizer", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
610 wxPy_BEGIN_ALLOW_THREADS
;
611 wxSizerItem_SetSizer(_arg0
,_arg1
);
613 wxPy_END_ALLOW_THREADS
;
614 if (PyErr_Occurred()) return NULL
;
615 } Py_INCREF(Py_None
);
616 _resultobj
= Py_None
;
620 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
621 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (int )wxSizerItem_GetOption(_arg0
);
642 wxPy_END_ALLOW_THREADS
;
643 if (PyErr_Occurred()) return NULL
;
644 } _resultobj
= Py_BuildValue("i",_result
);
648 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
649 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
653 PyObject
* _argo0
= 0;
654 char *_kwnames
[] = { "self", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 _result
= (int )wxSizerItem_GetFlag(_arg0
);
670 wxPy_END_ALLOW_THREADS
;
671 if (PyErr_Occurred()) return NULL
;
672 } _resultobj
= Py_BuildValue("i",_result
);
676 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
677 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
681 PyObject
* _argo0
= 0;
682 char *_kwnames
[] = { "self", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
695 wxPy_BEGIN_ALLOW_THREADS
;
696 _result
= (int )wxSizerItem_GetBorder(_arg0
);
698 wxPy_END_ALLOW_THREADS
;
699 if (PyErr_Occurred()) return NULL
;
700 } _resultobj
= Py_BuildValue("i",_result
);
704 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
705 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
710 PyObject
* _argo0
= 0;
711 char *_kwnames
[] = { "self","x","y", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
724 wxPy_BEGIN_ALLOW_THREADS
;
725 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
727 wxPy_END_ALLOW_THREADS
;
728 if (PyErr_Occurred()) return NULL
;
729 } Py_INCREF(Py_None
);
730 _resultobj
= Py_None
;
734 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
735 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
739 PyObject
* _argo0
= 0;
740 char *_kwnames
[] = { "self","option", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
753 wxPy_BEGIN_ALLOW_THREADS
;
754 wxSizerItem_SetOption(_arg0
,_arg1
);
756 wxPy_END_ALLOW_THREADS
;
757 if (PyErr_Occurred()) return NULL
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
764 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 PyObject
* _argo0
= 0;
769 char *_kwnames
[] = { "self","flag", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 wxSizerItem_SetFlag(_arg0
,_arg1
);
785 wxPy_END_ALLOW_THREADS
;
786 if (PyErr_Occurred()) return NULL
;
787 } Py_INCREF(Py_None
);
788 _resultobj
= Py_None
;
792 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
793 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
797 PyObject
* _argo0
= 0;
798 char *_kwnames
[] = { "self","border", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
811 wxPy_BEGIN_ALLOW_THREADS
;
812 wxSizerItem_SetBorder(_arg0
,_arg1
);
814 wxPy_END_ALLOW_THREADS
;
815 if (PyErr_Occurred()) return NULL
;
816 } Py_INCREF(Py_None
);
817 _resultobj
= Py_None
;
821 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
822 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
824 Py_INCREF(data
->m_obj
);
831 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
835 PyObject
* _argo0
= 0;
836 char *_kwnames
[] = { "self", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
849 wxPy_BEGIN_ALLOW_THREADS
;
850 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
852 wxPy_END_ALLOW_THREADS
;
853 if (PyErr_Occurred()) return NULL
;
855 _resultobj
= _result
;
860 static void *SwigwxSizerTowxObject(void *ptr
) {
863 src
= (wxSizer
*) ptr
;
864 dest
= (wxObject
*) src
;
865 return (void *) dest
;
868 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
* _self
) {
869 self
->SetClientObject(new wxPyClientData(_self
));
871 static PyObject
*_wrap_wxSizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
875 PyObject
* _argo0
= 0;
876 PyObject
* _obj1
= 0;
877 char *_kwnames
[] = { "self","_self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer__setOORInfo. Expected _wxSizer_p.");
893 wxPy_BEGIN_ALLOW_THREADS
;
894 wxSizer__setOORInfo(_arg0
,_arg1
);
896 wxPy_END_ALLOW_THREADS
;
897 if (PyErr_Occurred()) return NULL
;
898 } Py_INCREF(Py_None
);
899 _resultobj
= Py_None
;
903 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
904 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 PyObject
* _argo0
= 0;
908 char *_kwnames
[] = { "self", NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 wxSizer_Destroy(_arg0
);
924 wxPy_END_ALLOW_THREADS
;
925 if (PyErr_Occurred()) return NULL
;
926 } Py_INCREF(Py_None
);
927 _resultobj
= Py_None
;
931 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
932 wxPyUserData
* data
= NULL
;
933 if (userData
) data
= new wxPyUserData(userData
);
934 self
->Add(window
, option
, flag
, border
, data
);
936 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
940 int _arg2
= (int ) 0;
941 int _arg3
= (int ) 0;
942 int _arg4
= (int ) 0;
943 PyObject
* _arg5
= (PyObject
*) NULL
;
944 PyObject
* _argo0
= 0;
945 PyObject
* _argo1
= 0;
946 PyObject
* _obj5
= 0;
947 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
971 wxPy_BEGIN_ALLOW_THREADS
;
972 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
974 wxPy_END_ALLOW_THREADS
;
975 if (PyErr_Occurred()) return NULL
;
976 } Py_INCREF(Py_None
);
977 _resultobj
= Py_None
;
981 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
982 wxPyUserData
* data
= NULL
;
983 if (userData
) data
= new wxPyUserData(userData
);
984 self
->Add(sizer
, option
, flag
, border
, data
);
986 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
990 int _arg2
= (int ) 0;
991 int _arg3
= (int ) 0;
992 int _arg4
= (int ) 0;
993 PyObject
* _arg5
= (PyObject
*) NULL
;
994 PyObject
* _argo0
= 0;
995 PyObject
* _argo1
= 0;
996 PyObject
* _obj5
= 0;
997 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
1010 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1024 wxPy_END_ALLOW_THREADS
;
1025 if (PyErr_Occurred()) return NULL
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1032 wxPyUserData
* data
= NULL
;
1033 if (userData
) data
= new wxPyUserData(userData
);
1034 self
->Add(width
, height
, option
, flag
, border
, data
);
1036 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1041 int _arg3
= (int ) 0;
1042 int _arg4
= (int ) 0;
1043 int _arg5
= (int ) 0;
1044 PyObject
* _arg6
= (PyObject
*) NULL
;
1045 PyObject
* _argo0
= 0;
1046 PyObject
* _obj6
= 0;
1047 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1067 wxPy_END_ALLOW_THREADS
;
1068 if (PyErr_Occurred()) return NULL
;
1069 } Py_INCREF(Py_None
);
1070 _resultobj
= Py_None
;
1074 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1075 wxPyUserData
* data
= NULL
;
1076 if (userData
) data
= new wxPyUserData(userData
);
1077 self
->Insert(before
, window
, option
, flag
, border
, data
);
1079 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1084 int _arg3
= (int ) 0;
1085 int _arg4
= (int ) 0;
1086 int _arg5
= (int ) 0;
1087 PyObject
* _arg6
= (PyObject
*) NULL
;
1088 PyObject
* _argo0
= 0;
1089 PyObject
* _argo2
= 0;
1090 PyObject
* _obj6
= 0;
1091 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1104 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1118 wxPy_END_ALLOW_THREADS
;
1119 if (PyErr_Occurred()) return NULL
;
1120 } Py_INCREF(Py_None
);
1121 _resultobj
= Py_None
;
1125 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1126 wxPyUserData
* data
= NULL
;
1127 if (userData
) data
= new wxPyUserData(userData
);
1128 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1130 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1135 int _arg3
= (int ) 0;
1136 int _arg4
= (int ) 0;
1137 int _arg5
= (int ) 0;
1138 PyObject
* _arg6
= (PyObject
*) NULL
;
1139 PyObject
* _argo0
= 0;
1140 PyObject
* _argo2
= 0;
1141 PyObject
* _obj6
= 0;
1142 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1155 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1166 wxPy_BEGIN_ALLOW_THREADS
;
1167 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1169 wxPy_END_ALLOW_THREADS
;
1170 if (PyErr_Occurred()) return NULL
;
1171 } Py_INCREF(Py_None
);
1172 _resultobj
= Py_None
;
1176 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1177 wxPyUserData
* data
= NULL
;
1178 if (userData
) data
= new wxPyUserData(userData
);
1179 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1181 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1187 int _arg4
= (int ) 0;
1188 int _arg5
= (int ) 0;
1189 int _arg6
= (int ) 0;
1190 PyObject
* _arg7
= (PyObject
*) NULL
;
1191 PyObject
* _argo0
= 0;
1192 PyObject
* _obj7
= 0;
1193 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1213 wxPy_END_ALLOW_THREADS
;
1214 if (PyErr_Occurred()) return NULL
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1220 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1221 wxPyUserData
* data
= NULL
;
1222 if (userData
) data
= new wxPyUserData(userData
);
1223 self
->Prepend(window
, option
, flag
, border
, data
);
1225 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1229 int _arg2
= (int ) 0;
1230 int _arg3
= (int ) 0;
1231 int _arg4
= (int ) 0;
1232 PyObject
* _arg5
= (PyObject
*) NULL
;
1233 PyObject
* _argo0
= 0;
1234 PyObject
* _argo1
= 0;
1235 PyObject
* _obj5
= 0;
1236 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1263 wxPy_END_ALLOW_THREADS
;
1264 if (PyErr_Occurred()) return NULL
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1270 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1271 wxPyUserData
* data
= NULL
;
1272 if (userData
) data
= new wxPyUserData(userData
);
1273 self
->Prepend(sizer
, option
, flag
, border
, data
);
1275 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1279 int _arg2
= (int ) 0;
1280 int _arg3
= (int ) 0;
1281 int _arg4
= (int ) 0;
1282 PyObject
* _arg5
= (PyObject
*) NULL
;
1283 PyObject
* _argo0
= 0;
1284 PyObject
* _argo1
= 0;
1285 PyObject
* _obj5
= 0;
1286 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1313 wxPy_END_ALLOW_THREADS
;
1314 if (PyErr_Occurred()) return NULL
;
1315 } Py_INCREF(Py_None
);
1316 _resultobj
= Py_None
;
1320 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1321 wxPyUserData
* data
= NULL
;
1322 if (userData
) data
= new wxPyUserData(userData
);
1323 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1325 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1330 int _arg3
= (int ) 0;
1331 int _arg4
= (int ) 0;
1332 int _arg5
= (int ) 0;
1333 PyObject
* _arg6
= (PyObject
*) NULL
;
1334 PyObject
* _argo0
= 0;
1335 PyObject
* _obj6
= 0;
1336 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1353 wxPy_BEGIN_ALLOW_THREADS
;
1354 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1356 wxPy_END_ALLOW_THREADS
;
1357 if (PyErr_Occurred()) return NULL
;
1358 } Py_INCREF(Py_None
);
1359 _resultobj
= Py_None
;
1363 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1364 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1369 PyObject
* _argo0
= 0;
1370 PyObject
* _argo1
= 0;
1371 char *_kwnames
[] = { "self","window", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1384 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1394 wxPy_END_ALLOW_THREADS
;
1395 if (PyErr_Occurred()) return NULL
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1401 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1406 PyObject
* _argo0
= 0;
1407 PyObject
* _argo1
= 0;
1408 char *_kwnames
[] = { "self","sizer", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1431 wxPy_END_ALLOW_THREADS
;
1432 if (PyErr_Occurred()) return NULL
;
1433 } _resultobj
= Py_BuildValue("i",_result
);
1437 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1438 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "self","pos", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1460 wxPy_END_ALLOW_THREADS
;
1461 if (PyErr_Occurred()) return NULL
;
1462 } _resultobj
= Py_BuildValue("i",_result
);
1466 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1467 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
* _resultobj
;
1474 PyObject
* _argo0
= 0;
1475 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1491 wxPy_END_ALLOW_THREADS
;
1492 if (PyErr_Occurred()) return NULL
;
1493 } Py_INCREF(Py_None
);
1494 _resultobj
= Py_None
;
1498 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1499 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1503 PyObject
* _argo0
= 0;
1505 PyObject
* _obj1
= 0;
1506 char *_kwnames
[] = { "self","size", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1520 if (! wxSize_helper(_obj1
, &_arg1
))
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 wxSizer_SetMinSize(_arg0
,*_arg1
);
1527 wxPy_END_ALLOW_THREADS
;
1528 if (PyErr_Occurred()) return NULL
;
1529 } Py_INCREF(Py_None
);
1530 _resultobj
= Py_None
;
1534 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1535 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1541 PyObject
* _argo0
= 0;
1542 PyObject
* _argo1
= 0;
1543 char *_kwnames
[] = { "self","window","width","height", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1566 wxPy_END_ALLOW_THREADS
;
1567 if (PyErr_Occurred()) return NULL
;
1568 } Py_INCREF(Py_None
);
1569 _resultobj
= Py_None
;
1573 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1574 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1581 PyObject
* _argo1
= 0;
1582 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1605 wxPy_END_ALLOW_THREADS
;
1606 if (PyErr_Occurred()) return NULL
;
1607 } Py_INCREF(Py_None
);
1608 _resultobj
= Py_None
;
1612 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1613 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1619 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1636 wxPy_END_ALLOW_THREADS
;
1637 if (PyErr_Occurred()) return NULL
;
1638 } Py_INCREF(Py_None
);
1639 _resultobj
= Py_None
;
1643 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1644 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1648 PyObject
* _argo0
= 0;
1649 char *_kwnames
[] = { "self", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1666 wxPy_END_ALLOW_THREADS
;
1667 if (PyErr_Occurred()) return NULL
;
1668 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1669 _resultobj
= Py_BuildValue("s",_ptemp
);
1673 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1674 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1678 PyObject
* _argo0
= 0;
1679 char *_kwnames
[] = { "self", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1696 wxPy_END_ALLOW_THREADS
;
1697 if (PyErr_Occurred()) return NULL
;
1698 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1699 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1704 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1708 PyObject
* _argo0
= 0;
1709 char *_kwnames
[] = { "self", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1726 wxPy_END_ALLOW_THREADS
;
1727 if (PyErr_Occurred()) return NULL
;
1728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1729 _resultobj
= Py_BuildValue("s",_ptemp
);
1733 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1734 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1737 PyObject
* _argo0
= 0;
1738 char *_kwnames
[] = { "self", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 wxSizer_Layout(_arg0
);
1754 wxPy_END_ALLOW_THREADS
;
1755 if (PyErr_Occurred()) return NULL
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1762 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1766 PyObject
* _argo0
= 0;
1767 PyObject
* _argo1
= 0;
1768 char *_kwnames
[] = { "self","window", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 wxSizer_Fit(_arg0
,_arg1
);
1791 wxPy_END_ALLOW_THREADS
;
1792 if (PyErr_Occurred()) return NULL
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1799 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1803 PyObject
* _argo0
= 0;
1804 PyObject
* _argo1
= 0;
1805 char *_kwnames
[] = { "self","window", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1825 wxPy_BEGIN_ALLOW_THREADS
;
1826 wxSizer_SetSizeHints(_arg0
,_arg1
);
1828 wxPy_END_ALLOW_THREADS
;
1829 if (PyErr_Occurred()) return NULL
;
1830 } Py_INCREF(Py_None
);
1831 _resultobj
= Py_None
;
1835 #define wxSizer_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
1836 static PyObject
*_wrap_wxSizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1839 bool _arg1
= (bool ) FALSE
;
1840 PyObject
* _argo0
= 0;
1841 int tempbool1
= (int) FALSE
;
1842 char *_kwnames
[] = { "self","delete_windows", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxSizer_Clear",_kwnames
,&_argo0
,&tempbool1
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Clear. Expected _wxSizer_p.");
1854 _arg1
= (bool ) tempbool1
;
1856 wxPy_BEGIN_ALLOW_THREADS
;
1857 wxSizer_Clear(_arg0
,_arg1
);
1859 wxPy_END_ALLOW_THREADS
;
1860 if (PyErr_Occurred()) return NULL
;
1861 } Py_INCREF(Py_None
);
1862 _resultobj
= Py_None
;
1866 #define wxSizer_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
1867 static PyObject
*_wrap_wxSizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1870 PyObject
* _argo0
= 0;
1871 char *_kwnames
[] = { "self", NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_DeleteWindows",_kwnames
,&_argo0
))
1877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_DeleteWindows. Expected _wxSizer_p.");
1884 wxPy_BEGIN_ALLOW_THREADS
;
1885 wxSizer_DeleteWindows(_arg0
);
1887 wxPy_END_ALLOW_THREADS
;
1888 if (PyErr_Occurred()) return NULL
;
1889 } Py_INCREF(Py_None
);
1890 _resultobj
= Py_None
;
1894 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1895 wxList
& list
= self
->GetChildren();
1896 return wxPy_ConvertList(&list
, "wxSizerItem");
1898 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1902 PyObject
* _argo0
= 0;
1903 char *_kwnames
[] = { "self", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1919 wxPy_END_ALLOW_THREADS
;
1920 if (PyErr_Occurred()) return NULL
;
1922 _resultobj
= _result
;
1927 static void *SwigwxPySizerTowxSizer(void *ptr
) {
1930 src
= (wxPySizer
*) ptr
;
1931 dest
= (wxSizer
*) src
;
1932 return (void *) dest
;
1935 static void *SwigwxPySizerTowxObject(void *ptr
) {
1938 src
= (wxPySizer
*) ptr
;
1939 dest
= (wxObject
*) src
;
1940 return (void *) dest
;
1943 #define new_wxPySizer() (new wxPySizer())
1944 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
* _resultobj
;
1946 wxPySizer
* _result
;
1947 char *_kwnames
[] = { NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 _result
= (wxPySizer
*)new_wxPySizer();
1957 wxPy_END_ALLOW_THREADS
;
1958 if (PyErr_Occurred()) return NULL
;
1960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
1961 _resultobj
= Py_BuildValue("s",_ptemp
);
1964 _resultobj
= Py_None
;
1969 #define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1970 static PyObject
*_wrap_wxPySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1975 PyObject
* _argo0
= 0;
1976 PyObject
* _obj1
= 0;
1977 PyObject
* _obj2
= 0;
1978 char *_kwnames
[] = { "self","self","_class", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 wxPySizer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2000 wxPy_END_ALLOW_THREADS
;
2001 if (PyErr_Occurred()) return NULL
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
2010 src
= (wxBoxSizer
*) ptr
;
2011 dest
= (wxSizer
*) src
;
2012 return (void *) dest
;
2015 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
2018 src
= (wxBoxSizer
*) ptr
;
2019 dest
= (wxObject
*) src
;
2020 return (void *) dest
;
2023 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
2024 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2026 wxBoxSizer
* _result
;
2027 int _arg0
= (int ) wxHORIZONTAL
;
2028 char *_kwnames
[] = { "orient", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 if (PyErr_Occurred()) return NULL
;
2041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
2042 _resultobj
= Py_BuildValue("s",_ptemp
);
2045 _resultobj
= Py_None
;
2050 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
2051 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
2072 wxPy_END_ALLOW_THREADS
;
2073 if (PyErr_Occurred()) return NULL
;
2074 } _resultobj
= Py_BuildValue("i",_result
);
2078 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2079 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2082 PyObject
* _argo0
= 0;
2083 char *_kwnames
[] = { "self", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 wxBoxSizer_RecalcSizes(_arg0
);
2099 wxPy_END_ALLOW_THREADS
;
2100 if (PyErr_Occurred()) return NULL
;
2101 } Py_INCREF(Py_None
);
2102 _resultobj
= Py_None
;
2106 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2107 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2111 PyObject
* _argo0
= 0;
2112 char *_kwnames
[] = { "self", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
2129 wxPy_END_ALLOW_THREADS
;
2130 if (PyErr_Occurred()) return NULL
;
2131 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2132 _resultobj
= Py_BuildValue("s",_ptemp
);
2136 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
2137 wxStaticBoxSizer
*src
;
2139 src
= (wxStaticBoxSizer
*) ptr
;
2140 dest
= (wxBoxSizer
*) src
;
2141 return (void *) dest
;
2144 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
2145 wxStaticBoxSizer
*src
;
2147 src
= (wxStaticBoxSizer
*) ptr
;
2148 dest
= (wxSizer
*) src
;
2149 return (void *) dest
;
2152 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
2153 wxStaticBoxSizer
*src
;
2155 src
= (wxStaticBoxSizer
*) ptr
;
2156 dest
= (wxObject
*) src
;
2157 return (void *) dest
;
2160 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
2161 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2163 wxStaticBoxSizer
* _result
;
2164 wxStaticBox
* _arg0
;
2165 int _arg1
= (int ) wxHORIZONTAL
;
2166 PyObject
* _argo0
= 0;
2167 char *_kwnames
[] = { "box","orient", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
2174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
2184 wxPy_END_ALLOW_THREADS
;
2185 if (PyErr_Occurred()) return NULL
;
2187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
2188 _resultobj
= Py_BuildValue("s",_ptemp
);
2191 _resultobj
= Py_None
;
2196 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
2197 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2199 wxStaticBox
* _result
;
2200 wxStaticBoxSizer
* _arg0
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2218 wxPy_END_ALLOW_THREADS
;
2219 if (PyErr_Occurred()) return NULL
;
2220 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2224 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2225 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2227 wxStaticBoxSizer
* _arg0
;
2228 PyObject
* _argo0
= 0;
2229 char *_kwnames
[] = { "self", NULL
};
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2242 wxPy_BEGIN_ALLOW_THREADS
;
2243 wxStaticBoxSizer_RecalcSizes(_arg0
);
2245 wxPy_END_ALLOW_THREADS
;
2246 if (PyErr_Occurred()) return NULL
;
2247 } Py_INCREF(Py_None
);
2248 _resultobj
= Py_None
;
2252 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2253 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2256 wxStaticBoxSizer
* _arg0
;
2257 PyObject
* _argo0
= 0;
2258 char *_kwnames
[] = { "self", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2275 wxPy_END_ALLOW_THREADS
;
2276 if (PyErr_Occurred()) return NULL
;
2277 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2278 _resultobj
= Py_BuildValue("s",_ptemp
);
2282 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2283 wxNotebookSizer
*src
;
2285 src
= (wxNotebookSizer
*) ptr
;
2286 dest
= (wxSizer
*) src
;
2287 return (void *) dest
;
2290 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
2291 wxNotebookSizer
*src
;
2293 src
= (wxNotebookSizer
*) ptr
;
2294 dest
= (wxObject
*) src
;
2295 return (void *) dest
;
2298 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2299 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2301 wxNotebookSizer
* _result
;
2303 PyObject
* _argo0
= 0;
2304 char *_kwnames
[] = { "nb", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2321 wxPy_END_ALLOW_THREADS
;
2322 if (PyErr_Occurred()) return NULL
;
2324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2325 _resultobj
= Py_BuildValue("s",_ptemp
);
2328 _resultobj
= Py_None
;
2333 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2334 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2336 wxNotebookSizer
* _arg0
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2351 wxPy_BEGIN_ALLOW_THREADS
;
2352 wxNotebookSizer_RecalcSizes(_arg0
);
2354 wxPy_END_ALLOW_THREADS
;
2355 if (PyErr_Occurred()) return NULL
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2362 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2365 wxNotebookSizer
* _arg0
;
2366 PyObject
* _argo0
= 0;
2367 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2384 wxPy_END_ALLOW_THREADS
;
2385 if (PyErr_Occurred()) return NULL
;
2386 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2387 _resultobj
= Py_BuildValue("s",_ptemp
);
2391 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2392 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
* _resultobj
;
2394 wxNotebook
* _result
;
2395 wxNotebookSizer
* _arg0
;
2396 PyObject
* _argo0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2410 wxPy_BEGIN_ALLOW_THREADS
;
2411 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2413 wxPy_END_ALLOW_THREADS
;
2414 if (PyErr_Occurred()) return NULL
;
2415 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2419 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2422 src
= (wxGridSizer
*) ptr
;
2423 dest
= (wxSizer
*) src
;
2424 return (void *) dest
;
2427 static void *SwigwxGridSizerTowxObject(void *ptr
) {
2430 src
= (wxGridSizer
*) ptr
;
2431 dest
= (wxObject
*) src
;
2432 return (void *) dest
;
2435 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2436 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2438 wxGridSizer
* _result
;
2439 int _arg0
= (int ) 1;
2440 int _arg1
= (int ) 0;
2441 int _arg2
= (int ) 0;
2442 int _arg3
= (int ) 0;
2443 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2453 wxPy_END_ALLOW_THREADS
;
2454 if (PyErr_Occurred()) return NULL
;
2456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2457 _resultobj
= Py_BuildValue("s",_ptemp
);
2460 _resultobj
= Py_None
;
2465 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2466 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
* _resultobj
;
2468 wxGridSizer
* _arg0
;
2469 PyObject
* _argo0
= 0;
2470 char *_kwnames
[] = { "self", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2483 wxPy_BEGIN_ALLOW_THREADS
;
2484 wxGridSizer_RecalcSizes(_arg0
);
2486 wxPy_END_ALLOW_THREADS
;
2487 if (PyErr_Occurred()) return NULL
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2494 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2497 wxGridSizer
* _arg0
;
2498 PyObject
* _argo0
= 0;
2499 char *_kwnames
[] = { "self", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2513 wxPy_BEGIN_ALLOW_THREADS
;
2514 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2516 wxPy_END_ALLOW_THREADS
;
2517 if (PyErr_Occurred()) return NULL
;
2518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2519 _resultobj
= Py_BuildValue("s",_ptemp
);
2523 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2524 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2526 wxGridSizer
* _arg0
;
2528 PyObject
* _argo0
= 0;
2529 char *_kwnames
[] = { "self","cols", NULL
};
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2542 wxPy_BEGIN_ALLOW_THREADS
;
2543 wxGridSizer_SetCols(_arg0
,_arg1
);
2545 wxPy_END_ALLOW_THREADS
;
2546 if (PyErr_Occurred()) return NULL
;
2547 } Py_INCREF(Py_None
);
2548 _resultobj
= Py_None
;
2552 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2553 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2555 wxGridSizer
* _arg0
;
2557 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self","rows", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2571 wxPy_BEGIN_ALLOW_THREADS
;
2572 wxGridSizer_SetRows(_arg0
,_arg1
);
2574 wxPy_END_ALLOW_THREADS
;
2575 if (PyErr_Occurred()) return NULL
;
2576 } Py_INCREF(Py_None
);
2577 _resultobj
= Py_None
;
2581 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2582 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2584 wxGridSizer
* _arg0
;
2586 PyObject
* _argo0
= 0;
2587 char *_kwnames
[] = { "self","gap", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 wxGridSizer_SetVGap(_arg0
,_arg1
);
2603 wxPy_END_ALLOW_THREADS
;
2604 if (PyErr_Occurred()) return NULL
;
2605 } Py_INCREF(Py_None
);
2606 _resultobj
= Py_None
;
2610 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2611 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2613 wxGridSizer
* _arg0
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self","gap", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 wxGridSizer_SetHGap(_arg0
,_arg1
);
2632 wxPy_END_ALLOW_THREADS
;
2633 if (PyErr_Occurred()) return NULL
;
2634 } Py_INCREF(Py_None
);
2635 _resultobj
= Py_None
;
2639 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2640 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2643 wxGridSizer
* _arg0
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self", NULL
};
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 _result
= (int )wxGridSizer_GetCols(_arg0
);
2661 wxPy_END_ALLOW_THREADS
;
2662 if (PyErr_Occurred()) return NULL
;
2663 } _resultobj
= Py_BuildValue("i",_result
);
2667 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2668 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2671 wxGridSizer
* _arg0
;
2672 PyObject
* _argo0
= 0;
2673 char *_kwnames
[] = { "self", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2686 wxPy_BEGIN_ALLOW_THREADS
;
2687 _result
= (int )wxGridSizer_GetRows(_arg0
);
2689 wxPy_END_ALLOW_THREADS
;
2690 if (PyErr_Occurred()) return NULL
;
2691 } _resultobj
= Py_BuildValue("i",_result
);
2695 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2696 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2699 wxGridSizer
* _arg0
;
2700 PyObject
* _argo0
= 0;
2701 char *_kwnames
[] = { "self", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2717 wxPy_END_ALLOW_THREADS
;
2718 if (PyErr_Occurred()) return NULL
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2724 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2727 wxGridSizer
* _arg0
;
2728 PyObject
* _argo0
= 0;
2729 char *_kwnames
[] = { "self", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2742 wxPy_BEGIN_ALLOW_THREADS
;
2743 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2745 wxPy_END_ALLOW_THREADS
;
2746 if (PyErr_Occurred()) return NULL
;
2747 } _resultobj
= Py_BuildValue("i",_result
);
2751 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2752 wxFlexGridSizer
*src
;
2754 src
= (wxFlexGridSizer
*) ptr
;
2755 dest
= (wxGridSizer
*) src
;
2756 return (void *) dest
;
2759 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2760 wxFlexGridSizer
*src
;
2762 src
= (wxFlexGridSizer
*) ptr
;
2763 dest
= (wxSizer
*) src
;
2764 return (void *) dest
;
2767 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
2768 wxFlexGridSizer
*src
;
2770 src
= (wxFlexGridSizer
*) ptr
;
2771 dest
= (wxObject
*) src
;
2772 return (void *) dest
;
2775 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2776 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2778 wxFlexGridSizer
* _result
;
2779 int _arg0
= (int ) 1;
2780 int _arg1
= (int ) 0;
2781 int _arg2
= (int ) 0;
2782 int _arg3
= (int ) 0;
2783 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2790 wxPy_BEGIN_ALLOW_THREADS
;
2791 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2793 wxPy_END_ALLOW_THREADS
;
2794 if (PyErr_Occurred()) return NULL
;
2796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2797 _resultobj
= Py_BuildValue("s",_ptemp
);
2800 _resultobj
= Py_None
;
2805 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2806 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2808 wxFlexGridSizer
* _arg0
;
2809 PyObject
* _argo0
= 0;
2810 char *_kwnames
[] = { "self", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2823 wxPy_BEGIN_ALLOW_THREADS
;
2824 wxFlexGridSizer_RecalcSizes(_arg0
);
2826 wxPy_END_ALLOW_THREADS
;
2827 if (PyErr_Occurred()) return NULL
;
2828 } Py_INCREF(Py_None
);
2829 _resultobj
= Py_None
;
2833 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2834 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2837 wxFlexGridSizer
* _arg0
;
2838 PyObject
* _argo0
= 0;
2839 char *_kwnames
[] = { "self", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2856 wxPy_END_ALLOW_THREADS
;
2857 if (PyErr_Occurred()) return NULL
;
2858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2859 _resultobj
= Py_BuildValue("s",_ptemp
);
2863 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2864 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2866 wxFlexGridSizer
* _arg0
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self","idx", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2885 wxPy_END_ALLOW_THREADS
;
2886 if (PyErr_Occurred()) return NULL
;
2887 } Py_INCREF(Py_None
);
2888 _resultobj
= Py_None
;
2892 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2893 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2895 wxFlexGridSizer
* _arg0
;
2897 PyObject
* _argo0
= 0;
2898 char *_kwnames
[] = { "self","idx", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2914 wxPy_END_ALLOW_THREADS
;
2915 if (PyErr_Occurred()) return NULL
;
2916 } Py_INCREF(Py_None
);
2917 _resultobj
= Py_None
;
2921 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2922 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2924 wxFlexGridSizer
* _arg0
;
2926 PyObject
* _argo0
= 0;
2927 char *_kwnames
[] = { "self","idx", NULL
};
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
2940 wxPy_BEGIN_ALLOW_THREADS
;
2941 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
2943 wxPy_END_ALLOW_THREADS
;
2944 if (PyErr_Occurred()) return NULL
;
2945 } Py_INCREF(Py_None
);
2946 _resultobj
= Py_None
;
2950 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
2951 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2953 wxFlexGridSizer
* _arg0
;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self","idx", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
2972 wxPy_END_ALLOW_THREADS
;
2973 if (PyErr_Occurred()) return NULL
;
2974 } Py_INCREF(Py_None
);
2975 _resultobj
= Py_None
;
2979 static PyMethodDef sizerscMethods
[] = {
2980 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2981 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
2982 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2983 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
2984 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2985 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2986 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2987 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2988 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2989 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
2990 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
2991 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
2992 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
2993 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
2994 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
2995 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
2996 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
2997 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
2998 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
2999 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3000 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3001 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
3002 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3003 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3004 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
3005 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
3006 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3007 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3008 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
3009 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
3010 { "wxPySizer__setCallbackInfo", (PyCFunction
) _wrap_wxPySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3011 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
3012 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
3013 { "wxSizer_DeleteWindows", (PyCFunction
) _wrap_wxSizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
3014 { "wxSizer_Clear", (PyCFunction
) _wrap_wxSizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3015 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
3016 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
3017 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
3018 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
3019 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3020 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3021 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
3022 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
3023 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
3024 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
3025 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
3026 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
3027 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
3028 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
3029 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3030 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
3031 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
3032 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3033 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
3034 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
3035 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3036 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
3037 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
3038 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
3039 { "wxSizer__setOORInfo", (PyCFunction
) _wrap_wxSizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
3040 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
3041 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
3042 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
3043 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
3044 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
3045 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
3046 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
3047 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
3048 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
3049 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
3050 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
3051 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
3052 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3053 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
3054 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
3055 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
3056 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
3057 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
3058 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
3059 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
3060 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3061 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3062 { "wxSizerItem_GetPosition", (PyCFunction
) _wrap_wxSizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3063 { "wxSizerItem_DeleteWindows", (PyCFunction
) _wrap_wxSizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
3070 * This table is used by the pointer type-checker
3072 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3073 { "_signed_long","_long",0},
3074 { "_wxPrintQuality","_wxCoord",0},
3075 { "_wxPrintQuality","_int",0},
3076 { "_wxPrintQuality","_signed_int",0},
3077 { "_wxPrintQuality","_unsigned_int",0},
3078 { "_wxPrintQuality","_wxWindowID",0},
3079 { "_wxPrintQuality","_uint",0},
3080 { "_wxPrintQuality","_EBool",0},
3081 { "_wxPrintQuality","_size_t",0},
3082 { "_wxPrintQuality","_time_t",0},
3083 { "_byte","_unsigned_char",0},
3084 { "_long","_unsigned_long",0},
3085 { "_long","_signed_long",0},
3086 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3087 { "_size_t","_wxCoord",0},
3088 { "_size_t","_wxPrintQuality",0},
3089 { "_size_t","_time_t",0},
3090 { "_size_t","_unsigned_int",0},
3091 { "_size_t","_int",0},
3092 { "_size_t","_wxWindowID",0},
3093 { "_size_t","_uint",0},
3094 { "_uint","_wxCoord",0},
3095 { "_uint","_wxPrintQuality",0},
3096 { "_uint","_time_t",0},
3097 { "_uint","_size_t",0},
3098 { "_uint","_unsigned_int",0},
3099 { "_uint","_int",0},
3100 { "_uint","_wxWindowID",0},
3101 { "_wxChar","_char",0},
3102 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3103 { "_char","_wxChar",0},
3104 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3105 { "_EBool","_wxCoord",0},
3106 { "_EBool","_wxPrintQuality",0},
3107 { "_EBool","_signed_int",0},
3108 { "_EBool","_int",0},
3109 { "_EBool","_wxWindowID",0},
3110 { "_unsigned_long","_long",0},
3111 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3112 { "_signed_int","_wxCoord",0},
3113 { "_signed_int","_wxPrintQuality",0},
3114 { "_signed_int","_EBool",0},
3115 { "_signed_int","_wxWindowID",0},
3116 { "_signed_int","_int",0},
3117 { "_WXTYPE","_short",0},
3118 { "_WXTYPE","_signed_short",0},
3119 { "_WXTYPE","_unsigned_short",0},
3120 { "_unsigned_short","_WXTYPE",0},
3121 { "_unsigned_short","_short",0},
3122 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3123 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
3124 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3125 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3126 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3127 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3128 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3129 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3130 { "_signed_short","_WXTYPE",0},
3131 { "_signed_short","_short",0},
3132 { "_unsigned_char","_byte",0},
3133 { "_unsigned_int","_wxCoord",0},
3134 { "_unsigned_int","_wxPrintQuality",0},
3135 { "_unsigned_int","_time_t",0},
3136 { "_unsigned_int","_size_t",0},
3137 { "_unsigned_int","_uint",0},
3138 { "_unsigned_int","_wxWindowID",0},
3139 { "_unsigned_int","_int",0},
3140 { "_short","_WXTYPE",0},
3141 { "_short","_unsigned_short",0},
3142 { "_short","_signed_short",0},
3143 { "_wxWindowID","_wxCoord",0},
3144 { "_wxWindowID","_wxPrintQuality",0},
3145 { "_wxWindowID","_time_t",0},
3146 { "_wxWindowID","_size_t",0},
3147 { "_wxWindowID","_EBool",0},
3148 { "_wxWindowID","_uint",0},
3149 { "_wxWindowID","_int",0},
3150 { "_wxWindowID","_signed_int",0},
3151 { "_wxWindowID","_unsigned_int",0},
3152 { "_int","_wxCoord",0},
3153 { "_int","_wxPrintQuality",0},
3154 { "_int","_time_t",0},
3155 { "_int","_size_t",0},
3156 { "_int","_EBool",0},
3157 { "_int","_uint",0},
3158 { "_int","_wxWindowID",0},
3159 { "_int","_unsigned_int",0},
3160 { "_int","_signed_int",0},
3161 { "_time_t","_wxCoord",0},
3162 { "_time_t","_wxPrintQuality",0},
3163 { "_time_t","_unsigned_int",0},
3164 { "_time_t","_int",0},
3165 { "_time_t","_wxWindowID",0},
3166 { "_time_t","_uint",0},
3167 { "_time_t","_size_t",0},
3168 { "_wxCoord","_int",0},
3169 { "_wxCoord","_signed_int",0},
3170 { "_wxCoord","_unsigned_int",0},
3171 { "_wxCoord","_wxWindowID",0},
3172 { "_wxCoord","_uint",0},
3173 { "_wxCoord","_EBool",0},
3174 { "_wxCoord","_size_t",0},
3175 { "_wxCoord","_time_t",0},
3176 { "_wxCoord","_wxPrintQuality",0},
3177 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3178 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3179 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3180 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3181 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3182 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3185 static PyObject
*SWIG_globals
;
3189 SWIGEXPORT(void) initsizersc() {
3191 SWIG_globals
= SWIG_newvarlink();
3192 m
= Py_InitModule("sizersc", sizerscMethods
);
3193 d
= PyModule_GetDict(m
);
3196 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3197 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);