]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/mdi.cpp
Tries to fix wxListBox focus problems.
[wxWidgets.git] / src / motif / mdi.cpp
index e4e8c10bef237d8c8cc3de06cf6bf2884dc72d01..f8aa8af3f064a1e7b193ded08e692bc83664598d 100644 (file)
@@ -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)