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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user