]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textbuf.h
added support for icon flags to wxGenericNotificationMessage
[wxWidgets.git] / include / wx / textbuf.h
index f768a5632471fbc2f11fd508fbc9fa5b6b49f0c5..fae3b1209520107e4a1448117d05e0a0b0f56e0d 100644 (file)
@@ -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
     // ----------------