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:
@@ -264,7 +264,7 @@ public:
|
|||||||
void SetRegionName(const wxString& name, int regionId = 0);
|
void SetRegionName(const wxString& name, int regionId = 0);
|
||||||
wxString GetRegionName(int regionId);
|
wxString GetRegionName(int regionId);
|
||||||
int GetRegionId(const wxString& name);
|
int GetRegionId(const wxString& name);
|
||||||
void NameRegions(const wxString& parentName = "");
|
void NameRegions(const wxString& parentName = wxPyEmptyString);
|
||||||
|
|
||||||
// wxList& GetRegions();
|
// wxList& GetRegions();
|
||||||
%extend {
|
%extend {
|
||||||
|
@@ -694,7 +694,7 @@ class PyShape(PyShapeEvtHandler):
|
|||||||
return _ogl.PyShape_GetRegionId(*args, **kwargs)
|
return _ogl.PyShape_GetRegionId(*args, **kwargs)
|
||||||
|
|
||||||
def NameRegions(*args, **kwargs):
|
def NameRegions(*args, **kwargs):
|
||||||
"""NameRegions(wxString parentName="")"""
|
"""NameRegions(wxString parentName=wxPyEmptyString)"""
|
||||||
return _ogl.PyShape_NameRegions(*args, **kwargs)
|
return _ogl.PyShape_NameRegions(*args, **kwargs)
|
||||||
|
|
||||||
def GetRegions(*args, **kwargs):
|
def GetRegions(*args, **kwargs):
|
||||||
|
@@ -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) {
|
static PyObject *_wrap_PyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
wxPyShape *arg1 = (wxPyShape *) 0 ;
|
||||||
wxString const &arg2_defvalue = "" ;
|
wxString const &arg2_defvalue = wxPyEmptyString ;
|
||||||
wxString *arg2 = (wxString *) &arg2_defvalue ;
|
wxString *arg2 = (wxString *) &arg2_defvalue ;
|
||||||
bool temp2 = False ;
|
bool temp2 = False ;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
|
Reference in New Issue
Block a user