]> git.saurik.com Git - wxWidgets.git/commitdiff
Dummy warning fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 21 Mar 2005 17:29:16 +0000 (17:29 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 21 Mar 2005 17:29:16 +0000 (17:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index 427cd40fc9e4b4a9dd2722eec641ffa7e628f78b..439b9bbb1221de153b147902c2b0d147eb8cb42d 100644 (file)
@@ -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)
     {