X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55945915c940d1708d296e69bb195f9388af8203..061896d126a09dc2c77e00950ba01223d7dddfa6:/src/os2/dnd.cpp diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index a8dc2ed315..b12b6af4bb 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -32,6 +32,7 @@ // Private functions ///////////////////////////////////////////////////////////////////////////// +#if 0 static wxDragResult ConvertDragEffectToResult ( DWORD dwEffect ) @@ -73,6 +74,7 @@ static DWORD ConvertDragResultToEffect ( return DO_DEFAULT; } } // end of ConvertDragResultToEffect +#endif class CIDropTarget { @@ -517,6 +519,11 @@ bool wxDropSource::GiveFeedback ( case wxDragLink: m_pDragInfo->usOperation = DO_LINK; break; + + case wxDragNone: + case wxDragCancel: + case wxDragError: + break; } return TRUE; }