text in the demo for more details of what this means, but in a nutshell methods such as wxWindow.GetParent or FindWindowById will now return a shadow object of the proper type if it can. By "proper type" I mean that if the wxWindow pointer returned from FindWindowById really points to a wxButton then the Python object constructed will be of a wxButtonPtr class instead of wxWindowPtr as before. This should reduce or eliminiate the need for wxPyTypeCast. (Woo Hoo!) The objects returned are still not the original Python object, but that is the next step. (Although it will probably only work on Python 2.1 and beyond because it will use weak references.) A few other minor tweaks and fixes and additions for things found while doing the OOR stuff. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
3275 lines
118 KiB
C++
3275 lines
118 KiB
C++
/*
|
|
* FILE : src/msw/sizers.cpp
|
|
*
|
|
* This file was automatically generated by :
|
|
* Simplified Wrapper and Interface Generator (SWIG)
|
|
* Version 1.1 (Build 883)
|
|
*
|
|
* Portions Copyright (c) 1995-1998
|
|
* The University of Utah and The Regents of the University of California.
|
|
* Permission is granted to distribute this file in any manner provided
|
|
* this notice remains intact.
|
|
*
|
|
* Do not make changes to this file--changes will be lost!
|
|
*
|
|
*/
|
|
|
|
|
|
#define SWIGCODE
|
|
/* Implementation : PYTHON */
|
|
|
|
#define SWIGPYTHON
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
/* Definitions for Windows/Unix exporting */
|
|
#if defined(__WIN32__)
|
|
# if defined(_MSC_VER)
|
|
# define SWIGEXPORT(a) __declspec(dllexport) a
|
|
# else
|
|
# if defined(__BORLANDC__)
|
|
# define SWIGEXPORT(a) a _export
|
|
# else
|
|
# define SWIGEXPORT(a) a
|
|
# endif
|
|
# endif
|
|
#else
|
|
# define SWIGEXPORT(a) a
|
|
#endif
|
|
|
|
#include "Python.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void SWIG_MakePtr(char *, void *, char *);
|
|
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
|
|
extern char *SWIG_GetPtr(char *, void **, char *);
|
|
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
|
|
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
|
|
extern PyObject *SWIG_newvarlink(void);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#define SWIG_init initsizersc
|
|
|
|
#define SWIG_name "sizersc"
|
|
|
|
#include "helpers.h"
|
|
|
|
#include <wx/notebook.h>
|
|
|
|
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyList_Check(target)) {
|
|
o2 = target;
|
|
target = PyList_New(0);
|
|
PyList_Append(target, o2);
|
|
Py_XDECREF(o2);
|
|
}
|
|
PyList_Append(target,o);
|
|
Py_XDECREF(o);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|
PyObject* o2;
|
|
PyObject* o3;
|
|
|
|
if (!target) {
|
|
target = o;
|
|
} else if (target == Py_None) {
|
|
Py_DECREF(Py_None);
|
|
target = o;
|
|
} else {
|
|
if (!PyTuple_Check(target)) {
|
|
o2 = target;
|
|
target = PyTuple_New(1);
|
|
PyTuple_SetItem(target, 0, o2);
|
|
}
|
|
o3 = PyTuple_New(1);
|
|
PyTuple_SetItem(o3, 0, o);
|
|
|
|
o2 = target;
|
|
target = PySequence_Concat(o2, o3);
|
|
Py_DECREF(o2);
|
|
Py_DECREF(o3);
|
|
}
|
|
return target;
|
|
}
|
|
|
|
#if PYTHON_API_VERSION >= 1009
|
|
static char* wxStringErrorMsg = "String or Unicode type required";
|
|
#else
|
|
static char* wxStringErrorMsg = "string type is required for parameter";
|
|
#endif
|
|
|
|
class wxPySizer : public wxSizer {
|
|
DECLARE_DYNAMIC_CLASS(wxPySizer);
|
|
public:
|
|
wxPySizer() : wxSizer() {};
|
|
|
|
DEC_PYCALLBACK___pure(RecalcSizes);
|
|
DEC_PYCALLBACK_wxSize__pure(CalcMin);
|
|
PYPRIVATE;
|
|
};
|
|
|
|
|
|
IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
|
|
IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
|
|
|
|
IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
static void *SwigwxSizerItemTowxObject(void *ptr) {
|
|
wxSizerItem *src;
|
|
wxObject *dest;
|
|
src = (wxSizerItem *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define wxSizerItem_GetSize(_swigobj) (_swigobj->GetSize())
|
|
static PyObject *_wrap_wxSizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSize",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSize. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxSizerItem_GetSize(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_CalcMin(_swigobj) (_swigobj->CalcMin())
|
|
static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_CalcMin",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_CalcMin. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxSizerItem_CalcMin(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetDimension(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDimension(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
wxPoint * _arg1;
|
|
wxSize * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
wxPoint temp;
|
|
PyObject * _obj1 = 0;
|
|
wxSize temp0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","pos","size", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxSizerItem_SetDimension",_kwnames,&_argo0,&_obj1,&_obj2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetDimension. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxPoint_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
_arg2 = &temp0;
|
|
if (! wxSize_helper(_obj2, &_arg2))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetRatioWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRatio(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","width","height", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetRatioWH",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioWH. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetRatioSize(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
|
|
static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
wxSize * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxSize temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","size", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetRatioSize",_kwnames,&_argo0,&_obj1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatioSize. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxSize_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetRatioSize(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetRatio(_swigobj,_swigarg0) (_swigobj->SetRatio(_swigarg0))
|
|
static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
float _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","ratio", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Of:wxSizerItem_SetRatio",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetRatio. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetRatio(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_GetRatio(_swigobj) (_swigobj->GetRatio())
|
|
static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
float _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetRatio",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetRatio. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (float )wxSizerItem_GetRatio(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("f",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_IsWindow(_swigobj) (_swigobj->IsWindow())
|
|
static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsWindow",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsWindow. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSizerItem_IsWindow(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_IsSizer(_swigobj) (_swigobj->IsSizer())
|
|
static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSizer",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSizer. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSizerItem_IsSizer(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_IsSpacer(_swigobj) (_swigobj->IsSpacer())
|
|
static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_IsSpacer",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_IsSpacer. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSizerItem_IsSpacer(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_GetWindow(_swigobj) (_swigobj->GetWindow())
|
|
static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxWindow * _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetWindow",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetWindow. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{ _resultobj = wxPyMake_wxObject(_result); }
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
|
|
static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
wxWindow * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","window", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetWindow",_kwnames,&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetWindow. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetWindow(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_GetSizer(_swigobj) (_swigobj->GetSizer())
|
|
static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSizer",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetSizer. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{ _resultobj = wxPyMake_wxObject(_result); }
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetSizer(_swigobj,_swigarg0) (_swigobj->SetSizer(_swigarg0))
|
|
static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
wxSizer * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","sizer", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizerItem_SetSizer",_kwnames,&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetSizer. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizerItem_SetSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetSizer(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_GetOption(_swigobj) (_swigobj->GetOption())
|
|
static PyObject *_wrap_wxSizerItem_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetOption",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetOption. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSizerItem_GetOption(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_GetFlag(_swigobj) (_swigobj->GetFlag())
|
|
static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetFlag",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetFlag. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSizerItem_GetFlag(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_GetBorder(_swigobj) (_swigobj->GetBorder())
|
|
static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetBorder",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetBorder. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxSizerItem_GetBorder(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetInitSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetInitSize(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","x","y", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSizerItem_SetInitSize",_kwnames,&_argo0,&_arg1,&_arg2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetInitSize. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetInitSize(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetOption(_swigobj,_swigarg0) (_swigobj->SetOption(_swigarg0))
|
|
static PyObject *_wrap_wxSizerItem_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","option", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetOption",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetOption. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetOption(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetFlag(_swigobj,_swigarg0) (_swigobj->SetFlag(_swigarg0))
|
|
static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","flag", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetFlag",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetFlag. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetFlag(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizerItem_SetBorder(_swigobj,_swigarg0) (_swigobj->SetBorder(_swigarg0))
|
|
static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizerItem * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","border", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizerItem_SetBorder",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_SetBorder. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizerItem_SetBorder(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static PyObject * wxSizerItem_GetUserData(wxSizerItem *self) {
|
|
wxPyUserData* data = (wxPyUserData*)self->GetUserData();
|
|
if (data) {
|
|
Py_INCREF(data->m_obj);
|
|
return data->m_obj;
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
return Py_None;
|
|
}
|
|
}
|
|
static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
PyObject * _result;
|
|
wxSizerItem * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetUserData",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizerItem_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizerItem_GetUserData. Expected _wxSizerItem_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (PyObject *)wxSizerItem_GetUserData(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxSizerTowxObject(void *ptr) {
|
|
wxSizer *src;
|
|
wxObject *dest;
|
|
src = (wxSizer *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void wxSizer_Destroy(wxSizer *self) { delete self; }
|
|
static PyObject *_wrap_wxSizer_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Destroy",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Destroy. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_Destroy(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_AddWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Add(window, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_AddWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxWindow * _arg1;
|
|
int _arg2 = (int ) 0;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
PyObject * _arg5 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
PyObject * _obj5 = 0;
|
|
char *_kwnames[] = { "self","window","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddWindow. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj5)
|
|
{
|
|
_arg5 = _obj5;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_AddSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Add(sizer, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_AddSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxSizer * _arg1;
|
|
int _arg2 = (int ) 0;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
PyObject * _arg5 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
PyObject * _obj5 = 0;
|
|
char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_AddSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_AddSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj5)
|
|
{
|
|
_arg5 = _obj5;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_AddSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Add(width, height, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_AddSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
int _arg5 = (int ) 0;
|
|
PyObject * _arg6 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj6 = 0;
|
|
char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_AddSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_AddSpacer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj6)
|
|
{
|
|
_arg6 = _obj6;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_InsertWindow(wxSizer *self,int before,wxWindow * window,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Insert(before, window, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_InsertWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
wxWindow * _arg2;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
int _arg5 = (int ) 0;
|
|
PyObject * _arg6 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo2 = 0;
|
|
PyObject * _obj6 = 0;
|
|
char *_kwnames[] = { "self","before","window","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertWindow",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertWindow. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj6)
|
|
{
|
|
_arg6 = _obj6;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_InsertWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_InsertSizer(wxSizer *self,int before,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Insert(before, sizer, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_InsertSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
wxSizer * _arg2;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
int _arg5 = (int ) 0;
|
|
PyObject * _arg6 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo2 = 0;
|
|
PyObject * _obj6 = 0;
|
|
char *_kwnames[] = { "self","before","sizer","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|iiiO:wxSizer_InsertSizer",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5,&_obj6))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo2) {
|
|
if (_argo2 == Py_None) { _arg2 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxSizer_InsertSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj6)
|
|
{
|
|
_arg6 = _obj6;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_InsertSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_InsertSpacer(wxSizer *self,int before,int width,int height,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Insert(before, width, height, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_InsertSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
int _arg4 = (int ) 0;
|
|
int _arg5 = (int ) 0;
|
|
int _arg6 = (int ) 0;
|
|
PyObject * _arg7 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj7 = 0;
|
|
char *_kwnames[] = { "self","before","width","height","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii|iiiO:wxSizer_InsertSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_arg6,&_obj7))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_InsertSpacer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj7)
|
|
{
|
|
_arg7 = _obj7;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_InsertSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_PrependWindow(wxSizer *self,wxWindow * window,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Prepend(window, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_PrependWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxWindow * _arg1;
|
|
int _arg2 = (int ) 0;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
PyObject * _arg5 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
PyObject * _obj5 = 0;
|
|
char *_kwnames[] = { "self","window","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependWindow. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj5)
|
|
{
|
|
_arg5 = _obj5;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_PrependSizer(wxSizer *self,wxSizer * sizer,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Prepend(sizer, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_PrependSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxSizer * _arg1;
|
|
int _arg2 = (int ) 0;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
PyObject * _arg5 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
PyObject * _obj5 = 0;
|
|
char *_kwnames[] = { "self","sizer","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiiO:wxSizer_PrependSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_obj5))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_PrependSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj5)
|
|
{
|
|
_arg5 = _obj5;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void wxSizer_PrependSpacer(wxSizer *self,int width,int height,int option,int flag,int border,PyObject * userData) {
|
|
wxPyUserData* data = NULL;
|
|
if (userData) data = new wxPyUserData(userData);
|
|
self->Prepend(width, height, option, flag, border, data);
|
|
}
|
|
static PyObject *_wrap_wxSizer_PrependSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3 = (int ) 0;
|
|
int _arg4 = (int ) 0;
|
|
int _arg5 = (int ) 0;
|
|
PyObject * _arg6 = (PyObject *) NULL;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj6 = 0;
|
|
char *_kwnames[] = { "self","width","height","option","flag","border","userData", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|iiiO:wxSizer_PrependSpacer",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_PrependSpacer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_obj6)
|
|
{
|
|
_arg6 = _obj6;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_RemoveWindow(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
|
|
static PyObject *_wrap_wxSizer_RemoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSizer * _arg0;
|
|
wxWindow * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","window", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveWindow",_kwnames,&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveWindow. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSizer_RemoveWindow(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_RemoveSizer(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
|
|
static PyObject *_wrap_wxSizer_RemoveSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSizer * _arg0;
|
|
wxSizer * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","sizer", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_RemoveSizer",_kwnames,&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_RemoveSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSizer_RemoveSizer(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_RemovePos(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
|
|
static PyObject *_wrap_wxSizer_RemovePos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
bool _result;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSizer_RemovePos",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_RemovePos. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (bool )wxSizer_RemovePos(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_SetDimension(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetDimension(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
|
static PyObject *_wrap_wxSizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
int _arg4;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","x","y","width","height", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxSizer_SetDimension",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetDimension. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_SetDimension(_arg0,_arg1,_arg2,_arg3,_arg4);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_SetMinSize(_swigobj,_swigarg0) (_swigobj->SetMinSize(_swigarg0))
|
|
static PyObject *_wrap_wxSizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxSize * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
wxSize temp;
|
|
PyObject * _obj1 = 0;
|
|
char *_kwnames[] = { "self","size", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetMinSize",_kwnames,&_argo0,&_obj1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetMinSize. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = &temp;
|
|
if (! wxSize_helper(_obj1, &_arg1))
|
|
return NULL;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_SetMinSize(_arg0,*_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_SetItemMinSizeWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxSizer_SetItemMinSizeWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxWindow * _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","window","width","height", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeWindow",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeWindow. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeWindow. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_SetItemMinSizeWindow(_arg0,_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_SetItemMinSizeSizer(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxSizer_SetItemMinSizeSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxSizer * _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","sizer","width","height", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii:wxSizer_SetItemMinSizeSizer",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetItemMinSizeSizer. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_SetItemMinSizeSizer(_arg0,_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_SetItemMinSizePos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemMinSize(_swigarg0,_swigarg1,_swigarg2))
|
|
static PyObject *_wrap_wxSizer_SetItemMinSizePos(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
int _arg1;
|
|
int _arg2;
|
|
int _arg3;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","pos","width","height", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxSizer_SetItemMinSizePos",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetItemMinSizePos. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_SetItemMinSizePos(_arg0,_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_GetSize(_swigobj) (_swigobj->GetSize())
|
|
static PyObject *_wrap_wxSizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetSize",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetSize. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxSizer_GetSize(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_GetPosition(_swigobj) (_swigobj->GetPosition())
|
|
static PyObject *_wrap_wxSizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxPoint * _result;
|
|
wxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetPosition",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetPosition. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxPoint (wxSizer_GetPosition(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_GetMinSize(_swigobj) (_swigobj->GetMinSize())
|
|
static PyObject *_wrap_wxSizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetMinSize",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetMinSize. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxSizer_GetMinSize(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_Layout(_swigobj) (_swigobj->Layout())
|
|
static PyObject *_wrap_wxSizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_Layout",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Layout. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_Layout(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_Fit(_swigobj,_swigarg0) (_swigobj->Fit(_swigarg0))
|
|
static PyObject *_wrap_wxSizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxWindow * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","window", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_Fit",_kwnames,&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_Fit. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_Fit. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_Fit(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxSizer_SetSizeHints(_swigobj,_swigarg0) (_swigobj->SetSizeHints(_swigarg0))
|
|
static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSizer * _arg0;
|
|
wxWindow * _arg1;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _argo1 = 0;
|
|
char *_kwnames[] = { "self","window", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer_SetSizeHints",_kwnames,&_argo0,&_argo1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_SetSizeHints. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
if (_argo1) {
|
|
if (_argo1 == Py_None) { _arg1 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSizer_SetSizeHints. Expected _wxWindow_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxSizer_SetSizeHints(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static PyObject * wxSizer_GetChildren(wxSizer *self) {
|
|
wxList& list = self->GetChildren();
|
|
return wxPy_ConvertList(&list, "wxSizerItem");
|
|
}
|
|
static PyObject *_wrap_wxSizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
PyObject * _result;
|
|
wxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizer_GetChildren",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSizer_GetChildren. Expected _wxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (PyObject *)wxSizer_GetChildren(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{
|
|
_resultobj = _result;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxPySizerTowxSizer(void *ptr) {
|
|
wxPySizer *src;
|
|
wxSizer *dest;
|
|
src = (wxPySizer *) ptr;
|
|
dest = (wxSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxPySizerTowxObject(void *ptr) {
|
|
wxPySizer *src;
|
|
wxObject *dest;
|
|
src = (wxPySizer *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxPySizer() (new wxPySizer())
|
|
static PyObject *_wrap_new_wxPySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxPySizer * _result;
|
|
char *_kwnames[] = { NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPySizer",_kwnames))
|
|
return NULL;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxPySizer *)new_wxPySizer();
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPySizer_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxPySizer__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_wxPySizer__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxPySizer * _arg0;
|
|
PyObject * _arg1;
|
|
PyObject * _arg2;
|
|
PyObject * _argo0 = 0;
|
|
PyObject * _obj1 = 0;
|
|
PyObject * _obj2 = 0;
|
|
char *_kwnames[] = { "self","self","_class", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPySizer__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPySizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPySizer__setSelf. Expected _wxPySizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
_arg1 = _obj1;
|
|
}
|
|
{
|
|
_arg2 = _obj2;
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxPySizer__setSelf(_arg0,_arg1,_arg2);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxBoxSizerTowxSizer(void *ptr) {
|
|
wxBoxSizer *src;
|
|
wxSizer *dest;
|
|
src = (wxBoxSizer *) ptr;
|
|
dest = (wxSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxBoxSizerTowxObject(void *ptr) {
|
|
wxBoxSizer *src;
|
|
wxObject *dest;
|
|
src = (wxBoxSizer *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxBoxSizer(_swigarg0) (new wxBoxSizer(_swigarg0))
|
|
static PyObject *_wrap_new_wxBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxBoxSizer * _result;
|
|
int _arg0 = (int ) wxHORIZONTAL;
|
|
char *_kwnames[] = { "orient", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxBoxSizer",_kwnames,&_arg0))
|
|
return NULL;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxBoxSizer *)new_wxBoxSizer(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxBoxSizer_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxBoxSizer_GetOrientation(_swigobj) (_swigobj->GetOrientation())
|
|
static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxBoxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_GetOrientation",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_GetOrientation. Expected _wxBoxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxBoxSizer_GetOrientation(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
|
static PyObject *_wrap_wxBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxBoxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_RecalcSizes",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_RecalcSizes. Expected _wxBoxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxBoxSizer_RecalcSizes(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
|
static PyObject *_wrap_wxBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxBoxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBoxSizer_CalcMin",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBoxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBoxSizer_CalcMin. Expected _wxBoxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxBoxSizer_CalcMin(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxStaticBoxSizerTowxBoxSizer(void *ptr) {
|
|
wxStaticBoxSizer *src;
|
|
wxBoxSizer *dest;
|
|
src = (wxStaticBoxSizer *) ptr;
|
|
dest = (wxBoxSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxStaticBoxSizerTowxSizer(void *ptr) {
|
|
wxStaticBoxSizer *src;
|
|
wxSizer *dest;
|
|
src = (wxStaticBoxSizer *) ptr;
|
|
dest = (wxSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxStaticBoxSizerTowxObject(void *ptr) {
|
|
wxStaticBoxSizer *src;
|
|
wxObject *dest;
|
|
src = (wxStaticBoxSizer *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxStaticBoxSizer(_swigarg0,_swigarg1) (new wxStaticBoxSizer(_swigarg0,_swigarg1))
|
|
static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStaticBoxSizer * _result;
|
|
wxStaticBox * _arg0;
|
|
int _arg1 = (int ) wxHORIZONTAL;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "box","orient", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxStaticBoxSizer",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBoxSizer. Expected _wxStaticBox_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBoxSizer_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStaticBoxSizer_GetStaticBox(_swigobj) (_swigobj->GetStaticBox())
|
|
static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStaticBox * _result;
|
|
wxStaticBoxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_GetStaticBox",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_GetStaticBox. Expected _wxStaticBoxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{ _resultobj = wxPyMake_wxObject(_result); }
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStaticBoxSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
|
static PyObject *_wrap_wxStaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxStaticBoxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_RecalcSizes",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_RecalcSizes. Expected _wxStaticBoxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxStaticBoxSizer_RecalcSizes(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxStaticBoxSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
|
static PyObject *_wrap_wxStaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxStaticBoxSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_CalcMin",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBoxSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBoxSizer_CalcMin. Expected _wxStaticBoxSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxNotebookSizerTowxSizer(void *ptr) {
|
|
wxNotebookSizer *src;
|
|
wxSizer *dest;
|
|
src = (wxNotebookSizer *) ptr;
|
|
dest = (wxSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxNotebookSizerTowxObject(void *ptr) {
|
|
wxNotebookSizer *src;
|
|
wxObject *dest;
|
|
src = (wxNotebookSizer *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxNotebookSizer(_swigarg0) (new wxNotebookSizer(_swigarg0))
|
|
static PyObject *_wrap_new_wxNotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxNotebookSizer * _result;
|
|
wxNotebook * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "nb", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxNotebookSizer",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebook_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxNotebookSizer. Expected _wxNotebook_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookSizer_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxNotebookSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
|
static PyObject *_wrap_wxNotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxNotebookSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_RecalcSizes",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_RecalcSizes. Expected _wxNotebookSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxNotebookSizer_RecalcSizes(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxNotebookSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
|
static PyObject *_wrap_wxNotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxNotebookSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_CalcMin",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_CalcMin. Expected _wxNotebookSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxNotebookSizer_CalcMin(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxNotebookSizer_GetNotebook(_swigobj) (_swigobj->GetNotebook())
|
|
static PyObject *_wrap_wxNotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxNotebook * _result;
|
|
wxNotebookSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_GetNotebook",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxNotebookSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxNotebookSizer_GetNotebook. Expected _wxNotebookSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
}{ _resultobj = wxPyMake_wxObject(_result); }
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxGridSizerTowxSizer(void *ptr) {
|
|
wxGridSizer *src;
|
|
wxSizer *dest;
|
|
src = (wxGridSizer *) ptr;
|
|
dest = (wxSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxGridSizerTowxObject(void *ptr) {
|
|
wxGridSizer *src;
|
|
wxObject *dest;
|
|
src = (wxGridSizer *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
|
static PyObject *_wrap_new_wxGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxGridSizer * _result;
|
|
int _arg0 = (int ) 1;
|
|
int _arg1 = (int ) 0;
|
|
int _arg2 = (int ) 0;
|
|
int _arg3 = (int ) 0;
|
|
char *_kwnames[] = { "rows","cols","vgap","hgap", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
|
|
return NULL;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxGridSizer *)new_wxGridSizer(_arg0,_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizer_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
|
static PyObject *_wrap_wxGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_RecalcSizes",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_RecalcSizes. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxGridSizer_RecalcSizes(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
|
static PyObject *_wrap_wxGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_CalcMin",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_CalcMin. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxGridSizer_CalcMin(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_SetCols(_swigobj,_swigarg0) (_swigobj->SetCols(_swigarg0))
|
|
static PyObject *_wrap_wxGridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxGridSizer * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","cols", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetCols",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetCols. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxGridSizer_SetCols(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
|
|
static PyObject *_wrap_wxGridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxGridSizer * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","rows", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetRows",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetRows. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxGridSizer_SetRows(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_SetVGap(_swigobj,_swigarg0) (_swigobj->SetVGap(_swigarg0))
|
|
static PyObject *_wrap_wxGridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxGridSizer * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","gap", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetVGap",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetVGap. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxGridSizer_SetVGap(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_SetHGap(_swigobj,_swigarg0) (_swigobj->SetHGap(_swigarg0))
|
|
static PyObject *_wrap_wxGridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxGridSizer * _arg0;
|
|
int _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","gap", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGridSizer_SetHGap",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_SetHGap. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxGridSizer_SetHGap(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_GetCols(_swigobj) (_swigobj->GetCols())
|
|
static PyObject *_wrap_wxGridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetCols",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetCols. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxGridSizer_GetCols(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_GetRows(_swigobj) (_swigobj->GetRows())
|
|
static PyObject *_wrap_wxGridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetRows",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetRows. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxGridSizer_GetRows(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_GetVGap(_swigobj) (_swigobj->GetVGap())
|
|
static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetVGap",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetVGap. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxGridSizer_GetVGap(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxGridSizer_GetHGap(_swigobj) (_swigobj->GetHGap())
|
|
static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
int _result;
|
|
wxGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGridSizer_GetHGap",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGridSizer_GetHGap. Expected _wxGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (int )wxGridSizer_GetHGap(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} _resultobj = Py_BuildValue("i",_result);
|
|
return _resultobj;
|
|
}
|
|
|
|
static void *SwigwxFlexGridSizerTowxGridSizer(void *ptr) {
|
|
wxFlexGridSizer *src;
|
|
wxGridSizer *dest;
|
|
src = (wxFlexGridSizer *) ptr;
|
|
dest = (wxGridSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxFlexGridSizerTowxSizer(void *ptr) {
|
|
wxFlexGridSizer *src;
|
|
wxSizer *dest;
|
|
src = (wxFlexGridSizer *) ptr;
|
|
dest = (wxSizer *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
static void *SwigwxFlexGridSizerTowxObject(void *ptr) {
|
|
wxFlexGridSizer *src;
|
|
wxObject *dest;
|
|
src = (wxFlexGridSizer *) ptr;
|
|
dest = (wxObject *) src;
|
|
return (void *) dest;
|
|
}
|
|
|
|
#define new_wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFlexGridSizer(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
|
|
static PyObject *_wrap_new_wxFlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxFlexGridSizer * _result;
|
|
int _arg0 = (int ) 1;
|
|
int _arg1 = (int ) 0;
|
|
int _arg2 = (int ) 0;
|
|
int _arg3 = (int ) 0;
|
|
char *_kwnames[] = { "rows","cols","vgap","hgap", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiii:new_wxFlexGridSizer",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3))
|
|
return NULL;
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = (wxFlexGridSizer *)new_wxFlexGridSizer(_arg0,_arg1,_arg2,_arg3);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} if (_result) {
|
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFlexGridSizer_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
} else {
|
|
Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
}
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxFlexGridSizer_RecalcSizes(_swigobj) (_swigobj->RecalcSizes())
|
|
static PyObject *_wrap_wxFlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxFlexGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_RecalcSizes",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RecalcSizes. Expected _wxFlexGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxFlexGridSizer_RecalcSizes(_arg0);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxFlexGridSizer_CalcMin(_swigobj) (_swigobj->CalcMin())
|
|
static PyObject *_wrap_wxFlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxSize * _result;
|
|
wxFlexGridSizer * _arg0;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self", NULL };
|
|
char _ptemp[128];
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFlexGridSizer_CalcMin",_kwnames,&_argo0))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_CalcMin. Expected _wxFlexGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
_result = new wxSize (wxFlexGridSizer_CalcMin(_arg0));
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
|
|
_resultobj = Py_BuildValue("s",_ptemp);
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxFlexGridSizer_AddGrowableRow(_swigobj,_swigarg0) (_swigobj->AddGrowableRow(_swigarg0))
|
|
static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxFlexGridSizer * _arg0;
|
|
size_t _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","idx", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_AddGrowableRow",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableRow. Expected _wxFlexGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxFlexGridSizer_AddGrowableRow(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxFlexGridSizer_RemoveGrowableRow(_swigobj,_swigarg0) (_swigobj->RemoveGrowableRow(_swigarg0))
|
|
static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxFlexGridSizer * _arg0;
|
|
size_t _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","idx", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableRow",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableRow. Expected _wxFlexGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxFlexGridSizer_RemoveGrowableRow(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxFlexGridSizer_AddGrowableCol(_swigobj,_swigarg0) (_swigobj->AddGrowableCol(_swigarg0))
|
|
static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxFlexGridSizer * _arg0;
|
|
size_t _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","idx", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_AddGrowableCol",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_AddGrowableCol. Expected _wxFlexGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxFlexGridSizer_AddGrowableCol(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
#define wxFlexGridSizer_RemoveGrowableCol(_swigobj,_swigarg0) (_swigobj->RemoveGrowableCol(_swigarg0))
|
|
static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
PyObject * _resultobj;
|
|
wxFlexGridSizer * _arg0;
|
|
size_t _arg1;
|
|
PyObject * _argo0 = 0;
|
|
char *_kwnames[] = { "self","idx", NULL };
|
|
|
|
self = self;
|
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxFlexGridSizer_RemoveGrowableCol",_kwnames,&_argo0,&_arg1))
|
|
return NULL;
|
|
if (_argo0) {
|
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
|
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFlexGridSizer_p")) {
|
|
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFlexGridSizer_RemoveGrowableCol. Expected _wxFlexGridSizer_p.");
|
|
return NULL;
|
|
}
|
|
}
|
|
{
|
|
wxPy_BEGIN_ALLOW_THREADS;
|
|
wxFlexGridSizer_RemoveGrowableCol(_arg0,_arg1);
|
|
|
|
wxPy_END_ALLOW_THREADS;
|
|
} Py_INCREF(Py_None);
|
|
_resultobj = Py_None;
|
|
return _resultobj;
|
|
}
|
|
|
|
static PyMethodDef sizerscMethods[] = {
|
|
{ "wxFlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxFlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxFlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxFlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxFlexGridSizer_CalcMin", (PyCFunction) _wrap_wxFlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxFlexGridSizer_RecalcSizes", (PyCFunction) _wrap_wxFlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxFlexGridSizer", (PyCFunction) _wrap_new_wxFlexGridSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_GetHGap", (PyCFunction) _wrap_wxGridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_GetVGap", (PyCFunction) _wrap_wxGridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_GetRows", (PyCFunction) _wrap_wxGridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_GetCols", (PyCFunction) _wrap_wxGridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_SetHGap", (PyCFunction) _wrap_wxGridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_SetVGap", (PyCFunction) _wrap_wxGridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_SetRows", (PyCFunction) _wrap_wxGridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_SetCols", (PyCFunction) _wrap_wxGridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_CalcMin", (PyCFunction) _wrap_wxGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxGridSizer_RecalcSizes", (PyCFunction) _wrap_wxGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxGridSizer", (PyCFunction) _wrap_new_wxGridSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxNotebookSizer_GetNotebook", (PyCFunction) _wrap_wxNotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxNotebookSizer_CalcMin", (PyCFunction) _wrap_wxNotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxNotebookSizer_RecalcSizes", (PyCFunction) _wrap_wxNotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxNotebookSizer", (PyCFunction) _wrap_new_wxNotebookSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStaticBoxSizer_CalcMin", (PyCFunction) _wrap_wxStaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxStaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxBoxSizer_CalcMin", (PyCFunction) _wrap_wxBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxBoxSizer_RecalcSizes", (PyCFunction) _wrap_wxBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxPySizer__setSelf", (PyCFunction) _wrap_wxPySizer__setSelf, METH_VARARGS | METH_KEYWORDS },
|
|
{ "new_wxPySizer", (PyCFunction) _wrap_new_wxPySizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_GetChildren", (PyCFunction) _wrap_wxSizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_SetSizeHints", (PyCFunction) _wrap_wxSizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_Fit", (PyCFunction) _wrap_wxSizer_Fit, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_Layout", (PyCFunction) _wrap_wxSizer_Layout, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_GetMinSize", (PyCFunction) _wrap_wxSizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_GetPosition", (PyCFunction) _wrap_wxSizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_GetSize", (PyCFunction) _wrap_wxSizer_GetSize, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_SetItemMinSizePos", (PyCFunction) _wrap_wxSizer_SetItemMinSizePos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_SetItemMinSizeSizer", (PyCFunction) _wrap_wxSizer_SetItemMinSizeSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_SetItemMinSizeWindow", (PyCFunction) _wrap_wxSizer_SetItemMinSizeWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_SetMinSize", (PyCFunction) _wrap_wxSizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_SetDimension", (PyCFunction) _wrap_wxSizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_RemovePos", (PyCFunction) _wrap_wxSizer_RemovePos, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_RemoveSizer", (PyCFunction) _wrap_wxSizer_RemoveSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_RemoveWindow", (PyCFunction) _wrap_wxSizer_RemoveWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_PrependSpacer", (PyCFunction) _wrap_wxSizer_PrependSpacer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_PrependSizer", (PyCFunction) _wrap_wxSizer_PrependSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_PrependWindow", (PyCFunction) _wrap_wxSizer_PrependWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_InsertSpacer", (PyCFunction) _wrap_wxSizer_InsertSpacer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_InsertSizer", (PyCFunction) _wrap_wxSizer_InsertSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_InsertWindow", (PyCFunction) _wrap_wxSizer_InsertWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_AddSpacer", (PyCFunction) _wrap_wxSizer_AddSpacer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_AddSizer", (PyCFunction) _wrap_wxSizer_AddSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_AddWindow", (PyCFunction) _wrap_wxSizer_AddWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizer_Destroy", (PyCFunction) _wrap_wxSizer_Destroy, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetBorder", (PyCFunction) _wrap_wxSizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetFlag", (PyCFunction) _wrap_wxSizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetOption", (PyCFunction) _wrap_wxSizerItem_SetOption, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetInitSize", (PyCFunction) _wrap_wxSizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetOption", (PyCFunction) _wrap_wxSizerItem_GetOption, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetSizer", (PyCFunction) _wrap_wxSizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetSizer", (PyCFunction) _wrap_wxSizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetWindow", (PyCFunction) _wrap_wxSizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetWindow", (PyCFunction) _wrap_wxSizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetRatio", (PyCFunction) _wrap_wxSizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetRatio", (PyCFunction) _wrap_wxSizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetRatioSize", (PyCFunction) _wrap_wxSizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetRatioWH", (PyCFunction) _wrap_wxSizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
|
|
{ "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
|
|
{ NULL, NULL }
|
|
};
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
/*
|
|
* This table is used by the pointer type-checker
|
|
*/
|
|
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
|
|
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
|
|
{ "_wxEvent","_class_wxEvent",0},
|
|
{ "_class_wxActivateEvent","_wxActivateEvent",0},
|
|
{ "_signed_long","_long",0},
|
|
{ "_wxMenuEvent","_class_wxMenuEvent",0},
|
|
{ "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
|
|
{ "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
|
|
{ "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
|
|
{ "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
|
|
{ "_wxPrintQuality","_wxCoord",0},
|
|
{ "_wxPrintQuality","_int",0},
|
|
{ "_wxPrintQuality","_signed_int",0},
|
|
{ "_wxPrintQuality","_unsigned_int",0},
|
|
{ "_wxPrintQuality","_wxWindowID",0},
|
|
{ "_wxPrintQuality","_uint",0},
|
|
{ "_wxPrintQuality","_EBool",0},
|
|
{ "_wxPrintQuality","_size_t",0},
|
|
{ "_wxPrintQuality","_time_t",0},
|
|
{ "_class_wxCustomDataObject","_wxCustomDataObject",0},
|
|
{ "_wxSpinCtrl","_class_wxSpinCtrl",0},
|
|
{ "_class_wxRegionIterator","_wxRegionIterator",0},
|
|
{ "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
|
|
{ "_class_wxMenuBar","_wxMenuBar",0},
|
|
{ "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
|
|
{ "_class_wxEvtHandler","_wxEvtHandler",0},
|
|
{ "_wxPaintEvent","_class_wxPaintEvent",0},
|
|
{ "_wxPySizer","_class_wxPySizer",0},
|
|
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
|
|
{ "_wxCursor","_class_wxCursor",0},
|
|
{ "_wxNotifyEvent","_class_wxNotifyEvent",0},
|
|
{ "_wxMask","_class_wxMask",0},
|
|
{ "_wxPen","_class_wxPen",0},
|
|
{ "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
|
|
{ "_class_wxNotebookSizer","_wxNotebookSizer",0},
|
|
{ "_byte","_unsigned_char",0},
|
|
{ "_wxDataObject","_class_wxDataObject",0},
|
|
{ "_wxStaticBox","_class_wxStaticBox",0},
|
|
{ "_wxColourDatabase","_class_wxColourDatabase",0},
|
|
{ "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
|
|
{ "_wxPyDropSource","_class_wxPyDropSource",0},
|
|
{ "_wxChoice","_class_wxChoice",0},
|
|
{ "_wxSlider","_class_wxSlider",0},
|
|
{ "_long","_unsigned_long",0},
|
|
{ "_long","_signed_long",0},
|
|
{ "_wxImageList","_class_wxImageList",0},
|
|
{ "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
|
|
{ "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
|
|
{ "_wxBitmapButton","_class_wxBitmapButton",0},
|
|
{ "_class_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
|
|
{ "_class_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
|
|
{ "_class_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer},
|
|
{ "_class_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer},
|
|
{ "_class_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
|
{ "_class_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
|
{ "_class_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
|
{ "_class_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
|
{ "_class_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
|
{ "_class_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
|
{ "_class_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer},
|
|
{ "_class_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
|
|
{ "_class_wxSizer","_wxSizer",0},
|
|
{ "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
|
|
{ "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
|
|
{ "_wxGridSizer","_class_wxGridSizer",0},
|
|
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
|
|
{ "_class_wxClipboard","_wxClipboard",0},
|
|
{ "_class_wxGauge","_wxGauge",0},
|
|
{ "_wxGDIObject","_class_wxGDIObject",0},
|
|
{ "_wxDC","_class_wxDC",0},
|
|
{ "_wxSizerItem","_class_wxSizerItem",0},
|
|
{ "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
|
|
{ "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
|
|
{ "_class_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject},
|
|
{ "_class_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject},
|
|
{ "_class_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject},
|
|
{ "_class_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject},
|
|
{ "_class_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject},
|
|
{ "_class_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject},
|
|
{ "_class_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject},
|
|
{ "_class_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject},
|
|
{ "_class_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject},
|
|
{ "_class_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject},
|
|
{ "_class_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject},
|
|
{ "_class_wxObject","_wxPySizer",SwigwxPySizerTowxObject},
|
|
{ "_class_wxObject","_class_wxSizer",SwigwxSizerTowxObject},
|
|
{ "_class_wxObject","_wxSizer",SwigwxSizerTowxObject},
|
|
{ "_class_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject},
|
|
{ "_class_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject},
|
|
{ "_class_wxObject","_wxObject",0},
|
|
{ "_wxSpinEvent","_class_wxSpinEvent",0},
|
|
{ "_size_t","_wxCoord",0},
|
|
{ "_size_t","_wxPrintQuality",0},
|
|
{ "_size_t","_time_t",0},
|
|
{ "_size_t","_unsigned_int",0},
|
|
{ "_size_t","_int",0},
|
|
{ "_size_t","_wxWindowID",0},
|
|
{ "_size_t","_uint",0},
|
|
{ "_class_wxRealPoint","_wxRealPoint",0},
|
|
{ "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
|
|
{ "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
|
|
{ "_class_wxMenuItem","_wxMenuItem",0},
|
|
{ "_class_wxPaintEvent","_wxPaintEvent",0},
|
|
{ "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
|
|
{ "_class_wxPySizer","_wxPySizer",0},
|
|
{ "_wxPanel","_class_wxPanel",0},
|
|
{ "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
|
|
{ "_wxCheckBox","_class_wxCheckBox",0},
|
|
{ "_wxPyEvent","_class_wxPyEvent",0},
|
|
{ "_wxTextCtrl","_class_wxTextCtrl",0},
|
|
{ "_class_wxMask","_wxMask",0},
|
|
{ "_wxTextDataObject","_class_wxTextDataObject",0},
|
|
{ "_class_wxKeyEvent","_wxKeyEvent",0},
|
|
{ "_wxColour","_class_wxColour",0},
|
|
{ "_class_wxDialog","_wxDialog",0},
|
|
{ "_class_wxFileDataObject","_wxFileDataObject",0},
|
|
{ "_wxIdleEvent","_class_wxIdleEvent",0},
|
|
{ "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
|
|
{ "_class_wxDataObject","_wxDataObject",0},
|
|
{ "_wxStaticLine","_class_wxStaticLine",0},
|
|
{ "_wxBrush","_class_wxBrush",0},
|
|
{ "_wxToggleButton","_class_wxToggleButton",0},
|
|
{ "_wxDataFormat","_class_wxDataFormat",0},
|
|
{ "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
|
|
{ "_wxShowEvent","_class_wxShowEvent",0},
|
|
{ "_uint","_wxCoord",0},
|
|
{ "_uint","_wxPrintQuality",0},
|
|
{ "_uint","_time_t",0},
|
|
{ "_uint","_size_t",0},
|
|
{ "_uint","_unsigned_int",0},
|
|
{ "_uint","_int",0},
|
|
{ "_uint","_wxWindowID",0},
|
|
{ "_wxChar","_char",0},
|
|
{ "_wxPyValidator","_class_wxPyValidator",0},
|
|
{ "_class_wxEvent","_wxEvent",0},
|
|
{ "_wxCheckListBox","_class_wxCheckListBox",0},
|
|
{ "_wxRect","_class_wxRect",0},
|
|
{ "_wxCommandEvent","_class_wxCommandEvent",0},
|
|
{ "_wxSizeEvent","_class_wxSizeEvent",0},
|
|
{ "_wxPoint","_class_wxPoint",0},
|
|
{ "_class_wxButton","_wxButton",0},
|
|
{ "_wxRadioBox","_class_wxRadioBox",0},
|
|
{ "_class_wxSpinCtrl","_wxSpinCtrl",0},
|
|
{ "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
|
|
{ "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
|
|
{ "_wxBoxSizer","_class_wxBoxSizer",0},
|
|
{ "_char","_wxChar",0},
|
|
{ "_wxBitmap","_class_wxBitmap",0},
|
|
{ "_wxPenList","_class_wxPenList",0},
|
|
{ "_wxWindowDC","_class_wxWindowDC",0},
|
|
{ "_wxTimerEvent","_class_wxTimerEvent",0},
|
|
{ "_wxScrollBar","_class_wxScrollBar",0},
|
|
{ "_wxSpinButton","_class_wxSpinButton",0},
|
|
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
|
|
{ "_class_wxNotifyEvent","_wxNotifyEvent",0},
|
|
{ "_class_wxValidator","_wxValidator",0},
|
|
{ "_class_wxPyEvent","_wxPyEvent",0},
|
|
{ "_class_wxIconizeEvent","_wxIconizeEvent",0},
|
|
{ "_class_wxStaticBitmap","_wxStaticBitmap",0},
|
|
{ "_wxDropTarget","_class_wxDropTarget",0},
|
|
{ "_class_wxStaticLine","_wxStaticLine",0},
|
|
{ "_class_wxColourDatabase","_wxColourDatabase",0},
|
|
{ "_wxScrollEvent","_class_wxScrollEvent",0},
|
|
{ "_EBool","_wxCoord",0},
|
|
{ "_EBool","_wxPrintQuality",0},
|
|
{ "_EBool","_signed_int",0},
|
|
{ "_EBool","_int",0},
|
|
{ "_EBool","_wxWindowID",0},
|
|
{ "_class_wxRegion","_wxRegion",0},
|
|
{ "_class_wxDataFormat","_wxDataFormat",0},
|
|
{ "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
|
|
{ "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
|
|
{ "_wxStaticText","_class_wxStaticText",0},
|
|
{ "_wxFont","_class_wxFont",0},
|
|
{ "_class_wxPyDropTarget","_wxPyDropTarget",0},
|
|
{ "_wxCloseEvent","_class_wxCloseEvent",0},
|
|
{ "_unsigned_long","_long",0},
|
|
{ "_class_wxRect","_wxRect",0},
|
|
{ "_class_wxDC","_wxDC",0},
|
|
{ "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
|
|
{ "_class_wxBrushList","_wxBrushList",0},
|
|
{ "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
|
|
{ "_class_wxPenList","_wxPenList",0},
|
|
{ "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
|
|
{ "_wxFocusEvent","_class_wxFocusEvent",0},
|
|
{ "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
|
|
{ "_class_wxTimerEvent","_wxTimerEvent",0},
|
|
{ "_class_wxSpinButton","_wxSpinButton",0},
|
|
{ "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
|
|
{ "_class_wxPanel","_wxPanel",0},
|
|
{ "_class_wxCheckBox","_wxCheckBox",0},
|
|
{ "_wxComboBox","_class_wxComboBox",0},
|
|
{ "_wxRadioButton","_class_wxRadioButton",0},
|
|
{ "_signed_int","_wxCoord",0},
|
|
{ "_signed_int","_wxPrintQuality",0},
|
|
{ "_signed_int","_EBool",0},
|
|
{ "_signed_int","_wxWindowID",0},
|
|
{ "_signed_int","_int",0},
|
|
{ "_class_wxTextCtrl","_wxTextCtrl",0},
|
|
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
|
|
{ "_wxMetaFileDC","_class_wxMetaFileDC",0},
|
|
{ "_class_wxTextDataObject","_wxTextDataObject",0},
|
|
{ "_wxMenu","_class_wxMenu",0},
|
|
{ "_class_wxMoveEvent","_wxMoveEvent",0},
|
|
{ "_wxListBox","_class_wxListBox",0},
|
|
{ "_wxScreenDC","_class_wxScreenDC",0},
|
|
{ "_WXTYPE","_short",0},
|
|
{ "_WXTYPE","_signed_short",0},
|
|
{ "_WXTYPE","_unsigned_short",0},
|
|
{ "_class_wxDropTarget","_wxDropTarget",0},
|
|
{ "_class_wxBrush","_wxBrush",0},
|
|
{ "_unsigned_short","_WXTYPE",0},
|
|
{ "_unsigned_short","_short",0},
|
|
{ "_class_wxWindow","_wxWindow",0},
|
|
{ "_class_wxStaticText","_wxStaticText",0},
|
|
{ "_class_wxFont","_wxFont",0},
|
|
{ "_wxClipboard","_class_wxClipboard",0},
|
|
{ "_class_wxPyValidator","_wxPyValidator",0},
|
|
{ "_class_wxCloseEvent","_wxCloseEvent",0},
|
|
{ "_wxBusyInfo","_class_wxBusyInfo",0},
|
|
{ "_wxFontList","_class_wxFontList",0},
|
|
{ "_class_wxMenuEvent","_wxMenuEvent",0},
|
|
{ "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
|
|
{ "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
|
|
{ "_wxClientDC","_class_wxClientDC",0},
|
|
{ "_wxMouseEvent","_class_wxMouseEvent",0},
|
|
{ "_wxObject","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject},
|
|
{ "_wxObject","_wxFlexGridSizer",SwigwxFlexGridSizerTowxObject},
|
|
{ "_wxObject","_class_wxGridSizer",SwigwxGridSizerTowxObject},
|
|
{ "_wxObject","_wxGridSizer",SwigwxGridSizerTowxObject},
|
|
{ "_wxObject","_class_wxNotebookSizer",SwigwxNotebookSizerTowxObject},
|
|
{ "_wxObject","_wxNotebookSizer",SwigwxNotebookSizerTowxObject},
|
|
{ "_wxObject","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject},
|
|
{ "_wxObject","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxObject},
|
|
{ "_wxObject","_class_wxBoxSizer",SwigwxBoxSizerTowxObject},
|
|
{ "_wxObject","_wxBoxSizer",SwigwxBoxSizerTowxObject},
|
|
{ "_wxObject","_class_wxPySizer",SwigwxPySizerTowxObject},
|
|
{ "_wxObject","_wxPySizer",SwigwxPySizerTowxObject},
|
|
{ "_wxObject","_class_wxSizer",SwigwxSizerTowxObject},
|
|
{ "_wxObject","_wxSizer",SwigwxSizerTowxObject},
|
|
{ "_wxObject","_class_wxSizerItem",SwigwxSizerItemTowxObject},
|
|
{ "_wxObject","_wxSizerItem",SwigwxSizerItemTowxObject},
|
|
{ "_wxObject","_class_wxObject",0},
|
|
{ "_class_wxPoint","_wxPoint",0},
|
|
{ "_wxRealPoint","_class_wxRealPoint",0},
|
|
{ "_class_wxRadioBox","_wxRadioBox",0},
|
|
{ "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
|
|
{ "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
|
|
{ "_class_wxBoxSizer","_wxBoxSizer",0},
|
|
{ "_signed_short","_WXTYPE",0},
|
|
{ "_signed_short","_short",0},
|
|
{ "_wxMemoryDC","_class_wxMemoryDC",0},
|
|
{ "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
|
|
{ "_wxPaintDC","_class_wxPaintDC",0},
|
|
{ "_class_wxWindowDC","_wxWindowDC",0},
|
|
{ "_class_wxFocusEvent","_wxFocusEvent",0},
|
|
{ "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
|
|
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
|
|
{ "_class_wxCursor","_wxCursor",0},
|
|
{ "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
|
|
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
|
|
{ "_unsigned_char","_byte",0},
|
|
{ "_class_wxMetaFileDC","_wxMetaFileDC",0},
|
|
{ "_class_wxMenu","_wxMenu",0},
|
|
{ "_wxControl","_class_wxControl",0},
|
|
{ "_class_wxListBox","_wxListBox",0},
|
|
{ "_unsigned_int","_wxCoord",0},
|
|
{ "_unsigned_int","_wxPrintQuality",0},
|
|
{ "_unsigned_int","_time_t",0},
|
|
{ "_unsigned_int","_size_t",0},
|
|
{ "_unsigned_int","_uint",0},
|
|
{ "_unsigned_int","_wxWindowID",0},
|
|
{ "_unsigned_int","_int",0},
|
|
{ "_wxIcon","_class_wxIcon",0},
|
|
{ "_wxDialog","_class_wxDialog",0},
|
|
{ "_class_wxPen","_wxPen",0},
|
|
{ "_short","_WXTYPE",0},
|
|
{ "_short","_unsigned_short",0},
|
|
{ "_short","_signed_short",0},
|
|
{ "_class_wxStaticBox","_wxStaticBox",0},
|
|
{ "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
|
|
{ "_class_wxPyDropSource","_wxPyDropSource",0},
|
|
{ "_class_wxScrollEvent","_wxScrollEvent",0},
|
|
{ "_wxJoystickEvent","_class_wxJoystickEvent",0},
|
|
{ "_class_wxChoice","_wxChoice",0},
|
|
{ "_class_wxSlider","_wxSlider",0},
|
|
{ "_class_wxImageList","_wxImageList",0},
|
|
{ "_class_wxBitmapButton","_wxBitmapButton",0},
|
|
{ "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
|
|
{ "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
|
|
{ "_class_wxGridSizer","_wxGridSizer",0},
|
|
{ "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
|
|
{ "_wxWindowID","_wxCoord",0},
|
|
{ "_wxWindowID","_wxPrintQuality",0},
|
|
{ "_wxWindowID","_time_t",0},
|
|
{ "_wxWindowID","_size_t",0},
|
|
{ "_wxWindowID","_EBool",0},
|
|
{ "_wxWindowID","_uint",0},
|
|
{ "_wxWindowID","_int",0},
|
|
{ "_wxWindowID","_signed_int",0},
|
|
{ "_wxWindowID","_unsigned_int",0},
|
|
{ "_class_wxGDIObject","_wxGDIObject",0},
|
|
{ "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
|
|
{ "_class_wxSizerItem","_wxSizerItem",0},
|
|
{ "_int","_wxCoord",0},
|
|
{ "_int","_wxPrintQuality",0},
|
|
{ "_int","_time_t",0},
|
|
{ "_int","_size_t",0},
|
|
{ "_int","_EBool",0},
|
|
{ "_int","_uint",0},
|
|
{ "_int","_wxWindowID",0},
|
|
{ "_int","_unsigned_int",0},
|
|
{ "_int","_signed_int",0},
|
|
{ "_class_wxMouseEvent","_wxMouseEvent",0},
|
|
{ "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
|
|
{ "_class_wxSpinEvent","_wxSpinEvent",0},
|
|
{ "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
|
|
{ "_time_t","_wxCoord",0},
|
|
{ "_time_t","_wxPrintQuality",0},
|
|
{ "_time_t","_unsigned_int",0},
|
|
{ "_time_t","_int",0},
|
|
{ "_time_t","_wxWindowID",0},
|
|
{ "_time_t","_uint",0},
|
|
{ "_time_t","_size_t",0},
|
|
{ "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
|
|
{ "_wxButton","_class_wxButton",0},
|
|
{ "_wxSize","_class_wxSize",0},
|
|
{ "_wxRegionIterator","_class_wxRegionIterator",0},
|
|
{ "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
|
|
{ "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
|
|
{ "_class_wxPaintDC","_wxPaintDC",0},
|
|
{ "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
|
|
{ "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
|
|
{ "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
|
|
{ "_class_wxComboBox","_wxComboBox",0},
|
|
{ "_class_wxRadioButton","_wxRadioButton",0},
|
|
{ "_wxValidator","_class_wxValidator",0},
|
|
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
|
|
{ "_wxIconizeEvent","_class_wxIconizeEvent",0},
|
|
{ "_class_wxControl","_wxControl",0},
|
|
{ "_wxStaticBitmap","_class_wxStaticBitmap",0},
|
|
{ "_class_wxIcon","_wxIcon",0},
|
|
{ "_class_wxColour","_wxColour",0},
|
|
{ "_class_wxScreenDC","_wxScreenDC",0},
|
|
{ "_wxPalette","_class_wxPalette",0},
|
|
{ "_class_wxIdleEvent","_wxIdleEvent",0},
|
|
{ "_wxCoord","_int",0},
|
|
{ "_wxCoord","_signed_int",0},
|
|
{ "_wxCoord","_unsigned_int",0},
|
|
{ "_wxCoord","_wxWindowID",0},
|
|
{ "_wxCoord","_uint",0},
|
|
{ "_wxCoord","_EBool",0},
|
|
{ "_wxCoord","_size_t",0},
|
|
{ "_wxCoord","_time_t",0},
|
|
{ "_wxCoord","_wxPrintQuality",0},
|
|
{ "_wxEraseEvent","_class_wxEraseEvent",0},
|
|
{ "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
|
|
{ "_class_wxJoystickEvent","_wxJoystickEvent",0},
|
|
{ "_class_wxToggleButton","_wxToggleButton",0},
|
|
{ "_wxRegion","_class_wxRegion",0},
|
|
{ "_wxSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
|
|
{ "_wxSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxSizer},
|
|
{ "_wxSizer","_class_wxGridSizer",SwigwxGridSizerTowxSizer},
|
|
{ "_wxSizer","_wxGridSizer",SwigwxGridSizerTowxSizer},
|
|
{ "_wxSizer","_class_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
|
{ "_wxSizer","_wxNotebookSizer",SwigwxNotebookSizerTowxSizer},
|
|
{ "_wxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
|
{ "_wxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxSizer},
|
|
{ "_wxSizer","_class_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
|
{ "_wxSizer","_wxBoxSizer",SwigwxBoxSizerTowxSizer},
|
|
{ "_wxSizer","_class_wxPySizer",SwigwxPySizerTowxSizer},
|
|
{ "_wxSizer","_wxPySizer",SwigwxPySizerTowxSizer},
|
|
{ "_wxSizer","_class_wxSizer",0},
|
|
{ "_class_wxShowEvent","_wxShowEvent",0},
|
|
{ "_wxPyDropTarget","_class_wxPyDropTarget",0},
|
|
{ "_wxActivateEvent","_class_wxActivateEvent",0},
|
|
{ "_wxGauge","_class_wxGauge",0},
|
|
{ "_class_wxCheckListBox","_wxCheckListBox",0},
|
|
{ "_class_wxBusyInfo","_wxBusyInfo",0},
|
|
{ "_class_wxFontList","_wxFontList",0},
|
|
{ "_class_wxCommandEvent","_wxCommandEvent",0},
|
|
{ "_class_wxClientDC","_wxClientDC",0},
|
|
{ "_class_wxSizeEvent","_wxSizeEvent",0},
|
|
{ "_wxBrushList","_class_wxBrushList",0},
|
|
{ "_wxCustomDataObject","_class_wxCustomDataObject",0},
|
|
{ "_class_wxSize","_wxSize",0},
|
|
{ "_class_wxBitmap","_wxBitmap",0},
|
|
{ "_class_wxMemoryDC","_wxMemoryDC",0},
|
|
{ "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
|
|
{ "_wxMenuBar","_class_wxMenuBar",0},
|
|
{ "_wxEvtHandler","_class_wxEvtHandler",0},
|
|
{ "_wxMenuItem","_class_wxMenuItem",0},
|
|
{ "_class_wxScrollBar","_wxScrollBar",0},
|
|
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
|
|
{ "_wxKeyEvent","_class_wxKeyEvent",0},
|
|
{ "_wxMoveEvent","_class_wxMoveEvent",0},
|
|
{ "_class_wxPalette","_wxPalette",0},
|
|
{ "_wxFileDataObject","_class_wxFileDataObject",0},
|
|
{ "_wxNotebookSizer","_class_wxNotebookSizer",0},
|
|
{ "_class_wxEraseEvent","_wxEraseEvent",0},
|
|
{ "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
|
|
{ "_wxWindow","_class_wxWindow",0},
|
|
{ "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
|
|
{0,0,0}};
|
|
|
|
static PyObject *SWIG_globals;
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
SWIGEXPORT(void) initsizersc() {
|
|
PyObject *m, *d;
|
|
SWIG_globals = SWIG_newvarlink();
|
|
m = Py_InitModule("sizersc", sizerscMethods);
|
|
d = PyModule_GetDict(m);
|
|
{
|
|
int i;
|
|
for (i = 0; _swig_mapping[i].n1; i++)
|
|
SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
|
|
}
|
|
}
|