]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dndcmn.cpp
remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings...
[wxWidgets.git] / src / common / dndcmn.cpp
index 998256568358aa3d490fa55d388745eb8a2516ea..4c43d1fb6ce992e5cbbc4eb18d097849569543da 100644 (file)
@@ -4,18 +4,14 @@
 // Modified by:
 // Created:     19.10.99
 // RCS-ID:      $Id$
-// Copyright:   (c) wxWindows Team
-// Licence:     wxWindows license
+// Copyright:   (c) wxWidgets Team
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "dndbase.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 
 #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
+