]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/keyboard/keyboard.cpp
Fix for bug #1436503. Delay the start of the DnD oprtation in case
[wxWidgets.git] / samples / keyboard / keyboard.cpp
index 3b7a8060aa7ce37cf6dea076c056bf1ef88cc2dd..e6297d161d96cdfb075ecb016f51f1b0a86a13c9 100644 (file)
     #include "wx/wx.h"
 #endif
 
+#if !wxUSE_LOG
+#   error You must set wxUSE_LOG to 1 in setup.h
+#endif
+
 // ----------------------------------------------------------------------------
 // private classes
 // ----------------------------------------------------------------------------
@@ -315,7 +319,7 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
 void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
 {
     wxString msg = _T("Demonstrates keyboard event processing in wxWidgets\n")
-                   _T("© 2002 Vadim Zeitlin");
+                   _T("(c) 2002 Vadim Zeitlin");
 
     wxMessageBox(msg, _T("About wxKeyboard"), wxOK | wxICON_INFORMATION, this);
 }
@@ -444,6 +448,7 @@ void TextWindow::LogEvent(const wxChar *name, wxKeyEvent& event)
         case WXK_NUMPAD_RIGHT: key = _T("NUMPAD_RIGHT"); break;
         case WXK_NUMPAD_DOWN: key = _T("NUMPAD_DOWN"); break;
         case WXK_NUMPAD_PRIOR: key = _T("NUMPAD_PRIOR"); break;
+        case WXK_NUMPAD_NEXT: key = _T("NUMPAD_NEXT"); break;
         case WXK_NUMPAD_PAGEUP: key = _T("NUMPAD_PAGEUP"); break;
         case WXK_NUMPAD_PAGEDOWN: key = _T("NUMPAD_PAGEDOWN"); break;
         case WXK_NUMPAD_END: key = _T("NUMPAD_END"); break;