Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -361,7 +361,7 @@ bool wxDragImage::Move(const wxPoint& pt)
|
||||
// These are in window, not client coordinates.
|
||||
// So need to convert to client coordinates.
|
||||
wxPoint pt2(pt);
|
||||
if (m_window)
|
||||
if (m_window && !m_fullScreen)
|
||||
{
|
||||
RECT rect;
|
||||
rect.left = 0; rect.top = 0;
|
||||
@@ -379,7 +379,7 @@ bool wxDragImage::Move(const wxPoint& pt)
|
||||
|
||||
bool ret = (ImageList_DragMove( pt2.x, pt2.y ) != 0);
|
||||
|
||||
m_position = pt;
|
||||
m_position = pt2;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user