fixed y position of the drop point in HandleDropFiles() (patch 455658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3193,7 +3193,8 @@ bool wxWindowMSW::HandleDropFiles(WXWPARAM wParam)
|
|||||||
|
|
||||||
wxDropFilesEvent event(wxEVT_DROP_FILES, gwFilesDropped, files);
|
wxDropFilesEvent event(wxEVT_DROP_FILES, gwFilesDropped, files);
|
||||||
event.m_eventObject = this;
|
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);
|
bool rc = GetEventHandler()->ProcessEvent(event);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user