]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/keyboard/keyboard.cpp
add wxGTK_CONVs to fix STL and ANSI builds
[wxWidgets.git] / 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.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
                );