X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16d57d674f0ac9a7b687e6066e87b7f10d7f25b5..31e39e3c51f0a14a49ba86a5326e1461ad60dfee:/src/motif/mdi.cpp diff --git a/src/motif/mdi.cpp b/src/motif/mdi.cpp index e4e8c10bef..f8aa8af3f0 100644 --- a/src/motif/mdi.cpp +++ b/src/motif/mdi.cpp @@ -663,10 +663,10 @@ void wxMDIClientWindow::DoGetPosition(int *x, int *y) const wxWindow::DoGetPosition(x, y); } -// Explicitly call default scroll behaviour -void wxMDIClientWindow::OnScroll(wxScrollEvent& WXUNUSED(event)) +void wxMDIClientWindow::OnScroll(wxScrollEvent& event) { - Default(); // Default processing + // Default(); // Default processing: OBSOLETE FUNCTION + event.Skip(); } void wxMDIClientWindow::OnPageChanged(wxNotebookEvent& event)