Fix for compilation error in Unicode mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-06-06 18:50:36 +00:00
parent c198d57c3a
commit b3887715e4

View File

@@ -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