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

@@ -96,6 +96,7 @@ public:
wxWindow* GetWindow() { return m_window ; }
void SetCurrentDragPasteboard( void* dragpasteboard ) { m_currentDragPasteboard = dragpasteboard ; }
bool MacInstallDefaultCursor(wxDragResult effect) ;
static wxDropSource* GetCurrentDropSource();
protected :
wxWindow *m_window;