]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datavgen.cpp
making Xcode builds work against against libtiff, copied over from a console build
[wxWidgets.git] / src / generic / datavgen.cpp
index 89bc7ebfc0142dd6ba874e26bd0e52f70d83a0b0..565814cc7a93d9254691a0c5a4eb854b525e266a 100644 (file)
@@ -3943,10 +3943,11 @@ void wxDataViewMainWindow::OnMouse( wxMouseEvent &event )
         return;
     }
 
-    if(event.LeftDown())
+    if(event.ButtonDown())
     {
-        // Not skipping this event would prevent the system from setting focus
-        // to this window.
+        // Not skipping button down events would prevent the system from
+        // setting focus to this window as most (all?) of them do by default,
+        // so skip it to enable default handling.
         event.Skip();
     }