From: Włodzimierz Skiba Date: Mon, 21 Mar 2005 17:29:16 +0000 (+0000) Subject: Dummy warning fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6f0d2ceef5cdb4869681e65e0b63f1ddd7afdf3f Dummy warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 427cd40fc9..439b9bbb12 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -753,9 +753,9 @@ void wxGridCellTextEditor::StartingKey(wxKeyEvent& event) #if wxUSE_UNICODE ch = event.GetUnicodeKey(); if (ch <= 127) - ch = event.GetKeyCode(); + ch = (wxChar)event.GetKeyCode(); #else - ch = event.GetKeyCode(); + ch = (wxChar)event.GetKeyCode(); #endif switch (ch) {