X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e99eddf643ae67d880de7a4dedf98b98c58dafe..f357c0d42c17bf5be30e65e68cd99c474678da71:/src/common/prntbase.cpp?ds=sidebyside diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index c1c3a939d0..34cfe0b5a1 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -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;