Use correct direction in wxDataObject::IsSupported() in wxOSX dnd code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Nov 2011 11:23:48 +0000 (11:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Nov 2011 11:23:48 +0000 (11:23 +0000)
commitb059c519bfd4830a8ca3dd58ca844ce623e6fcaa
tree450be1a19051b3a2a1bed4be2c50d6c1221a26aa
parent041e6050fdfa232472d7505b842d845d37dcb6de
Use correct direction in wxDataObject::IsSupported() in wxOSX dnd code.

Before calling wxDataObject::SetData() we must check whether the object
supports this format using IsSupported(Set) instead of just IsSupported()
which does the test in the "Get" direction.

Closes #13615.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/dnd_osx.cpp