]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dobjcmn.cpp
disabled the old odbc code
[wxWidgets.git] / src / common / dobjcmn.cpp
index 50b6fe07188790ab528463a8dcc4bc77e9048c47..53a4041c7b409ef636edd4adfcfa71dcfe987f48 100644 (file)
@@ -293,6 +293,8 @@ bool wxCustomDataObject::SetData(size_t size, const void *buf)
 // some common dnd related code
 // ============================================================================
 
+#if wxUSE_DRAG_AND_DROP
+
 #include "wx/dnd.h"
 
 // ----------------------------------------------------------------------------
@@ -331,3 +333,5 @@ wxDragResult wxFileDropTarget::OnData(wxCoord x, wxCoord y, wxDragResult def)
     return OnDropFiles(x, y, dobj->GetFilenames()) ? def : wxDragNone;
 }
 
+#endif
+