Fixed "" default value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-11-24 17:26:10 +00:00
parent e5e66a2de0
commit dec9fa491d
3 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ public:
void SetRegionName(const wxString& name, int regionId = 0);
wxString GetRegionName(int regionId);
int GetRegionId(const wxString& name);
void NameRegions(const wxString& parentName = "");
void NameRegions(const wxString& parentName = wxPyEmptyString);
// wxList& GetRegions();
%extend {

View File

@ -694,7 +694,7 @@ class PyShape(PyShapeEvtHandler):
return _ogl.PyShape_GetRegionId(*args, **kwargs)
def NameRegions(*args, **kwargs):
"""NameRegions(wxString parentName="")"""
"""NameRegions(wxString parentName=wxPyEmptyString)"""
return _ogl.PyShape_NameRegions(*args, **kwargs)
def GetRegions(*args, **kwargs):

View File

@ -5305,7 +5305,7 @@ static PyObject *_wrap_PyShape_GetRegionId(PyObject *self, PyObject *args, PyObj
static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxPyShape *arg1 = (wxPyShape *) 0 ;
wxString const &arg2_defvalue = "" ;
wxString const &arg2_defvalue = wxPyEmptyString ;
wxString *arg2 = (wxString *) &arg2_defvalue ;
bool temp2 = False ;
PyObject * obj0 = 0 ;