Fix a compile error with some compilers introduced in r76812.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Tim Kosse
2014-07-10 09:55:19 +00:00
parent 644af9fa6c
commit 63ec0754a3
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;