]> git.saurik.com Git - wxWidgets.git/commitdiff
#if wxUSE_DATAOBJ guard src/gtk/dataobj.cpp
authorMart Raudsepp <leio@gentoo.org>
Mon, 25 Jul 2005 19:40:46 +0000 (19:40 +0000)
committerMart Raudsepp <leio@gentoo.org>
Mon, 25 Jul 2005 19:40:46 +0000 (19:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dataobj.cpp
src/gtk1/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
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