[ 1635287 ] wrong cursor when dragging an image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -249,14 +249,14 @@ bool wxGenericDragImage::BeginDrag(const wxPoint& hotspot,
|
|||||||
m_isDirty = false;
|
m_isDirty = false;
|
||||||
m_isDirty = false;
|
m_isDirty = false;
|
||||||
|
|
||||||
window->CaptureMouse();
|
|
||||||
|
|
||||||
if (m_cursor.Ok())
|
if (m_cursor.Ok())
|
||||||
{
|
{
|
||||||
m_oldCursor = window->GetCursor();
|
m_oldCursor = window->GetCursor();
|
||||||
window->SetCursor(m_cursor);
|
window->SetCursor(m_cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window->CaptureMouse();
|
||||||
|
|
||||||
// Make a copy of the window so we can repair damage done as the image is
|
// Make a copy of the window so we can repair damage done as the image is
|
||||||
// dragged.
|
// dragged.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user