]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed y position of the drop point in HandleDropFiles() (patch 455658)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Aug 2001 12:20:04 +0000 (12:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Aug 2001 12:20:04 +0000 (12:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 73cb9e08d3a897d449d0754f32757a463988702d..e9acd3dc698f923ccd1c3f9ade57f4cfb618cb57 100644 (file)
@@ -3193,7 +3193,8 @@ bool wxWindowMSW::HandleDropFiles(WXWPARAM wParam)
 
     wxDropFilesEvent event(wxEVT_DROP_FILES, gwFilesDropped, files);
     event.m_eventObject = this;
-    event.m_pos.x = dropPoint.x; event.m_pos.x = dropPoint.y;
+    event.m_pos.x = dropPoint.x;
+    event.m_pos.y = dropPoint.y;
 
     bool rc = GetEventHandler()->ProcessEvent(event);