From b3887715e49225f7022858586dae58c0bee53180 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 6 Jun 2002 18:50:36 +0000 Subject: [PATCH] Fix for compilation error in Unicode mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/treectlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2