-#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
-static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxToolTip * _result;
- wxString * _arg0;
- PyObject * _obj0 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"O:new_wxToolTip",&_obj0))
- return NULL;
-{
- if (!PyString_Check(_obj0)) {
- PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
- return NULL;
- }
- _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
-}
-{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxToolTip *)new_wxToolTip(*_arg0);
-
- wxPy_END_ALLOW_THREADS;
-} SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
- _resultobj = Py_BuildValue("s",_ptemp);
-{
- if (_obj0)
- delete _arg0;
-}
- return _resultobj;
-}
-
-#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
-static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxToolTip * _arg0;
- wxString * _arg1;
- char * _argc0 = 0;
- PyObject * _obj1 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"sO:wxToolTip_SetTip",&_argc0,&_obj1))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
- return NULL;
- }
- }
-{
- if (!PyString_Check(_obj1)) {
- PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
- return NULL;
- }
- _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
-}
-{
- wxPy_BEGIN_ALLOW_THREADS;
- wxToolTip_SetTip(_arg0,*_arg1);
-
- wxPy_END_ALLOW_THREADS;
-} Py_INCREF(Py_None);
- _resultobj = Py_None;
-{
- if (_obj1)
- delete _arg1;
-}
- return _resultobj;
-}
-
-#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
-static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxString * _result;
- wxToolTip * _arg0;
- char * _argc0 = 0;
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxToolTip_GetTip",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
- return NULL;
- }
- }
-{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = new wxString (wxToolTip_GetTip(_arg0));
-
- wxPy_END_ALLOW_THREADS;
-}{
- _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
-}
-{
- delete _result;
-}
- return _resultobj;
-}
-
-#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
-static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
- PyObject * _resultobj;
- wxWindow * _result;
- wxToolTip * _arg0;
- char * _argc0 = 0;
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTuple(args,"s:wxToolTip_GetWindow",&_argc0))
- return NULL;
- if (_argc0) {
- if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
- return NULL;
- }
- }
-{
- wxPy_BEGIN_ALLOW_THREADS;
- _result = (wxWindow *)wxToolTip_GetWindow(_arg0);
-
- wxPy_END_ALLOW_THREADS;
-} SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-