]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dnd.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / dnd.h
index 20d34cd6bc4647e227c61da8a542aa8275966a5d..b0c68b3b54e8b0c22054ee3c05f735b3b43d0839 100644 (file)
@@ -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;
 }
 
 // ----------------------------------------------------------------------------