# define SWIGEXPORT(a) __declspec(dllexport) a
# else
# if defined(__BORLANDC__)
-# define SWIGEXPORT(a) a _export
+# define SWIGEXPORT(a) a _export
# else
-# define SWIGEXPORT(a) a
+# define SWIGEXPORT(a) a
# endif
# endif
#else
-# define SWIGEXPORT(a) a
+# define SWIGEXPORT(a) a
#endif
+#include "Python.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#include "Python.h"
+
extern void SWIG_MakePtr(char *, void *, char *);
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
extern char *SWIG_GetPtr(char *, void **, char *);
#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) {
+ if (!target) {
target = o;
- } else if (target == Py_None) {
+ } else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
- } else {
+ } 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);
+ o3 = PyTuple_New(1);
+ PyTuple_SetItem(o3, 0, o);
o2 = target;
- target = PySequence_Concat(o2, o3);
- Py_DECREF(o2);
+ 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 required";
-#endif
-
class wxPySizer : public wxSizer {
DECLARE_DYNAMIC_CLASS(wxPySizer);
public:
return (void *) dest;
}
+#define wxSizerItem_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
+static PyObject *_wrap_wxSizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxSizerItem * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_DeleteWindows",_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_DeleteWindows. Expected _wxSizerItem_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_DeleteWindows(_arg0);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
#define wxSizerItem_GetPosition(_swigobj) (_swigobj->GetPosition())
static PyObject *_wrap_wxSizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxPoint (wxSizerItem_GetPosition(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxPoint (wxSizerItem_GetPosition(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxSizerItem_GetSize(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxSizerItem_GetSize(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxSizerItem_CalcMin(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxSizerItem_CalcMin(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetDimension(_arg0,*_arg1,*_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetRatioWH(_arg0,_arg1,_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetRatioSize(_arg0,*_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetRatioSize(_arg0,*_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetRatio(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetRatio(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (float )wxSizerItem_GetRatio(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (float )wxSizerItem_GetRatio(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("f",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (bool )wxSizerItem_IsWindow(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxSizerItem_IsWindow(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (bool )wxSizerItem_IsSizer(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxSizerItem_IsSizer(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (bool )wxSizerItem_IsSpacer(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxSizerItem_IsSpacer(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetWindow(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetWindow(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
-}{ _resultobj = wxPyMake_wxObject(_result); }
+}{ _resultobj = wxPyMake_wxSizer(_result); }
return _resultobj;
}
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetSizer(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetSizer(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxSizerItem_GetOption(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxSizerItem_GetOption(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxSizerItem_GetFlag(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxSizerItem_GetFlag(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxSizerItem_GetBorder(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxSizerItem_GetBorder(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetInitSize(_arg0,_arg1,_arg2);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetInitSize(_arg0,_arg1,_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetOption(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetOption(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetFlag(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetFlag(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizerItem_SetBorder(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizerItem_SetBorder(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (PyObject *)wxSizerItem_GetUserData(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (PyObject *)wxSizerItem_GetUserData(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{
_resultobj = _result;
return (void *) dest;
}
+static void wxSizer__setOORInfo(wxSizer *self,PyObject * _self) {
+ self->SetClientObject(new wxPyClientData(_self));
+ }
+static PyObject *_wrap_wxSizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxSizer * _arg0;
+ PyObject * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","_self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxSizer__setOORInfo",_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__setOORInfo. Expected _wxSizer_p.");
+ return NULL;
+ }
+ }
+{
+ _arg1 = _obj1;
+}
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer__setOORInfo(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
static void wxSizer_Destroy(wxSizer *self) { delete self; }
static PyObject *_wrap_wxSizer_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_Destroy(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_Destroy(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg5 = _obj5;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_AddWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg5 = _obj5;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_AddSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg6 = _obj6;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_AddSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg6 = _obj6;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_InsertWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_InsertWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg6 = _obj6;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_InsertSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_InsertSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg7 = _obj7;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_InsertSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_InsertSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg5 = _obj5;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_PrependWindow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg5 = _obj5;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_PrependSizer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
_arg6 = _obj6;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_PrependSpacer(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (bool )wxSizer_RemoveWindow(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxSizer_RemoveWindow(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (bool )wxSizer_RemoveSizer(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxSizer_RemoveSizer(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (bool )wxSizer_RemovePos(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (bool )wxSizer_RemovePos(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_SetDimension(_arg0,_arg1,_arg2,_arg3,_arg4);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_SetDimension(_arg0,_arg1,_arg2,_arg3,_arg4);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return NULL;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_SetMinSize(_arg0,*_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_SetMinSize(_arg0,*_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_SetItemMinSizeWindow(_arg0,_arg1,_arg2,_arg3);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_SetItemMinSizeWindow(_arg0,_arg1,_arg2,_arg3);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_SetItemMinSizeSizer(_arg0,_arg1,_arg2,_arg3);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_SetItemMinSizeSizer(_arg0,_arg1,_arg2,_arg3);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_SetItemMinSizePos(_arg0,_arg1,_arg2,_arg3);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_SetItemMinSizePos(_arg0,_arg1,_arg2,_arg3);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxSizer_GetSize(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxSizer_GetSize(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxPoint (wxSizer_GetPosition(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxPoint (wxSizer_GetPosition(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxSizer_GetMinSize(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxSizer_GetMinSize(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_Layout(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_Layout(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_Fit(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_Fit(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxSizer_SetSizeHints(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_SetSizeHints(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxSizer_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0))
+static PyObject *_wrap_wxSizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxSizer * _arg0;
+ bool _arg1 = (bool ) FALSE;
+ PyObject * _argo0 = 0;
+ int tempbool1 = (int) FALSE;
+ char *_kwnames[] = { "self","delete_windows", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxSizer_Clear",_kwnames,&_argo0,&tempbool1))
+ 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_Clear. Expected _wxSizer_p.");
+ return NULL;
+ }
+ }
+ _arg1 = (bool ) tempbool1;
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_Clear(_arg0,_arg1);
+
+ wxPyEndAllowThreads(__tstate);
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxSizer_DeleteWindows(_swigobj) (_swigobj->DeleteWindows())
+static PyObject *_wrap_wxSizer_DeleteWindows(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_DeleteWindows",_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_DeleteWindows. Expected _wxSizer_p.");
+ return NULL;
+ }
+ }
+{
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxSizer_DeleteWindows(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (PyObject *)wxSizer_GetChildren(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (PyObject *)wxSizer_GetChildren(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{
_resultobj = _result;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPySizer",_kwnames))
return NULL;
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxPySizer *)new_wxPySizer();
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxPySizer *)new_wxPySizer();
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPySizer_p");
_arg2 = _obj2;
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxPySizer__setCallbackInfo(_arg0,_arg1,_arg2);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxPySizer__setCallbackInfo(_arg0,_arg1,_arg2);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxBoxSizer",_kwnames,&_arg0))
return NULL;
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxBoxSizer *)new_wxBoxSizer(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxBoxSizer *)new_wxBoxSizer(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxBoxSizer_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxBoxSizer_GetOrientation(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxBoxSizer_GetOrientation(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxBoxSizer_RecalcSizes(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxBoxSizer_RecalcSizes(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxBoxSizer_CalcMin(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxBoxSizer_CalcMin(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxStaticBoxSizer *)new_wxStaticBoxSizer(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBoxSizer_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxStaticBoxSizer_RecalcSizes(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxStaticBoxSizer_RecalcSizes(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxStaticBoxSizer_CalcMin(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxNotebookSizer *)new_wxNotebookSizer(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebookSizer_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxNotebookSizer_RecalcSizes(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxNotebookSizer_RecalcSizes(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxNotebookSizer_CalcMin(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxNotebookSizer_CalcMin(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
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);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxGridSizer *)new_wxGridSizer(_arg0,_arg1,_arg2,_arg3);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxGridSizer_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxGridSizer_RecalcSizes(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxGridSizer_RecalcSizes(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxGridSizer_CalcMin(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxGridSizer_CalcMin(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxGridSizer_SetCols(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxGridSizer_SetCols(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxGridSizer_SetRows(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxGridSizer_SetRows(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxGridSizer_SetVGap(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxGridSizer_SetVGap(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxGridSizer_SetHGap(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxGridSizer_SetHGap(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxGridSizer_GetCols(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxGridSizer_GetCols(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxGridSizer_GetRows(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxGridSizer_GetRows(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxGridSizer_GetVGap(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxGridSizer_GetVGap(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (int )wxGridSizer_GetHGap(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (int )wxGridSizer_GetHGap(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
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);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = (wxFlexGridSizer *)new_wxFlexGridSizer(_arg0,_arg1,_arg2,_arg3);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFlexGridSizer_p");
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxFlexGridSizer_RecalcSizes(_arg0);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxFlexGridSizer_RecalcSizes(_arg0);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxSize (wxFlexGridSizer_CalcMin(_arg0));
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ _result = new wxSize (wxFlexGridSizer_CalcMin(_arg0));
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxFlexGridSizer_AddGrowableRow(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxFlexGridSizer_AddGrowableRow(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxFlexGridSizer_RemoveGrowableRow(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxFlexGridSizer_RemoveGrowableRow(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxFlexGridSizer_AddGrowableCol(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxFlexGridSizer_AddGrowableCol(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
}
}
{
- wxPy_BEGIN_ALLOW_THREADS;
- wxFlexGridSizer_RemoveGrowableCol(_arg0,_arg1);
+ PyThreadState* __tstate = wxPyBeginAllowThreads();
+ wxFlexGridSizer_RemoveGrowableCol(_arg0,_arg1);
- wxPy_END_ALLOW_THREADS;
+ wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{ "wxPySizer__setCallbackInfo", (PyCFunction) _wrap_wxPySizer__setCallbackInfo, 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_DeleteWindows", (PyCFunction) _wrap_wxSizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
+ { "wxSizer_Clear", (PyCFunction) _wrap_wxSizer_Clear, 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_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 },
+ { "wxSizer__setOORInfo", (PyCFunction) _wrap_wxSizer__setOORInfo, 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_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
{ "wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
{ "wxSizerItem_GetPosition", (PyCFunction) _wrap_wxSizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
+ { "wxSizerItem_DeleteWindows", (PyCFunction) _wrap_wxSizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
{ NULL, NULL }
};
#ifdef __cplusplus
{ "_byte","_unsigned_char",0},
{ "_long","_unsigned_long",0},
{ "_long","_signed_long",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},
- { "_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
{ "_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
- { "_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},
{ "_size_t","_wxCoord",0},
{ "_size_t","_wxPrintQuality",0},
{ "_size_t","_time_t",0},
{ "_uint","_int",0},
{ "_uint","_wxWindowID",0},
{ "_wxChar","_char",0},
- { "_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
{ "_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
{ "_char","_wxChar",0},
{ "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
{ "_WXTYPE","_unsigned_short",0},
{ "_unsigned_short","_WXTYPE",0},
{ "_unsigned_short","_short",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},
- { "_class_wxBoxSizer","_class_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
- { "_class_wxBoxSizer","_wxStaticBoxSizer",SwigwxStaticBoxSizerTowxBoxSizer},
{ "_signed_short","_WXTYPE",0},
{ "_signed_short","_short",0},
{ "_unsigned_char","_byte",0},
{ "_short","_WXTYPE",0},
{ "_short","_unsigned_short",0},
{ "_short","_signed_short",0},
- { "_class_wxGridSizer","_class_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
- { "_class_wxGridSizer","_wxFlexGridSizer",SwigwxFlexGridSizerTowxGridSizer},
{ "_wxWindowID","_wxCoord",0},
{ "_wxWindowID","_wxPrintQuality",0},
{ "_wxWindowID","_time_t",0},
{ "_wxCoord","_size_t",0},
{ "_wxCoord","_time_t",0},
{ "_wxCoord","_wxPrintQuality",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},
{0,0,0}};