X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e711d5c093dcc758e3f1670caf845612ea9fa92..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/dnd.h?ds=sidebyside diff --git a/include/wx/dnd.h b/include/wx/dnd.h index 20d34cd6bc..b0c68b3b54 100644 --- a/include/wx/dnd.h +++ b/include/wx/dnd.h @@ -34,12 +34,13 @@ enum wxDragResult wxDragNone, // drag target didn't accept the data wxDragCopy, // the data was successfully copied wxDragMove, // the data was successfully moved (MSW only) + wxDragLink, // operation is a drag-link wxDragCancel // the operation was cancelled by user (not an error) }; inline WXDLLEXPORT bool wxIsDragResultOk(wxDragResult res) { - return res == wxDragCopy || res == wxDragMove; + return res == wxDragCopy || res == wxDragMove || res == wxDragLink; } // ----------------------------------------------------------------------------