]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dnd.cpp
corrected redraw problems with native controls
[wxWidgets.git] / src / mac / dnd.cpp
index 32088eef0f6deea25207f69117d2fdeb92a3f6da..aa19db3d01f9700c5c3aa279080b98994ae07349 100644 (file)
@@ -18,6 +18,8 @@
 #include "wx/app.h"
 #include "wx/gdicmn.h"
 
+#if wxUSE_DRAG_AND_DROP
+
 // ----------------------------------------------------------------------------
 // global
 // ----------------------------------------------------------------------------
@@ -131,3 +133,4 @@ wxDragResult wxDropSource::DoDragDrop( bool WXUNUSED(bAllowMove) )
     return wxDragError;
 };
 
+#endif