Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a

window handle.  If you can get the window handle into the python code,
it should just work...  More news on this later.

Added wxImageList, wxToolTip.

Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
wxRegConfig class.

As usual, some bug fixes, tweaks, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-02-20 09:05:04 +00:00
parent 7010b7bccd
commit af309447ff
43 changed files with 4786 additions and 315 deletions

View File

@@ -525,6 +525,28 @@ static PyObject *_wrap_wxToolBarTool_GetHeight(PyObject *self, PyObject *args) {
return _resultobj;
}
#define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_toolStyle_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
int _result;
wxToolBarTool * _arg0;
int _arg1;
char * _argc0 = 0;
self = self;
if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_toolStyle_set",&_argc0,&_arg1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_result = (int )wxToolBarTool_m_toolStyle_set(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -546,6 +568,37 @@ static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *a
return _resultobj;
}
#define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_clientData_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxObject * _result;
wxToolBarTool * _arg0;
wxObject * _arg1;
char * _argc0 = 0;
char * _argc1 = 0;
char _ptemp[128];
self = self;
if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_clientData_set",&_argc0,&_argc1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
if (_argc1) {
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxObject_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
return NULL;
}
}
_result = (wxObject *)wxToolBarTool_m_clientData_set(_arg0,_arg1);
SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
#define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -569,6 +622,28 @@ static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *
return _resultobj;
}
#define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_index_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
int _result;
wxToolBarTool * _arg0;
int _arg1;
char * _argc0 = 0;
self = self;
if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_index_set",&_argc0,&_arg1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_result = (int )wxToolBarTool_m_index_set(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -590,6 +665,28 @@ static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args)
return _resultobj;
}
#define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_x_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
long _result;
wxToolBarTool * _arg0;
long _arg1;
char * _argc0 = 0;
self = self;
if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_x_set",&_argc0,&_arg1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_result = (long )wxToolBarTool_m_x_set(_arg0,_arg1);
_resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
#define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
static PyObject *_wrap_wxToolBarTool_m_x_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -611,6 +708,28 @@ static PyObject *_wrap_wxToolBarTool_m_x_get(PyObject *self, PyObject *args) {
return _resultobj;
}
#define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_y_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
long _result;
wxToolBarTool * _arg0;
long _arg1;
char * _argc0 = 0;
self = self;
if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_y_set",&_argc0,&_arg1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_result = (long )wxToolBarTool_m_y_set(_arg0,_arg1);
_resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
#define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
static PyObject *_wrap_wxToolBarTool_m_y_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -632,6 +751,28 @@ static PyObject *_wrap_wxToolBarTool_m_y_get(PyObject *self, PyObject *args) {
return _resultobj;
}
#define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_width_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
long _result;
wxToolBarTool * _arg0;
long _arg1;
char * _argc0 = 0;
self = self;
if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_width_set",&_argc0,&_arg1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_result = (long )wxToolBarTool_m_width_set(_arg0,_arg1);
_resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
#define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
static PyObject *_wrap_wxToolBarTool_m_width_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -653,6 +794,28 @@ static PyObject *_wrap_wxToolBarTool_m_width_get(PyObject *self, PyObject *args)
return _resultobj;
}
#define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_height_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
long _result;
wxToolBarTool * _arg0;
long _arg1;
char * _argc0 = 0;
self = self;
if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_height_set",&_argc0,&_arg1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_result = (long )wxToolBarTool_m_height_set(_arg0,_arg1);
_resultobj = Py_BuildValue("l",_result);
return _resultobj;
}
#define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
static PyObject *_wrap_wxToolBarTool_m_height_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -674,6 +837,30 @@ static PyObject *_wrap_wxToolBarTool_m_height_get(PyObject *self, PyObject *args
return _resultobj;
}
#define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_toggleState_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
bool _result;
wxToolBarTool * _arg0;
bool _arg1;
char * _argc0 = 0;
int tempbool1;
self = self;
if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_toggleState_set",&_argc0,&tempbool1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_arg1 = (bool ) tempbool1;
_result = (bool )wxToolBarTool_m_toggleState_set(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -695,6 +882,30 @@ static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject
return _resultobj;
}
#define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_isToggle_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
bool _result;
wxToolBarTool * _arg0;
bool _arg1;
char * _argc0 = 0;
int tempbool1;
self = self;
if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_isToggle_set",&_argc0,&tempbool1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_arg1 = (bool ) tempbool1;
_result = (bool )wxToolBarTool_m_isToggle_set(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -716,6 +927,30 @@ static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *ar
return _resultobj;
}
#define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
bool _result;
wxToolBarTool * _arg0;
bool _arg1;
char * _argc0 = 0;
int tempbool1;
self = self;
if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_deleteSecondBitmap_set",&_argc0,&tempbool1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_arg1 = (bool ) tempbool1;
_result = (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -737,6 +972,30 @@ static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, Py
return _resultobj;
}
#define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_enabled_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
bool _result;
wxToolBarTool * _arg0;
bool _arg1;
char * _argc0 = 0;
int tempbool1;
self = self;
if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_enabled_set",&_argc0,&tempbool1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_arg1 = (bool ) tempbool1;
_result = (bool )wxToolBarTool_m_enabled_set(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -758,6 +1017,37 @@ static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *arg
return _resultobj;
}
#define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
static PyObject *_wrap_wxToolBarTool_m_bitmap1_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxBitmap * _result;
wxToolBarTool * _arg0;
wxBitmap * _arg1;
char * _argc0 = 0;
char * _argc1 = 0;
char _ptemp[128];
self = self;
if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_bitmap1_set",&_argc0,&_argc1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
if (_argc1) {
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
return NULL;
}
}
_result = (wxBitmap *)wxToolBarTool_m_bitmap1_set(_arg0,_arg1);
SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
#define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -781,6 +1071,37 @@ static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *arg
return _resultobj;
}
#define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
static PyObject *_wrap_wxToolBarTool_m_bitmap2_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxBitmap * _result;
wxToolBarTool * _arg0;
wxBitmap * _arg1;
char * _argc0 = 0;
char * _argc1 = 0;
char _ptemp[128];
self = self;
if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_bitmap2_set",&_argc0,&_argc1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
if (_argc1) {
if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
return NULL;
}
}
_result = (wxBitmap *)wxToolBarTool_m_bitmap2_set(_arg0,_arg1);
SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
_resultobj = Py_BuildValue("s",_ptemp);
return _resultobj;
}
#define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -804,6 +1125,30 @@ static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *arg
return _resultobj;
}
#define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
bool _result;
wxToolBarTool * _arg0;
bool _arg1;
char * _argc0 = 0;
int tempbool1;
self = self;
if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_isMenuCommand_set",&_argc0,&tempbool1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
_arg1 = (bool ) tempbool1;
_result = (bool )wxToolBarTool_m_isMenuCommand_set(_arg0,_arg1);
_resultobj = Py_BuildValue("i",_result);
return _resultobj;
}
#define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -825,6 +1170,42 @@ static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObjec
return _resultobj;
}
#define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
static PyObject *_wrap_wxToolBarTool_m_shortHelpString_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxString * _result;
wxToolBarTool * _arg0;
wxString * _arg1;
char * _argc0 = 0;
PyObject * _obj1 = 0;
self = self;
if(!PyArg_ParseTuple(args,"sO:wxToolBarTool_m_shortHelpString_set",&_argc0,&_obj1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
{
if (!PyString_Check(_obj1)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg1 = new wxString(PyString_AsString(_obj1));
}
_result = (wxString *)wxToolBarTool_m_shortHelpString_set(_arg0,_arg1);
{
_resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
{
if (_obj1)
delete _arg1;
}
return _resultobj;
}
#define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -848,6 +1229,42 @@ static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObj
return _resultobj;
}
#define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
static PyObject *_wrap_wxToolBarTool_m_longHelpString_set(PyObject *self, PyObject *args) {
PyObject * _resultobj;
wxString * _result;
wxToolBarTool * _arg0;
wxString * _arg1;
char * _argc0 = 0;
PyObject * _obj1 = 0;
self = self;
if(!PyArg_ParseTuple(args,"sO:wxToolBarTool_m_longHelpString_set",&_argc0,&_obj1))
return NULL;
if (_argc0) {
if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
return NULL;
}
}
{
if (!PyString_Check(_obj1)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg1 = new wxString(PyString_AsString(_obj1));
}
_result = (wxString *)wxToolBarTool_m_longHelpString_set(_arg0,_arg1);
{
_resultobj = PyString_FromString(WXSTRINGCAST (*_result));
}
{
if (_obj1)
delete _arg1;
}
return _resultobj;
}
#define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args) {
PyObject * _resultobj;
@@ -1599,21 +2016,37 @@ static PyMethodDef stattoolcMethods[] = {
{ "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator, 1 },
{ "new_wxToolBar", _wrap_new_wxToolBar, 1 },
{ "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get, 1 },
{ "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set, 1 },
{ "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get, 1 },
{ "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set, 1 },
{ "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get, 1 },
{ "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set, 1 },
{ "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get, 1 },
{ "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set, 1 },
{ "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get, 1 },
{ "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set, 1 },
{ "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get, 1 },
{ "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set, 1 },
{ "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get, 1 },
{ "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set, 1 },
{ "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get, 1 },
{ "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set, 1 },
{ "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get, 1 },
{ "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set, 1 },
{ "wxToolBarTool_m_height_get", _wrap_wxToolBarTool_m_height_get, 1 },
{ "wxToolBarTool_m_height_set", _wrap_wxToolBarTool_m_height_set, 1 },
{ "wxToolBarTool_m_width_get", _wrap_wxToolBarTool_m_width_get, 1 },
{ "wxToolBarTool_m_width_set", _wrap_wxToolBarTool_m_width_set, 1 },
{ "wxToolBarTool_m_y_get", _wrap_wxToolBarTool_m_y_get, 1 },
{ "wxToolBarTool_m_y_set", _wrap_wxToolBarTool_m_y_set, 1 },
{ "wxToolBarTool_m_x_get", _wrap_wxToolBarTool_m_x_get, 1 },
{ "wxToolBarTool_m_x_set", _wrap_wxToolBarTool_m_x_set, 1 },
{ "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get, 1 },
{ "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set, 1 },
{ "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get, 1 },
{ "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set, 1 },
{ "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get, 1 },
{ "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set, 1 },
{ "wxToolBarTool_GetHeight", _wrap_wxToolBarTool_GetHeight, 1 },
{ "wxToolBarTool_GetWidth", _wrap_wxToolBarTool_GetWidth, 1 },
{ "wxToolBarTool_SetSize", _wrap_wxToolBarTool_SetSize, 1 },
@@ -1659,6 +2092,7 @@ SWIGEXPORT(void,initstattoolc)() {
SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
@@ -1670,6 +2104,7 @@ SWIGEXPORT(void,initstattoolc)() {
SWIG_RegisterMapping("_long","_wxDash",0);
SWIG_RegisterMapping("_long","_unsigned_long",0);
SWIG_RegisterMapping("_long","_signed_long",0);
SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
@@ -1686,6 +2121,7 @@ SWIGEXPORT(void,initstattoolc)() {
SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
@@ -1802,6 +2238,7 @@ SWIGEXPORT(void,initstattoolc)() {
SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
SWIG_RegisterMapping("_wxWindowID","_EBool",0);
SWIG_RegisterMapping("_wxWindowID","_uint",0);