Add an accessor to get the current drop source from window.mm so that we can implement GiveFeedback support, and also move a couple functions that check the current drop source into common DND OS X code as a result.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2010-02-06 01:45:58 +00:00
parent 1111fe434b
commit 808cbd174a
5 changed files with 143 additions and 19 deletions

View File

@@ -162,6 +162,11 @@ wxDropSource::wxDropSource(wxWindow *win,
m_window = win;
}
wxDropSource* wxDropSource::GetCurrentDropSource()
{
return gTrackingGlobals.m_currentSource;
}
wxDropSource::wxDropSource(wxDataObject& data,
wxWindow *win,
const wxCursor &cursorCopy,