]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for compilation error in Unicode mode
authorRobin Dunn <robin@alldunn.com>
Thu, 6 Jun 2002 18:50:36 +0000 (18:50 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 6 Jun 2002 18:50:36 +0000 (18:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index f395d79fca9a1694a627e949b6c51fd3714b9317..289d6a3cd3633fbe7ee0213e80107f2a01d40569 100644 (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