]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dndcmn.cpp
Fix horizontal mouse wheel scrolling in wxGTK.
[wxWidgets.git] / src / common / dndcmn.cpp
index 7cc7e7413a4b2986997d6e62e53a897d26cbf65e..5bd9e134548bfa413f7084eb0ba3a6cab23b228b 100644 (file)
@@ -1,9 +1,8 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        common/dndcmn.cpp
+// Name:        src/common/dndcmn.cpp
 // Author:      Robert Roebling
 // Modified by:
 // Created:     19.10.99
-// RCS-ID:      $Id$
 // Copyright:   (c) wxWidgets Team
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #include "wx/dnd.h"
 
+#if wxUSE_DRAG_AND_DROP
+
 bool wxIsDragResultOk(wxDragResult res)
 {
     return res == wxDragCopy || res == wxDragMove || res == wxDragLink;
 }
 
+#endif
+