]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dataobj.cpp
correcting DropData behaviour so that preferred format is handled correctly
[wxWidgets.git] / src / gtk / dataobj.cpp
index f52cdb4a3dce6c3db149160a9337ac2669939f91..b4341cc0e4d86921906cf3f35301b48dd4b91085 100644 (file)
@@ -15,6 +15,9 @@
 #include "wx/wxprec.h"
 
 #include "wx/dataobj.h"
+
+#if wxUSE_DATAOBJ
+
 #include "wx/app.h"
 #include "wx/debug.h"
 #include "wx/mstream.h"
@@ -396,4 +399,4 @@ void wxBitmapDataObject::DoConvertToPng()
     image.SaveFile(mstream, wxBITMAP_TYPE_PNG);
 }
 
-
+#endif // wxUSE_DATAOBJ