]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dataobj.cpp
Avoid logging when QT plugin is unused but fails (from Ryan). GCC warning fix related...
[wxWidgets.git] / src / x11 / dataobj.cpp
index c095c13aa2a8ae3cfb95958a5fb83635a8601cf6..aa7c8f300bf09f52af2a5a0500f2a3ea015725fb 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "wx/defs.h"
 
+#if wxUSE_DATAOBJ
+
 #include "wx/dataobj.h"
 #include "wx/mstream.h"
 #include "wx/app.h"
@@ -379,3 +381,5 @@ void wxBitmapDataObject::DoConvertToPng()
 #endif
 }
 
+#endif // wxUSE_DATAOBJ
+