revert (presumably unintentional) change from r59562, which caused auto-scroll sample selection to be broken for last 2.5 years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1314,7 +1314,7 @@ void MyAutoScrollingWindow::OnMouseMove(wxMouseEvent& event)
|
|||||||
// set the new cursor position
|
// set the new cursor position
|
||||||
m_cursor = DeviceCoordsToGraphicalChars(event.GetPosition());
|
m_cursor = DeviceCoordsToGraphicalChars(event.GetPosition());
|
||||||
// draw/erase selection
|
// draw/erase selection
|
||||||
// MyRefresh();
|
MyRefresh();
|
||||||
// capture mouse to activate auto-scrolling
|
// capture mouse to activate auto-scrolling
|
||||||
if (!HasCapture()) {
|
if (!HasCapture()) {
|
||||||
CaptureMouse();
|
CaptureMouse();
|
||||||
|
Reference in New Issue
Block a user