From: Vadim Zeitlin Date: Sat, 19 Jul 2008 05:33:36 +0000 (+0000) Subject: compilation fix for builds without wxHAS_RAW_KEY_CODES X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/66ad7d6a0a660a728e2d23ac04624c4cb2ee4f00 compilation fix for builds without wxHAS_RAW_KEY_CODES git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/keyboard/keyboard.cpp b/samples/keyboard/keyboard.cpp index 86b4c613ae..5ea78192a1 100644 --- a/samples/keyboard/keyboard.cpp +++ b/samples/keyboard/keyboard.cpp @@ -351,14 +351,14 @@ void MyFrame::LogEvent(const wxString& name, wxKeyEvent& event) event.ControlDown() ? 'C' : '-', event.AltDown() ? 'A' : '-', event.ShiftDown() ? 'S' : '-', - event.MetaDown() ? 'M' : '-', + event.MetaDown() ? 'M' : '-' #if wxUSE_UNICODE - event.GetUnicodeKey(), - event.GetUnicodeKey(), + , event.GetUnicodeKey() + , event.GetUnicodeKey() #endif #ifdef wxHAS_RAW_KEY_CODES - (unsigned long) event.GetRawKeyCode(), - (unsigned long) event.GetRawKeyFlags() + , (unsigned long) event.GetRawKeyCode() + , (unsigned long) event.GetRawKeyFlags() #endif );