]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dataobj.cpp
don't expect errno to be set to EOVERFLOW if vsnprintf() fails
[wxWidgets.git] / src / x11 / dataobj.cpp
index 548bbe151fceb66971c77a3f6be4455981ed7fe2..fadc4afd80ed4a5a1f7e20eb254115c2e5832ac3 100644 (file)
@@ -7,12 +7,10 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "dataobj.h"
-#endif
-
 #include "wx/defs.h"
 
+#if wxUSE_DATAOBJ
+
 #include "wx/dataobj.h"
 #include "wx/mstream.h"
 #include "wx/app.h"
@@ -379,3 +377,5 @@ void wxBitmapDataObject::DoConvertToPng()
 #endif
 }
 
+#endif // wxUSE_DATAOBJ
+