#include "helpers.h"
+#include <wx/notebook.h>
+
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
if (!target) {
#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;
wxSizerItem * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetWindow",_kwnames,&_argo0))
_result = (wxWindow *)wxSizerItem_GetWindow(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxSizerItem * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSizerItem_GetSizer",_kwnames,&_argo0))
_result = (wxSizer *)wxSizerItem_GetSizer(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxSizer_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
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;
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;
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;
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 * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBoxSizer_GetStaticBox",_kwnames,&_argo0))
_result = (wxStaticBox *)wxStaticBoxSizer_GetStaticBox(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
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 * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxNotebookSizer_GetNotebook",_kwnames,&_argo0))
_result = (wxNotebook *)wxNotebookSizer_GetNotebook(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxNotebook_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
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;
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;
{ "_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},
{ "_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},
{ "_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},