]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dnd.h
wxCriticalSection implemented using mutexes for !MSW (sample compiles again)
[wxWidgets.git] / include / wx / gtk1 / dnd.h
index e319f0d415ef7ed6a7723f74d911bda823b62563..bd392388ce4cd80965e5955d0884d55ddf6015ba 100644 (file)
@@ -16,6 +16,9 @@
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_DRAG_AND_DROP
+
 #include "wx/object.h"
 #include "wx/string.h"
 #include "wx/dataobj.h"
@@ -148,6 +151,10 @@ class wxDropSource: public wxObject
     wxCursor      m_goaheadCursor;
 };
 
+#endif
+
+   // wxUSE_DRAG_AND_DROP
+
 #endif  
        //__GTKDNDH__