diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index d6d20baa6b..512e165d95 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -1699,6 +1699,11 @@ public: */ void SetProperty(const wxString& name, const wxString& value); + /** + Sets a property by name and wxChar* value. + */ + void SetProperty(const wxString& name, const wxChar* value) { SetProperty(name, wxString(value)); } + /** Sets property by name and long integer value. */ diff --git a/interface/wx/richtext/richtextbuffer.h b/interface/wx/richtext/richtextbuffer.h index c8451a2b23..71b4958954 100644 --- a/interface/wx/richtext/richtextbuffer.h +++ b/interface/wx/richtext/richtextbuffer.h @@ -1574,6 +1574,11 @@ public: */ void SetProperty(const wxString& name, const wxString& value); + /** + Sets a property by name and wxChar* value. + */ + void SetProperty(const wxString& name, const wxChar* value); + /** Sets property by name and long integer value. */