X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/618a5e382af2e469f9cc9d2aa81114403637a4b3..ff1865910312d960737474a75a77737d5ce94864:/samples/treectrl/treectrl.h diff --git a/samples/treectrl/treectrl.h b/samples/treectrl/treectrl.h index 9891315968..0b61f54218 100644 --- a/samples/treectrl/treectrl.h +++ b/samples/treectrl/treectrl.h @@ -43,7 +43,7 @@ public: MyTreeItemData(const wxString& desc) : m_desc(desc) { } void ShowInfo(wxTreeCtrl *tree); - const char *GetDesc() const { return m_desc.c_str(); } + const wxChar *GetDesc() const { return m_desc.c_str(); } private: wxString m_desc;