]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/prntbase.cpp
moved OLE files group under MSW files -- this is more logical
[wxWidgets.git] / src / common / prntbase.cpp
index c1c3a939d064d53b1290ef870e1c751c1c33dad1..34cfe0b5a1b8587d354657468c6a90c7f320e415 100644 (file)
@@ -285,7 +285,7 @@ void wxPreviewControlBar::OnPrint(wxCommandEvent& WXUNUSED(event))
 
 void wxPreviewControlBar::OnChar(wxKeyEvent &event)
 {
-   switch(event.KeyCode())
+   switch(event.GetKeyCode())
    {
    case WXK_NEXT:
       OnNext(); break;