#include "helpers.h"
#include <wx/menuitem.h>
+#include <wx/tooltip.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;
}
-static char* wxStringErrorMsg = "string type is required for parameter";
+#if PYTHON_API_VERSION >= 1009
+ static char* wxStringErrorMsg = "String or Unicode type required";
+#else
+ static char* wxStringErrorMsg = "string type is required for parameter";
+#endif
static wxString wxPyEmptyStr("");
- bool wxValidator_IsSilent() {
- return wxValidator::IsSilent();
- }
-
- void wxValidator_SetBellOnError(int doIt = TRUE) {
- wxValidator::SetBellOnError(doIt);
- }
-
class wxPyValidator : public wxValidator {
DECLARE_DYNAMIC_CLASS(wxPyValidator);
public:
wxPyValidator() {
}
-// wxPyValidator(const wxPyValidator& other);
~wxPyValidator() {
}
return ptr;
}
+
DEC_PYCALLBACK_BOOL_WXWIN(Validate);
DEC_PYCALLBACK_BOOL_(TransferToWindow);
DEC_PYCALLBACK_BOOL_(TransferFromWindow);
PYPRIVATE;
-// PyObject* m_data;
};
IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
#ifdef __cplusplus
extern "C" {
#endif
-static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- bool _result;
- char *_kwnames[] = { NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
- return NULL;
-{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (bool )wxValidator_IsSilent();
-
- wxPy_END_ALLOW_THREADS;
-} _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- int _arg0 = (int ) TRUE;
- char *_kwnames[] = { "doIt", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
- return NULL;
-{
- wxPy_BEGIN_ALLOW_THREADS;
- wxValidator_SetBellOnError(_arg0);
-
- wxPy_END_ALLOW_THREADS;
-} Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
static PyObject *_wrap_wxWindow_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
char *_kwnames[] = { NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWindow_FindFocus",_kwnames))
_result = (wxWindow *)wxWindow_FindFocus();
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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
_result = (int )wxWindow_NewControlId();
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (int )wxWindow_NextControlId(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (int )wxWindow_PrevControlId(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
+static void *SwigwxEvtHandlerTowxObject(void *ptr) {
+ wxEvtHandler *src;
+ wxObject *dest;
+ src = (wxEvtHandler *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxEvtHandler() (new wxEvtHandler())
static PyObject *_wrap_new_wxEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
_result = (wxEvtHandler *)new_wxEvtHandler();
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
_resultobj = Py_BuildValue("s",_ptemp);
_result = (bool )wxEvtHandler_ProcessEvent(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxEvtHandler_AddPendingEvent(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxEvtHandler_SetEvtHandlerEnabled(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxEvtHandler * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetNextHandler",_kwnames,&_argo0))
_result = (wxEvtHandler *)wxEvtHandler_GetNextHandler(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxEvtHandler * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEvtHandler_GetPreviousHandler",_kwnames,&_argo0))
_result = (wxEvtHandler *)wxEvtHandler_GetPreviousHandler(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxEvtHandler_SetNextHandler(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxEvtHandler_SetPreviousHandler(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxEvtHandler_Connect(_arg0,_arg1,_arg2,_arg3,_arg4);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxEvtHandler_Disconnect(_arg0,_arg1,_arg2,_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
return (void *) dest;
}
+static void *SwigwxValidatorTowxObject(void *ptr) {
+ wxValidator *src;
+ wxObject *dest;
+ src = (wxValidator *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxValidator() (new wxValidator())
static PyObject *_wrap_new_wxValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
_result = (wxValidator *)new_wxValidator();
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxValidator * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_Clone",_kwnames,&_argo0))
_result = (wxValidator *)wxValidator_Clone(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxValidator * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxValidator_GetWindow",_kwnames,&_argo0))
_result = (wxWindow *)wxValidator_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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxValidator_SetWindow(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+static PyObject *_wrap_wxValidator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ char *_kwnames[] = { NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxValidator_IsSilent",_kwnames))
+ return NULL;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxValidator::IsSilent();
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
+static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ int _arg0 = (int ) TRUE;
+ char *_kwnames[] = { "doIt", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxValidator_SetBellOnError",_kwnames,&_arg0))
+ return NULL;
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxValidator::SetBellOnError(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return (void *) dest;
}
+static void *SwigwxPyValidatorTowxObject(void *ptr) {
+ wxPyValidator *src;
+ wxObject *dest;
+ src = (wxPyValidator *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxPyValidator() (new wxPyValidator())
static PyObject *_wrap_new_wxPyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
_result = (wxPyValidator *)new_wxPyValidator();
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyValidator_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
-static void wxPyValidator_Destroy(wxPyValidator *self) { delete self; }
-static PyObject *_wrap_wxPyValidator_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- wxPyValidator * _arg0;
- PyObject * _argo0 = 0;
- char *_kwnames[] = { "self", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyValidator_Destroy",_kwnames,&_argo0))
- return NULL;
- if (_argo0) {
- if (_argo0 == Py_None) { _arg0 = NULL; }
- else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyValidator_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyValidator_Destroy. Expected _wxPyValidator_p.");
- return NULL;
- }
- }
-{
- wxPy_BEGIN_ALLOW_THREADS;
- wxPyValidator_Destroy(_arg0);
-
- wxPy_END_ALLOW_THREADS;
-} Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
#define wxPyValidator__setSelf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setSelf(_swigarg0,_swigarg1,_swigarg2))
static PyObject *_wrap_wxPyValidator__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxPyValidator__setSelf(_arg0,_arg1,_arg2,_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return (void *) dest;
}
+static void *SwigwxWindowTowxObject(void *ptr) {
+ wxWindow *src;
+ wxObject *dest;
+ src = (wxWindow *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_wxWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
_result = (wxWindow *)new_wxWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxWindow_CaptureMouse(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_Center(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_Centre(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_CentreOnParent(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_CenterOnParent(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_CentreOnScreen(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_CenterOnScreen(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_ClientToScreenXY(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxPoint (wxWindow_ClientToScreen(_arg0,*_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = (bool )wxWindow_Close(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_Destroy(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_DestroyChildren(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
+#define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
+static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ bool _result;
+ wxWindow * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_IsBeingDeleted",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (bool )wxWindow_IsBeingDeleted(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("i",_result);
+ return _resultobj;
+}
+
#define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
static PyObject *_wrap_wxWindow_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow_Enable(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
long _arg1;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self","id", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_FindWindowById",_kwnames,&_argo0,&_arg1))
_result = (wxWindow *)wxWindow_FindWindowById(_arg0,_arg1);
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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
PyObject * _argo0 = 0;
PyObject * _obj1 = 0;
char *_kwnames[] = { "self","name", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_FindWindowByName",_kwnames,&_argo0,&_obj1))
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
_result = (wxWindow *)wxWindow_FindWindowByName(_arg0,*_arg1);
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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
{
if (_obj1)
delete _arg1;
wxWindow_Fit(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = new wxColour (wxWindow_GetBackgroundColour(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = (PyObject *)wxWindow_GetChildren(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = _result;
}
_result = (int )wxWindow_GetCharHeight(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (int )wxWindow_GetCharWidth(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_GetClientSizeTuple(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxSize (wxWindow_GetClientSize(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = (wxLayoutConstraints *)wxWindow_GetConstraints(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxWindow * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetEventHandler",_kwnames,&_argo0))
_result = (wxEvtHandler *)wxWindow_GetEventHandler(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
_result = (wxFont *) &_result_ref;
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
_resultobj = Py_BuildValue("s",_ptemp);
_result = new wxColour (wxWindow_GetForegroundColour(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
wxWindow * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetGrandParent",_kwnames,&_argo0))
_result = (wxWindow *)wxWindow_GetGrandParent(_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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
_result = (long )wxWindow_GetHandle(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
_result = (int )wxWindow_GetId(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = new wxString (wxWindow_GetLabel(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxWindow_SetLabel(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxWindow_GetName(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
wxWindow * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetParent",_kwnames,&_argo0))
_result = (wxWindow *)wxWindow_GetParent(_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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxWindow_GetPositionTuple(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxPoint (wxWindow_GetPosition(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = new wxRect (wxWindow_GetRect(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = (int )wxWindow_GetScrollThumb(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (int )wxWindow_GetScrollPos(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (int )wxWindow_GetScrollRange(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_GetSizeTuple(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxSize (wxWindow_GetSize(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxWindow_GetTextExtent(_arg0,*_arg1,_arg2,_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxWindow_GetFullTextExtent(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxWindow_GetTitle(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
_result = new wxRegion (wxWindow_GetUpdateRegion(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxRegion_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = (long )wxWindow_GetWindowStyleFlag(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
wxWindow_SetWindowStyleFlag(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetWindowStyle(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxWindow_Hide(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_InitDialog(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxWindow_IsEnabled(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_IsExposed(_arg0,_arg1,_arg2,_arg3,_arg4);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_IsExposedPoint(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_IsExposedRect(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_IsRetained(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_IsShown(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_IsTopLevel(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_Layout(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
_result = (bool )wxWindow_LoadFromResource(_arg0,_arg1,*_arg2,_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
{
if (_obj2)
wxWindow_Lower(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_MakeModal(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_MoveXY(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_Move(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
PyObject * _argo0 = 0;
int tempbool1 = (int) FALSE;
char *_kwnames[] = { "self","deleteHandler", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxWindow_PopEventHandler",_kwnames,&_argo0,&tempbool1))
_result = (wxEvtHandler *)wxWindow_PopEventHandler(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxWindow_PushEventHandler(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxWindow_PopupMenuXY(_arg0,_arg1,_arg2,_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_PopupMenu(_arg0,_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_Raise(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_Refresh(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_ReleaseMouse(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_RemoveChild(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxWindow_Reparent(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_ScreenToClientXY(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxPoint (wxWindow_ScreenToClient(_arg0,*_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
wxWindow_ScrollWindow(_arg0,_arg1,_arg2,_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetAcceleratorTable(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetAutoLayout(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxWindow_GetAutoLayout(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_SetBackgroundColour(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetConstraints(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_UnsetConstraints(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetFocus(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxWindow_AcceptsFocus(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_SetFont(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetForegroundColour(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetId(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxWindow_SetName(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxWindow_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetScrollPos(_arg0,_arg1,_arg2,_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetDimensions(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetSize(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetPosition(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetRect(_arg0,*_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetSizeHints(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetClientSizeWH(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetClientSize(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetCursor(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetEventHandler(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
-#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
-static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
+#define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
+static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _arg0;
- wxString * _arg1;
+ long _arg1;
PyObject * _argo0 = 0;
- PyObject * _obj1 = 0;
- char *_kwnames[] = { "self","title", NULL };
+ char *_kwnames[] = { "self","exStyle", NULL };
self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxWindow_SetExtraStyle",_kwnames,&_argo0,&_arg1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
return NULL;
}
}
{
-#if PYTHON_API_VERSION >= 1009
- char* tmpPtr; int tmpSize;
- if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
- return NULL;
- }
- if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
- return NULL;
- _arg1 = new wxString(tmpPtr, tmpSize);
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxWindow_SetExtraStyle(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
+static PyObject *_wrap_wxWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxWindow * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","title", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxWindow_SetTitle",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
+ return NULL;
+ }
+ }
+{
+#if PYTHON_API_VERSION >= 1009
+ char* tmpPtr; int tmpSize;
+ if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
+ return NULL;
+ _arg1 = new wxString(tmpPtr, tmpSize);
#else
if (!PyString_Check(_obj1)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
wxWindow_SetTitle(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = (bool )wxWindow_Show(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_TransferDataFromWindow(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_TransferDataToWindow(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxWindow_Validate(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxWindow_WarpPointer(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0,*_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0,*_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0,*_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
_result = new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0,*_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxWindow_SetToolTipString(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxWindow_SetToolTip(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetToolTip",_kwnames,&_argo0))
_result = (wxToolTip *)wxWindow_GetToolTip(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxWindow_SetSizer(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetSizer",_kwnames,&_argo0))
_result = (wxSizer *)wxWindow_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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxWindow * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxWindow_GetValidator",_kwnames,&_argo0))
_result = (wxValidator *)wxWindow_GetValidator(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxValidator_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxWindow_SetValidator(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxWindow_SetDropTarget(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (wxDropTarget *)wxWindow_GetDropTarget(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxDropTarget_p");
_resultobj = Py_BuildValue("s",_ptemp);
_result = new wxSize (wxWindow_GetBestSize(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
wxWindow_SetCaret(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (wxCaret *)wxWindow_GetCaret(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p");
_resultobj = Py_BuildValue("s",_ptemp);
return (void *) dest;
}
+static void *SwigwxPanelTowxObject(void *ptr) {
+ wxPanel *src;
+ wxObject *dest;
+ src = (wxPanel *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_wxPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
_result = (wxPanel *)new_wxPanel(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxPanel_InitDialog(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxPanel * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPanel_GetDefaultItem",_kwnames,&_argo0))
_result = (wxButton *)wxPanel_GetDefaultItem(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxPanel_SetDefaultItem(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
return (void *) dest;
}
+static void *SwigwxDialogTowxObject(void *ptr) {
+ wxDialog *src;
+ wxObject *dest;
+ src = (wxDialog *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxDialog(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
static PyObject *_wrap_new_wxDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
_result = (wxDialog *)new_wxDialog(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxDialog_Centre(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxDialog_EndModal(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = new wxString (wxDialog_GetTitle(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
wxDialog_Iconize(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxDialog_IsIconized(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxDialog_SetModal(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxDialog_IsModal(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxDialog_SetTitle(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = (bool )wxDialog_Show(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (int )wxDialog_ShowModal(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (int )wxDialog_GetReturnCode(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxDialog_SetReturnCode(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
+#define wxDialog_CreateTextSizer(_swigobj,_swigarg0) (_swigobj->CreateTextSizer(_swigarg0))
+static PyObject *_wrap_wxDialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxSizer * _result;
+ wxDialog * _arg0;
+ wxString * _arg1;
+ PyObject * _argo0 = 0;
+ PyObject * _obj1 = 0;
+ char *_kwnames[] = { "self","message", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDialog_CreateTextSizer",_kwnames,&_argo0,&_obj1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateTextSizer. Expected _wxDialog_p.");
+ return NULL;
+ }
+ }
+{
+#if PYTHON_API_VERSION >= 1009
+ char* tmpPtr; int tmpSize;
+ if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
+ return NULL;
+ _arg1 = new wxString(tmpPtr, tmpSize);
+#else
+ if (!PyString_Check(_obj1)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
+#endif
+}
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxSizer *)wxDialog_CreateTextSizer(_arg0,*_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
+{
+ if (_obj1)
+ delete _arg1;
+}
+ return _resultobj;
+}
+
+#define wxDialog_CreateButtonSizer(_swigobj,_swigarg0) (_swigobj->CreateButtonSizer(_swigarg0))
+static PyObject *_wrap_wxDialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxSizer * _result;
+ wxDialog * _arg0;
+ long _arg1;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","flags", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDialog_CreateButtonSizer",_kwnames,&_argo0,&_arg1))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDialog_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDialog_CreateButtonSizer. Expected _wxDialog_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (wxSizer *)wxDialog_CreateButtonSizer(_arg0,_arg1);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
+ return _resultobj;
+}
+
static void *SwigwxScrolledWindowTowxPanel(void *ptr) {
wxScrolledWindow *src;
wxPanel *dest;
return (void *) dest;
}
+static void *SwigwxScrolledWindowTowxObject(void *ptr) {
+ wxScrolledWindow *src;
+ wxObject *dest;
+ src = (wxScrolledWindow *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_wxScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
_result = (wxScrolledWindow *)new_wxScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxScrolledWindow_EnableScrolling(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (int )wxScrolledWindow_GetScrollPageSize(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxScrolledWindow_GetScrollPixelsPerUnit(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxScrolledWindow * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetTargetWindow",_kwnames,&_argo0))
_result = (wxWindow *)wxScrolledWindow_GetTargetWindow(_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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxScrolledWindow_GetVirtualSize(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = (bool )wxScrolledWindow_IsRetained(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxScrolledWindow_PrepareDC(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxScrolledWindow_Scroll(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxScrolledWindow_SetScrollbars(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxScrolledWindow_SetScrollPageSize(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxScrolledWindow_SetTargetWindow(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxScrolledWindow_GetViewStart(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxScrolledWindow_ViewStart(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxScrolledWindow_CalcScrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxScrolledWindow_CalcUnscrolledPosition(_arg0,_arg1,_arg2,_arg3,_arg4);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
return _resultobj;
}
+#define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
+static PyObject *_wrap_wxScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxScrolledWindow * _arg0;
+ double _arg1;
+ double _arg2;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self","xs","ys", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxScrolledWindow_SetScale",_kwnames,&_argo0,&_arg1,&_arg2))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxScrolledWindow_SetScale(_arg0,_arg1,_arg2);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
+#define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
+static PyObject *_wrap_wxScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ double _result;
+ wxScrolledWindow * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleX",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (double )wxScrolledWindow_GetScaleX(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("d",_result);
+ return _resultobj;
+}
+
+#define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
+static PyObject *_wrap_wxScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ double _result;
+ wxScrolledWindow * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_GetScaleY",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = (double )wxScrolledWindow_GetScaleY(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} _resultobj = Py_BuildValue("d",_result);
+ return _resultobj;
+}
+
+#define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
+static PyObject *_wrap_wxScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxScrolledWindow * _arg0;
+ PyObject * _argo0 = 0;
+ char *_kwnames[] = { "self", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrolledWindow_AdjustScrollbars",_kwnames,&_argo0))
+ return NULL;
+ if (_argo0) {
+ if (_argo0 == Py_None) { _arg0 = NULL; }
+ else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrolledWindow_p")) {
+ PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
+ return NULL;
+ }
+ }
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ wxScrolledWindow_AdjustScrollbars(_arg0);
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+} Py_INCREF(Py_None);
+ _resultobj = Py_None;
+ return _resultobj;
+}
+
static void *SwigwxMenuTowxEvtHandler(void *ptr) {
wxMenu *src;
wxEvtHandler *dest;
return (void *) dest;
}
+static void *SwigwxMenuTowxObject(void *ptr) {
+ wxMenu *src;
+ wxObject *dest;
+ src = (wxMenu *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
static PyObject *_wrap_new_wxMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
_result = (wxMenu *)new_wxMenu(*_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
_resultobj = Py_BuildValue("s",_ptemp);
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
wxMenu_Append(_arg0,_arg1,*_arg2,*_arg3,_arg4);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj4) && !PyUnicode_Check(_obj4)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj4, &tmpPtr, &tmpSize) == -1)
wxMenu_AppendMenu(_arg0,_arg1,*_arg2,_arg3,*_arg4);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxMenu_AppendItem(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenu_AppendSeparator(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenu_Break(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenu_Check(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenu_IsChecked(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxMenu_Enable(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenu_IsEnabled(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
_result = (int )wxMenu_FindItem(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
{
if (_obj1)
int _arg1;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self","id", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_FindItemById",_kwnames,&_argo0,&_arg1))
_result = (wxMenuItem *)wxMenu_FindItemById(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
_result = new wxString (wxMenu_GetTitle(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxMenu_SetTitle(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxMenu_GetLabel(_arg0,_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
wxMenu_SetLabel(_arg0,_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxMenu_GetHelpString(_arg0,_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
wxMenu_SetHelpString(_arg0,_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
wxMenu_UpdateUI(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenu_Delete(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxMenu_DeleteItem(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxMenu_Insert(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
int _arg1;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self","id", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenu_Remove",_kwnames,&_argo0,&_arg1))
_result = (wxMenuItem *)wxMenu_Remove(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
PyObject * _argo0 = 0;
PyObject * _argo1 = 0;
char *_kwnames[] = { "self","item", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxMenu_RemoveItem",_kwnames,&_argo0,&_argo1))
_result = (wxMenuItem *)wxMenu_RemoveItem(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxMenu_Destroy(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenu_DestroyId(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxMenu_DestroyItem(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (size_t )wxMenu_GetMenuItemCount(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (PyObject *)wxMenu_GetMenuItems(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = _result;
}
wxMenu_SetEventHandler(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenu * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetEventHandler",_kwnames,&_argo0))
_result = (wxEvtHandler *)wxMenu_GetEventHandler(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvtHandler_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxMenu_SetInvokingWindow(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenu * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetInvokingWindow",_kwnames,&_argo0))
_result = (wxWindow *)wxMenu_GetInvokingWindow(_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;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
_result = (long )wxMenu_GetStyle(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
_result = (bool )wxMenu_IsAttached(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxMenu_SetParent(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenu * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenu_GetParent",_kwnames,&_argo0))
_result = (wxMenu *)wxMenu_GetParent(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
return (void *) dest;
}
+static void *SwigwxMenuBarTowxObject(void *ptr) {
+ wxMenuBar *src;
+ wxObject *dest;
+ src = (wxMenuBar *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
static PyObject *_wrap_new_wxMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
_result = (wxMenuBar *)new_wxMenuBar(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p");
_resultobj = Py_BuildValue("s",_ptemp);
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
_result = (bool )wxMenuBar_Append(_arg0,_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
{
if (_obj2)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
_result = (bool )wxMenuBar_Insert(_arg0,_arg1,_arg2,*_arg3);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
{
if (_obj3)
_result = (size_t )wxMenuBar_GetMenuCount(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
size_t _arg1;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self","pos", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_GetMenu",_kwnames,&_argo0,&_arg1))
_result = (wxMenu *)wxMenuBar_GetMenu(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
PyObject * _argo2 = 0;
PyObject * _obj3 = 0;
char *_kwnames[] = { "self","pos","menu","title", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxMenuBar_Replace",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
_result = (wxMenu *)wxMenuBar_Replace(_arg0,_arg1,_arg2,*_arg3);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
{
if (_obj3)
delete _arg3;
size_t _arg1;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self","pos", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_Remove",_kwnames,&_argo0,&_arg1))
_result = (wxMenu *)wxMenuBar_Remove(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxMenuBar_EnableTop(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
wxMenuBar_SetLabelTop(_arg0,_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxMenuBar_GetLabelTop(_arg0,_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
_result = (int )wxMenuBar_FindMenuItem(_arg0,*_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
{
if (_obj1)
int _arg1;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self","id", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMenuBar_FindItemById",_kwnames,&_argo0,&_arg1))
_result = (wxMenuItem *)wxMenuBar_FindItemById(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxMenuBar_Enable(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenuBar_Check(_arg0,_arg1,_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenuBar_IsChecked(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxMenuBar_IsEnabled(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
wxMenuBar_SetLabel(_arg0,_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxMenuBar_GetLabel(_arg0,_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
wxMenuBar_SetHelpString(_arg0,_arg1,*_arg2);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxMenuBar_GetHelpString(_arg0,_arg1));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
return _resultobj;
}
+static void *SwigwxMenuItemTowxObject(void *ptr) {
+ wxMenuItem *src;
+ wxObject *dest;
+ src = (wxMenuItem *) ptr;
+ dest = (wxObject *) src;
+ return (void *) dest;
+}
+
#define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
static PyObject *_wrap_new_wxMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
_result = (wxMenuItem *)new_wxMenuItem(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuItem_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxMenuItem * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetMenu",_kwnames,&_argo0))
_result = (wxMenu *)wxMenuItem_GetMenu(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxMenuItem_SetId(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (int )wxMenuItem_GetId(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxMenuItem_IsSeparator(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxMenuItem_SetText(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = new wxString (wxMenuItem_GetLabel(_arg0));
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
_result = (wxString *) &_result_ref;
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
wxMenuItem_SetCheckable(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenuItem_IsCheckable(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
_result = (bool )wxMenuItem_IsSubMenu(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxMenuItem_SetSubMenu(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
wxMenuItem * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
- char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetSubMenu",_kwnames,&_argo0))
_result = (wxMenu *)wxMenuItem_GetSubMenu(_arg0);
wxPy_END_ALLOW_THREADS;
-} if (_result) {
- SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenu_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- } else {
- Py_INCREF(Py_None);
- _resultobj = Py_None;
- }
+ if (PyErr_Occurred()) return NULL;
+}{ _resultobj = wxPyMake_wxObject(_result); }
return _resultobj;
}
wxMenuItem_Enable(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenuItem_IsEnabled(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxMenuItem_Check(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
_result = (bool )wxMenuItem_IsChecked(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} _resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
wxMenuItem_Toggle(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
#if PYTHON_API_VERSION >= 1009
char* tmpPtr; int tmpSize;
if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
wxMenuItem_SetHelp(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
_result = (wxString *) &_result_ref;
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
}{
_resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
}
_result = (wxAcceleratorEntry *)wxMenuItem_GetAccel(_arg0);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p");
_resultobj = Py_BuildValue("s",_ptemp);
wxMenuItem_SetAccel(_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
+static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
+ PyObject * _resultobj;
+ wxString * _result;
+ wxString * _arg0;
+ PyObject * _obj0 = 0;
+ char *_kwnames[] = { "text", NULL };
+
+ self = self;
+ if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMenuItem_GetLabelFromText",_kwnames,&_obj0))
+ return NULL;
+{
+#if PYTHON_API_VERSION >= 1009
+ char* tmpPtr; int tmpSize;
+ if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
+ return NULL;
+ _arg0 = new wxString(tmpPtr, tmpSize);
+#else
+ if (!PyString_Check(_obj0)) {
+ PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
+ return NULL;
+ }
+ _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
+#endif
+}
+{
+ wxPy_BEGIN_ALLOW_THREADS;
+ _result = new wxString (wxMenuItem::GetLabelFromText(*_arg0));
+
+ wxPy_END_ALLOW_THREADS;
+ if (PyErr_Occurred()) return NULL;
+}{
+ _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
+}
+{
+ if (_obj0)
+ delete _arg0;
+}
+{
+ delete _result;
+}
+ return _resultobj;
+}
+
static PyMethodDef windowscMethods[] = {
+ { "wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
{ "wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
{ "wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
{ "wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
{ "wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
{ "wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS },
{ "new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS },
+ { "wxScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_wxScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
+ { "wxScrolledWindow_GetScaleY", (PyCFunction) _wrap_wxScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
+ { "wxScrolledWindow_GetScaleX", (PyCFunction) _wrap_wxScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
+ { "wxScrolledWindow_SetScale", (PyCFunction) _wrap_wxScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
{ "wxScrolledWindow_CalcUnscrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS },
{ "wxScrolledWindow_CalcScrolledPosition", (PyCFunction) _wrap_wxScrolledWindow_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS },
{ "wxScrolledWindow_ViewStart", (PyCFunction) _wrap_wxScrolledWindow_ViewStart, METH_VARARGS | METH_KEYWORDS },
{ "wxScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_wxScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
{ "wxScrolledWindow_EnableScrolling", (PyCFunction) _wrap_wxScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
{ "new_wxScrolledWindow", (PyCFunction) _wrap_new_wxScrolledWindow, METH_VARARGS | METH_KEYWORDS },
+ { "wxDialog_CreateButtonSizer", (PyCFunction) _wrap_wxDialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
+ { "wxDialog_CreateTextSizer", (PyCFunction) _wrap_wxDialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
{ "wxDialog_SetReturnCode", (PyCFunction) _wrap_wxDialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
{ "wxDialog_GetReturnCode", (PyCFunction) _wrap_wxDialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
{ "wxDialog_ShowModal", (PyCFunction) _wrap_wxDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
+ { "wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS },
+ { "wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
{ "new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS },
{ "wxPyValidator__setSelf", (PyCFunction) _wrap_wxPyValidator__setSelf, METH_VARARGS | METH_KEYWORDS },
- { "wxPyValidator_Destroy", (PyCFunction) _wrap_wxPyValidator_Destroy, METH_VARARGS | METH_KEYWORDS },
{ "new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS },
+ { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
+ { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
{ "wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS },
{ "wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS },
{ "wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS },
{ "wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS },
- { "wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
- { "wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS },
{ NULL, NULL }
};
#ifdef __cplusplus
* This table is used by the pointer type-checker
*/
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
- { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
{ "_signed_long","_long",0},
- { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
- { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
{ "_wxPrintQuality","_wxCoord",0},
{ "_wxPrintQuality","_int",0},
{ "_wxPrintQuality","_signed_int",0},
{ "_wxPrintQuality","_EBool",0},
{ "_wxPrintQuality","_size_t",0},
{ "_wxPrintQuality","_time_t",0},
- { "_class_wxCustomDataObject","_wxCustomDataObject",0},
- { "_class_wxRegionIterator","_wxRegionIterator",0},
- { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
- { "_class_wxMenuBar","_wxMenuBar",0},
{ "_class_wxEvtHandler","_class_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
{ "_class_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
{ "_class_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
{ "_class_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
{ "_class_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
{ "_class_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
- { "_class_wxEvtHandler","_wxEvtHandler",0},
- { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
- { "_wxCursor","_class_wxCursor",0},
- { "_wxMask","_class_wxMask",0},
- { "_wxPen","_class_wxPen",0},
{ "_byte","_unsigned_char",0},
- { "_wxDataObject","_class_wxDataObject",0},
- { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
- { "_wxPyDropSource","_class_wxPyDropSource",0},
{ "_long","_unsigned_long",0},
{ "_long","_signed_long",0},
- { "_wxImageList","_class_wxImageList",0},
- { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
- { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
- { "_class_wxClipboard","_wxClipboard",0},
- { "_wxDC","_class_wxDC",0},
- { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
+ { "_class_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject},
+ { "_class_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
+ { "_class_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject},
+ { "_class_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
+ { "_class_wxObject","_class_wxMenu",SwigwxMenuTowxObject},
+ { "_class_wxObject","_wxMenu",SwigwxMenuTowxObject},
+ { "_class_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
+ { "_class_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
+ { "_class_wxObject","_class_wxDialog",SwigwxDialogTowxObject},
+ { "_class_wxObject","_wxDialog",SwigwxDialogTowxObject},
+ { "_class_wxObject","_class_wxPanel",SwigwxPanelTowxObject},
+ { "_class_wxObject","_wxPanel",SwigwxPanelTowxObject},
+ { "_class_wxObject","_class_wxWindow",SwigwxWindowTowxObject},
+ { "_class_wxObject","_wxWindow",SwigwxWindowTowxObject},
+ { "_class_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject},
+ { "_class_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
+ { "_class_wxObject","_class_wxValidator",SwigwxValidatorTowxObject},
+ { "_class_wxObject","_wxValidator",SwigwxValidatorTowxObject},
+ { "_class_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject},
+ { "_class_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
{ "_size_t","_wxCoord",0},
{ "_size_t","_wxPrintQuality",0},
{ "_size_t","_time_t",0},
{ "_size_t","_int",0},
{ "_size_t","_wxWindowID",0},
{ "_size_t","_uint",0},
- { "_class_wxRealPoint","_wxRealPoint",0},
- { "_class_wxMenuItem","_wxMenuItem",0},
- { "_class_wxPostScriptDC","_wxPostScriptDC",0},
{ "_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
{ "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
{ "_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
{ "_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
- { "_wxPanel","_class_wxPanel",0},
- { "_class_wxMask","_wxMask",0},
- { "_wxTextDataObject","_class_wxTextDataObject",0},
- { "_wxColour","_class_wxColour",0},
- { "_class_wxDialog","_wxDialog",0},
- { "_class_wxFileDataObject","_wxFileDataObject",0},
- { "_class_wxDataObject","_wxDataObject",0},
- { "_wxBrush","_class_wxBrush",0},
- { "_wxDataFormat","_class_wxDataFormat",0},
- { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
{ "_uint","_wxCoord",0},
{ "_uint","_wxPrintQuality",0},
{ "_uint","_time_t",0},
{ "_uint","_int",0},
{ "_uint","_wxWindowID",0},
{ "_wxChar","_char",0},
- { "_wxPyValidator","_class_wxPyValidator",0},
- { "_wxRect","_class_wxRect",0},
- { "_wxPoint","_class_wxPoint",0},
{ "_char","_wxChar",0},
- { "_wxBitmap","_class_wxBitmap",0},
- { "_wxWindowDC","_class_wxWindowDC",0},
- { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
{ "_class_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
{ "_class_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
- { "_class_wxValidator","_wxValidator",0},
- { "_wxDropTarget","_class_wxDropTarget",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},
- { "_wxFont","_class_wxFont",0},
- { "_class_wxPyDropTarget","_wxPyDropTarget",0},
{ "_unsigned_long","_long",0},
- { "_class_wxRect","_wxRect",0},
- { "_class_wxDC","_wxDC",0},
- { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
{ "_class_wxPanel","_class_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
{ "_class_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel},
{ "_class_wxPanel","_class_wxDialog",SwigwxDialogTowxPanel},
{ "_class_wxPanel","_wxDialog",SwigwxDialogTowxPanel},
- { "_class_wxPanel","_wxPanel",0},
{ "_signed_int","_wxCoord",0},
{ "_signed_int","_wxPrintQuality",0},
{ "_signed_int","_EBool",0},
{ "_signed_int","_wxWindowID",0},
{ "_signed_int","_int",0},
- { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
- { "_class_wxTextDataObject","_wxTextDataObject",0},
- { "_wxMenu","_class_wxMenu",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","_class_wxMenuBar",SwigwxMenuBarTowxWindow},
{ "_class_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
{ "_class_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
{ "_class_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
- { "_class_wxWindow","_wxWindow",0},
- { "_class_wxFont","_wxFont",0},
- { "_wxClipboard","_class_wxClipboard",0},
- { "_class_wxPyValidator","_wxPyValidator",0},
- { "_wxBusyInfo","_class_wxBusyInfo",0},
- { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
- { "_wxClientDC","_class_wxClientDC",0},
- { "_class_wxPoint","_wxPoint",0},
- { "_wxRealPoint","_class_wxRealPoint",0},
+ { "_wxObject","_class_wxMenuItem",SwigwxMenuItemTowxObject},
+ { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject},
+ { "_wxObject","_class_wxMenuBar",SwigwxMenuBarTowxObject},
+ { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject},
+ { "_wxObject","_class_wxMenu",SwigwxMenuTowxObject},
+ { "_wxObject","_wxMenu",SwigwxMenuTowxObject},
+ { "_wxObject","_class_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
+ { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject},
+ { "_wxObject","_class_wxDialog",SwigwxDialogTowxObject},
+ { "_wxObject","_wxDialog",SwigwxDialogTowxObject},
+ { "_wxObject","_class_wxPanel",SwigwxPanelTowxObject},
+ { "_wxObject","_wxPanel",SwigwxPanelTowxObject},
+ { "_wxObject","_class_wxWindow",SwigwxWindowTowxObject},
+ { "_wxObject","_wxWindow",SwigwxWindowTowxObject},
+ { "_wxObject","_class_wxPyValidator",SwigwxPyValidatorTowxObject},
+ { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject},
+ { "_wxObject","_class_wxValidator",SwigwxValidatorTowxObject},
+ { "_wxObject","_wxValidator",SwigwxValidatorTowxObject},
+ { "_wxObject","_class_wxEvtHandler",SwigwxEvtHandlerTowxObject},
+ { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject},
{ "_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_wxAcceleratorEntry","_wxAcceleratorEntry",0},
- { "_class_wxCursor","_wxCursor",0},
- { "_wxPostScriptDC","_class_wxPostScriptDC",0},
- { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
- { "_wxScrolledWindow","_class_wxScrolledWindow",0},
{ "_unsigned_char","_byte",0},
- { "_class_wxMenu","_wxMenu",0},
{ "_unsigned_int","_wxCoord",0},
{ "_unsigned_int","_wxPrintQuality",0},
{ "_unsigned_int","_time_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_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
- { "_class_wxPyDropSource","_wxPyDropSource",0},
- { "_class_wxImageList","_wxImageList",0},
{ "_wxWindowID","_wxCoord",0},
{ "_wxWindowID","_wxPrintQuality",0},
{ "_wxWindowID","_time_t",0},
{ "_time_t","_wxWindowID",0},
{ "_time_t","_uint",0},
{ "_time_t","_size_t",0},
- { "_wxSize","_class_wxSize",0},
- { "_wxRegionIterator","_class_wxRegionIterator",0},
- { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
- { "_class_wxPaintDC","_wxPaintDC",0},
- { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
{ "_wxValidator","_class_wxPyValidator",SwigwxPyValidatorTowxValidator},
{ "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator},
- { "_wxValidator","_class_wxValidator",0},
- { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
- { "_class_wxIcon","_wxIcon",0},
- { "_class_wxColour","_wxColour",0},
- { "_class_wxScreenDC","_wxScreenDC",0},
- { "_wxPalette","_class_wxPalette",0},
{ "_wxCoord","_int",0},
{ "_wxCoord","_signed_int",0},
{ "_wxCoord","_unsigned_int",0},
{ "_wxCoord","_size_t",0},
{ "_wxCoord","_time_t",0},
{ "_wxCoord","_wxPrintQuality",0},
- { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
- { "_wxRegion","_class_wxRegion",0},
- { "_wxPyDropTarget","_class_wxPyDropTarget",0},
- { "_class_wxBusyInfo","_wxBusyInfo",0},
- { "_class_wxClientDC","_wxClientDC",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_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
{ "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler},
{ "_wxEvtHandler","_class_wxMenu",SwigwxMenuTowxEvtHandler},
{ "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler},
{ "_wxEvtHandler","_class_wxValidator",SwigwxValidatorTowxEvtHandler},
{ "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler},
- { "_wxEvtHandler","_class_wxEvtHandler",0},
- { "_wxMenuItem","_class_wxMenuItem",0},
- { "_class_wxScrolledWindow","_wxScrolledWindow",0},
- { "_class_wxPalette","_wxPalette",0},
- { "_wxFileDataObject","_class_wxFileDataObject",0},
- { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
{ "_wxWindow","_class_wxMenuBar",SwigwxMenuBarTowxWindow},
{ "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow},
{ "_wxWindow","_class_wxScrolledWindow",SwigwxScrolledWindowTowxWindow},
{ "_wxWindow","_wxDialog",SwigwxDialogTowxWindow},
{ "_wxWindow","_class_wxPanel",SwigwxPanelTowxWindow},
{ "_wxWindow","_wxPanel",SwigwxPanelTowxWindow},
- { "_wxWindow","_class_wxWindow",0},
{0,0,0}};
static PyObject *SWIG_globals;