]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dnd.cpp
Applied dir control token patch.
[wxWidgets.git] / src / os2 / dnd.cpp
index a8dc2ed31595e5464e0ed393f2b85448ae06f1cc..b12b6af4bbb0c3d5e4e9f1ca2c1c1038c56b97ad 100644 (file)
@@ -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;
     }