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:
Václav Slavík
2007-06-19 13:54:23 +00:00
parent dc65c743e5
commit a5398eb9c4

View File

@@ -132,7 +132,7 @@ public:
wxTextFileType GuessType() const; wxTextFileType GuessType() const;
// get the name of the buffer // 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 // add/remove lines
// ---------------- // ----------------