]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrections
authorJulian Smart <julian@anthemion.co.uk>
Tue, 10 Apr 2001 15:04:41 +0000 (15:04 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 10 Apr 2001 15:04:41 +0000 (15:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dragimag.cpp

index acffef371a5117d4714c776e494198ba9aa099e8..10cedac42b117190d941e8e715fc0ab1c2b1676c 100644 (file)
@@ -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;
 }