From: Robin Dunn Date: Thu, 6 Jun 2002 18:50:36 +0000 (+0000) Subject: Fix for compilation error in Unicode mode X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b3887715e49225f7022858586dae58c0bee53180 Fix for compilation error in Unicode mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index f395d79fca..289d6a3cd3 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -2594,7 +2594,7 @@ void wxGenericTreeCtrl::OnChar( wxKeyEvent &event ) // find the next item starting with the given prefix char ch = (char)keyCode; - wxTreeItemId id = FindItem(m_current, m_findPrefix + ch); + wxTreeItemId id = FindItem(m_current, m_findPrefix + (wxChar)ch); if ( !id.IsOk() ) { // no such item