diff --git a/src/os2/app.cpp b/src/os2/app.cpp index f03a8e20ed..07765bb94c 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -747,7 +747,7 @@ bool wxApp::ProcessMessage( if(!(CHARMSG(pChmsg)->fs & KC_KEYUP)) { if((CHARMSG(pChmsg)->fs & (KC_ALT | KC_CTRL)) && CHARMSG(pChmsg)->chr != 0) - CHARMSG(pChmsg)->chr = (USHORT)wxToupper((UCHAR)usch); + CHARMSG(pChmsg)->chr = (USHORT)wxToupper((UCHAR)uSch); for(pWnd = pWndThis; pWnd; pWnd = pWnd->GetParent() ) {