Fix a compile error with some compilers introduced in r76813.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Tim Kosse
2014-07-10 09:51:41 +00:00
parent 63a9cc4c2e
commit 116112bcf5
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ public:
MyTreeItemData(const wxString& desc) : m_desc(desc) { }
void ShowInfo(wxTreeCtrl *tree);
const wxChar *GetDesc() const { return m_desc.c_str(); }
wxString const& GetDesc() const { return m_desc; }
private:
wxString m_desc;