Correct the direction passed to wxDataObject in wxGTK clipboard code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Oct 2011 21:54:53 +0000 (21:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Oct 2011 21:54:53 +0000 (21:54 +0000)
commitd5363c04ac7bfd5409b369746a67b83fd10cfdbc
tree1458bbbfc18bb5954c982a402c3bbbd96d545169
parente33cedf4c66f02c8a075ef1471d70661ca03a316
Correct the direction passed to wxDataObject in wxGTK clipboard code.

We should quert for IsSupportedFormat(format, Set) before calling SetData()
with this format, not for IsSupportedFormat(Get) which is the default and was
used by the code.

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