unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
960a83ccad
commit
bef7a62d8f
@ -2768,9 +2768,9 @@ void wxGenericTreeCtrl::OnChar( wxKeyEvent &event )
|
||||
(keyCode >= 'A' && keyCode <= 'Z' )))
|
||||
{
|
||||
// find the next item starting with the given prefix
|
||||
char ch = (char)keyCode;
|
||||
wxChar ch = (wxChar)keyCode;
|
||||
|
||||
wxTreeItemId id = FindItem(m_current, m_findPrefix + (wxChar)ch);
|
||||
wxTreeItemId id = FindItem(m_current, m_findPrefix + ch);
|
||||
if ( !id.IsOk() )
|
||||
{
|
||||
// no such item
|
||||
|
Loading…
Reference in New Issue
Block a user