X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..1766bf34538723bc34e5e963b6bacc5722b398ef:/src/common/dndcmn.cpp

diff --git a/src/common/dndcmn.cpp b/src/common/dndcmn.cpp
index f3fe62d892..4c43d1fb6c 100644
--- a/src/common/dndcmn.cpp
+++ b/src/common/dndcmn.cpp
@@ -4,7 +4,7 @@
 // Modified by:
 // Created:     19.10.99
 // RCS-ID:      $Id$
-// Copyright:   (c) wxWindows Team
+// Copyright:   (c) wxWidgets Team
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -12,10 +12,6 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "dndbase.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -24,4 +20,12 @@
 
 #include "wx/dnd.h"
 
-// Not much to do here, really, but GNU need this file.
+#if wxUSE_DRAG_AND_DROP
+
+bool wxIsDragResultOk(wxDragResult res)
+{
+    return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
+}
+
+#endif
+