]> git.saurik.com Git - wxWidgets.git/commit
Avoid setting sash resize cursor when mouse is still over border of second pane with...
authorPaul Cornett <paulcor@bullseye.com>
Mon, 3 Dec 2012 18:04:46 +0000 (18:04 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 3 Dec 2012 18:04:46 +0000 (18:04 +0000)
commitbea20f8d7a5c278866d4ce0614dacae345902a3a
treedbf0a24ec66dcb827968eec7030b5312b2a4b5bb
parent59ee332f1e11fde47e5975fcfff734611ac6d1f3
Avoid setting sash resize cursor when mouse is still over border of second pane with wxGTK
This made it possible to have the resize cursor, but not be able to drag the
sash, and happened because wxGTK sends a leave event when mouse leaves client
area instead of outer border of window. Setting the useless SashHitTest()
"tolerance" parameter to zero avoids the problem.
Fixes #1397

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/splitter.cpp