]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dataobj.cpp
fix bug in Eof() which returned true even if we were only on the last line, not beyond it
[wxWidgets.git] / src / x11 / dataobj.cpp
index c095c13aa2a8ae3cfb95958a5fb83635a8601cf6..fadc4afd80ed4a5a1f7e20eb254115c2e5832ac3 100644 (file)
@@ -7,12 +7,10 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #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
+