]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for builds without wxHAS_RAW_KEY_CODES
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jul 2008 05:33:36 +0000 (05:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 19 Jul 2008 05:33:36 +0000 (05:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/keyboard/keyboard.cpp

index 86b4c613aed8288335bdbd602076a70468d2d06a..5ea78192a1cfdcbf7b95bf99b976eaf46a396bf7 100644 (file)
@@ -351,14 +351,14 @@ void MyFrame::LogEvent(const wxString& name, wxKeyEvent& event)
                event.ControlDown() ? 'C' : '-',
                event.AltDown()     ? 'A' : '-',
                event.ShiftDown()   ? 'S' : '-',
                event.ControlDown() ? 'C' : '-',
                event.AltDown()     ? 'A' : '-',
                event.ShiftDown()   ? 'S' : '-',
-               event.MetaDown()    ? 'M' : '-',
+               event.MetaDown()    ? 'M' : '-'
 #if wxUSE_UNICODE
 #if wxUSE_UNICODE
-               event.GetUnicodeKey(),
-               event.GetUnicodeKey(),
+               , event.GetUnicodeKey()
+               , event.GetUnicodeKey()
 #endif
 #ifdef wxHAS_RAW_KEY_CODES
 #endif
 #ifdef wxHAS_RAW_KEY_CODES
-               (unsigned long) event.GetRawKeyCode(),
-               (unsigned long) event.GetRawKeyFlags()
+               , (unsigned long) event.GetRawKeyCode()
+               (unsigned long) event.GetRawKeyFlags()
 #endif
                );
 
 #endif
                );