2 * FILE : src/msw/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 class wxPySizer
: public wxSizer
{
90 DECLARE_DYNAMIC_CLASS(wxPySizer
);
92 wxPySizer() : wxSizer() {};
94 DEC_PYCALLBACK___pure(RecalcSizes
);
95 DEC_PYCALLBACK_wxSize__pure(CalcMin
);
100 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
101 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
103 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
107 static void *SwigwxSizerItemTowxObject(void *ptr
) {
110 src
= (wxSizerItem
*) ptr
;
111 dest
= (wxObject
*) src
;
112 return (void *) dest
;
115 #define wxSizerItem_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
116 static PyObject
*_wrap_wxSizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
117 PyObject
* _resultobj
;
119 PyObject
* _argo0
= 0;
120 char *_kwnames
[] = { "self", NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_DeleteWindows",_kwnames
,&_argo0
))
126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_DeleteWindows. Expected _wxSizerItem_p.");
133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
134 wxSizerItem_DeleteWindows(_arg0
);
136 wxPyEndAllowThreads(__tstate
);
137 if (PyErr_Occurred()) return NULL
;
138 } Py_INCREF(Py_None
);
139 _resultobj
= Py_None
;
143 #define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition())
144 static PyObject
*_wrap_wxSizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
145 PyObject
* _resultobj
;
148 PyObject
* _argo0
= 0;
149 char *_kwnames
[] = { "self", NULL
};
153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetPosition",_kwnames
,&_argo0
))
156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetPosition. Expected _wxSizerItem_p.");
163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
164 _result
= new wxPoint (wxSizerItem_GetPosition(_arg0
));
166 wxPyEndAllowThreads(__tstate
);
167 if (PyErr_Occurred()) return NULL
;
168 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
169 _resultobj
= Py_BuildValue("s",_ptemp
);
173 #define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
174 static PyObject
*_wrap_wxSizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
175 PyObject
* _resultobj
;
178 PyObject
* _argo0
= 0;
179 char *_kwnames
[] = { "self", NULL
};
183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSize",_kwnames
,&_argo0
))
186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
194 _result
= new wxSize (wxSizerItem_GetSize(_arg0
));
196 wxPyEndAllowThreads(__tstate
);
197 if (PyErr_Occurred()) return NULL
;
198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
203 #define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
204 static PyObject
*_wrap_wxSizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
208 PyObject
* _argo0
= 0;
209 char *_kwnames
[] = { "self", NULL
};
213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_CalcMin",_kwnames
,&_argo0
))
216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
224 _result
= new wxSize (wxSizerItem_CalcMin(_arg0
));
226 wxPyEndAllowThreads(__tstate
);
227 if (PyErr_Occurred()) return NULL
;
228 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
229 _resultobj
= Py_BuildValue("s",_ptemp
);
233 #define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
234 static PyObject
*_wrap_wxSizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
239 PyObject
* _argo0
= 0;
241 PyObject
* _obj1
= 0;
243 PyObject
* _obj2
= 0;
244 char *_kwnames
[] = { "self","pos","size", NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxSizerItem_SetDimension",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
258 if (! wxPoint_helper(_obj1
, &_arg1
))
263 if (! wxSize_helper(_obj2
, &_arg2
))
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
268 wxSizerItem_SetDimension(_arg0
,*_arg1
,*_arg2
);
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 #define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
278 static PyObject
*_wrap_wxSizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
283 PyObject
* _argo0
= 0;
284 char *_kwnames
[] = { "self","width","height", NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetRatioWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
298 wxSizerItem_SetRatioWH(_arg0
,_arg1
,_arg2
);
300 wxPyEndAllowThreads(__tstate
);
301 if (PyErr_Occurred()) return NULL
;
302 } Py_INCREF(Py_None
);
303 _resultobj
= Py_None
;
307 #define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
308 static PyObject
*_wrap_wxSizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
312 PyObject
* _argo0
= 0;
314 PyObject
* _obj1
= 0;
315 char *_kwnames
[] = { "self","size", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetRatioSize",_kwnames
,&_argo0
,&_obj1
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
329 if (! wxSize_helper(_obj1
, &_arg1
))
333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
334 wxSizerItem_SetRatioSize(_arg0
,*_arg1
);
336 wxPyEndAllowThreads(__tstate
);
337 if (PyErr_Occurred()) return NULL
;
338 } Py_INCREF(Py_None
);
339 _resultobj
= Py_None
;
343 #define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
344 static PyObject
*_wrap_wxSizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
348 PyObject
* _argo0
= 0;
349 char *_kwnames
[] = { "self","ratio", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Of:wxSizerItem_SetRatio",_kwnames
,&_argo0
,&_arg1
))
355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
363 wxSizerItem_SetRatio(_arg0
,_arg1
);
365 wxPyEndAllowThreads(__tstate
);
366 if (PyErr_Occurred()) return NULL
;
367 } Py_INCREF(Py_None
);
368 _resultobj
= Py_None
;
372 #define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
373 static PyObject
*_wrap_wxSizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
377 PyObject
* _argo0
= 0;
378 char *_kwnames
[] = { "self", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetRatio",_kwnames
,&_argo0
))
384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
392 _result
= (float )wxSizerItem_GetRatio(_arg0
);
394 wxPyEndAllowThreads(__tstate
);
395 if (PyErr_Occurred()) return NULL
;
396 } _resultobj
= Py_BuildValue("f",_result
);
400 #define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
401 static PyObject
*_wrap_wxSizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
405 PyObject
* _argo0
= 0;
406 char *_kwnames
[] = { "self", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsWindow",_kwnames
,&_argo0
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
420 _result
= (bool )wxSizerItem_IsWindow(_arg0
);
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) return NULL
;
424 } _resultobj
= Py_BuildValue("i",_result
);
428 #define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
429 static PyObject
*_wrap_wxSizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
433 PyObject
* _argo0
= 0;
434 char *_kwnames
[] = { "self", NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSizer",_kwnames
,&_argo0
))
440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
448 _result
= (bool )wxSizerItem_IsSizer(_arg0
);
450 wxPyEndAllowThreads(__tstate
);
451 if (PyErr_Occurred()) return NULL
;
452 } _resultobj
= Py_BuildValue("i",_result
);
456 #define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
457 static PyObject
*_wrap_wxSizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
458 PyObject
* _resultobj
;
461 PyObject
* _argo0
= 0;
462 char *_kwnames
[] = { "self", NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_IsSpacer",_kwnames
,&_argo0
))
468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 _result
= (bool )wxSizerItem_IsSpacer(_arg0
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
480 } _resultobj
= Py_BuildValue("i",_result
);
484 #define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
485 static PyObject
*_wrap_wxSizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
486 PyObject
* _resultobj
;
489 PyObject
* _argo0
= 0;
490 char *_kwnames
[] = { "self", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetWindow",_kwnames
,&_argo0
))
496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
504 _result
= (wxWindow
*)wxSizerItem_GetWindow(_arg0
);
506 wxPyEndAllowThreads(__tstate
);
507 if (PyErr_Occurred()) return NULL
;
508 }{ _resultobj
= wxPyMake_wxObject(_result
); }
512 #define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
513 static PyObject
*_wrap_wxSizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
514 PyObject
* _resultobj
;
517 PyObject
* _argo0
= 0;
518 PyObject
* _argo1
= 0;
519 char *_kwnames
[] = { "self","window", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetWindow",_kwnames
,&_argo0
,&_argo1
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
532 if (_argo1
== Py_None
) { _arg1
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 wxSizerItem_SetWindow(_arg0
,_arg1
);
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
544 } Py_INCREF(Py_None
);
545 _resultobj
= Py_None
;
549 #define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
550 static PyObject
*_wrap_wxSizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
554 PyObject
* _argo0
= 0;
555 char *_kwnames
[] = { "self", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetSizer",_kwnames
,&_argo0
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 _result
= (wxSizer
*)wxSizerItem_GetSizer(_arg0
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
577 #define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
578 static PyObject
*_wrap_wxSizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
582 PyObject
* _argo0
= 0;
583 PyObject
* _argo1
= 0;
584 char *_kwnames
[] = { "self","sizer", NULL
};
587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizerItem_SetSizer",_kwnames
,&_argo0
,&_argo1
))
590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 wxSizerItem_SetSizer(_arg0
,_arg1
);
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) return NULL
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 #define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
615 static PyObject
*_wrap_wxSizerItem_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetOption",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
634 _result
= (int )wxSizerItem_GetOption(_arg0
);
636 wxPyEndAllowThreads(__tstate
);
637 if (PyErr_Occurred()) return NULL
;
638 } _resultobj
= Py_BuildValue("i",_result
);
642 #define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
643 static PyObject
*_wrap_wxSizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
644 PyObject
* _resultobj
;
647 PyObject
* _argo0
= 0;
648 char *_kwnames
[] = { "self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetFlag",_kwnames
,&_argo0
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
662 _result
= (int )wxSizerItem_GetFlag(_arg0
);
664 wxPyEndAllowThreads(__tstate
);
665 if (PyErr_Occurred()) return NULL
;
666 } _resultobj
= Py_BuildValue("i",_result
);
670 #define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
671 static PyObject
*_wrap_wxSizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetBorder",_kwnames
,&_argo0
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
690 _result
= (int )wxSizerItem_GetBorder(_arg0
);
692 wxPyEndAllowThreads(__tstate
);
693 if (PyErr_Occurred()) return NULL
;
694 } _resultobj
= Py_BuildValue("i",_result
);
698 #define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
699 static PyObject
*_wrap_wxSizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
704 PyObject
* _argo0
= 0;
705 char *_kwnames
[] = { "self","x","y", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSizerItem_SetInitSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
719 wxSizerItem_SetInitSize(_arg0
,_arg1
,_arg2
);
721 wxPyEndAllowThreads(__tstate
);
722 if (PyErr_Occurred()) return NULL
;
723 } Py_INCREF(Py_None
);
724 _resultobj
= Py_None
;
728 #define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
729 static PyObject
*_wrap_wxSizerItem_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self","option", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetOption",_kwnames
,&_argo0
,&_arg1
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 wxSizerItem_SetOption(_arg0
,_arg1
);
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) return NULL
;
752 } Py_INCREF(Py_None
);
753 _resultobj
= Py_None
;
757 #define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
758 static PyObject
*_wrap_wxSizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
762 PyObject
* _argo0
= 0;
763 char *_kwnames
[] = { "self","flag", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetFlag",_kwnames
,&_argo0
,&_arg1
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
777 wxSizerItem_SetFlag(_arg0
,_arg1
);
779 wxPyEndAllowThreads(__tstate
);
780 if (PyErr_Occurred()) return NULL
;
781 } Py_INCREF(Py_None
);
782 _resultobj
= Py_None
;
786 #define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
787 static PyObject
*_wrap_wxSizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
791 PyObject
* _argo0
= 0;
792 char *_kwnames
[] = { "self","border", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizerItem_SetBorder",_kwnames
,&_argo0
,&_arg1
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
806 wxSizerItem_SetBorder(_arg0
,_arg1
);
808 wxPyEndAllowThreads(__tstate
);
809 if (PyErr_Occurred()) return NULL
;
810 } Py_INCREF(Py_None
);
811 _resultobj
= Py_None
;
815 static PyObject
* wxSizerItem_GetUserData(wxSizerItem
*self
) {
816 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
818 Py_INCREF(data
->m_obj
);
825 static PyObject
*_wrap_wxSizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
829 PyObject
* _argo0
= 0;
830 char *_kwnames
[] = { "self", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizerItem_GetUserData",_kwnames
,&_argo0
))
836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizerItem_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
844 _result
= (PyObject
*)wxSizerItem_GetUserData(_arg0
);
846 wxPyEndAllowThreads(__tstate
);
847 if (PyErr_Occurred()) return NULL
;
849 _resultobj
= _result
;
854 static void *SwigwxSizerTowxObject(void *ptr
) {
857 src
= (wxSizer
*) ptr
;
858 dest
= (wxObject
*) src
;
859 return (void *) dest
;
862 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
* _self
) {
863 self
->SetClientObject(new wxPyOORClientData(_self
));
865 static PyObject
*_wrap_wxSizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
869 PyObject
* _argo0
= 0;
870 PyObject
* _obj1
= 0;
871 char *_kwnames
[] = { "self","_self", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer__setOORInfo. Expected _wxSizer_p.");
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 wxSizer__setOORInfo(_arg0
,_arg1
);
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
892 } Py_INCREF(Py_None
);
893 _resultobj
= Py_None
;
897 static void wxSizer_Destroy(wxSizer
*self
) { delete self
; }
898 static PyObject
*_wrap_wxSizer_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Destroy",_kwnames
,&_argo0
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
916 wxSizer_Destroy(_arg0
);
918 wxPyEndAllowThreads(__tstate
);
919 if (PyErr_Occurred()) return NULL
;
920 } Py_INCREF(Py_None
);
921 _resultobj
= Py_None
;
925 static void wxSizer_AddWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
926 wxPyUserData
* data
= NULL
;
927 if (userData
) data
= new wxPyUserData(userData
);
928 self
->Add(window
, option
, flag
, border
, data
);
930 static PyObject
*_wrap_wxSizer_AddWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
934 int _arg2
= (int ) 0;
935 int _arg3
= (int ) 0;
936 int _arg4
= (int ) 0;
937 PyObject
* _arg5
= (PyObject
*) NULL
;
938 PyObject
* _argo0
= 0;
939 PyObject
* _argo1
= 0;
940 PyObject
* _obj5
= 0;
941 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
954 if (_argo1
== Py_None
) { _arg1
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 wxSizer_AddWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
970 } Py_INCREF(Py_None
);
971 _resultobj
= Py_None
;
975 static void wxSizer_AddSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
976 wxPyUserData
* data
= NULL
;
977 if (userData
) data
= new wxPyUserData(userData
);
978 self
->Add(sizer
, option
, flag
, border
, data
);
980 static PyObject
*_wrap_wxSizer_AddSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
984 int _arg2
= (int ) 0;
985 int _arg3
= (int ) 0;
986 int _arg4
= (int ) 0;
987 PyObject
* _arg5
= (PyObject
*) NULL
;
988 PyObject
* _argo0
= 0;
989 PyObject
* _argo1
= 0;
990 PyObject
* _obj5
= 0;
991 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_AddSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
1004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
1015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1016 wxSizer_AddSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1018 wxPyEndAllowThreads(__tstate
);
1019 if (PyErr_Occurred()) return NULL
;
1020 } Py_INCREF(Py_None
);
1021 _resultobj
= Py_None
;
1025 static void wxSizer_AddSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1026 wxPyUserData
* data
= NULL
;
1027 if (userData
) data
= new wxPyUserData(userData
);
1028 self
->Add(width
, height
, option
, flag
, border
, data
);
1030 static PyObject
*_wrap_wxSizer_AddSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1035 int _arg3
= (int ) 0;
1036 int _arg4
= (int ) 0;
1037 int _arg5
= (int ) 0;
1038 PyObject
* _arg6
= (PyObject
*) NULL
;
1039 PyObject
* _argo0
= 0;
1040 PyObject
* _obj6
= 0;
1041 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_AddSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 wxSizer_AddSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) return NULL
;
1063 } Py_INCREF(Py_None
);
1064 _resultobj
= Py_None
;
1068 static void wxSizer_InsertWindow(wxSizer
*self
,int before
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1069 wxPyUserData
* data
= NULL
;
1070 if (userData
) data
= new wxPyUserData(userData
);
1071 self
->Insert(before
, window
, option
, flag
, border
, data
);
1073 static PyObject
*_wrap_wxSizer_InsertWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1078 int _arg3
= (int ) 0;
1079 int _arg4
= (int ) 0;
1080 int _arg5
= (int ) 0;
1081 PyObject
* _arg6
= (PyObject
*) NULL
;
1082 PyObject
* _argo0
= 0;
1083 PyObject
* _argo2
= 0;
1084 PyObject
* _obj6
= 0;
1085 char *_kwnames
[] = { "self","before","window","option","flag","border","userData", NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertWindow",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
1098 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1099 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 wxSizer_InsertWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) return NULL
;
1114 } Py_INCREF(Py_None
);
1115 _resultobj
= Py_None
;
1119 static void wxSizer_InsertSizer(wxSizer
*self
,int before
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1120 wxPyUserData
* data
= NULL
;
1121 if (userData
) data
= new wxPyUserData(userData
);
1122 self
->Insert(before
, sizer
, option
, flag
, border
, data
);
1124 static PyObject
*_wrap_wxSizer_InsertSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1129 int _arg3
= (int ) 0;
1130 int _arg4
= (int ) 0;
1131 int _arg5
= (int ) 0;
1132 PyObject
* _arg6
= (PyObject
*) NULL
;
1133 PyObject
* _argo0
= 0;
1134 PyObject
* _argo2
= 0;
1135 PyObject
* _obj6
= 0;
1136 char *_kwnames
[] = { "self","before","sizer","option","flag","border","userData", NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|iiiO:wxSizer_InsertSizer",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1149 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1150 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxSizer_p")) {
1151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
1160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1161 wxSizer_InsertSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1163 wxPyEndAllowThreads(__tstate
);
1164 if (PyErr_Occurred()) return NULL
;
1165 } Py_INCREF(Py_None
);
1166 _resultobj
= Py_None
;
1170 static void wxSizer_InsertSpacer(wxSizer
*self
,int before
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1171 wxPyUserData
* data
= NULL
;
1172 if (userData
) data
= new wxPyUserData(userData
);
1173 self
->Insert(before
, width
, height
, option
, flag
, border
, data
);
1175 static PyObject
*_wrap_wxSizer_InsertSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1181 int _arg4
= (int ) 0;
1182 int _arg5
= (int ) 0;
1183 int _arg6
= (int ) 0;
1184 PyObject
* _arg7
= (PyObject
*) NULL
;
1185 PyObject
* _argo0
= 0;
1186 PyObject
* _obj7
= 0;
1187 char *_kwnames
[] = { "self","before","width","height","option","flag","border","userData", NULL
};
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
))
1193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1205 wxSizer_InsertSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) return NULL
;
1209 } Py_INCREF(Py_None
);
1210 _resultobj
= Py_None
;
1214 static void wxSizer_PrependWindow(wxSizer
*self
,wxWindow
* window
,int option
,int flag
,int border
,PyObject
* userData
) {
1215 wxPyUserData
* data
= NULL
;
1216 if (userData
) data
= new wxPyUserData(userData
);
1217 self
->Prepend(window
, option
, flag
, border
, data
);
1219 static PyObject
*_wrap_wxSizer_PrependWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1223 int _arg2
= (int ) 0;
1224 int _arg3
= (int ) 0;
1225 int _arg4
= (int ) 0;
1226 PyObject
* _arg5
= (PyObject
*) NULL
;
1227 PyObject
* _argo0
= 0;
1228 PyObject
* _argo1
= 0;
1229 PyObject
* _obj5
= 0;
1230 char *_kwnames
[] = { "self","window","option","flag","border","userData", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
1243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
1254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1255 wxSizer_PrependWindow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1257 wxPyEndAllowThreads(__tstate
);
1258 if (PyErr_Occurred()) return NULL
;
1259 } Py_INCREF(Py_None
);
1260 _resultobj
= Py_None
;
1264 static void wxSizer_PrependSizer(wxSizer
*self
,wxSizer
* sizer
,int option
,int flag
,int border
,PyObject
* userData
) {
1265 wxPyUserData
* data
= NULL
;
1266 if (userData
) data
= new wxPyUserData(userData
);
1267 self
->Prepend(sizer
, option
, flag
, border
, data
);
1269 static PyObject
*_wrap_wxSizer_PrependSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
* _resultobj
;
1273 int _arg2
= (int ) 0;
1274 int _arg3
= (int ) 0;
1275 int _arg4
= (int ) 0;
1276 PyObject
* _arg5
= (PyObject
*) NULL
;
1277 PyObject
* _argo0
= 0;
1278 PyObject
* _argo1
= 0;
1279 PyObject
* _obj5
= 0;
1280 char *_kwnames
[] = { "self","sizer","option","flag","border","userData", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iiiO:wxSizer_PrependSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 wxSizer_PrependSizer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 } Py_INCREF(Py_None
);
1310 _resultobj
= Py_None
;
1314 static void wxSizer_PrependSpacer(wxSizer
*self
,int width
,int height
,int option
,int flag
,int border
,PyObject
* userData
) {
1315 wxPyUserData
* data
= NULL
;
1316 if (userData
) data
= new wxPyUserData(userData
);
1317 self
->Prepend(width
, height
, option
, flag
, border
, data
);
1319 static PyObject
*_wrap_wxSizer_PrependSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1324 int _arg3
= (int ) 0;
1325 int _arg4
= (int ) 0;
1326 int _arg5
= (int ) 0;
1327 PyObject
* _arg6
= (PyObject
*) NULL
;
1328 PyObject
* _argo0
= 0;
1329 PyObject
* _obj6
= 0;
1330 char *_kwnames
[] = { "self","width","height","option","flag","border","userData", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 wxSizer_PrependSpacer(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1357 #define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1358 static PyObject
*_wrap_wxSizer_RemoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1363 PyObject
* _argo0
= 0;
1364 PyObject
* _argo1
= 0;
1365 char *_kwnames
[] = { "self","window", NULL
};
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveWindow",_kwnames
,&_argo0
,&_argo1
))
1371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
1378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
1385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1386 _result
= (bool )wxSizer_RemoveWindow(_arg0
,_arg1
);
1388 wxPyEndAllowThreads(__tstate
);
1389 if (PyErr_Occurred()) return NULL
;
1390 } _resultobj
= Py_BuildValue("i",_result
);
1394 #define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1395 static PyObject
*_wrap_wxSizer_RemoveSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1400 PyObject
* _argo0
= 0;
1401 PyObject
* _argo1
= 0;
1402 char *_kwnames
[] = { "self","sizer", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_RemoveSizer",_kwnames
,&_argo0
,&_argo1
))
1408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (bool )wxSizer_RemoveSizer(_arg0
,_arg1
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } _resultobj
= Py_BuildValue("i",_result
);
1431 #define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
1432 static PyObject
*_wrap_wxSizer_RemovePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","pos", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSizer_RemovePos",_kwnames
,&_argo0
,&_arg1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 _result
= (bool )wxSizer_RemovePos(_arg0
,_arg1
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1461 static PyObject
*_wrap_wxSizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxSizer_SetDimension",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 wxSizer_SetDimension(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) return NULL
;
1487 } Py_INCREF(Py_None
);
1488 _resultobj
= Py_None
;
1492 #define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
1493 static PyObject
*_wrap_wxSizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1497 PyObject
* _argo0
= 0;
1499 PyObject
* _obj1
= 0;
1500 char *_kwnames
[] = { "self","size", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetMinSize",_kwnames
,&_argo0
,&_obj1
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
1514 if (! wxSize_helper(_obj1
, &_arg1
))
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 wxSizer_SetMinSize(_arg0
,*_arg1
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) return NULL
;
1523 } Py_INCREF(Py_None
);
1524 _resultobj
= Py_None
;
1528 #define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1529 static PyObject
*_wrap_wxSizer_SetItemMinSizeWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 PyObject
* _argo1
= 0;
1537 char *_kwnames
[] = { "self","window","width","height", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
1550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 wxSizer_SetItemMinSizeWindow(_arg0
,_arg1
,_arg2
,_arg3
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) return NULL
;
1562 } Py_INCREF(Py_None
);
1563 _resultobj
= Py_None
;
1567 #define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1568 static PyObject
*_wrap_wxSizer_SetItemMinSizeSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1574 PyObject
* _argo0
= 0;
1575 PyObject
* _argo1
= 0;
1576 char *_kwnames
[] = { "self","sizer","width","height", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 wxSizer_SetItemMinSizeSizer(_arg0
,_arg1
,_arg2
,_arg3
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) return NULL
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 #define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
1607 static PyObject
*_wrap_wxSizer_SetItemMinSizePos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1613 PyObject
* _argo0
= 0;
1614 char *_kwnames
[] = { "self","pos","width","height", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxSizer_SetItemMinSizePos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 wxSizer_SetItemMinSizePos(_arg0
,_arg1
,_arg2
,_arg3
);
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) return NULL
;
1632 } Py_INCREF(Py_None
);
1633 _resultobj
= Py_None
;
1637 #define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
1638 static PyObject
*_wrap_wxSizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1642 PyObject
* _argo0
= 0;
1643 char *_kwnames
[] = { "self", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetSize",_kwnames
,&_argo0
))
1650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 _result
= new wxSize (wxSizer_GetSize(_arg0
));
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) return NULL
;
1662 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1663 _resultobj
= Py_BuildValue("s",_ptemp
);
1667 #define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
1668 static PyObject
*_wrap_wxSizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetPosition",_kwnames
,&_argo0
))
1680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 _result
= new wxPoint (wxSizer_GetPosition(_arg0
));
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) return NULL
;
1692 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1693 _resultobj
= Py_BuildValue("s",_ptemp
);
1697 #define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
1698 static PyObject
*_wrap_wxSizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1702 PyObject
* _argo0
= 0;
1703 char *_kwnames
[] = { "self", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetMinSize",_kwnames
,&_argo0
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 _result
= new wxSize (wxSizer_GetMinSize(_arg0
));
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) return NULL
;
1722 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1723 _resultobj
= Py_BuildValue("s",_ptemp
);
1727 #define wxSizer_Layout(_swigobj) (_swigobj->Layout())
1728 static PyObject
*_wrap_wxSizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1731 PyObject
* _argo0
= 0;
1732 char *_kwnames
[] = { "self", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_Layout",_kwnames
,&_argo0
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 wxSizer_Layout(_arg0
);
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } Py_INCREF(Py_None
);
1751 _resultobj
= Py_None
;
1755 #define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
1756 static PyObject
*_wrap_wxSizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1761 PyObject
* _argo0
= 0;
1762 PyObject
* _argo1
= 0;
1763 char *_kwnames
[] = { "self","window", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_Fit",_kwnames
,&_argo0
,&_argo1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
1777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 _result
= new wxSize (wxSizer_Fit(_arg0
,_arg1
));
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1789 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1790 _resultobj
= Py_BuildValue("s",_ptemp
);
1794 #define wxSizer_FitInside(_swigobj,_swigarg0) (_swigobj->FitInside(_swigarg0))
1795 static PyObject
*_wrap_wxSizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1799 PyObject
* _argo0
= 0;
1800 PyObject
* _argo1
= 0;
1801 char *_kwnames
[] = { "self","window", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_FitInside",_kwnames
,&_argo0
,&_argo1
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_FitInside. Expected _wxSizer_p.");
1814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_FitInside. Expected _wxWindow_p.");
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 wxSizer_FitInside(_arg0
,_arg1
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1831 #define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
1832 static PyObject
*_wrap_wxSizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1836 PyObject
* _argo0
= 0;
1837 PyObject
* _argo1
= 0;
1838 char *_kwnames
[] = { "self","window", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetSizeHints",_kwnames
,&_argo0
,&_argo1
))
1844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
1851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 wxSizer_SetSizeHints(_arg0
,_arg1
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1863 } Py_INCREF(Py_None
);
1864 _resultobj
= Py_None
;
1868 #define wxSizer_SetVirtualSizeHints(_swigobj,_swigarg0) (_swigobj->SetVirtualSizeHints(_swigarg0))
1869 static PyObject
*_wrap_wxSizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 PyObject
* _argo1
= 0;
1875 char *_kwnames
[] = { "self","window", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSizer_SetVirtualSizeHints",_kwnames
,&_argo0
,&_argo1
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_SetVirtualSizeHints. Expected _wxSizer_p.");
1888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSizer_SetVirtualSizeHints. Expected _wxWindow_p.");
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 wxSizer_SetVirtualSizeHints(_arg0
,_arg1
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1905 #define wxSizer_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
1906 static PyObject
*_wrap_wxSizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 bool _arg1
= (bool ) FALSE
;
1910 PyObject
* _argo0
= 0;
1911 int tempbool1
= (int) FALSE
;
1912 char *_kwnames
[] = { "self","delete_windows", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxSizer_Clear",_kwnames
,&_argo0
,&tempbool1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_Clear. Expected _wxSizer_p.");
1924 _arg1
= (bool ) tempbool1
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 wxSizer_Clear(_arg0
,_arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } Py_INCREF(Py_None
);
1932 _resultobj
= Py_None
;
1936 #define wxSizer_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
1937 static PyObject
*_wrap_wxSizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1940 PyObject
* _argo0
= 0;
1941 char *_kwnames
[] = { "self", NULL
};
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_DeleteWindows",_kwnames
,&_argo0
))
1947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_DeleteWindows. Expected _wxSizer_p.");
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 wxSizer_DeleteWindows(_arg0
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 } Py_INCREF(Py_None
);
1960 _resultobj
= Py_None
;
1964 static PyObject
* wxSizer_GetChildren(wxSizer
*self
) {
1965 wxList
& list
= self
->GetChildren();
1966 return wxPy_ConvertList(&list
, "wxSizerItem");
1968 static PyObject
*_wrap_wxSizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1972 PyObject
* _argo0
= 0;
1973 char *_kwnames
[] = { "self", NULL
};
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSizer_GetChildren",_kwnames
,&_argo0
))
1979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSizer_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 _result
= (PyObject
*)wxSizer_GetChildren(_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1992 _resultobj
= _result
;
1997 static void *SwigwxPySizerTowxSizer(void *ptr
) {
2000 src
= (wxPySizer
*) ptr
;
2001 dest
= (wxSizer
*) src
;
2002 return (void *) dest
;
2005 static void *SwigwxPySizerTowxObject(void *ptr
) {
2008 src
= (wxPySizer
*) ptr
;
2009 dest
= (wxObject
*) src
;
2010 return (void *) dest
;
2013 #define new_wxPySizer() (new wxPySizer())
2014 static PyObject
*_wrap_new_wxPySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2016 wxPySizer
* _result
;
2017 char *_kwnames
[] = { NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPySizer",_kwnames
))
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 _result
= (wxPySizer
*)new_wxPySizer();
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) return NULL
;
2030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPySizer_p");
2031 _resultobj
= Py_BuildValue("s",_ptemp
);
2034 _resultobj
= Py_None
;
2039 #define wxPySizer__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2040 static PyObject
*_wrap_wxPySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2045 PyObject
* _argo0
= 0;
2046 PyObject
* _obj1
= 0;
2047 PyObject
* _obj2
= 0;
2048 char *_kwnames
[] = { "self","self","_class", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPySizer__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPySizer_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPySizer__setCallbackInfo. Expected _wxPySizer_p.");
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 wxPySizer__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) return NULL
;
2072 } Py_INCREF(Py_None
);
2073 _resultobj
= Py_None
;
2077 static void *SwigwxBoxSizerTowxSizer(void *ptr
) {
2080 src
= (wxBoxSizer
*) ptr
;
2081 dest
= (wxSizer
*) src
;
2082 return (void *) dest
;
2085 static void *SwigwxBoxSizerTowxObject(void *ptr
) {
2088 src
= (wxBoxSizer
*) ptr
;
2089 dest
= (wxObject
*) src
;
2090 return (void *) dest
;
2093 #define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
2094 static PyObject
*_wrap_new_wxBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2096 wxBoxSizer
* _result
;
2097 int _arg0
= (int ) wxHORIZONTAL
;
2098 char *_kwnames
[] = { "orient", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxBoxSizer",_kwnames
,&_arg0
))
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 _result
= (wxBoxSizer
*)new_wxBoxSizer(_arg0
);
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) return NULL
;
2111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBoxSizer_p");
2112 _resultobj
= Py_BuildValue("s",_ptemp
);
2115 _resultobj
= Py_None
;
2120 #define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
2121 static PyObject
*_wrap_wxBoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 char *_kwnames
[] = { "self", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_GetOrientation",_kwnames
,&_argo0
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 _result
= (int )wxBoxSizer_GetOrientation(_arg0
);
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) return NULL
;
2144 } _resultobj
= Py_BuildValue("i",_result
);
2148 #define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2149 static PyObject
*_wrap_wxBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 wxBoxSizer_RecalcSizes(_arg0
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) return NULL
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2177 static PyObject
*_wrap_wxBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2181 PyObject
* _argo0
= 0;
2182 char *_kwnames
[] = { "self", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBoxSizer_CalcMin",_kwnames
,&_argo0
))
2189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBoxSizer_p")) {
2191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 _result
= new wxSize (wxBoxSizer_CalcMin(_arg0
));
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) return NULL
;
2201 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2202 _resultobj
= Py_BuildValue("s",_ptemp
);
2206 static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr
) {
2207 wxStaticBoxSizer
*src
;
2209 src
= (wxStaticBoxSizer
*) ptr
;
2210 dest
= (wxBoxSizer
*) src
;
2211 return (void *) dest
;
2214 static void *SwigwxStaticBoxSizerTowxSizer(void *ptr
) {
2215 wxStaticBoxSizer
*src
;
2217 src
= (wxStaticBoxSizer
*) ptr
;
2218 dest
= (wxSizer
*) src
;
2219 return (void *) dest
;
2222 static void *SwigwxStaticBoxSizerTowxObject(void *ptr
) {
2223 wxStaticBoxSizer
*src
;
2225 src
= (wxStaticBoxSizer
*) ptr
;
2226 dest
= (wxObject
*) src
;
2227 return (void *) dest
;
2230 #define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
2231 static PyObject
*_wrap_new_wxStaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2233 wxStaticBoxSizer
* _result
;
2234 wxStaticBox
* _arg0
;
2235 int _arg1
= (int ) wxHORIZONTAL
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "box","orient", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxStaticBoxSizer",_kwnames
,&_argo0
,&_arg1
))
2244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 _result
= (wxStaticBoxSizer
*)new_wxStaticBoxSizer(_arg0
,_arg1
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBoxSizer_p");
2258 _resultobj
= Py_BuildValue("s",_ptemp
);
2261 _resultobj
= Py_None
;
2266 #define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
2267 static PyObject
*_wrap_wxStaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2269 wxStaticBox
* _result
;
2270 wxStaticBoxSizer
* _arg0
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_GetStaticBox",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 _result
= (wxStaticBox
*)wxStaticBoxSizer_GetStaticBox(_arg0
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) return NULL
;
2290 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2294 #define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2295 static PyObject
*_wrap_wxStaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2297 wxStaticBoxSizer
* _arg0
;
2298 PyObject
* _argo0
= 0;
2299 char *_kwnames
[] = { "self", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_RecalcSizes",_kwnames
,&_argo0
))
2305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 wxStaticBoxSizer_RecalcSizes(_arg0
);
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) return NULL
;
2317 } Py_INCREF(Py_None
);
2318 _resultobj
= Py_None
;
2322 #define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2323 static PyObject
*_wrap_wxStaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2326 wxStaticBoxSizer
* _arg0
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBoxSizer_CalcMin",_kwnames
,&_argo0
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBoxSizer_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 _result
= new wxSize (wxStaticBoxSizer_CalcMin(_arg0
));
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) return NULL
;
2347 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2348 _resultobj
= Py_BuildValue("s",_ptemp
);
2352 static void *SwigwxNotebookSizerTowxSizer(void *ptr
) {
2353 wxNotebookSizer
*src
;
2355 src
= (wxNotebookSizer
*) ptr
;
2356 dest
= (wxSizer
*) src
;
2357 return (void *) dest
;
2360 static void *SwigwxNotebookSizerTowxObject(void *ptr
) {
2361 wxNotebookSizer
*src
;
2363 src
= (wxNotebookSizer
*) ptr
;
2364 dest
= (wxObject
*) src
;
2365 return (void *) dest
;
2368 #define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
2369 static PyObject
*_wrap_new_wxNotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2371 wxNotebookSizer
* _result
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "nb", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxNotebookSizer",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebook_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 _result
= (wxNotebookSizer
*)new_wxNotebookSizer(_arg0
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxNotebookSizer_p");
2395 _resultobj
= Py_BuildValue("s",_ptemp
);
2398 _resultobj
= Py_None
;
2403 #define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2404 static PyObject
*_wrap_wxNotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2406 wxNotebookSizer
* _arg0
;
2407 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_RecalcSizes",_kwnames
,&_argo0
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 wxNotebookSizer_RecalcSizes(_arg0
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2432 static PyObject
*_wrap_wxNotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2435 wxNotebookSizer
* _arg0
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_CalcMin",_kwnames
,&_argo0
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 _result
= new wxSize (wxNotebookSizer_CalcMin(_arg0
));
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) return NULL
;
2456 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2457 _resultobj
= Py_BuildValue("s",_ptemp
);
2461 #define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
2462 static PyObject
*_wrap_wxNotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2464 wxNotebook
* _result
;
2465 wxNotebookSizer
* _arg0
;
2466 PyObject
* _argo0
= 0;
2467 char *_kwnames
[] = { "self", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxNotebookSizer_GetNotebook",_kwnames
,&_argo0
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxNotebookSizer_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 _result
= (wxNotebook
*)wxNotebookSizer_GetNotebook(_arg0
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) return NULL
;
2485 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2489 static void *SwigwxGridSizerTowxSizer(void *ptr
) {
2492 src
= (wxGridSizer
*) ptr
;
2493 dest
= (wxSizer
*) src
;
2494 return (void *) dest
;
2497 static void *SwigwxGridSizerTowxObject(void *ptr
) {
2500 src
= (wxGridSizer
*) ptr
;
2501 dest
= (wxObject
*) src
;
2502 return (void *) dest
;
2505 #define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2506 static PyObject
*_wrap_new_wxGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
* _resultobj
;
2508 wxGridSizer
* _result
;
2509 int _arg0
= (int ) 1;
2510 int _arg1
= (int ) 0;
2511 int _arg2
= (int ) 0;
2512 int _arg3
= (int ) 0;
2513 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 _result
= (wxGridSizer
*)new_wxGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) return NULL
;
2526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGridSizer_p");
2527 _resultobj
= Py_BuildValue("s",_ptemp
);
2530 _resultobj
= Py_None
;
2535 #define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2536 static PyObject
*_wrap_wxGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2538 wxGridSizer
* _arg0
;
2539 PyObject
* _argo0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 wxGridSizer_RecalcSizes(_arg0
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) return NULL
;
2558 } Py_INCREF(Py_None
);
2559 _resultobj
= Py_None
;
2563 #define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2564 static PyObject
*_wrap_wxGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
* _resultobj
;
2567 wxGridSizer
* _arg0
;
2568 PyObject
* _argo0
= 0;
2569 char *_kwnames
[] = { "self", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_CalcMin",_kwnames
,&_argo0
))
2576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 _result
= new wxSize (wxGridSizer_CalcMin(_arg0
));
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) return NULL
;
2588 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2589 _resultobj
= Py_BuildValue("s",_ptemp
);
2593 #define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
2594 static PyObject
*_wrap_wxGridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2596 wxGridSizer
* _arg0
;
2598 PyObject
* _argo0
= 0;
2599 char *_kwnames
[] = { "self","cols", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetCols",_kwnames
,&_argo0
,&_arg1
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 wxGridSizer_SetCols(_arg0
,_arg1
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) return NULL
;
2617 } Py_INCREF(Py_None
);
2618 _resultobj
= Py_None
;
2622 #define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2623 static PyObject
*_wrap_wxGridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2625 wxGridSizer
* _arg0
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self","rows", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetRows",_kwnames
,&_argo0
,&_arg1
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 wxGridSizer_SetRows(_arg0
,_arg1
);
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) return NULL
;
2646 } Py_INCREF(Py_None
);
2647 _resultobj
= Py_None
;
2651 #define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
2652 static PyObject
*_wrap_wxGridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
* _resultobj
;
2654 wxGridSizer
* _arg0
;
2656 PyObject
* _argo0
= 0;
2657 char *_kwnames
[] = { "self","gap", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetVGap",_kwnames
,&_argo0
,&_arg1
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 wxGridSizer_SetVGap(_arg0
,_arg1
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) return NULL
;
2675 } Py_INCREF(Py_None
);
2676 _resultobj
= Py_None
;
2680 #define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
2681 static PyObject
*_wrap_wxGridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2683 wxGridSizer
* _arg0
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self","gap", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGridSizer_SetHGap",_kwnames
,&_argo0
,&_arg1
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 wxGridSizer_SetHGap(_arg0
,_arg1
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } Py_INCREF(Py_None
);
2705 _resultobj
= Py_None
;
2709 #define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
2710 static PyObject
*_wrap_wxGridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2713 wxGridSizer
* _arg0
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetCols",_kwnames
,&_argo0
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 _result
= (int )wxGridSizer_GetCols(_arg0
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } _resultobj
= Py_BuildValue("i",_result
);
2737 #define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
2738 static PyObject
*_wrap_wxGridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2741 wxGridSizer
* _arg0
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetRows",_kwnames
,&_argo0
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 _result
= (int )wxGridSizer_GetRows(_arg0
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } _resultobj
= Py_BuildValue("i",_result
);
2765 #define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
2766 static PyObject
*_wrap_wxGridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2769 wxGridSizer
* _arg0
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetVGap",_kwnames
,&_argo0
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 _result
= (int )wxGridSizer_GetVGap(_arg0
);
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) return NULL
;
2789 } _resultobj
= Py_BuildValue("i",_result
);
2793 #define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
2794 static PyObject
*_wrap_wxGridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
* _resultobj
;
2797 wxGridSizer
* _arg0
;
2798 PyObject
* _argo0
= 0;
2799 char *_kwnames
[] = { "self", NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGridSizer_GetHGap",_kwnames
,&_argo0
))
2805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGridSizer_p")) {
2807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 _result
= (int )wxGridSizer_GetHGap(_arg0
);
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) return NULL
;
2817 } _resultobj
= Py_BuildValue("i",_result
);
2821 static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr
) {
2822 wxFlexGridSizer
*src
;
2824 src
= (wxFlexGridSizer
*) ptr
;
2825 dest
= (wxGridSizer
*) src
;
2826 return (void *) dest
;
2829 static void *SwigwxFlexGridSizerTowxSizer(void *ptr
) {
2830 wxFlexGridSizer
*src
;
2832 src
= (wxFlexGridSizer
*) ptr
;
2833 dest
= (wxSizer
*) src
;
2834 return (void *) dest
;
2837 static void *SwigwxFlexGridSizerTowxObject(void *ptr
) {
2838 wxFlexGridSizer
*src
;
2840 src
= (wxFlexGridSizer
*) ptr
;
2841 dest
= (wxObject
*) src
;
2842 return (void *) dest
;
2845 #define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2846 static PyObject
*_wrap_new_wxFlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2848 wxFlexGridSizer
* _result
;
2849 int _arg0
= (int ) 1;
2850 int _arg1
= (int ) 0;
2851 int _arg2
= (int ) 0;
2852 int _arg3
= (int ) 0;
2853 char *_kwnames
[] = { "rows","cols","vgap","hgap", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxFlexGridSizer",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 _result
= (wxFlexGridSizer
*)new_wxFlexGridSizer(_arg0
,_arg1
,_arg2
,_arg3
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) return NULL
;
2866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFlexGridSizer_p");
2867 _resultobj
= Py_BuildValue("s",_ptemp
);
2870 _resultobj
= Py_None
;
2875 #define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
2876 static PyObject
*_wrap_wxFlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2878 wxFlexGridSizer
* _arg0
;
2879 PyObject
* _argo0
= 0;
2880 char *_kwnames
[] = { "self", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_RecalcSizes",_kwnames
,&_argo0
))
2886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 wxFlexGridSizer_RecalcSizes(_arg0
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) return NULL
;
2898 } Py_INCREF(Py_None
);
2899 _resultobj
= Py_None
;
2903 #define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
2904 static PyObject
*_wrap_wxFlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2907 wxFlexGridSizer
* _arg0
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFlexGridSizer_CalcMin",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 _result
= new wxSize (wxFlexGridSizer_CalcMin(_arg0
));
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2928 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2929 _resultobj
= Py_BuildValue("s",_ptemp
);
2933 #define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
2934 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2936 wxFlexGridSizer
* _arg0
;
2938 PyObject
* _argo0
= 0;
2939 char *_kwnames
[] = { "self","idx", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 wxFlexGridSizer_AddGrowableRow(_arg0
,_arg1
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) return NULL
;
2957 } Py_INCREF(Py_None
);
2958 _resultobj
= Py_None
;
2962 #define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
2963 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
* _resultobj
;
2965 wxFlexGridSizer
* _arg0
;
2967 PyObject
* _argo0
= 0;
2968 char *_kwnames
[] = { "self","idx", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames
,&_argo0
,&_arg1
))
2974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 wxFlexGridSizer_RemoveGrowableRow(_arg0
,_arg1
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) return NULL
;
2986 } Py_INCREF(Py_None
);
2987 _resultobj
= Py_None
;
2991 #define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
2992 static PyObject
*_wrap_wxFlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2994 wxFlexGridSizer
* _arg0
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self","idx", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames
,&_argo0
,&_arg1
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 wxFlexGridSizer_AddGrowableCol(_arg0
,_arg1
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } Py_INCREF(Py_None
);
3016 _resultobj
= Py_None
;
3020 #define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
3021 static PyObject
*_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3023 wxFlexGridSizer
* _arg0
;
3025 PyObject
* _argo0
= 0;
3026 char *_kwnames
[] = { "self","idx", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames
,&_argo0
,&_arg1
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFlexGridSizer_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 wxFlexGridSizer_RemoveGrowableCol(_arg0
,_arg1
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) return NULL
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 static PyMethodDef sizerscMethods
[] = {
3050 { "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
3051 { "wxFlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
3052 { "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
3053 { "wxFlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_wxFlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
3054 { "wxFlexGridSizer_CalcMin", (PyCFunction
) _wrap_wxFlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3055 { "wxFlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxFlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3056 { "new_wxFlexGridSizer", (PyCFunction
) _wrap_new_wxFlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
3057 { "wxGridSizer_GetHGap", (PyCFunction
) _wrap_wxGridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
3058 { "wxGridSizer_GetVGap", (PyCFunction
) _wrap_wxGridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
3059 { "wxGridSizer_GetRows", (PyCFunction
) _wrap_wxGridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
3060 { "wxGridSizer_GetCols", (PyCFunction
) _wrap_wxGridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
3061 { "wxGridSizer_SetHGap", (PyCFunction
) _wrap_wxGridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
3062 { "wxGridSizer_SetVGap", (PyCFunction
) _wrap_wxGridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
3063 { "wxGridSizer_SetRows", (PyCFunction
) _wrap_wxGridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
3064 { "wxGridSizer_SetCols", (PyCFunction
) _wrap_wxGridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
3065 { "wxGridSizer_CalcMin", (PyCFunction
) _wrap_wxGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3066 { "wxGridSizer_RecalcSizes", (PyCFunction
) _wrap_wxGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3067 { "new_wxGridSizer", (PyCFunction
) _wrap_new_wxGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
3068 { "wxNotebookSizer_GetNotebook", (PyCFunction
) _wrap_wxNotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
3069 { "wxNotebookSizer_CalcMin", (PyCFunction
) _wrap_wxNotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3070 { "wxNotebookSizer_RecalcSizes", (PyCFunction
) _wrap_wxNotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3071 { "new_wxNotebookSizer", (PyCFunction
) _wrap_new_wxNotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
3072 { "wxStaticBoxSizer_CalcMin", (PyCFunction
) _wrap_wxStaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3073 { "wxStaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxStaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3074 { "wxStaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_wxStaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
3075 { "new_wxStaticBoxSizer", (PyCFunction
) _wrap_new_wxStaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
3076 { "wxBoxSizer_CalcMin", (PyCFunction
) _wrap_wxBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3077 { "wxBoxSizer_RecalcSizes", (PyCFunction
) _wrap_wxBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
3078 { "wxBoxSizer_GetOrientation", (PyCFunction
) _wrap_wxBoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
3079 { "new_wxBoxSizer", (PyCFunction
) _wrap_new_wxBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
3080 { "wxPySizer__setCallbackInfo", (PyCFunction
) _wrap_wxPySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
3081 { "new_wxPySizer", (PyCFunction
) _wrap_new_wxPySizer
, METH_VARARGS
| METH_KEYWORDS
},
3082 { "wxSizer_GetChildren", (PyCFunction
) _wrap_wxSizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
3083 { "wxSizer_DeleteWindows", (PyCFunction
) _wrap_wxSizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
3084 { "wxSizer_Clear", (PyCFunction
) _wrap_wxSizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
3085 { "wxSizer_SetVirtualSizeHints", (PyCFunction
) _wrap_wxSizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
3086 { "wxSizer_SetSizeHints", (PyCFunction
) _wrap_wxSizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
3087 { "wxSizer_FitInside", (PyCFunction
) _wrap_wxSizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
3088 { "wxSizer_Fit", (PyCFunction
) _wrap_wxSizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
3089 { "wxSizer_Layout", (PyCFunction
) _wrap_wxSizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
3090 { "wxSizer_GetMinSize", (PyCFunction
) _wrap_wxSizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
3091 { "wxSizer_GetPosition", (PyCFunction
) _wrap_wxSizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3092 { "wxSizer_GetSize", (PyCFunction
) _wrap_wxSizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3093 { "wxSizer_SetItemMinSizePos", (PyCFunction
) _wrap_wxSizer_SetItemMinSizePos
, METH_VARARGS
| METH_KEYWORDS
},
3094 { "wxSizer_SetItemMinSizeSizer", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeSizer
, METH_VARARGS
| METH_KEYWORDS
},
3095 { "wxSizer_SetItemMinSizeWindow", (PyCFunction
) _wrap_wxSizer_SetItemMinSizeWindow
, METH_VARARGS
| METH_KEYWORDS
},
3096 { "wxSizer_SetMinSize", (PyCFunction
) _wrap_wxSizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
3097 { "wxSizer_SetDimension", (PyCFunction
) _wrap_wxSizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
3098 { "wxSizer_RemovePos", (PyCFunction
) _wrap_wxSizer_RemovePos
, METH_VARARGS
| METH_KEYWORDS
},
3099 { "wxSizer_RemoveSizer", (PyCFunction
) _wrap_wxSizer_RemoveSizer
, METH_VARARGS
| METH_KEYWORDS
},
3100 { "wxSizer_RemoveWindow", (PyCFunction
) _wrap_wxSizer_RemoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
3101 { "wxSizer_PrependSpacer", (PyCFunction
) _wrap_wxSizer_PrependSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3102 { "wxSizer_PrependSizer", (PyCFunction
) _wrap_wxSizer_PrependSizer
, METH_VARARGS
| METH_KEYWORDS
},
3103 { "wxSizer_PrependWindow", (PyCFunction
) _wrap_wxSizer_PrependWindow
, METH_VARARGS
| METH_KEYWORDS
},
3104 { "wxSizer_InsertSpacer", (PyCFunction
) _wrap_wxSizer_InsertSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3105 { "wxSizer_InsertSizer", (PyCFunction
) _wrap_wxSizer_InsertSizer
, METH_VARARGS
| METH_KEYWORDS
},
3106 { "wxSizer_InsertWindow", (PyCFunction
) _wrap_wxSizer_InsertWindow
, METH_VARARGS
| METH_KEYWORDS
},
3107 { "wxSizer_AddSpacer", (PyCFunction
) _wrap_wxSizer_AddSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3108 { "wxSizer_AddSizer", (PyCFunction
) _wrap_wxSizer_AddSizer
, METH_VARARGS
| METH_KEYWORDS
},
3109 { "wxSizer_AddWindow", (PyCFunction
) _wrap_wxSizer_AddWindow
, METH_VARARGS
| METH_KEYWORDS
},
3110 { "wxSizer_Destroy", (PyCFunction
) _wrap_wxSizer_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
3111 { "wxSizer__setOORInfo", (PyCFunction
) _wrap_wxSizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
3112 { "wxSizerItem_GetUserData", (PyCFunction
) _wrap_wxSizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
3113 { "wxSizerItem_SetBorder", (PyCFunction
) _wrap_wxSizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
3114 { "wxSizerItem_SetFlag", (PyCFunction
) _wrap_wxSizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
3115 { "wxSizerItem_SetOption", (PyCFunction
) _wrap_wxSizerItem_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
3116 { "wxSizerItem_SetInitSize", (PyCFunction
) _wrap_wxSizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
3117 { "wxSizerItem_GetBorder", (PyCFunction
) _wrap_wxSizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
3118 { "wxSizerItem_GetFlag", (PyCFunction
) _wrap_wxSizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
3119 { "wxSizerItem_GetOption", (PyCFunction
) _wrap_wxSizerItem_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
3120 { "wxSizerItem_SetSizer", (PyCFunction
) _wrap_wxSizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
3121 { "wxSizerItem_GetSizer", (PyCFunction
) _wrap_wxSizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
3122 { "wxSizerItem_SetWindow", (PyCFunction
) _wrap_wxSizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
3123 { "wxSizerItem_GetWindow", (PyCFunction
) _wrap_wxSizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
3124 { "wxSizerItem_IsSpacer", (PyCFunction
) _wrap_wxSizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
3125 { "wxSizerItem_IsSizer", (PyCFunction
) _wrap_wxSizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
3126 { "wxSizerItem_IsWindow", (PyCFunction
) _wrap_wxSizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
3127 { "wxSizerItem_GetRatio", (PyCFunction
) _wrap_wxSizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
3128 { "wxSizerItem_SetRatio", (PyCFunction
) _wrap_wxSizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
3129 { "wxSizerItem_SetRatioSize", (PyCFunction
) _wrap_wxSizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
3130 { "wxSizerItem_SetRatioWH", (PyCFunction
) _wrap_wxSizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
3131 { "wxSizerItem_SetDimension", (PyCFunction
) _wrap_wxSizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
3132 { "wxSizerItem_CalcMin", (PyCFunction
) _wrap_wxSizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
3133 { "wxSizerItem_GetSize", (PyCFunction
) _wrap_wxSizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3134 { "wxSizerItem_GetPosition", (PyCFunction
) _wrap_wxSizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3135 { "wxSizerItem_DeleteWindows", (PyCFunction
) _wrap_wxSizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
3142 * This table is used by the pointer type-checker
3144 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3145 { "_signed_long","_long",0},
3146 { "_wxPrintQuality","_wxCoord",0},
3147 { "_wxPrintQuality","_int",0},
3148 { "_wxPrintQuality","_signed_int",0},
3149 { "_wxPrintQuality","_unsigned_int",0},
3150 { "_wxPrintQuality","_wxWindowID",0},
3151 { "_wxPrintQuality","_uint",0},
3152 { "_wxPrintQuality","_EBool",0},
3153 { "_wxPrintQuality","_size_t",0},
3154 { "_wxPrintQuality","_time_t",0},
3155 { "_byte","_unsigned_char",0},
3156 { "_long","_unsigned_long",0},
3157 { "_long","_signed_long",0},
3158 { "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer
},
3159 { "_size_t","_wxCoord",0},
3160 { "_size_t","_wxPrintQuality",0},
3161 { "_size_t","_time_t",0},
3162 { "_size_t","_unsigned_int",0},
3163 { "_size_t","_int",0},
3164 { "_size_t","_wxWindowID",0},
3165 { "_size_t","_uint",0},
3166 { "_uint","_wxCoord",0},
3167 { "_uint","_wxPrintQuality",0},
3168 { "_uint","_time_t",0},
3169 { "_uint","_size_t",0},
3170 { "_uint","_unsigned_int",0},
3171 { "_uint","_int",0},
3172 { "_uint","_wxWindowID",0},
3173 { "_wxChar","_char",0},
3174 { "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer
},
3175 { "_char","_wxChar",0},
3176 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
3177 { "_EBool","_wxCoord",0},
3178 { "_EBool","_wxPrintQuality",0},
3179 { "_EBool","_signed_int",0},
3180 { "_EBool","_int",0},
3181 { "_EBool","_wxWindowID",0},
3182 { "_unsigned_long","_long",0},
3183 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
3184 { "_signed_int","_wxCoord",0},
3185 { "_signed_int","_wxPrintQuality",0},
3186 { "_signed_int","_EBool",0},
3187 { "_signed_int","_wxWindowID",0},
3188 { "_signed_int","_int",0},
3189 { "_WXTYPE","_short",0},
3190 { "_WXTYPE","_signed_short",0},
3191 { "_WXTYPE","_unsigned_short",0},
3192 { "_unsigned_short","_WXTYPE",0},
3193 { "_unsigned_short","_short",0},
3194 { "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject
},
3195 { "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject
},
3196 { "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject
},
3197 { "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject
},
3198 { "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject
},
3199 { "_wxObject","_wxPySizer",SwigwxPySizerTowxObject
},
3200 { "_wxObject","_wxSizer",SwigwxSizerTowxObject
},
3201 { "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject
},
3202 { "_signed_short","_WXTYPE",0},
3203 { "_signed_short","_short",0},
3204 { "_unsigned_char","_byte",0},
3205 { "_unsigned_int","_wxCoord",0},
3206 { "_unsigned_int","_wxPrintQuality",0},
3207 { "_unsigned_int","_time_t",0},
3208 { "_unsigned_int","_size_t",0},
3209 { "_unsigned_int","_uint",0},
3210 { "_unsigned_int","_wxWindowID",0},
3211 { "_unsigned_int","_int",0},
3212 { "_short","_WXTYPE",0},
3213 { "_short","_unsigned_short",0},
3214 { "_short","_signed_short",0},
3215 { "_wxWindowID","_wxCoord",0},
3216 { "_wxWindowID","_wxPrintQuality",0},
3217 { "_wxWindowID","_time_t",0},
3218 { "_wxWindowID","_size_t",0},
3219 { "_wxWindowID","_EBool",0},
3220 { "_wxWindowID","_uint",0},
3221 { "_wxWindowID","_int",0},
3222 { "_wxWindowID","_signed_int",0},
3223 { "_wxWindowID","_unsigned_int",0},
3224 { "_int","_wxCoord",0},
3225 { "_int","_wxPrintQuality",0},
3226 { "_int","_time_t",0},
3227 { "_int","_size_t",0},
3228 { "_int","_EBool",0},
3229 { "_int","_uint",0},
3230 { "_int","_wxWindowID",0},
3231 { "_int","_unsigned_int",0},
3232 { "_int","_signed_int",0},
3233 { "_time_t","_wxCoord",0},
3234 { "_time_t","_wxPrintQuality",0},
3235 { "_time_t","_unsigned_int",0},
3236 { "_time_t","_int",0},
3237 { "_time_t","_wxWindowID",0},
3238 { "_time_t","_uint",0},
3239 { "_time_t","_size_t",0},
3240 { "_wxCoord","_int",0},
3241 { "_wxCoord","_signed_int",0},
3242 { "_wxCoord","_unsigned_int",0},
3243 { "_wxCoord","_wxWindowID",0},
3244 { "_wxCoord","_uint",0},
3245 { "_wxCoord","_EBool",0},
3246 { "_wxCoord","_size_t",0},
3247 { "_wxCoord","_time_t",0},
3248 { "_wxCoord","_wxPrintQuality",0},
3249 { "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer
},
3250 { "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer
},
3251 { "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer
},
3252 { "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer
},
3253 { "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer
},
3254 { "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer
},
3257 static PyObject
*SWIG_globals
;
3261 SWIGEXPORT(void) initsizersc() {
3263 SWIG_globals
= SWIG_newvarlink();
3264 m
= Py_InitModule("sizersc", sizerscMethods
);
3265 d
= PyModule_GetDict(m
);
3268 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3269 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);