return wxString from wxTextBuffer::GetName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -132,7 +132,7 @@ public:
|
||||
wxTextFileType GuessType() const;
|
||||
|
||||
// get the name of the buffer
|
||||
const wxChar *GetName() const { return m_strBufferName.c_str(); }
|
||||
const wxString& GetName() const { return m_strBufferName; }
|
||||
|
||||
// add/remove lines
|
||||
// ----------------
|
||||
|
Reference in New Issue
Block a user