]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dobjcmn.cpp
some minor tweaks for the VTK demo
[wxWidgets.git] / src / common / dobjcmn.cpp
index 820989a6f48fe5fcd9b7467291c407a67b2cab69..868b9c2a58f7af455f82f11a456d1790cc8471ac 100644 (file)
@@ -27,6 +27,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_DATAOBJ
+
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/debug.h"
@@ -364,5 +366,6 @@ wxDragResult wxFileDropTarget::OnData(wxCoord x, wxCoord y, wxDragResult def)
     return OnDropFiles(x, y, dobj->GetFilenames()) ? def : wxDragNone;
 }
 
-#endif
+#endif // wxUSE_DRAG_AND_DROP
 
+#endif // wxUSE_DATAOBJ